joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418720
Capabilities:
Get file size
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
call fcn.004186d0
mov eax, 0x28
xor ecx, ecx
lea eax, [ebp - 0x28]
mov edi, 0x4dced8
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0xc]
xor ebx, ebx
push ebx
push 0x8000000
push 3
mov dword [0x4dcef8], ecx
mov eax, dword [esi + 0x110]
push ebx
push 1
push OleUIInsertObjectA
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x4dced8], eax
je 0x41881d
lea edx, [ebp - 4]
mov dword [ebp - 4], ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov eax, dword [ebp - 4]
push 1
push ebx
push ebx
push eax
call fcn.00444630
add edi, eax
push 0
adc ebx, edx
mov dword [0x4dcee8], edi
mov dword [0x4dceec], ebx
mov dword [esi + 0x118], edi
mov ecx, dword [0x4dceec]
push 0
mov dword [esi + 0x11c], ecx
mov edx, dword [0x4dced8]
push 0
push 2
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [0x4dcedc], eax
je 0x418806
mov eax, dword [0x4dced8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov ecx, esi
mov dword [0x4dced8], 0xffffffff
call fcn.00469cfc
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4dced8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4dced8], 0xffffffff
push 0xffffffffffffffff
push 0
push 0xef2b
call fcn.00402c70
mov ecx, eax
add ecx, 4
call fcn.00422410
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418960
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
je 0x418a45
push esi
lea eax, [ebp - 4]
push edi
push eax
push ebx
call fcn.00418920
mov edi, dword [ebp + 8]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [ecx + edx + 0x1e]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, eax
test esi, esi
jne 0x4189e4
call fcn.0046bb03
test eax, eax
je 0x4189bf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4189c1
xor eax, eax
mov eax, dword [eax + 0x1c]
push 0
push str.Fatal_Error
push str.Cannot_properly_report_error.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
push ecx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push ecx
push edx
push ebx
push str.Error__d:__s._n_r_s_r_n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00402c70
mov ecx, dword [eax + 0x14bc]
test ecx, ecx
je 0x418a35
call fcn.0046bb03
test eax, eax
je 0x418a24
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x418a26
xor eax, eax
mov eax, dword [eax + 0x1c]
push 0
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call edi
mov ecx, dword [ebp - 4]
push ecx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push str.Error__connection_failure_
call fcn.0047712c
call fcn.00402c70
mov ecx, eax
add ecx, 0x1670
call fcn.004127a0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x418a70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call fcn.00418960
add esp, 4
call fcn.004195a0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x41bc60
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret
Function at 0x41bc80
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
push edi
mov esi, ecx
push 0
push 0
lea edi, [esi + 0x108]
push 0
push 0
push str.SUDT_VerMgr
mov byte [edi], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edx, dword [ebp + 8]
mov ebx, eax
lea eax, [ebp - 0x14]
push 0x2000000
lea ecx, [ebp - 0x414]
push eax
push ecx
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 0x400
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test ebx, ebx
je 0x41bd8e
push 0
push 0x80000c10
push 0
lea eax, [ebp - 0x414]
push 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
test ebx, ebx
je 0x41bd91
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push 0x40
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp + 8]
test eax, eax
jbe 0x41bd91
mov byte [eax + esi + 0x108], 0
lea edx, [ebp - 8]
lea eax, [ebp - 0x10]
push edx
lea ecx, [ebp - 4]
push eax
lea edx, [ebp - 0xc]
push ecx
push edx
push str._d__d__d__d
push edi
call fcn.00442d1a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
and eax, 0xffff
shl eax, 0x10
and ecx, 0xffff
and edx, 0xffff
or eax, ecx
add esp, 0x18
mov dword [esi + 0x30c], eax
mov eax, dword [ebp - 4]
shl edx, 0x10
and eax, 0xffff
pop edi
or edx, eax
mov eax, 1
mov dword [esi + 0x308], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
mov ecx, dword [ebp - 4]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41ccf0
Capabilities:
Resume thread

Disassembly:
push esi
push 0
mov esi, ecx
push 0
push 1
push 0
mov dword [esi + 0x110], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 4
push 0
push 0
push esi
push 0x41cb60
mov dword [esi + 0xfc], eax
call fcn.0046bb18
mov dword [esi + 0x110], eax
mov dword [eax + 0x24], 0
mov eax, dword [esi + 0x110]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret

Function at 0x41cd50
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x110]
test eax, eax
je 0x41cdc8
mov eax, dword [esi + 0xfc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x110]
push 0x1f4
mov edx, dword [ecx + 0x28]
push edx
call edi
test eax, eax
je 0x41cd9f
cmp eax, 0x102
jne 0x41cd71
mov eax, dword [esi + 0x110]
push 0x64
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0xfc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x110]
pop edi
test ecx, ecx
je 0x41cdbe
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x110], 0
pop esi
ret
Function at 0x41f560
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41f655
lea ecx, [ebp - 0x208]
push ecx
push str..htm
push OleUIInsertObjectA
call fcn.00420770
add esp, 0xc
test eax, eax
jne 0x41f655
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x208]
push str._shellopencommand
push edx
call edi
lea eax, [ebp - 0x208]
lea ecx, [ebp - 0x208]
push eax
push ecx
push OleUIInsertObjectA
call fcn.00420770
add esp, 0xc
test eax, eax
jne 0x41f655
lea edx, [ebp - 0x208]
push str.__1_
push edx
call fcn.0044302f
mov esi, eax
add esp, 8
test esi, esi
jne 0x41f62e
lea eax, [ebp - 0x208]
push 0x4bc66c
push eax
call fcn.0044302f
mov esi, eax
add esp, 8
test esi, esi
jne 0x41f62e
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebp + eax - 0x209]
jmp 0x41f631
mov byte [esi], 0
push 0x4bc668
push esi
call edi
mov edx, dword [ebp + 8]
push edx
push esi
call edi
lea eax, [ebp - 0x208]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f6f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ec90
push 0x4447a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
push 0xffffffffffffffff
xor esi, esi
push esi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0041f8d0
lea eax, [ebp - 0x20]
push eax
push 1
push esi
push str.HARDWAREDEVICEMAPSERIALCOMM
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41f891
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
push esi
push esi
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x2c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x41f885
mov edx, dword [ebp - 0x38]
lea eax, [edx + 1]
mov dword [ebp - 0x28], eax
push eax
call fcn.00444664
add esp, 4
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
je 0x41f885
mov esi, dword [ebp - 0x30]
shr esi, 1
mov dword [ebp - 0x34], esi
push esi
call fcn.00444664
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41f885
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebp - 0x2c]
jae 0x41f885
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x4c], esi
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x44]
push edx
push 0
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x41f885
cmp dword [ebp - 0x44], 1
jne 0x41f879
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, 0x4dd004
call fcn.0046b583
push ebx
mov ecx, 0x4dd010
call fcn.0046b583
mov esi, dword [edi + 8]
mov dword [ebp - 0x50], esi
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.0041f8d0
lea edx, [esi + esi*4]
mov eax, dword [edi + 4]
lea esi, [eax + edx*4]
mov dword [ebp - 0x54], esi
push 0x4dd000
mov ecx, esi
call fcn.0046b533
push 0x4dd004
lea ecx, [esi + 4]
call fcn.0046b533
push 0x4dd008
lea ecx, [esi + 8]
call fcn.0046b533
mov ecx, dword [0x4dd00c]
mov dword [esi + 0xc], ecx
push 0x4dd010
lea ecx, [esi + 0x10]
call fcn.0046b533
mov eax, dword [edi + 8]
mov dword [ebp - 0x58], eax
cmp eax, 0x20
jge 0x41f885
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
jmp 0x41f7b2
mov dword [ebp - 4], 0xffffffff
call fcn.0041f8a5
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4207ce
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x104]
push eax
push ecx
push esi
push edx
mov dword [ebp + 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x421090
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495c4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4bf204]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [edi], eax
mov ecx, dword [0x4bf204]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 8], ecx
mov edx, dword [0x4bf204]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], vtable.CMenu.0
mov dword [esi + 0x14], eax
lea ebx, [esi + 0x18]
mov byte [ebp - 4], 3
mov ecx, ebx
call fcn.0046627d
mov eax, dword [0x4bf204]
mov dword [esi + 0x2c], eax
mov edx, dword [0x4bf204]
lea ecx, [esi + 0x30]
mov dword [ecx], edx
mov eax, dword [0x4bf204]
mov dword [esi + 0x34], eax
mov edx, dword [0x4bf204]
mov dword [esi + 0x38], edx
mov eax, dword [0x4bf204]
mov dword [esi + 0x3c], eax
push 0x4c4d50
mov byte [ebp - 4], 9
mov dword [esi], 1
call fcn.0046b583
push 0x4c4d50
lea ecx, [esi + 0x34]
call fcn.0046b583
push 0x4c4d50
lea ecx, [esi + 0x3c]
call fcn.0046b583
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004662dd
push 0x104
mov ecx, edi
call fcn.0046b82a
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0046b879
call fcn.004835d5
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x78]
push ecx
mov ecx, esi
call fcn.00421af0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4211a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495cd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea edi, [esi + 0x18]
push 0xffffffffffffffff
push 0
mov ecx, edi
mov dword [ebp - 4], 9
call fcn.004662dd
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 8
call fcn.0046b3fa
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 7
call fcn.0046b3fa
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 6
call fcn.0046b3fa
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 5
call fcn.0046b3fa
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 4
call fcn.0046b3fa
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.004662b0
lea ecx, [esi + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ecx], vtable.CMenu.0
mov byte [ebp - 4], 0xa
call fcn.0046c4a6
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call fcn.0046b3fa
lea ecx, [esi + 8]
mov byte [ebp - 4], 0
call fcn.0046b3fa
lea ecx, [esi + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.0046b3fa
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x421270
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495d07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0
mov eax, dword [0x4bf204]
mov ebx, 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], eax
mov ecx, dword [ecx + 0x30]
mov eax, dword [ebp + 0xc]
push ecx
push 0x3e8
push 0x3e8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
mov esi, eax
mov edi, eax
call fcn.0046b82a
push eax
push esi
push edi
push str.String
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0046b879
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4212fb
mov esi, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
mov ecx, esi
call fcn.0046b16f
mov dword [ebp - 0x14], ebx
jmp 0x42133b
push str._r_n
lea ecx, [ebp - 0x10]
call fcn.00463613
test eax, eax
jl 0x421318
push 0x4bcf7c
push str._r_n
jmp 0x421322
push 0x4bc738
push 0x4bd8f4
lea ecx, [ebp - 0x10]
call fcn.0046339a
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0046b16f
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0046b3fa
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.0046b3fa
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x421400
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x4bf204]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x20], eax
push str.String
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0046b468
mov eax, dword [0x4bf204]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
push 0x4c4d50
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0046b468
push 0x3e8
mov byte [ebp - 4], 4
call fcn.0046b9a1
mov esi, dword [ebp + 8]
add esp, 4
lea ecx, [ebp - 0x10]
mov edi, eax
push ecx
mov ecx, esi
call fcn.0046849f
mov eax, dword [ebx + 0x30]
mov edx, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push 0x3e8
push edi
push eax
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x42149e
push edi
mov ecx, esi
call fcn.0046a9a1
mov eax, dword [esi + 0x1c]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.00467ad5
mov esi, eax
test esi, esi
je 0x4214fe
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call fcn.0046849f
mov eax, dword [ebx + 0x30]
mov edx, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push 0x3e8
push edi
push eax
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4214e6
push edi
mov ecx, esi
call fcn.0046a9a1
mov eax, dword [esi + 0x1c]
push 2
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.00467ad5
mov esi, eax
test esi, esi
jne 0x4214b6
push edi
call fcn.0046b9ca
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0046b3fa
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0046b3fa
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0046b3fa
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0046b3fa
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0046b3fa
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x421930
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495e48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push str.Language
lea ecx, [ebp - 0x18]
call fcn.0046b468
push str.Info
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0046b468
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0043a887
add esi, 4
push 0x4bca4c
lea eax, [ebp - 0x1c]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.0046b68f
push str.Language.ini
lea ecx, [ebp - 0x10]
mov bl, 3
push eax
push ecx
mov byte [ebp - 4], bl
call fcn.0046b68f
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.0043a94a
lea ecx, [ebp - 0x10]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0046b3fa
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0046b3fa
test esi, esi
je 0x421aa8
mov edx, dword [ebp + 0xc]
push edi
inc edx
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 0x3c]
call fcn.0043ab6a
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x20], eax
call fcn.0043ab31
test eax, eax
jne 0x421a9c
mov eax, dword [ebp - 0x3c]
push 0x10
lea ecx, [ebp - 0x3c]
call dword [eax + 0x38]
test eax, eax
jne 0x421a9c
mov ecx, dword [0x4bf204]
mov dword [ebp + 0xc], ecx
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x3c]
push edx
mov byte [ebp - 4], 5
call fcn.0043ac39
mov eax, dword [eax]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
push eax
push 0x104
push 0x104
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call fcn.0046b82a
push eax
push 0x4c4d50
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
setne bl
call fcn.0046b3fa
test bl, bl
je 0x421a86
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, ecx
inc ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov eax, dword [edx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
call fcn.0046b879
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0046b3fa
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4219e0
pop edi
lea ecx, [ebp - 0x3c]
call fcn.0043a900
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0043a8c4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0046b3fa
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0046b3fa
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4224d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
lea eax, [ebp - 0x114]
push 0x104
mov edi, ecx
push eax
push 0
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0x114]
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
push esi
call fcn.0046b9a1
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x114]
push ebx
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [ebp - 0x10]
lea edx, [ebp - 4]
push ecx
push edx
push 0x4bca4c
push ebx
call sub.VERSION.dll_VerQueryValueA
mov esi, dword [ebp - 4]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.0046b9ca
mov eax, dword [ebp - 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428870
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4289db
push ebx
push esi
mov ecx, edi
call fcn.00428be0
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebx, dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
sub ebx, esi
inc ebx
push ebx
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [edi + 0x58]
mov edx, dword [edi + 0x3c]
mov ecx, ebx
add esi, edx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xc]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [ebp - 4]
cmp dword [edi + 0x54], 1
je 0x42894d
lea ecx, [ebx + ebx*2]
push ecx
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
xor esi, esi
test ebx, ebx
jle 0x4289aa
mov edx, dword [edi + 0x58]
mov edi, dword [edi + 0x3c]
add edx, esi
xor ecx, ecx
mov cl, byte [edx + edi]
mov edi, dword [ebp - 4]
shr ecx, 4
inc eax
mov dl, byte [ecx + str.0123456789ABCDEF]
mov byte [eax - 1], dl
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x3c]
add ecx, esi
mov cl, byte [ecx + edx]
and ecx, 0xf
inc eax
inc eax
inc esi
mov dl, byte [ecx + str.0123456789ABCDEF]
cmp esi, ebx
mov byte [eax - 2], dl
mov byte [eax - 1], 0x20
jl 0x42890c
jmp 0x4289aa
push ebx
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [edi + 0x58]
mov edx, dword [edi + 0x3c]
mov ecx, ebx
add esi, edx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [ebp - 4], eax
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
jle 0x4289aa
jmp 0x428989
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax]
push ecx
call fcn.004443f4
add esp, 4
test eax, eax
jne 0x4289a0
mov edx, dword [ebp - 4]
mov byte [edx], 0x2e
mov ecx, dword [ebp - 4]
inc ecx
dec ebx
mov dword [ebp - 4], ecx
jne 0x428986
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 8]
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
push ecx
push 1
call esi
mov eax, dword [0x4dd198]
mov edx, dword [ebp - 0xc]
and eax, 0xffff
push edx
push eax
call esi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret