joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007f7d5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100a94c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100713cf
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100713cf
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1007f84c
cmp word [ecx], dx
je 0x1007f84c
mov eax, dword [0x1008f9cc]
push edi
dec eax
push eax
push 0x1008f8b8
call fcn.1007f774
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1007f8bf
cmp word [eax], dx
je 0x1007f8bf
mov eax, dword [edi]
test eax, eax
je 0x1007f870
cmp word [eax], dx
je 0x1007f870
lea eax, [ebp - 0x10]
push eax
call fcn.1007f157
jmp 0x1007f879
lea eax, [ebp - 0x10]
push eax
call fcn.1007f1f2
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1007f8e9
mov eax, dword [0x1008f8b4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1008f5a8
call fcn.1007f774
add esp, 0xc
test al, al
je 0x1007f8e9
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1007f8b4
cmp word [eax], di
je 0x1007f8b4
lea eax, [ebp - 0x10]
push eax
call fcn.1007f157
pop ecx
jmp 0x1007f8eb
lea eax, [ebp - 0x10]
push eax
call fcn.1007f1f2
jmp 0x1007f8b1
mov eax, dword [edi]
test eax, eax
je 0x1007f8d6
cmp word [eax], dx
je 0x1007f8d6
lea eax, [ebp - 0x10]
push eax
call fcn.1007f10c
pop ecx
jmp 0x1007f8e9
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1007f9b4
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1007f5f9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1007f9b4
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1007f9b4
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1007f9b4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1007f941
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10076fae
test ebx, ebx
je 0x1007f9af
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10076fae
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1007f9b4
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1007f9b4
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1006b6ad
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1007f9b6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10052d76
leave
ret
Function at 0x10080cc9
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100a94c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x10080d0c
call fcn.1005fa4d
mov dword [eax], 0xf
call fcn.1005fa60
mov dword [eax], 0xd
call fcn.100656fd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10052d76
leave
ret
test eax, eax
jne 0x10080d13
inc eax
jmp 0x10080d00
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x10080cfe
xor eax, eax
cmp ecx, 1
setne al
jmp 0x10080d00
Function at 0x10081e44
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10081dc0
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10081fb3
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10081fb3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10081f68
jg 0x10081ea0
test eax, eax
je 0x10081f5e
push 1
push 0x1000
call fcn.10074d55
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10081ec3
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10081f55
push 0x8000
push ebx
call fcn.10081cf1
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10081eec
jg 0x10081ee7
cmp ecx, 0x1000
jb 0x10081eec
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10078193
add esp, 0x10
cmp eax, 0xffffffff
je 0x10081f31
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10081ee7
jl 0x10081f18
test ecx, ecx
jne 0x10081ed9
push dword [ebp - 0xc]
push ebx
call fcn.10081cf1
push esi
call fcn.100716ba
add esp, 0xc
xor ebx, ebx
jmp 0x10081fc1
cmp byte [edi + 0x24], 0
je 0x10081f48
cmp dword [edi + 0x20], 5
jne 0x10081f48
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10081f53
mov ebx, dword [edi + 0x18]
jmp 0x10081f55
xor ebx, ebx
push esi
call fcn.100716ba
pop ecx
jmp 0x10081fc1
test ecx, ecx
jg 0x10081f2a
jl 0x10081f68
test eax, eax
jae 0x10081f2a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100764cc
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10081f88
cmp byte [edi + 0x1c], 0
je 0x10081f2a
jmp 0x10081fb9
push ebx
call fcn.1007753a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10081f2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10081fc1
cmp byte [edi + 0x1c], 0
je 0x10081fbe
mov ebx, dword [edi + 0x18]
jmp 0x10081fc1
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100764cc
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10083850
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1008387d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1008387d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4024f6
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
push edi
lea eax, [esi + 0x2dc]
push eax
call fcn.00401d5a
xor ebx, ebx
cmp dword [esi + 0x2f8], ebx
mov dword [esp + 0xc], ebx
jle 0x402645
jmp 0x402523
xor ebx, ebx
mov eax, dword [esp + 0xc]
cmp eax, ebx
jl 0x40253a
lea ecx, [esi + 0x2ec]
call fcn.00402066
mov edi, eax
jmp 0x40253c
xor edi, edi
push 0x34
lea eax, [esp + 0x18]
push ebx
push eax
mov word [esp + 0x20], bx
mov word [esp + 0x22], bx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], 0x40d8bc
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], eax
add esp, 0xc
mov eax, edi
call fcn.00401b41
fstp qword [esp + 0x38]
mov eax, dword [edi + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea ebx, [esp + 0x10]
mov eax, esi
call fcn.00406fbb
mov ecx, dword [esi + 0x30]
dec ecx
mov edi, eax
push ecx
mov eax, esi
call fcn.00406d58
mov eax, dword [0x410ac4]
xor edi, edi
cmp dword [eax + 0x4c], edi
je 0x402631
add eax, 0x50
cmp word [eax], di
je 0x402631
push edi
push edi
push 4
push edi
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x402631
push 2
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x40260e
mov eax, dword [0x410ac4]
cmp dword [eax + 0x25c], 2
jne 0x40260e
push ebx
call fcn.00404ea3
pop ecx
mov ecx, dword [0x410ac4]
push dword [ecx + 0x25c]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0x80]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 0x2f8]
jl 0x402521
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x404326
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call sub.msvcrt.dll_wcslen
pop ecx
add eax, eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
leave
ret
Function at 0x4044ad
Capabilities:
Get file size
Read file on windows
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 8]
call fcn.004042f4
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 8], eax
je 0x40453f
push ebx
push esi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x404528
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404528
shr esi, 1
and word [edi + esi*2], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x404531
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
jmp 0x404548
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x404710
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x4048ef
Capabilities:
Get common file path

Disassembly:
cmp word [0x411248], 0
push esi
mov esi, 0x411248
jne 0x404910
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [0x411454], eax
push esi
push dword [esp + 0xc]
call sub.msvcrt.dll_wcscpy
mov eax, dword [0x411454]
pop ecx
pop ecx
pop esi
ret

Function at 0x404d07
Capabilities:
Create process on windows

Disassembly:
push 5
mov eax, 0x40d424
push eax
push eax
push dword [esp + 0x14]
push str.open
push dword [esp + 0x18]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
ret

Function at 0x404ea3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x40d6e4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
leave
ret

Function at 0x405b25
Capabilities:
Read .ini file

Disassembly:
and word [esi], 0
push 0x410be8
push dword [esp + 0xc]
push esi
push 0x40d424
push dword [esp + 0x14]
push 0x410df8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, esi
ret
Function at 0x405b4a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0040c120
and word [ebp - 0x2004], 0
push 0x2000
lea eax, [ebp - 0x2002]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x410be8
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push 0x40d424
push dword [ebp + 8]
push 0x410df8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x2004], 0
je 0x405bb9
lea eax, [ebp - 0x2004]
push eax
push dword [ebp + 0xc]
call sub.msvcrt.dll_wcscpy
pop ecx
xor eax, eax
pop ecx
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x405bbd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0040c120
and word [ebp - 0x2004], 0
push esi
push edi
push 0x2000
lea eax, [ebp - 0x2002]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x410be8
push edi
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push 0x40d424
push dword [ebp + 8]
mov esi, 0x410df8
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x2004], 0
je 0x405c24
cmp dword [ebp + 0x10], 0
jne 0x405c24
xor eax, eax
jmp 0x405c32
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
leave
ret

Function at 0x405f85
Capabilities:
Read .ini file

Disassembly:
push dword [esp + 4]
call fcn.00404710
test eax, eax
pop ecx
je 0x40600c
push esi
push edi
push dword [esp + 0xc]
mov edi, 0x410be8
push edi
call sub.msvcrt.dll_wcscpy
push str.general
mov esi, 0x410df8
push esi
call sub.msvcrt.dll_wcscpy
add esp, 0x10
push edi
push 0
push 0x40dbf0
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
dec eax
neg eax
sbb eax, eax
inc eax
push 0x3f
push str.charset
mov esi, 0x410e80
mov dword [0x410e7c], eax
call fcn.00405b25
push 0x3f
push str.TranslatorName
mov esi, 0x410f00
call fcn.00405b25
push 0xff
push str.TranslatorURL
mov esi, 0x410f80
call fcn.00405b25
add esp, 0x18
pop edi
pop esi
ret

Function at 0x4070f9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0040c120
push ebx
push esi
mov esi, 0x1fff
xor ebx, ebx
push esi
lea eax, [ebp - 0x2003]
push ebx
push eax
mov byte [ebp - 0x2004], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp - 0x2004]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2004]
push eax
call sub.msvcrt.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x2004]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
leave
ret
Function at 0x407f57
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x4cc
push ebx
push ebp
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_Create]
push esi
mov esi, eax
xor ebx, ebx
cmp dword [esi + 0x2a8], ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x40801e
cmp dword [esi + 0x2b0], ebx
je 0x407fee
push 0x2b0
lea eax, [esp + 0x230]
push ebx
push eax
mov dword [esp + 0x234], ebx
call sub.msvcrt.dll_memset
push 0x208
lea eax, [esp + 0x2e]
push ebx
push eax
mov word [esp + 0x34], bx
call sub.msvcrt.dll_memset
add esp, 0x18
push 0x104
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x4001
push 0x2b4
lea eax, [esp + 0x230]
push eax
push ebx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [esi + 0x29c], eax
push eax
jmp 0x40800f
push 1
push 1
push 0x19
push 0x10
push 0x10
call ebp
push 1
push eax
mov dword [esi + 0x29c], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push dword [esi + 0x29c]
push 1
push 0x1003
push dword [esi + 0x294]
call edi
cmp dword [esi + 0x2ac], ebx
je 0x408055
push 1
push 1
push 0x19
push 0x20
push 0x20
call ebp
push 1
push eax
mov dword [esi + 0x2a0], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push dword [esi + 0x2a0]
push ebx
push 0x1003
push dword [esi + 0x294]
call edi
push 1
push 1
push 0x19
push 0x10
push 0x10
call ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
mov dword [esi + 0x298], eax
call ebp
push 0x1000
push 0x10
push 0x10
push ebx
push 0x85
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push ebx
mov dword [esp + 0x14], eax
call ebp
push 0x1000
push 0x10
push 0x10
push ebx
push 0x86
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push ebx
push dword [esi + 0x298]
mov dword [esp + 0x1c], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x20], eax
push dword [esi + 0x298]
call ebp
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esi + 0x298]
call ebp
push dword [esp + 0x10]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
call ebp
push dword [esp + 0x14]
call ebp
mov eax, dword [esi + 0x298]
mov esi, dword [esi + 0x294]
push eax
push ebx
push 0x1208
push esi
call fcn.004034ef
pop ecx
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4cc
ret

Function at 0x4089f3
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 0x694]
cmp dword [eax + 0x10], 1
push edi
jne 0x408a34
mov eax, dword [esi + 0x698]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax + 0x294]
call edi
add esi, 0x69c
mov eax, dword [esi]
push 5
push dword [eax + 0x294]
call edi
mov eax, dword [esi]
pop edi
pop esi
jmp fcn.0040652c
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esi + 0x698]
mov eax, dword [edi]
push 5
push dword [eax + 0x294]
call ebx
mov eax, dword [esi + 0x69c]
push 0
push dword [eax + 0x294]
call ebx
mov eax, dword [edi]
pop ebx
jmp 0x408a2d
Function at 0x409266
Capabilities:
Delete file
Get common file path
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push edi
lea eax, [ebp - 0x410]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x409295
push edi
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
and word [ebp - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push 0
push 0x40e058
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 1
push 1
push 2
lea eax, [ebp - 0x208]
push eax
mov eax, esi
call fcn.0040839e
push esi
call fcn.00409233
test eax, eax
pop edi
je 0x40931b
push dword [esi + 0x208]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4092f6
lea eax, [ebp - 0x208]
push eax
call fcn.004044ad
pop ecx
jmp 0x4092fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40930e
push dword [esi + 0x208]
mov ecx, eax
call fcn.0040436d
pop ecx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
leave
ret
Function at 0x40b10f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20000
call fcn.0040c120
cmp dword [ebp + 8], 0
je 0x40b174
test esi, esi
je 0x40b162
push 0x22
push esi
call sub.msvcrt.dll_wcschr
test eax, eax
pop ecx
pop ecx
je 0x40b162
and word [ebp - 0x20000], 0
push esi
push str.__s_
lea eax, [ebp - 0x20000]
push 0xfffe
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x10
push dword [ebp + 0x1c]
lea eax, [ebp - 0x20000]
push eax
jmp 0x40b166
push dword [ebp + 0x1c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
leave
ret
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
leave
ret

Function at 0x40b18c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4004
call fcn.0040c120
push esi
push edi
xor eax, eax
cmp dword [ebp + 8], eax
push 0x4000
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
mov edi, ecx
push eax
je 0x40b1eb
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x4004]
push eax
push dword [edi]
push dword [ebp + 0x14]
call fcn.00404ef2
add esp, 0x18
push dword [ebp + 0x18]
lea eax, [ebp - 0x4004]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
jmp 0x40b22c
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp + 0x18]
lea eax, [ebp - 0x4004]
push 0x2000
push eax
push 0x40d424
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebp + 0x14]
xor ecx, ecx
cmp ecx, eax
sbb esi, esi
push edi
lea edi, [ebp - 0x4004]
neg esi
call fcn.00404f7b
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x40b232
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x18]
je 0x40b250
push dword [esi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040b0c2
add esp, 0x10
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi], eax
pop ebp
ret
Function at 0x40bc26
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, esi
mov dword [ebp - 4], eax
jbe 0x40bdb8
push ebx
mov eax, edi
call fcn.00405522
push dword [ebp - 4]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ebx, eax
push ebx
push dword [ebp - 4]
push esi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x40db04
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40bca9
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edi + 8], ecx
mov ecx, dword [eax + 0x24]
mov dword [edi + 0x10], ecx
mov eax, dword [eax + 0x28]
mov dword [edi + 0x14], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40bcf8
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._4.4X_4.4X
lea eax, [ebp - 0x38]
push 0x14
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x14
push 0x40d424
lea eax, [ebp - 0x38]
push eax
push ebx
lea esi, [ebp - 0x238]
call fcn.0040bb9c
test eax, eax
jne 0x40bd08
lea eax, [ebp - 0x38]
push str.040904E4
push eax
call sub.msvcrt.dll_wcscpy
pop ecx
pop ecx
push str.ProductName
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x18]
push ebx
call fcn.0040bb9c
push str.FileDescription
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x218]
push ebx
call fcn.0040bb9c
push str.FileVersion
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x418]
push ebx
call fcn.0040bb9c
push str.ProductVersion
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x618]
push ebx
call fcn.0040bb9c
push str.CompanyName
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x818]
push ebx
call fcn.0040bb9c
push str.InternalName
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xa18]
push ebx
call fcn.0040bb9c
push str.LegalCopyright
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xc18]
push ebx
call fcn.0040bb9c
push str.OriginalFileName
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xe18]
push ebx
call fcn.0040bb9c
xor esi, esi
push ebx
inc esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ebx
mov eax, esi
pop esi
leave
ret 4