joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0
jmp 0x46763f
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.00415710
cmp dword [ebp - 0x24], eax
jae 0x4676bd
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.0043ae70
mov eax, dword [eax + 4]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.0043ae70
mov edx, dword [eax]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.0043ae70
mov eax, dword [eax]
push eax
call fcn.00445880
add esp, 4
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.0043ae70
mov edx, dword [ebp - 8]
add edx, dword [eax + 4]
mov dword [ebp - 8], edx
jmp 0x467636
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.00415710
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004675c0
add esp, 0x10
push 0
lea ecx, [ebp - 4]
push ecx
push 0x16
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x467725
push 1
mov ecx, dword [ebp - 0x28]
call fcn.00441b40
mov dword [ebp - 0x30], eax
jmp 0x46772c
mov dword [ebp - 0x30], 0
mov esp, ebp
pop ebp
ret
Function at 0x467a90
Capabilities:
Get file size
Read file via mapping
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x467ac2
xor al, al
jmp 0x467bfe
push 0
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x467ae8
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x467bfe
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x3c], eax
xor ecx, ecx
jne 0x467aff
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
xor eax, eax
jne 0x467b18
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004677f0
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea edx, [ebp - 0x30]
push edx
push 0x1e
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
push eax
movzx ecx, word [ebp - 0xe]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x16]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00445880
add esp, 4
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.0043aea0
movzx eax, word [ebp - 0xe]
mov ecx, dword [ebp - 0x16]
lea edx, [eax + ecx + 0x1e]
mov eax, dword [ebp + 8]
add edx, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 8]
add edx, dword [ebp - 0x40]
movzx eax, word [ebp - 0xe]
mov ecx, dword [ebp - 0x16]
lea eax, [eax + ecx + 0x1e]
xor ecx, ecx
cmp edx, eax
sete cl
mov al, cl
mov esp, ebp
pop ebp
ret
Function at 0x467c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004677f0
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push 0
lea edx, [ebp - 0x28]
push edx
push 0x1e
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
push eax
movzx ecx, word [ebp - 0xa]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x12]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp + 0x18], 0
jne 0x467c9f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00445880
add esp, 4
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.0043aea0
movzx eax, word [ebp - 0xa]
mov ecx, dword [ebp - 0x12]
lea edx, [eax + ecx + 0x1e]
mov eax, dword [ebp + 8]
add edx, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 4]
add edx, dword [ebp - 0x30]
movzx eax, word [ebp - 0xa]
mov ecx, dword [ebp - 0x12]
lea eax, [eax + ecx + 0x1e]
xor ecx, ecx
cmp edx, eax
sete cl
mov al, cl
mov esp, ebp
pop ebp
ret

Function at 0x46c590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x818], 0xffffffff
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x814], 0x400
mov dword [ebp - 0x80c], 1
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0x81c], 0x800
lea edx, [ebp - 0x810]
push edx
push 0x4d2780
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x46c68c
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x808]
push ecx
lea edx, [ebp - 0x80c]
push edx
push 0
push 0x4d27cc
mov eax, dword [ebp - 0x810]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46c67f
push 0x4d27dc
lea ecx, [ebp - 0x808]
push ecx
call fcn.0043f670
add esp, 8
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
je 0x46c66a
xor edx, edx
mov eax, dword [ebp - 0x820]
mov word [eax], dx
lea ecx, [ebp - 0x808]
push ecx
call fcn.00445e3c
add esp, 4
mov dword [ebp - 0x818], eax
mov edx, dword [ebp - 0x810]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x818]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x46c7c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c32d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4fe37c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
push 0x4d2730
lea eax, [ebp + 8]
push eax
call fcn.00409460
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x46c837
mov byte [ebp - 0x1d], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00406fd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x24]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.00406fd0
mov al, byte [ebp - 0x1d]
jmp 0x46c927
push 0x58
call fcn.0044527f
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x46c857
mov ecx, dword [ebp - 0x28]
call fcn.0043fe40
mov dword [ebp - 0x30], eax
jmp 0x46c85e
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
lea ecx, [ebp + 0x24]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.00406ff0
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00406ff0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x5c]
mov dword [eax + 0x54], ecx
lea edx, [ebp + 0x40]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x38
call fcn.00406ff0
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
push 0x46c6a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x46c8ef
mov byte [ebp - 0x29], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00406fd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x24]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.00406fd0
mov al, byte [ebp - 0x29]
jmp 0x46c927
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x2a], 1
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00406fd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x24]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.00406fd0
mov al, byte [ebp - 0x2a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x46e710
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4e14
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.0040add0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
ja 0x46e750
mov al, 1
jmp 0x46e849
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0xffffffff
jmp 0x46e76b
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x46e7a3
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp + 8]
call fcn.00417240
movzx eax, word [eax]
cmp eax, 0x5c
je 0x46e799
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00417240
movzx edx, word [eax]
cmp edx, 0x2f
jne 0x46e7a1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jmp 0x46e7a3
jmp 0x46e762
cmp dword [ebp - 0x10], 0xffffffff
je 0x46e847
mov ecx, dword [ebp - 0x10]
push ecx
push 0
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040d040
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00407070
push eax
call fcn.0049e5b0
add esp, 4
movzx eax, al
test eax, eax
jne 0x46e838
push 1
lea ecx, [ebp - 0x38]
push ecx
call fcn.0046e710
add esp, 8
movzx edx, al
test edx, edx
jne 0x46e80b
mov byte [ebp - 0x39], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00406fd0
mov al, byte [ebp - 0x39]
jmp 0x46e849
push 0
lea ecx, [ebp - 0x38]
call fcn.00407070
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x46e838
mov byte [ebp - 0x3a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00406fd0
mov al, byte [ebp - 0x3a]
jmp 0x46e849
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00406fd0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x46f020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c718b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4fe37c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
push 0x4d2734
lea eax, [ebp + 8]
push eax
call fcn.00409460
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x46f08b
mov byte [ebp - 0x1d], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406fd0
mov al, byte [ebp - 0x1d]
jmp 0x46f160
call fcn.0042faf0
mov dword [eax + 0x1c], 0
push 0x3c
call fcn.0044527f
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x46f0b7
mov ecx, dword [ebp - 0x28]
call fcn.0041f520
mov dword [ebp - 0x30], eax
jmp 0x46f0be
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
lea ecx, [ebp + 0x24]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.00406ff0
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00406ff0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x40]
mov dword [eax + 0x38], ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0x46ee70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x46f134
mov byte [ebp - 0x29], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406fd0
mov al, byte [ebp - 0x29]
jmp 0x46f160
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x2a], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406fd0
mov al, byte [ebp - 0x2a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x46f170
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c71be
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0x4d2658
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push str._popupdata_sourcedownload_toolresulttypexmlclientqd
lea ecx, [ebp - 0x34]
call fcn.00406f50
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.00407030
push str.installtype
lea ecx, [ebp - 0x34]
call fcn.00407050
lea ecx, [ebp - 0x54]
push ecx
call fcn.0043fa60
add esp, 4
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x34]
call fcn.00407030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00406fd0
push 0x1c
call fcn.0044527f
add esp, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x46f22b
mov ecx, dword [ebp - 0x5c]
call fcn.0043fe20
mov dword [ebp - 0x6c], eax
jmp 0x46f232
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00406ff0
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
push 0x46e870
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x46f290
mov byte [ebp - 0x5d], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406fd0
mov al, byte [ebp - 0x5d]
jmp 0x46f2bc
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x5e], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406fd0
mov al, byte [ebp - 0x5e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x46fb50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7daa
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4fe37c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 1
push 0x8c
call fcn.0044527f
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x46fba2
mov ecx, dword [ebp - 0x24]
call fcn.0043f830
mov dword [ebp - 0x2c], eax
jmp 0x46fba9
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp + 8]
call fcn.00407070
push eax
push 0x4d29a8
push 0x40
mov edx, dword [ebp - 0x18]
push edx
call fcn.0044444e
add esp, 0x10
lea ecx, [ebp + 0x24]
call fcn.00407070
push eax
call fcn.00445e3c
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x80], eax
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0x46f910
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x46fc2a
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406fd0
jmp 0x46fc4f
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406fd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x38
Function at 0x474520
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0x100000
mov dword [ebp - 0x24], 0x20
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push str._MBytes_user_address_space_free.
mov edx, dword [ebp - 8]
add edx, 0xfffff
shr edx, 0x14
push edx
push 0x4d3418
push str._MBytes_user_address_space.
mov eax, dword [ebp - 0xc]
add eax, 0xfffff
shr eax, 0x14
push eax
push 0x4d3440
push str._MBytes_paging_file_free.
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffff
shr ecx, 0x14
push ecx
push 0x4d3468
push str._MBytes_paging_file.
mov edx, dword [ebp - 0x14]
add edx, 0xfffff
shr edx, 0x14
push edx
push 0x4d348c
push str._MBytes_physical_memory_free.
mov eax, dword [ebp - 0x18]
add eax, 0xfffff
shr eax, 0x14
push eax
push 0x4d34b8
push str._MBytes_physical_memory.
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffff
shr ecx, 0x14
push ecx
push str._r_n
push str.__memory_in_use.
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043c180
add esp, 8
push eax
call fcn.004156c0
add esp, 8
push eax
call fcn.004156c0
add esp, 8
push eax
call fcn.0043c180
add esp, 8
push eax
call fcn.004156c0
add esp, 8
push eax
call fcn.004156c0
add esp, 8
push eax
call fcn.0043c180
add esp, 8
push eax
call fcn.004156c0
add esp, 8
push eax
call fcn.004156c0
add esp, 8
push eax
call fcn.0043c180
add esp, 8
push eax
call fcn.004156c0
add esp, 8
push eax
call fcn.004156c0
add esp, 8
push eax
call fcn.0043c180
add esp, 8
push eax
call fcn.004156c0
add esp, 8
push eax
call fcn.004156c0
add esp, 8
push eax
call fcn.0043c180
add esp, 8
push eax
call fcn.004156c0
add esp, 8
push eax
call fcn.004156c0
add esp, 8
push eax
call fcn.0043c180
add esp, 8
push eax
call fcn.004156c0
add esp, 8
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x475150
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0x2800
mov eax, dword [ebp - 8]
add eax, 1
push eax
call fcn.00442b2d
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
add eax, 1
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4751eb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
jmp 0x4751ab
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
shr eax, 2
cmp dword [ebp - 0x10], eax
jae 0x4751eb
push 0x4d3500
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004114f0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00474bf0
add esp, 8
push eax
call fcn.004156c0
add esp, 8
jmp 0x4751a2
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x475200
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c72f4
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x47547e
mov dword [ebp - 0x244], 0x22c
push 0x228
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.00445020
add esp, 0xc
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x475474
push 0
push 0xfde9
lea ecx, [ebp - 0x268]
call fcn.0040a290
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2ac]
mov edx, dword [ecx]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x284]
push ecx
call fcn.004bf860
add esp, 0x10
mov dword [ebp - 0x2b0], eax
mov edx, dword [ebp - 0x2b0]
push edx
push 0x4d36ac
mov eax, dword [ebp - 0x23c]
push eax
push 0x4d36b0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004156c0
add esp, 8
push eax
call fcn.0043c180
add esp, 8
push eax
call fcn.004156c0
add esp, 8
push eax
call fcn.00417320
add esp, 8
lea ecx, [ebp - 0x284]
call fcn.00406d00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00439bd0
cmp dword [ebp - 0x23c], 0
je 0x47544b
mov edx, dword [ebp - 0x23c]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x47544b
push 0
push 0xfde9
lea ecx, [ebp - 0x288]
call fcn.0040a290
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x248]
push ecx
lea edx, [ebp - 0x2a4]
push edx
call fcn.004748b0
add esp, 8
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2b8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.004bfa10
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a4]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.00439bd0
lea ecx, [ebp - 0x264]
call fcn.004183b0
movzx edx, al
test edx, edx
jne 0x475433
push 0x4d36b8
lea eax, [ebp - 0x264]
push eax
push 0x4d36bc
mov ecx, dword [ebp + 8]
push ecx
call fcn.004156c0
add esp, 8
push eax
call fcn.00417320
add esp, 8
push eax
call fcn.004156c0
add esp, 8
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x264]
call fcn.00406d00
push 0x4d36c0
mov eax, dword [ebp + 8]
push eax
call fcn.004156c0
add esp, 8
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x475279
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret