joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f2c0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x10], 0
jmp 0x42f2f0
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x28]
jae 0x42f3e3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 4]
jb 0x42f31a
push 0x80070057
call fcn.0040109c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
lea eax, [ecx + edx*4]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
call fcn.00403078
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.0045eeb0
test eax, eax
jl 0x42f3cf
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jne 0x42f3cf
call fcn.0045c230
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x42f3cf
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
push 1
push 1
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
call eax
push 1
push 4
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesApiMon
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x40], edx
push 1
push 4
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402073
jmp 0x42f2e7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4323d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4678c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x12c], eax
xor ecx, ecx
jne 0x432413
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x4324c7
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x14]
push ecx
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x130]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4324c7
mov byte [ebp - 0x124], 0
push 0x103
push 0
lea ecx, [ebp - 0x123]
push ecx
call fcn.00449160
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x134], edx
push 0x104
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x134]
push edx
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x4324c7
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x138], ecx
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call dword [ebp + 8]
add esp, 0xc
mov byte [ebp - 0x125], 1
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], 0
je 0x4324f2
cmp dword [ebp - 0x10], 0
je 0x4324f2
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x125]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x432510
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x40
mov eax, dword [ebp - 8]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
shl ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004483c8
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43255d
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
jmp 0x432569
mov dword [ebp - 0xc], 0x8007000e
jmp 0x432628
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x4325ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x43259a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
jmp 0x4325b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
and eax, 0xffff
or eax, 0x70000
or eax, 0x80000000
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xc], edx
jmp 0x432628
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jbe 0x432623
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x10]
shr ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x4325dd
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jae 0x432621
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [ebp + 8]
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x43261f
mov dword [ebp - 0xc], 1
jmp 0x432621
jmp 0x4325d4
jmp 0x432628
jmp 0x43252b
mov ecx, dword [ebp - 4]
push ecx
call fcn.00448193
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4334a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467974
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
mov dword [ebp - 0x17c], ecx
mov eax, dword [ebp - 0x17c]
mov dword [eax], 0x46d6d4
mov ecx, dword [ebp - 0x17c]
add ecx, 4
mov dword [ebp - 0x124], ecx
mov ecx, dword [ebp - 0x124]
call fcn.00438ec0
mov ecx, dword [ebp - 0x17c]
add ecx, 0x404
call fcn.004634d0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x17c]
mov dword [edx + 0x408], 0
mov eax, dword [ebp - 0x17c]
add eax, 0x40c
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
call fcn.004178f0
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x10], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x17c]
add edx, 0x420
mov dword [ebp - 0x12c], edx
mov ecx, dword [ebp - 0x12c]
call fcn.004178f0
mov eax, dword [ebp - 0x12c]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x12c]
mov byte [ecx + 0x15], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x17c]
add ecx, 0x438
call fcn.00403078
mov byte [ebp - 4], 3
push 1
push 0x21
lea edx, [ebp - 0x114]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x433609
mov eax, dword [ebp - 0x17c]
add eax, 0x438
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x114]
test ecx, ecx
jne 0x4335ca
mov dword [ebp - 0x138], 0
jmp 0x4335df
lea edx, [ebp - 0x114]
push edx
call fcn.00449260
add esp, 4
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
push eax
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x15c]
call fcn.00403cc5
mov ecx, dword [ebp - 0x17c]
add ecx, 0x438
call fcn.00411c20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x437af0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467e68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp + 0xc]
call fcn.00401fe1
lea ecx, [ebp - 0x14]
call fcn.00403078
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x437be4
mov dword [ebp - 0x1c], 0
xor ecx, ecx
jne 0x437b3d
push 0
lea edx, [ebp - 0x1c]
push edx
push 1
lea eax, [ebp - 0x1d]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x437b6c
call fcn.004021a3
mov dword [ebp - 0x18], eax
jmp 0x437b73
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
jl 0x437b7f
cmp dword [ebp - 0x1c], 0
jne 0x437bae
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040e6c3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x4c], eax
xor ecx, ecx
cmp dword [ebp - 0x4c], 0
sete cl
movzx edx, cl
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0xd], dl
jmp 0x437be4
movsx eax, byte [ebp - 0x1d]
cmp eax, 0xa
jne 0x437bd3
push 0xd
lea ecx, [ebp - 0x14]
call fcn.00438330
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040e6c3
mov byte [ebp - 0xd], 1
jmp 0x437be4
mov dl, byte [ebp - 0x1d]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040e710
jmp 0x437b29
mov al, byte [ebp - 0xd]
mov byte [ebp - 0x1e], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402073
mov al, byte [ebp - 0x1e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x438ec0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0x4c11db7
mov dword [ebp - 8], 0
jmp 0x438ee2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xff
jg 0x439001
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 1
jmp 0x438f0e
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, 8
add eax, 1
cmp dword [ebp - 0x14], eax
jge 0x438f42
mov ecx, dword [ebp - 0x18]
and ecx, 1
je 0x438f38
mov ecx, 8
sub ecx, dword [ebp - 0x14]
mov edx, 1
shl edx, cl
or edx, dword [ebp - 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
shr eax, 1
mov dword [ebp - 0x18], eax
jmp 0x438f05
mov ecx, dword [ebp - 0x10]
shl ecx, 0x18
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
mov dword [eax + edx*4], ecx
mov dword [ebp - 0xc], 0
jmp 0x438f63
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 8
jge 0x438f97
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + edx*4]
shl ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + edx*4]
and edx, 0x80000000
neg edx
sbb edx, edx
and edx, dword [ebp - 4]
xor ecx, edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x28]
mov dword [edx + eax*4], ecx
jmp 0x438f5a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 1
jmp 0x438fbc
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, 0x20
add ecx, 1
cmp dword [ebp - 0x20], ecx
jge 0x438ff0
mov edx, dword [ebp - 0x24]
and edx, 1
je 0x438fe6
mov ecx, 0x20
sub ecx, dword [ebp - 0x20]
mov eax, 1
shl eax, cl
or eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x24]
shr ecx, 1
mov dword [ebp - 0x24], ecx
jmp 0x438fb3
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + edx*4], ecx
jmp 0x438ed9
mov esp, ebp
pop ebp
ret
Function at 0x43b8b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x43b8cc
xor eax, eax
jmp 0x43b940
xor edx, edx
jne 0x43b8cc
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x43b903
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
push 0x43b810
push 0
push 0
call fcn.0044d86d
add esp, 0x18
mov dword [ebp - 0x10], eax
xor eax, eax
jne 0x43b921
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
xor eax, eax
cmp dword [ebp - 0x14], 0
setne al
mov esp, ebp
pop ebp
ret
Function at 0x440970
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4685a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x47c
push esi
mov dword [ebp - 0x488], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x414]
push ecx
call fcn.0044ba20
add esp, 8
mov edx, dword [ebp + 8]
push edx
call fcn.00449260
add esp, 4
sub eax, 1
mov dword [ebp - 0x41c], eax
jmp 0x4409ce
mov eax, dword [ebp - 0x41c]
sub eax, 1
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jb 0x4409fc
mov ecx, dword [ebp - 0x41c]
movsx edx, byte [ebp + ecx - 0x414]
cmp edx, 0x5c
jne 0x4409fa
mov eax, dword [ebp - 0x41c]
mov byte [ebp + eax - 0x414], 0
jmp 0x4409fc
jmp 0x4409bf
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00409a7c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00411c20
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x438], edx
mov eax, dword [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0x488]
add ecx, 4
call fcn.004394e0
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x440a5a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x418]
sub eax, dword [ecx + 4]
cmp eax, 0xea60
jbe 0x440aa6
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp - 0x488]
add eax, 0x40
push eax
call fcn.00440b80
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x440a91
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
call eax
jmp 0x440aa6
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
call edx
cmp dword [ebp - 0x418], 0
je 0x440ac0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x418]
mov dword [ecx + 4], eax
jmp 0x440ae8
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x448], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword [ebp - 0x448]
push eax
mov ecx, dword [ebp - 0x488]
add ecx, 4
call fcn.00440cd0
mov dword [eax], esi
mov ecx, dword [ebp - 0x488]
add ecx, 0x40
mov dword [ebp - 0x480], ecx
lea edx, [ebp - 0x414]
test edx, edx
jne 0x440b0d
mov dword [ebp - 0x45c], 0
jmp 0x440b22
lea eax, [ebp - 0x414]
push eax
call fcn.00449260
add esp, 4
mov dword [ebp - 0x45c], eax
mov ecx, dword [ebp - 0x45c]
push ecx
lea edx, [ebp - 0x414]
push edx
mov ecx, dword [ebp - 0x480]
call fcn.00403cc5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402073
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x442d20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4687c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov dword [ebp - 0xa4], ecx
mov byte [ebp - 0xd], 1
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 4], 0
sete cl
movzx edx, cl
test edx, edx
jne 0x442e65
lea ecx, [ebp - 0x30]
call fcn.0040c4c6
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040c4c6
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x38], ecx
jmp 0x442d95
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x38]
jae 0x442e1b
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x34]
cmp edx, dword [ecx + 4]
jb 0x442db2
push 0x80070057
call fcn.0040109c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
lea eax, [ecx + edx*4]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x442e16
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x442e02
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x30]
call fcn.004130e0
jmp 0x442e16
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004130e0
jmp 0x442d8c
mov cl, byte [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x30]
push eax
push 0
mov ecx, dword [ebp - 0xa4]
call fcn.00443850
mov byte [ebp - 0x3d], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040ec45
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040ec45
mov al, byte [ebp - 0x3d]
jmp 0x442ed3
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
cmp edx, dword [ebp + 0x14]
jae 0x442ed0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
neg ecx
sbb ecx, ecx
and ecx, 0x42a940
je 0x442ed0
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [edx + 8]
call eax
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x447ae1
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x47fe2c], 0
push esi
jne 0x447a54
call fcn.0044797f
test eax, eax
je 0x447a97
mov eax, dword [0x47fe2c]
cmp eax, 1
jne 0x447a75
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x447a97
pop esi
ret
push eax
call dword [0x47fe34]
test eax, eax
jne 0x447adf
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x447a9b
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x47fe2c]
call dword [0x47fe34]
mov edi, eax
test edi, edi
je 0x447ac2
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x447ade
lea edi, [esi + 0xff0]
push esi
push dword [0x47fe2c]
call dword [0x47fe30]
add esi, 0x10
cmp esi, edi
jb 0x447ac8
mov eax, esi
pop edi
pop esi
ret
jmp 0x447a41

Function at 0x447e5b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x47e600]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00447d9a
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.00449160
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 0x447eaa
cmp dword [ebp - 0x1c], 5
jb 0x447ec2
jmp 0x447ebe
cmp dword [ebp - 0x10], 1
jne 0x447ec2
cmp dword [ebp - 0x1c], 4
ja 0x447ebe
jne 0x447ec2
cmp dword [ebp - 0x18], 0
jbe 0x447ec2
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x46dd98
call fcn.004015bd
test eax, eax
jge 0x447ee3
mov byte [0x47fba0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00448e39
add ebp, 0x78
leave
ret

Function at 0x448e39
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47e600]
jne 0x448e43
repz ret
jmp fcn.00450a3c
Function at 0x44f0a8
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 + 0x47e840]
je 0x44f0c3
inc edi
cmp edi, 0x17
jb 0x44f0b4
cmp edi, 0x17
jae 0x44f243
push ebp
push 3
call fcn.00456cc2
cmp eax, 1
pop ecx
je 0x44f20f
push 3
call fcn.00456cc2
test eax, eax
pop ecx
jne 0x44f0f7
cmp dword [0x47e6dc], 1
je 0x44f20f
cmp ebx, 0xfc
je 0x44f242
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x480098
push ebp
call fcn.0044ab8e
add esp, 0xc
test eax, eax
je 0x44f12d
push esi
push esi
push esi
push esi
push esi
call fcn.0044ce5e
add esp, 0x14
push 0x104
mov esi, 0x4800b1
push esi
push 0
mov byte [0x4801b5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44f171
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0044ab8e
add esp, 0xc
test eax, eax
je 0x44f171
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0044ce5e
add esp, 0x14
push esi
call fcn.00449260
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x44f1b6
push esi
call fcn.00449260
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4803ac
push 0x46e524
sub ecx, eax
push ecx
push eax
call fcn.0044acea
add esp, 0x14
test eax, eax
je 0x44f1b6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0044ce5e
add esp, 0x14
jmp 0x44f1b8
xor esi, esi
push 0x46e520
push ebx
push ebp
call fcn.0044b128
add esp, 0xc
test eax, eax
je 0x44f1d8
push esi
push esi
push esi
push esi
push esi
call fcn.0044ce5e
add esp, 0x14
push dword [edi*8 + 0x47e844]
push ebx
push ebp
call fcn.0044b128
add esp, 0xc
test eax, eax
je 0x44f1fa
push esi
push esi
push esi
push esi
push esi
call fcn.0044ce5e
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00456b05
add esp, 0xc
jmp 0x44f242
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x44f242
cmp ebp, 0xffffffff
je 0x44f242
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x47e844]
push dword [esi]
call fcn.00449260
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