joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478bc0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4c12b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x5d38e8]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.004acb29
mov edx, dword [0x5d38e8]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x478c1a
mov dword [esp + 0x1c], ebx
jmp 0x478c21
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.004aed49
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.004aa7c2
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x478c72
mov dword [esp + 0x14], ebx
jmp 0x478c79
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x478c94
mov eax, dword [eax + 0x3c4]
cmp eax, edi
je 0x478c8e
cmp eax, 2
jne 0x478c94
mov dword [esp + 0x18], edi
jmp 0x478c98
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x478ca6
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004ac15e
mov edi, eax
cmp edi, ebx
jne 0x478cb6
xor eax, eax
jmp 0x478cb9
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x478ce1
mov ecx, esi
call fcn.004aed49
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x478cfd
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x478d1c
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x478d1c
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.004aa689
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.004aa689
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x4799a0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4c13c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x5d38e8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xac], ebx
call fcn.004acb29
cmp dword [0x5f10ec], ebx
je 0x479a10
lea ecx, [esp + 8]
mov dword [esp + 0xa8], 0xffffffff
call fcn.004aa689
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
add esp, 0xa4
ret
mov edx, dword [0x5d38e8]
push ebp
push edi
mov edi, 1
mov dword [0x5f10ec], edi
mov dword [esp + 0x40], edx
cmp esi, ebx
mov byte [esp + 0xb0], 1
jne 0x479a39
mov dword [esp + 0x20], ebx
jmp 0x479a40
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.004aed49
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x34], edx
call fcn.004aa7c2
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x479a9e
mov dword [esp + 0x14], ebx
jmp 0x479aa5
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x479abf
mov eax, dword [eax + 0x3c4]
cmp eax, edi
je 0x479ab9
cmp eax, 2
jne 0x479abf
mov dword [esp + 0x18], edi
jmp 0x479ac3
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x479ad1
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004ac15e
mov edi, eax
cmp edi, ebx
jne 0x479ae1
xor eax, eax
jmp 0x479ae4
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x479b0c
mov ecx, esi
call fcn.004aed49
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x479b24
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x5f10ec], 0
test eax, eax
je 0x479b4d
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x479b4d
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.004aa689
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004aa689
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x47dfc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x47e026
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x47e026
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x47e007
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x47e3b0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x47e3e8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x47f110
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x47f159
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x47f5d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c1bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0047f180
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0047f200
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0047f200
lea ecx, [esi + 0xc]
call fcn.004aa614
lea ecx, [esi + 0x10]
call fcn.004aa614
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00480790
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00480790
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00480790
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004aa689
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004aa689
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4ab4cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004b629a
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4ab4fd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004ab510
pop edi
pop esi
pop ebx
ret 8

Function at 0x4acb29
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4acb61
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004aab30
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004aab08
jmp 0x4acb6d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ae415
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ae457
call fcn.004b629a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ae457
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ae44e
xor eax, eax
jmp 0x4ae45f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ae465
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b67ca
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 0x4b67f8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b6816
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b6730
jmp 0x4b6816
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b6816
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b6730
test edi, edi
mov eax, edi
jne 0x4b6800
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4b95dc
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x4b9604
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x4b9615
push 2
call edi
test ax, ax
jge 0x4b9615
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004ac15e
cmp dword [esi + 0x30], ebx
jne 0x4b96ef
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004ac15e
cmp eax, dword [esp + 0x34]
jne 0x4b96ef
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x4b968b
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4b96d0
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x4b96ef
cmp eax, 0x205
je 0x4b96ef
cmp eax, 0x201
je 0x4b96ef
cmp eax, 0x204
je 0x4b96ef
cmp eax, ebx
jne 0x4b96b6
cmp dword [esp + 0x1c], 0x1b
je 0x4b96ef
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x60d814]
jbe 0x4b96e5
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x4b9648
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x100028c0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x100028e1
xor al, al
jmp 0x10002948
lea ecx, [ebp - 0x1c]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x10002904
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x10002948
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x10002946
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x10002948
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x10002a20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e048
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1003bcc8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
push str.0.0.0.0
lea ecx, [ebp - 0x14]
call fcn.10005020
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x34
push 0
mov eax, dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10002b3e
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000b975
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10002b2c
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x1003490c
mov eax, dword [ebp - 0x20]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10002b2c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push 0x10034910
lea ecx, [ebp - 0x14]
push ecx
call fcn.100013b0
add esp, 0x18
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.1000b96a
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10004a50
mov edx, dword [ebp - 0x2c]
or edx, 1
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100013e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10002d50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002de8b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x1003bcc8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], 0
push 0x10034930
lea ecx, [ebp - 0x220]
call fcn.10005020
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x10002df1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
add ecx, 2
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x22c]
mov ax, word [edx]
mov word [ebp - 0x232], ax
add dword [ebp - 0x22c], 2
cmp word [ebp - 0x232], 0
jne 0x10002dba
mov ecx, dword [ebp - 0x22c]
sub ecx, dword [ebp - 0x230]
sar ecx, 1
mov dword [ebp - 0x238], ecx
jne 0x10002e26
lea edx, [ebp - 0x220]
push edx
mov ecx, dword [ebp + 8]
call fcn.10004a50
mov eax, dword [ebp - 0x228]
or eax, 1
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.100013e0
mov eax, dword [ebp + 8]
jmp 0x10002e87
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.10005000
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10004a50
mov edx, dword [ebp - 0x228]
or edx, 1
mov dword [ebp - 0x228], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.100013e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100184dc
mov esp, ebp
pop ebp
ret
Function at 0x100063f0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x48], 0x40
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1000641a
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x54], edx
push 0
push 0x100000
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.1001cac0
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0
push 0x100000
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.1001cac0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
push 0x100000
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.1001cac0
push edx
push eax
push str.physical_memory:__I64d__I64d_MB__free_total__r_n
mov edx, dword [ebp - 0x5c]
add edx, 8
push edx
call fcn.100013b0
add esp, 0x18
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push str.Physical_Memory:_I64d_MB
mov edx, dword [ebp + 8]
push edx
call fcn.100013b0
add esp, 0x10
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
push str.Virtual_Memory:_I64d_MB
mov edx, dword [ebp + 0xc]
push edx
call fcn.100013b0
add esp, 0x10
mov esp, ebp
pop ebp
ret 8

Function at 0x100064c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002dd88
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x1003bcc8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], 0
lea ecx, [ebp - 0x14]
call fcn.10001520
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x434], ax
push 0x206
push 0
lea ecx, [ebp - 0x432]
push ecx
call fcn.1001abd0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x224], dx
push 0x206
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.1001abd0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x438]
push ecx
push 0x104
lea edx, [ebp - 0x434]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10006599
lea ecx, [ebp - 0x224]
push ecx
push str._FileSystem:_s
lea edx, [ebp - 0x14]
push edx
call fcn.100013b0
add esp, 0xc
jmp 0x100065b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._FileSystem:unknow_ErrorCode:_d_
lea eax, [ebp - 0x14]
push eax
call fcn.100013b0
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10004a50
mov edx, dword [ebp - 0x43c]
or edx, 1
mov dword [ebp - 0x43c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100013e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100184dc
mov esp, ebp
pop ebp
ret
Function at 0x1000b430
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x1003bcc8]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x43d], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x438], 0
push 0x424
push 0
lea eax, [ebp - 0x434]
push eax
call fcn.1001abd0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x444], ecx
mov edx, dword [ebp - 0x444]
add edx, 2
mov dword [ebp - 0x448], edx
mov eax, dword [ebp - 0x444]
mov cx, word [eax]
mov word [ebp - 0x44a], cx
add dword [ebp - 0x444], 2
cmp word [ebp - 0x44a], 0
jne 0x1000b489
mov edx, dword [ebp - 0x444]
sub edx, dword [ebp - 0x448]
sar edx, 1
mov dword [ebp - 0x450], edx
mov eax, dword [ebp - 0x450]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000b4d4
xor al, al
jmp 0x1000b584
mov ecx, dword [ebp + 8]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x1000b4ef
xor al, al
jmp 0x1000b584
mov dword [ebp - 0x438], 0x428
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Module32FirstW
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
je 0x1000b574
movzx ecx, byte [ebp - 0x43d]
test ecx, ecx
jne 0x1000b574
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x418]
push ecx
call fcn.1001a574
add esp, 0xc
test eax, eax
jne 0x1000b55c
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1001bcd0
add esp, 0xc
mov byte [ebp - 0x43d], 1
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Module32NextW
mov dword [ebp - 0x43c], eax
jmp 0x1000b50f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x43d]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100184dc
mov esp, ebp
pop ebp
ret

Function at 0x1001061e
Capabilities:
Enumerate pe sections

Disassembly:
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10010653
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1001063a
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x1001064b
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10010655
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10010630
xor eax, eax
pop edi
pop esi
ret