joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467074
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x70f9f0]
cmp byte [eax + 0xc], 0
je 0x4671e1
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4671da
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x710bac], 0
jne 0x4670c8
push 0x4671e8
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4671f0
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x710bac], eax
cmp dword [0x7040ac], 0
jne 0x4671c3
push 0x467200
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x7040ac], eax
cmp dword [0x7040ac], 0
je 0x4671c3
push 0x46720c
mov eax, dword [0x7040ac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x710bb0], eax
push 0x46721c
mov eax, dword [0x7040ac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x710bb4], eax
push 0x467230
mov eax, dword [0x7040ac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x710bb8], eax
push 0x467248
mov eax, dword [0x7040ac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x710bbc], eax
push 0x467260
mov eax, dword [0x7040ac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x710bc0], eax
push 0x467274
mov eax, dword [0x7040ac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x710bc4], eax
push 0x46728c
mov eax, dword [0x7040ac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x710bc8], eax
push 0x4672a4
mov eax, dword [0x7040ac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x710bcc], eax
push 0x4672c0
mov eax, dword [0x7040ac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x710bd0], eax
push 0x4672cc
mov eax, dword [0x7040ac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x710bd4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4671e1
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x46b4f4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404e30
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x46b543
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004050b0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x473054
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4730a4]
test si, 4
je 0x473068
or bl, 1
test si, 8
je 0x473072
or bl, 4
test si, 1
je 0x47307c
or bl, 8
test si, 2
je 0x473086
or bl, 0x10
test si, 0x10
je 0x473090
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47309f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4730a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4730e0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4730c1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4730d0
or bl, 4
test esi, 0x20000000
je 0x4730db
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x479860
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x479872
add esp, 0xfffffff0
call fcn.0040431c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427f44
mov eax, dword [0x70f1a0]
mov dword [eax + 4], ebx
mov dword [eax], 0x479c04
mov eax, dword [0x70f1b8]
mov dword [eax + 4], ebx
mov dword [eax], 0x479c10
mov eax, ebx
call fcn.00479c1c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41b880]
call fcn.00403f74
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41b880]
call fcn.00403f74
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41b880]
call fcn.00403f74
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41b880]
call fcn.00403f74
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41b880]
call fcn.00403f74
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x475f78
push eax
push 0
push 0
mov eax, dword [0x70f504]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42a050]
call fcn.0042b904
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42a050]
call fcn.0042b904
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42a050]
call fcn.0042b904
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047a120
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x479fa0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x479fa0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x479fa0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4799af
call fcn.00404374
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x479d84
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x479f2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x479f10
mov dl, 1
mov eax, dword [0x41c058]
call fcn.00403f74
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404e30
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x479eff
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004673d4
test al, al
je 0x479ef2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x479f40
lea eax, [ebp - 0x254]
call fcn.0040b880
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x479ef2
xor eax, eax
push ebp
push 0x479eeb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x479f78
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x479ed4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004050b0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x479ed4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004050b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479ef2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x479df5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00421714
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479f36
lea eax, [ebp - 0x260]
call fcn.00404e30
ret

Function at 0x47a988
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x710bf8]
cmp byte [eax + 0xa5], 0
jne 0x47a9f9
cmp dword [0x710c10], 0
jne 0x47a9ba
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x47a944
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x710c10], eax
cmp dword [0x710c0c], 0
jne 0x47a9d5
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x710c0c], eax
cmp dword [0x710c14], 0
jne 0x47a9f9
push esp
push 0
push 0
push 0x47a8e8
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x710c14], eax
pop edx
ret
Function at 0x47b08c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x710bf8]
cmp dword [eax + 0x30], 0
je 0x47b136
cmp dword [ebx + 0x94], 0
jne 0x47b130
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47b01c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47b130
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47b0f6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47b130
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041e508
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47b105
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47bc94
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x47bcc9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404f20
jmp 0x47bcd6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404e84
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47cea0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47cee1
mov eax, esi
call fcn.00462958
test al, al
je 0x47cee1
mov eax, dword [ebx + 0x84]
call fcn.00462654
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47cee1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00462654
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47e8e0
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.004035f8
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x49b334
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x705414], 0
mov eax, dword [0x70f9dc]
cmp dword [eax], 2
jne 0x49b50d
mov eax, dword [0x70f29c]
cmp dword [eax], 5
jl 0x49b50d
call fcn.00498464
test al, al
jne 0x49b365
call fcn.00498470
call fcn.0049845c
mov dword [0x70541c], eax
push 0x49b510
mov eax, dword [0x70541c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x7053e0], eax
cmp dword [0x7053e0], 0
jne 0x49b3c0
mov edx, 0x8000
mov eax, 0x49b524
call fcn.00410acc
mov dword [0x705418], eax
mov eax, dword [0x705418]
mov dword [0x70541c], eax
push 0x49b510
mov eax, dword [0x70541c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x7053e0], eax
cmp dword [0x7053e0], 0
je 0x49b508
push 0x49b530
mov eax, dword [0x70541c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x7053e4], eax
cmp dword [0x7053e4], 0
je 0x49b508
push 0x49b53c
mov eax, dword [0x70541c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x7053e8], eax
cmp dword [0x7053e8], 0
je 0x49b508
mov byte [0x705414], 1
push 0x49b54c
mov eax, dword [0x70541c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x7053ec], eax
push 0x49b558
mov eax, dword [0x70541c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x7053f0], eax
push 0x49b564
mov eax, dword [0x70541c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x7053f4], eax
push 0x49b574
mov eax, dword [0x70541c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x7053f8], eax
push 0x49b584
mov eax, dword [0x70541c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x7053fc], eax
mov edx, 0x8000
mov eax, 0x49b59c
call fcn.00410acc
mov dword [0x705420], eax
cmp dword [0x705420], 0
je 0x49b50d
push 0x49b5ac
mov eax, dword [0x705420]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x705400], eax
push 0x49b5c8
mov eax, dword [0x705420]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x705404], eax
push 0x49b5e8
mov eax, dword [0x705420]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x705408], eax
push 0x49b604
mov eax, dword [0x705420]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x70540c], eax
push 0x49b61c
mov eax, dword [0x705420]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x705410], eax
ret
call fcn.0049b2b4
ret
Function at 0x4a8974
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov ebx, ecx
xor eax, eax
push ebp
push 0x4a8b8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax], 5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dl, byte [ebp + 0x10]
mov byte [eax + 1], dl
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 2], 0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00496490
mov eax, dword [ebp - 8]
call fcn.00405100
test eax, eax
jle 0x4a8a4c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 4], 0x10
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov edx, ebx
mov eax, dword [0x4a502c]
call fcn.004a5130
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a8a3a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4a8a24
push 4
push 0x10
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004a50cc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.00495dd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8a41
lea eax, [ebp - 4]
call fcn.004109ac
ret
mov eax, dword [0x70f88c]
mov eax, dword [eax]
mov edx, ebx
call fcn.0049e5a4
test al, al
je 0x4a8ace
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 1
mov edx, ebx
mov eax, dword [0x4a502c]
call fcn.004a5130
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a8abc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4a8aa6
push 4
push 4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004a50cc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.00495dd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8ac3
lea eax, [ebp - 4]
call fcn.004109ac
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 3
mov eax, ebx
call fcn.00405100
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov byte [edx + 4], al
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov eax, ebx
call fcn.00405100
test eax, eax
jle 0x4a8b21
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
mov eax, ebx
call fcn.00405100
push eax
lea ecx, [ebp - 0x14]
mov dl, 1
mov eax, ebx
call fcn.004976d4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.00495dd0
mov eax, ebx
call fcn.00405100
mov edx, dword [ebp + 8]
add dword [edx], eax
mov eax, dword [0x70f88c]
mov eax, dword [eax]
mov dx, word [ebp + 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
push 2
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00497894
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.00495dd0
mov eax, dword [ebp + 8]
add dword [eax], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8b94
lea eax, [ebp - 0x18]
mov edx, dword [0x4956c4]
mov ecx, 4
call fcn.00405a64
lea eax, [ebp - 8]
call fcn.00404e30
ret
Function at 0x4b2cfc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41ac18]
call fcn.00405948
xor eax, eax
push ebp
push 0x4b2e40
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x706128], 0
jne 0x4b2d4f
mov ecx, dword [0x70efc8]
mov dl, 1
mov eax, dword [0x408bec]
call fcn.0040ed90
call fcn.00404784
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004035f8
mov eax, ebx
call fcn.004056e4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4b2e50
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406cd8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004056f4
test eax, eax
jle 0x4b2de7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x4b2de0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004050c8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004050b0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409bd4
test eax, eax
jne 0x4b2de0
mov ebx, 0x15
jmp 0x4b2dec
mov ebx, 0x10
jmp 0x4b2dec
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x706128]
call fcn.004b2bf8
mov eax, dword [ebp - 8]
call fcn.004b2bf8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406cf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2e47
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404e54
lea eax, [ebp - 0x10]
mov edx, dword [0x41ac18]
call fcn.00405a18
ret

Function at 0x4b4ae8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, ecx
mov ebx, edx
push 0x40
push 0x1000
push 0x10
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [esp + 4], eax
mov edx, dword [esp + 4]
mov eax, 0x706160
mov ecx, 0x10
call fcn.00402e18
mov eax, dword [esp + 4]
mov dword [eax + 7], ebx
mov eax, dword [esp + 4]
add eax, 0x10
sub esi, eax
mov eax, dword [esp + 4]
mov dword [eax + 0xc], esi
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x4b54d4
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd48
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor edx, edx
push ebp
push 0x4b55e7
push dword fs:[edx]
mov dword fs:[edx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x298]
mov edx, ebx
call fcn.0040aeb0
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b55cb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4b55c0
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4b55b5
push esi
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 0x2b4], 0
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 1]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 0x2ac], 0
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 0x2a4], 0
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 3]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 0x29c], 0
lea edx, [ebp - 0x2b8]
mov ecx, 3
mov eax, 0x4b55fc
call fcn.0040b918
jmp 0x4b55d4
mov eax, esi
mov edx, ebx
call fcn.00404e84
jmp 0x4b55d4
mov eax, esi
mov edx, ebx
call fcn.00404e84
jmp 0x4b55d4
mov eax, esi
mov edx, ebx
call fcn.00404e84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b55ee
call sub.wsock32.dll_WSACleanup
ret
Function at 0x4b6540
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004052f0
xor eax, eax
push ebp
push 0x4b66c1
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.0047dac4
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.0047dae4
mov ebx, eax
jmp 0x4b668d
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004050b0
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040ac30
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004099cc
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004099cc
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.0040524c
je 0x4b6664
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004050b0
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004099cc
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004099cc
mov edx, dword [ebp - 0x148]
pop eax
call fcn.0040524c
jne 0x4b667e
push 0
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
push eax
call sub.KERNEL32.DLL_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.0047db04
mov ebx, eax
test ebx, ebx
jne 0x4b65bf
push esi
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b66c8
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404e54
lea eax, [ebp - 4]
call fcn.00404e30
ret

Function at 0x4b6910
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, edx
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040b064
add esp, 0x18
pop ebx
ret

Function at 0x4b6bac
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffd0
lea eax, [esp + 8]
push eax
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x2c], eax
fild qword [esp + 0x28]
fstp qword [esp]
wait
fld qword [esp]
add esp, 0x30
ret