joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421990
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x20]
mov ebx, dword [esi + 0x44]
cmp ebx, 0x2710
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x24]
push edi
mov edi, dword [esi + 0x268]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], edi
jge 0x4219d2
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push edi
push ebx
push edx
push eax
mov eax, ecx
jmp 0x421aa0
lea ecx, [ebx + 0x22]
test cl, 1
je 0x4219dd
add ecx, 1
add ecx, edx
cmp eax, 1
mov dword [ebp - 8], ecx
jge 0x4219ee
mov eax, 1
jmp 0x4219f8
cmp eax, 0x64
jle 0x4219f8
mov eax, 0x64
lea ecx, [eax - 1]
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 8]
mov eax, ecx
imul eax, ebx
push edi
mov edi, dword [ebp - 0xc]
push ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
push edx
mov edx, dword [esi + 0x24]
push eax
lea ecx, [ebp - 4]
call fcn.004211c0
mov edi, dword [ebp - 0x14]
add esp, 0x10
cmp edi, 3
jl 0x421a72
test ebx, ebx
mov dword [ebp - 8], 1
je 0x421a45
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 4]
sub esp, 8
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fidiv dword [ebp - 8]
fstp qword [esp]
push ebx
push eax
push str._______d_work___d_block__ratio__5.2f_n
call fcn.0043c781
add eax, 0x40
push eax
call fcn.0043cc9d
add esp, 0x18
cmp dword [ebp - 4], 0
jge 0x421aa8
cmp edi, 2
jl 0x421a93
push str.____too_repetitive__using_fallback_sorting_algorithm_n
call fcn.0043c781
add eax, 0x40
push eax
call fcn.0043cc9d
add esp, 8
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov eax, dword [ebp - 0xc]
push edi
push ebx
push ecx
push edx
call fcn.00420450
add esp, 0x10
or ecx, 0xffffffff
xor eax, eax
cmp dword [esi + 0x44], eax
mov dword [esi + 0x1c], ecx
jle 0x421acb
mov edx, dword [ebp - 0x10]
cmp dword [edx + eax*4], 0
je 0x421ac8
add eax, 1
cmp eax, dword [esi + 0x44]
jl 0x421ab5
jmp 0x421acb
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x1c], ecx
jne 0x421ada
mov esi, 0x3eb
jmp 0x419e70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4228d0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
cmp byte [eax + 0x29], 0
je 0x4228ea
mov eax, 1
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
xor edi, edi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push edi
push 0x2001f
push edi
push edi
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call ebx
cmp eax, edi
jne 0x422922
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 4], ecx
cmp eax, edi
push esi
mov esi, eax
jne 0x422a42
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.InstallerData
push ecx
mov dword [ebp - 0xc], edi
call ebx
test eax, eax
jne 0x422957
mov edi, dword [ebp - 0xc]
test eax, eax
mov esi, eax
jne 0x422a37
lea edx, [ebp + 0xc]
push edx
call fcn.004099fe
push 0x7fff
lea eax, [ebp + 0xc]
push eax
call fcn.0040943a
test al, al
jne 0x4229aa
lea ecx, [ebp + 0xc]
push ecx
call fcn.0040287d
test edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x422992
push edi
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x42299c
push eax
call esi
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 8]
cmp byte [edx + 0x28], 0
jne 0x422a1c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x10], 0x7fff
mov ecx, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push ecx
push 0
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x422a1c
mov edx, dword [ebp + 0xc]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4229c0
call fcn.004092e5
mov esi, eax
lea eax, [ebp + 0xc]
push eax
call fcn.0040287d
test edi, edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x422a07
push edi
call ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x422a59
push eax
call ebx
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
add ecx, 0x10
mov dword [ebp - 0x10], ecx
call fcn.004233c0
test eax, eax
jne 0x422a67
lea ecx, [ebp + 0xc]
push ecx
call fcn.0040287d
test edi, edi
je 0x422a42
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.004092e5
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x422a59
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push ecx
mov ebx, eax
call fcn.00423540
cmp dword [ebx + 0xc], 0
mov dword [ebp + 8], eax
je 0x422aa3
mov esi, dword [ebx + 4]
test esi, esi
mov ebx, dword [ebx]
je 0x422aab
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x422ab5
cmp dword [ebp + 8], 0
jne 0x422a64
jmp 0x422a2e
push 0x80004005
call fcn.00401790
mov eax, esi
jmp 0x4229ea
Function at 0x423dd0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
push 0
push eax
push ecx
push 2
push 0
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 8], eax
jne 0x423e0a
call fcn.00403179
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
push 0
push ecx
mov dword [esi + 0x10], 0
mov edx, dword [esi + 0x10]
push edx
mov dword [esi + 4], ecx
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x14]
push ecx
push 4
push eax
mov dword [esi + 0x18], 4
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test eax, eax
mov dword [esi], eax
jne 0x423e5e
call fcn.00403179
mov edx, dword [esi + 8]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4244b0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x477fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x64], ebx
jne 0x424577
mov esi, 1
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
call fcn.00424270
cmp dword [eax + 0x10], ebx
je 0x42452c
cmp dword [eax + 4], ebx
je 0x424513
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], ebx
jmp 0x42452c
cmp dword [eax + 8], ebx
je 0x42452c
mov esi, 3
mov dword [ebp - 0x14], esi
mov edi, dword [eax + 8]
mov dword [ebp - 0x18], edi
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ebx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
push 0
push ebx
push edi
push esi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
test eax, eax
jne 0x424566
call fcn.00403179
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
mov byte [ebp - 4], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x428b69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x457918
call fcn.0043d5d4
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.00433676
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x428bb4
call fcn.00433676
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x428bc5
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x428bd2
or eax, 0xffffffff
jmp 0x428d2e
mov ecx, esi
call fcn.004286b0
mov dword [ebp - 0x14], eax
call fcn.0042b809
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x428c50
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x428c50
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x428c50
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00428561
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x428c50
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x428c50
mov ecx, ebx
call fcn.0042903c
test eax, eax
je 0x428c50
push 0
mov ecx, ebx
call fcn.00429057
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0042d094
push dword [ebp - 0x14]
call fcn.0042b761
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00428971
xor edi, edi
cmp eax, edi
je 0x428cad
test byte [esi + 0x3c], 0x10
je 0x428c97
push 4
pop edi
mov ecx, esi
call fcn.00428f23
test ax, 0x100
je 0x428c8d
push 5
pop edi
push edi
mov ecx, esi
call fcn.0042b329
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x428cad
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004290be
or dword [ebp - 4], 0xffffffff
jmp 0x428cd8
cmp dword [ebp - 0x28], edi
je 0x428ce6
push 1
mov ecx, ebx
call fcn.00429057
cmp dword [ebp - 0x2c], edi
je 0x428cf6
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x428d0f
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x428d0f
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.004286ea
cmp dword [esi + 0x58], edi
je 0x428d2b
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0043d679
ret
Function at 0x428d98
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x428db8
cmp dword [edi + 0x54], 0
jne 0x428db8
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00433676
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00428d5f
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x42c780
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42c7b9
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040d149
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00405456
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x42dcda
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x463db4
mov ecx, edi
call fcn.004015fd
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x42dd2d
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x42dd40
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0040d149
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00405456
jmp 0x42dd40
mov ecx, esi
call fcn.00428e63
test eax, eax
je 0x42dd40
push edi
mov ecx, eax
call fcn.0042c780
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x42e21e
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 0x42e261
call fcn.00433676
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42e261
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42e27c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042ddd8
test ebx, ebx
mov esi, eax
je 0x42e27a
test edi, edi
je 0x42e27a
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4350c0
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x477fc0]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x43515e
push 0x4607c4
push 4
push eax
call fcn.0043bdc3
push eax
call fcn.004015a9
add esp, 0x10
push ebx
push edi
call fcn.0043d9a6
mov edi, dword [eax]
call fcn.0043d9a6
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0043d94c
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.0043d9a6
cmp dword [eax], ebx
je 0x435175
call fcn.0043d9a6
push dword [eax]
call fcn.00423cb0
pop ecx
jmp 0x43517c
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x43510f
jmp 0x4351ee
call fcn.0043d9a6
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x4351ea
cmp dword [ebp - 0x40], esi
jae 0x4351ea
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.0043d160
add esp, 0xc
push 0x45fdc8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4351dc
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4351dc
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4351dc
push ebx
push ebx
push esi
jmp 0x4351e2
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4351ec
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.004390c2
add ebp, 0x1f4
leave
ret
Function at 0x4390c2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x477fc0]
jne 0x4390cc
repz ret
jmp fcn.00441536
Function at 0x43c9e6
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 0x43ca23
cmp dword [ebp + 0x14], edi
je 0x43ca23
cmp ecx, edi
jne 0x43ca2a
call fcn.0043d9a6
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043b5e2
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43ca3e
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43ca5f
cmp ebx, 0xffffffff
je 0x43ca4e
push ebx
push edi
push ecx
call fcn.0043d160
add esp, 0xc
cmp esi, edi
je 0x43ca0b
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43ca0b
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43ca7b
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x43ca82
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x43cb73
test word [esi + 0xc], 0x10c
je 0x43cad6
mov eax, dword [esi + 4]
test eax, eax
je 0x43cad6
jl 0x43cbd4
cmp ebx, eax
mov edi, ebx
jb 0x43caa7
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43cb7b
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004390d1
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 0x43cb6b
cmp ebx, dword [ebp - 0xc]
jb 0x43cb43
cmp dword [ebp - 0xc], 0
je 0x43cb00
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x43caf5
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x43cafc
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43cb0b
mov eax, SysReAllocString
cmp ebx, eax
ja 0x43cb0b
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43cba7
push eax
push dword [ebp - 8]
push esi
call fcn.0043f557
pop ecx
push eax
call fcn.0044b0c0
add esp, 0xc
test eax, eax
je 0x43cbe6
cmp eax, 0xffffffff
je 0x43cbd4
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43cb6b
push esi
call fcn.0044a295
cmp eax, 0xffffffff
pop ecx
je 0x43cbd8
cmp dword [ebp - 4], 0
je 0x43cba7
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 0x43ca8a
mov eax, dword [ebp + 0x14]
jmp 0x43ca25
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43cb92
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0043d160
add esp, 0xc
call fcn.0043d9a6
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43ca1b
cmp dword [ebp + 0xc], 0xffffffff
je 0x43cbbd
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0043d160
add esp, 0xc
call fcn.0043d9a6
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43ca1b
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43ca25
or dword [esi + 0xc], 0x10
jmp 0x43cbd8
Function at 0x4402a7
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x478150]
je 0x4402c2
inc edi
cmp edi, 0x17
jb 0x4402b3
cmp edi, 0x17
jae 0x440442
push ebp
push 3
call fcn.0044e048
cmp eax, 1
pop ecx
je 0x44040e
push 3
call fcn.0044e048
test eax, eax
pop ecx
jne 0x4402f6
cmp dword [0x477d0c], 1
je 0x44040e
cmp ebx, 0xfc
je 0x440441
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x47d0e0
push ebp
call fcn.00448e6b
add esp, 0xc
test eax, eax
je 0x44032c
push esi
push esi
push esi
push esi
push esi
call fcn.0043b4e6
add esp, 0x14
push 0x104
mov esi, 0x47d0f9
push esi
push 0
mov byte [0x47d1fd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x440370
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00448e6b
add esp, 0xc
test eax, eax
je 0x440370
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043b4e6
add esp, 0x14
push esi
call fcn.00447190
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4403b5
push esi
call fcn.00447190
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x47d3f4
push 0x461b7c
sub ecx, eax
push ecx
push eax
call fcn.0044df95
add esp, 0x14
test eax, eax
je 0x4403b5
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043b4e6
add esp, 0x14
jmp 0x4403b7
xor esi, esi
push 0x461b78
push ebx
push ebp
call fcn.0044df24
add esp, 0xc
test eax, eax
je 0x4403d7
push esi
push esi
push esi
push esi
push esi
call fcn.0043b4e6
add esp, 0x14
push dword [edi*8 + 0x478154]
push ebx
push ebp
call fcn.0044df24
add esp, 0xc
test eax, eax
je 0x4403f9
push esi
push esi
push esi
push esi
push esi
call fcn.0043b4e6
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0044dd67
add esp, 0xc
jmp 0x440441
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x440441
cmp ebp, 0xffffffff
je 0x440441
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x478154]
push dword [esi]
call fcn.00447190
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x44dd67
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00440e6c
xor ebx, ebx
cmp dword [0x47dbe4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x44de3d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44df1d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x44df1d
push eax
call fcn.00440dfe
mov dword [esp], 0x462088
push edi
mov dword [0x47dbe4], eax
call esi
push eax
call fcn.00440dfe
mov dword [esp], 0x462074
push edi
mov dword [0x47dbe8], eax
call esi
push eax
call fcn.00440dfe
mov dword [0x47dbec], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043b6bf
test eax, eax
pop ecx
pop ecx
je 0x44de0b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043b4e6
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x44de3d
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00440dfe
cmp eax, ebx
pop ecx
mov dword [0x47dbf4], eax
je 0x44de3d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00440dfe
pop ecx
mov dword [0x47dbf0], eax
mov eax, dword [0x47dbf0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x44dec2
cmp dword [0x47dbf4], ecx
je 0x44dec2
push eax
call fcn.00440e75
push dword [0x47dbf4]
mov esi, eax
call fcn.00440e75
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x44dec2
cmp edi, ebx
je 0x44dec2
call esi
cmp eax, ebx
je 0x44de8f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44de8f
test byte [ebp - 0x18], 1
jne 0x44dec2
lea eax, [ebp - 0x10]
push eax
call fcn.0043b6f6
test eax, eax
pop ecx
je 0x44deaa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043b4e6
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x44deb9
or dword [ebp + 0x10], 0x200000
jmp 0x44defd
or dword [ebp + 0x10], 0x40000
jmp 0x44defd
mov eax, dword [0x47dbe8]
cmp eax, dword [ebp - 8]
je 0x44defd
push eax
call fcn.00440e75
cmp eax, ebx
pop ecx
je 0x44defd
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44defd
mov eax, dword [0x47dbec]
cmp eax, dword [ebp - 8]
je 0x44defd
push eax
call fcn.00440e75
cmp eax, ebx
pop ecx
je 0x44defd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47dbe4]
call fcn.00440e75
cmp eax, ebx
pop ecx
je 0x44df1d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44df1f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret