joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406470
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x465feb
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x485618]
xor eax, esp
mov dword [esp + 0x310], eax
push esi
mov eax, dword [0x485618]
xor eax, esp
push eax
lea eax, [esp + 0x31c]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x218]
push 0
push eax
call fcn.0043ac90
add esp, 0xc
push 0x104
lea ecx, [esp + 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x214]
push 0x5c
push edx
call fcn.0043ad10
add esp, 8
test eax, eax
jne 0x4064f1
xor al, al
jmp 0x406672
lea ecx, [esp + 0xb]
mov byte [eax], 0
call fcn.004052f0
lea ecx, [esp + 0xb]
mov dword [esp + 0x324], 0
call fcn.00405400
test eax, eax
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
je 0x4065b8
push 0x104
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0043ac90
lea ecx, [esp + 0x220]
push ecx
push str._syhb64.dll
lea edx, [esp + 0x20]
push 0x104
push edx
call fcn.0043c0f3
add esp, 0x1c
lea eax, [esp + 0xc]
push eax
push 0xc3
push 0x46af04
lea ecx, [esp + 0x17]
call fcn.004054b0
test al, al
je 0x4065b8
push 0x104
lea ecx, [esp + 0x114]
push 0
push ecx
call fcn.0043ac90
lea edx, [esp + 0x18]
push edx
push str._s___s_
lea eax, [esp + 0x124]
push 0x104
push eax
call fcn.0043c0f3
add esp, 0x1c
push 0
push 0
lea ecx, [esp + 0x118]
push ecx
push str.regsvr32.exe
push str.OPEN
push 0
call esi
push 0x104
lea edx, [esp + 0x10]
push 0
push edx
call fcn.0043ac90
lea eax, [esp + 0x220]
push eax
push str._syhb32.dll
lea ecx, [esp + 0x20]
push 0x104
push ecx
call fcn.0043c0f3
add esp, 0x1c
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esp + 0xc]
push eax
push 0xc2
push 0x46af04
lea ecx, [esp + 0x17]
call fcn.004054b0
test al, al
je 0x40665c
push 0x104
lea ecx, [esp + 0x114]
push 0
push ecx
call fcn.0043ac90
lea edx, [esp + 0x18]
push edx
push str._s___s_
lea eax, [esp + 0x124]
push 0x104
push eax
call fcn.0043c0f3
add esp, 0x1c
push 0
push 0
lea ecx, [esp + 0x118]
push ecx
push str.regsvr32.exe
push str.OPEN
push 0
call esi
lea ecx, [esp + 0xb]
mov dword [esp + 0x324], 0xffffffff
call fcn.00405300
mov al, 1
mov ecx, dword [esp + 0x31c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.0043a450
add esp, 0x320
ret
Function at 0x4066d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x466038
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485618]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, 1
lea ecx, [esp + 0x17]
mov dword [esp + 0x24], ebx
call fcn.004052f0
lea ecx, [esp + 0x17]
mov byte [esp + 0x24], 2
call fcn.00405400
test eax, eax
je 0x406727
lea eax, [esp + 0x18]
push eax
push 0xf013f
jmp 0x406731
lea ecx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push str.SOFTWAREyhb
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40677f
lea ecx, [esp + 0x17]
call fcn.00405400
test eax, eax
push 0
je 0x40675d
lea edx, [esp + 0x1c]
push edx
jmp 0x406762
lea eax, [esp + 0x1c]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push str.SOFTWAREyhb
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebp, dword [esp + 0x34]
cmp ebp, 4
mov esi, dword [esp + 0x30]
jne 0x4067c6
cmp dword [esi - 4], ebx
jle 0x4067a2
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x34]
call fcn.00401690
mov esi, dword [esp + 0x30]
push esi
call fcn.0043beb4
mov edi, dword [esp + 0x30]
add esp, 4
push 4
lea edx, [esp + 0x38]
push edx
push 4
push 0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
push edi
push eax
jmp 0x4067ed
cmp dword [esi - 4], ebx
mov edi, dword [esi - 0xc]
jle 0x4067de
mov ecx, edi
push ecx
lea ecx, [esp + 0x34]
call fcn.00401690
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x30]
push esi
push ebp
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x17]
mov byte [esp + 0x24], bl
call fcn.00405300
lea eax, [edi - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40682c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406850
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x407280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x466110
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x485618]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.00404190
push 0x50
push str.my.kuaiyouhui.com
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0
call fcn.004041b0
call fcn.00409d38
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4072df
push 0x80004005
call fcn.004011c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x40]
push ecx
push str.7.0.0.2
lea edx, [esp + 0x10]
push str._setup.php_ver_schannelid_s
push edx
mov byte [esp + 0x48], 1
call fcn.00403870
mov esi, dword [esp + 0x18]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x40732b
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0xc]
call fcn.00401690
mov esi, dword [esp + 8]
push esi
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x14]
call fcn.004046e0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40735a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40737b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.004042a0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret 4
Function at 0x4073a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x466140
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x485618]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.00404190
push 0x50
push str.my.kuaiyouhui.com
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0
call fcn.004041b0
call fcn.00409d38
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4073ff
push 0x80004005
call fcn.004011c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x40]
push ecx
push str.7.0.0.2
lea edx, [esp + 0x10]
push str._uninstall.php_ver_schannelid_s
push edx
mov byte [esp + 0x48], 1
call fcn.00403870
mov esi, dword [esp + 0x18]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x40744b
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0xc]
call fcn.00401690
mov esi, dword [esp + 8]
push esi
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x14]
call fcn.004046e0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40747a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40749b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.004042a0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret 4

Function at 0x4074e0
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x485618]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [esp + 0x218]
push 0x104
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.0043ac90
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 1
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x407536
push 0x46adb8
jmp 0x4075a4
lea eax, [esp + 8]
add eax, 0xffffffff
lea ecx, [ecx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x407540
mov edx, dword [str.yhb]
mov cl, byte [0x46b59c]
mov dword [eax], edx
push 0
lea edx, [esp + 0xc]
push edx
mov byte [eax + 4], cl
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x104
lea eax, [esp + 0x110]
push 0
push eax
call fcn.0043ac90
push str.yhb.exe
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x120]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea eax, [esp + 0x10c]
push eax
mov ecx, esi
call fcn.00402d00
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0043a450
add esp, 0x210
ret 4
Function at 0x4075d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x466195
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x485618]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push edi
mov eax, dword [0x485618]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x13c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 0
lea ecx, [esp + 0xf]
mov dword [esp + 0x134], 1
call fcn.004052f0
lea ecx, [esp + 0xf]
mov byte [esp + 0x134], 2
call fcn.00405400
test eax, eax
je 0x407651
lea eax, [esp + 0x10]
push eax
push 0x101
jmp 0x407658
lea ecx, [esp + 0x10]
push ecx
push 1
push 0
push str.SOFTWAREyhb
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0x104
lea edx, [esp + 0x28]
push 0
push edx
mov dword [esp + 0x28], 0x104
call fcn.0043ac90
mov esi, dword [esp + 0x14c]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push esi
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.00402d00
lea ecx, [esp + 0xf]
mov dword [esp + 0x18], 1
mov byte [esp + 0x134], 1
call fcn.00405300
lea eax, [esi - 0x10]
mov byte [esp + 0x134], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407706
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0043a450
add esp, 0x12c
ret 8
Function at 0x407bb0
Capabilities:
Create process on windows

Disassembly:
push ecx
lea eax, [esp]
push eax
call fcn.004074e0
mov ecx, dword [esp]
push 0
push 0
push 0x46aff8
push ecx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407bf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop ecx
ret 4

Function at 0x40acb8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x485618]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x40acf8
push 0x46bc98
push 4
push eax
call fcn.0043b575
push eax
call fcn.00401000
add esp, 0x10
jmp 0x40ad0a
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x40ad78
push edi
call fcn.0043c9fd
mov edi, dword [eax]
call fcn.0043c9fd
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0043c12c
add esp, 0x18
mov ebx, eax
call fcn.0043c9fd
cmp dword [eax], 0
je 0x40ad58
call fcn.0043c9fd
push dword [eax]
call fcn.00408b4d
pop ecx
jmp 0x40ad5f
call fcn.0043c9fd
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x40ad78
cmp ebx, esi
jae 0x40ad78
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x40ad7a
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a450
leave
ret
Function at 0x40dfc7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x466866
call fcn.0043c624
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0041258c
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x40e012
call fcn.0041258c
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x40e023
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x40e030
or eax, 0xffffffff
jmp 0x40e18c
mov ecx, esi
call fcn.0040db13
mov dword [ebp - 0x14], eax
call fcn.00415685
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x40e0ae
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x40e0ae
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40e0ae
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0040ac6b
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x40e0ae
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x40e0ae
mov ecx, ebx
call fcn.00418f3f
test eax, eax
je 0x40e0ae
push 0
mov ecx, ebx
call fcn.00418f5a
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0041786f
push dword [ebp - 0x14]
call fcn.004155dd
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040ddcf
xor edi, edi
cmp eax, edi
je 0x40e10b
test byte [esi + 0x3c], 0x10
je 0x40e0f5
push 4
pop edi
mov ecx, esi
call fcn.00418dd9
test ax, 0x100
je 0x40e0eb
push 5
pop edi
push edi
mov ecx, esi
call fcn.00415133
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x40e10b
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00419245
or dword [ebp - 4], 0xffffffff
jmp 0x40e136
cmp dword [ebp - 0x28], edi
je 0x40e144
push 1
mov ecx, ebx
call fcn.00418f5a
cmp dword [ebp - 0x2c], edi
je 0x40e154
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x40e16d
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x40e16d
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0040db4d
cmp dword [esi + 0x58], edi
je 0x40e189
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0043c6c9
ret
Function at 0x40f3ea
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x40f413
call fcn.0041258c
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x40f436
push eax
push dword [esi + 4]
call fcn.0040f33b
push esi
push eax
mov ecx, 0x487300
call fcn.0040edbf
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x410ae2
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x466ce0
call fcn.0043c5f1
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004107be
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00403610
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 4], eax
jne 0x410b48
push eax
push dword [esi + 8]
call fcn.0040f33b
push dword [esi + 0xc]
mov ecx, 0x487300
push eax
call fcn.0040edbf
mov eax, esi
call fcn.0043c6c9
ret 0x18

Function at 0x411308
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x411311
xor eax, eax
jmp 0x41137a
cmp dword [esp + 8], 0
jne 0x41131d
call fcn.00407d6b
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.004409bb
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x411358
push dword [esi + 0x10]
call fcn.004406a6
test eax, eax
pop ecx
jne 0x411358
mov esi, dword [esi + 0xc]
call fcn.0043ca10
push esi
push dword [eax]
push 1
call fcn.0042731a
push dword [esi + 0x10]
call fcn.004406d5
test eax, eax
pop ecx
je 0x411377
push dword [esi + 0x10]
call fcn.004405f5
push eax
call fcn.00401000
pop ecx
pop ecx
jmp 0x411346
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x416c44
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x416c7d
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00409c37
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00409c12
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x418b84
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x418bc7
call fcn.0041258c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x418bc7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x418be2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041873b
test ebx, ebx
mov esi, eax
je 0x418be0
test edi, edi
je 0x418be0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x419641
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46775d
call fcn.0043c5f1
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x419666
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4196b2
call fcn.00409d38
push eax
lea ecx, [ebp - 0x10]
call fcn.00401bc0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00407db9
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401330
mov eax, esi
call fcn.0043c6c9
ret 8

Function at 0x43a450
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x485618]
jne 0x43a45a
repz ret
jmp fcn.00446865
Function at 0x440704
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x440741
cmp dword [ebp + 0x14], edi
je 0x440741
cmp ecx, edi
jne 0x440748
call fcn.0043c9fd
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00443e49
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x44075c
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x44077d
cmp ebx, 0xffffffff
je 0x44076c
push ebx
push edi
push ecx
call fcn.0043ac90
add esp, 0xc
cmp esi, edi
je 0x440729
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x440729
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x440799
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4407a0
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x440891
test word [esi + 0xc], 0x10c
je 0x4407f4
mov eax, dword [esi + 4]
test eax, eax
je 0x4407f4
jl 0x4408f2
cmp ebx, eax
mov edi, ebx
jb 0x4407c5
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x440899
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00439e3b
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x440889
cmp ebx, dword [ebp - 0xc]
jb 0x440861
cmp dword [ebp - 0xc], 0
je 0x44081e
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x440813
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x44081a
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x440829
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x440829
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4408c5
push eax
push dword [ebp - 8]
push esi
call fcn.00440354
pop ecx
push eax
call fcn.00450bb0
add esp, 0xc
test eax, eax
je 0x440904
cmp eax, 0xffffffff
je 0x4408f2
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x440889
push esi
call fcn.004504cf
cmp eax, 0xffffffff
pop ecx
je 0x4408f6
cmp dword [ebp - 4], 0
je 0x4408c5
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4407a8
mov eax, dword [ebp + 0x14]
jmp 0x440743
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4408b0
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0043ac90
add esp, 0xc
call fcn.0043c9fd
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x440739
cmp dword [ebp + 0xc], 0xffffffff
je 0x4408db
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0043ac90
add esp, 0xc
call fcn.0043c9fd
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x440739
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x440743
or dword [esi + 0xc], 0x10
jmp 0x4408f6