joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aef4
Capabilities:
Delete file

Disassembly:
push 0x34
mov eax, 0x461b95
call fcn.00434f10
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push 0x10
pop ebx
cmp dword [esi + 0x34], ebx
jb 0x40af15
mov eax, dword [esi + 0x20]
jmp 0x40af18
lea eax, [esi + 0x20]
push eax
call fcn.00408beb
test al, al
jne 0x40af47
cmp dword [esi + 0x34], ebx
jb 0x40af2c
mov esi, dword [esi + 0x20]
jmp 0x40af2f
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [edi + 0x2c], 1
xor al, al
call fcn.00434fe8
ret 4
xor edi, edi
cmp dword [esi + 0xb8], edi
je 0x40afb6
lea ecx, [ebp - 0x40]
call fcn.00424a61
mov dword [ebp - 0x40], 0x46747c
lea eax, [esi + 0xa4]
cmp dword [eax + 0x18], ebx
mov dword [ebp - 4], edi
jb 0x40af73
mov eax, dword [eax + 4]
jmp 0x40af76
add eax, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00402092
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00401586
push eax
lea ecx, [ebp - 0x40]
call fcn.00406e5c
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00407033
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401097
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00424aa0
cmp dword [esi + 0x88], ebx
jb 0x40afc3
mov eax, dword [esi + 0x74]
jmp 0x40afc6
lea eax, [esi + 0x74]
mov edi, dword [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0040ac13
test eax, eax
jne 0x40afe1
mov dword [edi + 0x2c], 4
jmp 0x40af3d
cmp dword [esi + 0x34], ebx
jb 0x40afeb
mov eax, dword [esi + 0x20]
jmp 0x40afee
lea eax, [esi + 0x20]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00402092
lea eax, [ebp - 0x18]
push eax
call fcn.0040a15f
pop ecx
pop ecx
mov dword [ebp - 4], 2
call fcn.00417520
push eax
lea ecx, [ebp - 0x10]
call fcn.0041689a
cmp dword [esi + 0x34], ebx
mov byte [ebp - 4], 3
jb 0x40b028
mov eax, dword [esi + 0x20]
jmp 0x40b02b
lea eax, [esi + 0x20]
push eax
lea eax, [ebp - 0x10]
push 0x467b74
push eax
call fcn.00401fed
add esp, 0xc
cmp dword [esi + 0x6c], ebx
jb 0x40b047
mov eax, dword [esi + 0x58]
jmp 0x40b04a
lea eax, [esi + 0x58]
push eax
lea ecx, [ebp + 8]
call fcn.00402092
mov edi, 0x467b6c
push edi
push 0x467b60
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.004052ee
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
push edi
call fcn.004052ee
push 0x467b5c
push dword [ebp - 0x18]
call fcn.00436ab1
test eax, eax
pop ecx
pop ecx
jne 0x40b0d5
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x40b0d5
movzx eax, byte [esi + 0x8d]
push eax
lea eax, [ebp + 8]
push eax
push 0x467b54
mov ecx, dword [ebp - 0x14]
call fcn.00408e33
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov bl, al
call fcn.00401097
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401097
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401097
mov al, bl
jmp 0x40af3f
cmp dword [esi + 0x34], ebx
jb 0x40b0df
mov eax, dword [esi + 0x20]
jmp 0x40b0e2
lea eax, [esi + 0x20]
movzx ecx, byte [esi + 0x8d]
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
jmp 0x40b0a3
Function at 0x41b4b2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41b4eb
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.00417c16
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00407033
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x41cb2f
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x466b15
mov ecx, edi
call fcn.00401fc8
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x41cb82
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x41cb95
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00417c16
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00407033
jmp 0x41cb95
mov ecx, esi
call fcn.0041d75b
test eax, eax
je 0x41cb95
push edi
mov ecx, eax
call fcn.0041b4b2
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x41d07c
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 0x41d0bf
call fcn.004222b4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41d0bf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41d0da
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041cc33
test ebx, ebx
mov esi, eax
je 0x41d0d8
test edi, edi
je 0x41d0d8
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41feae
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 0x41fed7
call fcn.004222b4
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 0x41fefa
push eax
push dword [esi + 4]
call fcn.0041fe39
push esi
push eax
mov ecx, 0x4831b4
call fcn.0041fad2
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x42082e
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x463c23
call fcn.00434f10
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x20]
mov edi, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call fcn.00420772
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401572
push dword [esi + 8]
mov edi, dword [edi + 8]
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 4], eax
jne 0x420895
push eax
push dword [esi + 8]
call fcn.0041fe39
push dword [esi + 0xc]
mov ecx, 0x4831b4
push eax
call fcn.0041fad2
mov eax, esi
call fcn.00434fe8
ret 0x1c
Function at 0x421623
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x463dd6
call fcn.00434f43
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.004222b4
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x42166e
call fcn.004222b4
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 0x42167f
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x42168c
or eax, 0xffffffff
jmp 0x4217e8
mov ecx, esi
call fcn.00421175
mov dword [ebp - 0x14], eax
call fcn.0041a4ea
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x42170a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x42170a
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42170a
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00419077
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x42170a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x42170a
mov ecx, ebx
call fcn.0041d8e9
test eax, eax
je 0x42170a
push 0
mov ecx, ebx
call fcn.0041d904
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0041beef
push dword [ebp - 0x14]
call fcn.0041a442
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0042142b
xor edi, edi
cmp eax, edi
je 0x421767
test byte [esi + 0x3c], 0x10
je 0x421751
push 4
pop edi
mov ecx, esi
call fcn.0041d7fa
test ax, 0x100
je 0x421747
push 5
pop edi
push edi
mov ecx, esi
call fcn.00419fd8
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x421767
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041dad7
or dword [ebp - 4], 0xffffffff
jmp 0x421792
cmp dword [ebp - 0x28], edi
je 0x4217a0
push 1
mov ecx, ebx
call fcn.0041d904
cmp dword [ebp - 0x2c], edi
je 0x4217b0
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4217c9
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x4217c9
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.004211af
cmp dword [esi + 0x58], edi
je 0x4217e5
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00434fe8
ret
Function at 0x421852
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 0x421872
cmp dword [edi + 0x54], 0
jne 0x421872
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004222b4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
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.00421819
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 0x42431d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x47fe60]
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 0x42435d
push 0x46a3b8
push 4
push eax
call fcn.004394f4
push eax
call section..text
add esp, 0x10
jmp 0x42436f
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4243dd
push edi
call fcn.00439b8d
mov edi, dword [eax]
call fcn.00439b8d
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.00436eac
add esp, 0x18
mov ebx, eax
call fcn.00439b8d
cmp dword [eax], 0
je 0x4243bd
call fcn.00439b8d
push dword [eax]
call fcn.00416848
pop ecx
jmp 0x4243c4
call fcn.00439b8d
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x4243dd
cmp ebx, esi
jae 0x4243dd
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x4243df
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00434f01
leave
ret
Function at 0x425dc6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x425e0c
call fcn.004222b4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x425e0c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x425e4f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x425e38
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x425e38
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x425e4c
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x427680
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4276ae
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4276cc
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004275ea
jmp 0x4276cc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4276cc
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004275ea
test edi, edi
mov eax, edi
jne 0x4276b6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x483368]
test ecx, ecx
je 0x42778f
jmp 0x42767f
ret 8

Function at 0x434f01
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47fe60]
jne 0x434f0b
repz ret
jmp fcn.0043dedc

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x43702e
call fcn.00439ba0
mov dword [eax], esi
call fcn.00439b8d
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00436465
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x43700a
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43705d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00439bb3
pop ecx
call fcn.00439b8d
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x437084
test al, 1
je 0x437084
test byte [esp + 0xc], 2
je 0x437084
call fcn.00439ba0
mov dword [eax], 5
call fcn.00439b8d
mov dword [eax], 0xd
jmp 0x437054
xor eax, eax
pop esi
ret
Function at 0x43a3cf
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 0x43a40c
cmp dword [ebp + 0x14], edi
je 0x43a40c
cmp ecx, edi
jne 0x43a413
call fcn.00439b8d
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00436465
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43a427
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43a448
cmp ebx, 0xffffffff
je 0x43a437
push ebx
push edi
push ecx
call fcn.00434ac0
add esp, 0xc
cmp esi, edi
je 0x43a3f4
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43a3f4
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43a464
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x43a46b
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x43a55c
test word [esi + 0xc], 0x10c
je 0x43a4bf
mov eax, dword [esi + 4]
test eax, eax
je 0x43a4bf
jl 0x43a5bd
cmp ebx, eax
mov edi, ebx
jb 0x43a490
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43a564
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0043505b
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 0x43a554
cmp ebx, dword [ebp - 0xc]
jb 0x43a52c
cmp dword [ebp - 0xc], 0
je 0x43a4e9
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x43a4de
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x43a4e5
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43a4f4
mov eax, SysReAllocString
cmp ebx, eax
ja 0x43a4f4
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43a590
push eax
push dword [ebp - 8]
push esi
call fcn.0043a112
pop ecx
push eax
call fcn.004472b8
add esp, 0xc
test eax, eax
je 0x43a5cf
cmp eax, 0xffffffff
je 0x43a5bd
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43a554
push esi
call fcn.00446bd7
cmp eax, 0xffffffff
pop ecx
je 0x43a5c1
cmp dword [ebp - 4], 0
je 0x43a590
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 0x43a473
mov eax, dword [ebp + 0x14]
jmp 0x43a40e
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43a57b
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00434ac0
add esp, 0xc
call fcn.00439b8d
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43a404
cmp dword [ebp + 0xc], 0xffffffff
je 0x43a5a6
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00434ac0
add esp, 0xc
call fcn.00439b8d
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43a404
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43a40e
or dword [esi + 0xc], 0x10
jmp 0x43a5c1
Function at 0x43c89a
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 + 0x480170]
je 0x43c8b5
inc edi
cmp edi, 0x17
jb 0x43c8a6
cmp edi, 0x17
jae 0x43ca35
push ebp
push 3
call fcn.00447b61
cmp eax, 1
pop ecx
je 0x43ca01
push 3
call fcn.00447b61
test eax, eax
pop ecx
jne 0x43c8e9
cmp dword [0x47fec0], 1
je 0x43ca01
cmp ebx, 0xfc
je 0x43ca34
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x483830
push ebp
call fcn.004394f4
add esp, 0xc
test eax, eax
je 0x43c91f
push esi
push esi
push esi
push esi
push esi
call fcn.00436369
add esp, 0x14
push 0x104
mov esi, 0x483849
push esi
push 0
mov byte [0x48394d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43c963
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004394f4
add esp, 0xc
test eax, eax
je 0x43c963
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00436369
add esp, 0x14
push esi
call fcn.00434a30
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43c9a8
push esi
call fcn.00434a30
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x483b44
push 0x46bfa0
sub ecx, eax
push ecx
push eax
call fcn.00438d87
add esp, 0x14
test eax, eax
je 0x43c9a8
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00436369
add esp, 0x14
jmp 0x43c9aa
xor esi, esi
push 0x466be8
push ebx
push ebp
call fcn.0043b466
add esp, 0xc
test eax, eax
je 0x43c9ca
push esi
push esi
push esi
push esi
push esi
call fcn.00436369
add esp, 0x14
push dword [edi*8 + 0x480174]
push ebx
push ebp
call fcn.0043b466
add esp, 0xc
test eax, eax
je 0x43c9ec
push esi
push esi
push esi
push esi
push esi
call fcn.00436369
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004479a4
add esp, 0xc
jmp 0x43ca34
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43ca34
cmp ebp, 0xffffffff
je 0x43ca34
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x480174]
push dword [esi]
call fcn.00434a30
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 0x4479a4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043d910
xor ebx, ebx
cmp dword [0x484108], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x447a7a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x447b5a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46ca68
push edi
call esi
cmp eax, ebx
je 0x447b5a
push eax
call fcn.0043d8a2
mov dword [esp], 0x46ca58
push edi
mov dword [0x484108], eax
call esi
push eax
call fcn.0043d8a2
mov dword [esp], str.heT
push edi
mov dword [0x48410c], eax
call esi
push eax
call fcn.0043d8a2
mov dword [0x484110], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043b1f3
test eax, eax
pop ecx
pop ecx
je 0x447a48
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00436369
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x447a7a
push 0x46ca28
push edi
call esi
push eax
call fcn.0043d8a2
cmp eax, ebx
pop ecx
mov dword [0x484118], eax
je 0x447a7a
push 0x46ca10
push edi
call esi
push eax
call fcn.0043d8a2
pop ecx
mov dword [0x484114], eax
mov eax, dword [0x484114]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x447aff
cmp dword [0x484118], ecx
je 0x447aff
push eax
call fcn.0043d919
push dword [0x484118]
mov esi, eax
call fcn.0043d919
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x447aff
cmp edi, ebx
je 0x447aff
call esi
cmp eax, ebx
je 0x447acc
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x447acc
test byte [ebp - 0x18], 1
jne 0x447aff
lea eax, [ebp - 0x10]
push eax
call fcn.0043b22a
test eax, eax
pop ecx
je 0x447ae7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00436369
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x447af6
or dword [ebp + 0x10], 0x200000
jmp 0x447b3a
or dword [ebp + 0x10], 0x40000
jmp 0x447b3a
mov eax, dword [0x48410c]
cmp eax, dword [ebp - 8]
je 0x447b3a
push eax
call fcn.0043d919
cmp eax, ebx
pop ecx
je 0x447b3a
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x447b3a
mov eax, dword [0x484110]
cmp eax, dword [ebp - 8]
je 0x447b3a
push eax
call fcn.0043d919
cmp eax, ebx
pop ecx
je 0x447b3a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x484108]
call fcn.0043d919
cmp eax, ebx
pop ecx
je 0x447b5a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x447b5c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x460296
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x47fe60]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0046022b
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00434ac0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4602e5
cmp dword [ebp - 0x1c], 5
jb 0x4602fd
jmp 0x4602f9
cmp dword [ebp - 0x10], 1
jne 0x4602fd
cmp dword [ebp - 0x1c], 4
ja 0x4602f9
jne 0x4602fd
cmp dword [ebp - 0x18], 0
jbe 0x4602fd
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4704c4
call fcn.004600ff
test eax, eax
jge 0x46031e
mov byte [0x481400], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00434f01
add ebp, 0x78
leave
ret