joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ec38
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x44ec5e
mov eax, esp
push eax
push 0x44ec00
call sub.user32.dll_EnumWindows
jmp 0x44ec71
mov eax, esp
push eax
push 0x44ebe0
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x44ecfc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44ed50]
test si, 4
je 0x44ed11
or bl, 1
test si, 8
je 0x44ed1b
or bl, 4
test si, 1
je 0x44ed25
or bl, 8
test si, 2
je 0x44ed2f
or bl, 0x10
test si, 0x10
je 0x44ed39
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ed48
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44ed54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44ed90]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ed6e
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ed7d
or bl, 4
test esi, 0x20000000
je 0x44ed88
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x456e18
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x456e2a
add esp, 0xfffffff0
call fcn.00403df4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dfa4
mov eax, dword [0x47c06c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4571bc
mov eax, dword [0x47c078]
mov dword [eax + 4], ebx
mov dword [eax], 0x4571c8
mov eax, ebx
call fcn.004571d4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415d54]
call fcn.00403aa0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415d54]
call fcn.00403aa0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415d54]
call fcn.00403aa0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415d54]
call fcn.00403aa0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415d54]
call fcn.00403aa0
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, 0x452660
push eax
push 0
push 0
mov eax, dword [0x47c1e8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421bc0]
call fcn.004233dc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421bc0]
call fcn.004233dc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421bc0]
call fcn.004233dc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045764c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45751c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45751c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45751c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456f67
call fcn.00403e4c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x457300
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 0x4574ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45748c
mov dl, 1
mov eax, dword [0x416178]
call fcn.00403aa0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048fc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45747b
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.004488cc
test al, al
je 0x45746e
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, 0x4574bc
lea eax, [ebp - 0x254]
call fcn.00409dc4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45746e
xor eax, eax
push ebp
push 0x457467
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4574f4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457450
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404b6c
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 0x457450
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404b6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45746e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x457371
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00419e50
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 0x4574b2
lea eax, [ebp - 0x260]
call fcn.004048fc
ret

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

Disassembly:
push ecx
mov eax, dword [0x481c98]
cmp byte [eax + 0xad], 0
jne 0x457e95
cmp dword [0x481cb4], 0
jne 0x457e56
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457de0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x481cb4], eax
cmp dword [0x481cb0], 0
jne 0x457e71
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x481cb0], eax
cmp dword [0x481cb8], 0
jne 0x457e95
push esp
push 0
push 0
push 0x457d84
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x481cb8], eax
pop edx
ret
Function at 0x458098
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4580af
add esp, 0xfffffff0
call fcn.00403df4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dfa4
mov eax, dword [0x47c1d4]
cmp word [eax + 2], 0
jne 0x4580d7
mov eax, dword [0x47c1d4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459da0
mov eax, dword [0x47c28c]
cmp word [eax + 2], 0
jne 0x4580f1
mov eax, dword [0x47c28c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459fac
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415d54]
call fcn.00403aa0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415d54]
call fcn.00403aa0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415d54]
call fcn.00403aa0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x422698]
call fcn.0042a6d8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4582a8
mov eax, dword [0x47c0e0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042aaac
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45a670
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47c0e0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d620
test eax, eax
je 0x4581f8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040977c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d654
test eax, eax
je 0x45820c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00404b6c
mov byte [ebx + 0xd4], 0
push ebx
push 0x459814
call fcn.0041f120
mov dword [ebx + 0xc8], eax
mov eax, dword [0x47bfa4]
cmp byte [eax], 0
jne 0x45825d
mov eax, ebx
call fcn.004583ec
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045a884
mov eax, ebx
call fcn.0045b3e8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45829d
call fcn.00403e4c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45866c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45870b
cmp dword [ebx + 0x94], 0
jne 0x458705
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4585f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458705
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 0x4586cb
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458705
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.004180f8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4586da
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458924
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x481c98]
cmp dword [eax + 0x30], 0
je 0x458a81
test bl, bl
jne 0x4589d2
cmp dword [esi + 0x9c], 0
jne 0x4589c7
mov eax, esi
call fcn.0045b264
push eax
push 0x458850
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x458998
mov eax, dword [0x481c98]
call fcn.0045b854
test al, al
je 0x458998
mov eax, dword [0x481cbc]
call fcn.00405c70
mov edi, eax
cmp edi, 0
jl 0x458998
push 0
mov eax, dword [0x481cbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x458982
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4589c7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004180f8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4589a7
inc dword [esi + 0x9c]
jmp 0x458a81
cmp dword [esi + 0x9c], 0
jle 0x458a81
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x458a81
cmp dword [esi + 0x44], 0
je 0x458a2d
mov eax, dword [0x481c98]
call fcn.0045b854
test al, al
je 0x458a2d
mov eax, dword [0x481cbc]
call fcn.00405c70
mov edi, eax
cmp edi, 0
jl 0x458a2d
push 5
mov eax, dword [0x481cbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x458a17
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x458a5c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004180f8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x458a3c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x481cbc
mov ecx, 1
mov edx, dword [0x458830]
call fcn.00405e24
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x459568
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4595d2
mov eax, ebx
call fcn.0045b854
test al, al
jne 0x4595d2
push 0x100
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.004049ec
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4595bf
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4595df
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404950
jmp 0x4595df
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404950
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45aa68
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45aad6
mov eax, esi
call fcn.00443704
test al, al
je 0x45aad6
mov eax, dword [ebx + 0x84]
call fcn.00443390
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45aad6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45aaca
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443390
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043b390
jmp 0x45aad6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045a8a4
pop esi
pop ebx
ret
Function at 0x467dd4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, ebx
call fcn.0041a1a0
mov eax, dword [ebp - 0x10]
call fcn.00402eb0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0041a1a0
xor eax, eax
push ebp
push 0x467ef0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_GetDC
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push edi
push ebx
call sub.gdi32.dll_CreateDIBSection
call fcn.00467dc4
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
push ebx
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 8]
mov eax, dword [ebp - 0xc]
imul edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x467eda
inc edi
xor esi, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ebx, [eax + esi*4]
mov eax, dword [ebp - 8]
lea ecx, [eax + esi*4]
movzx eax, byte [ecx + 2]
movzx edx, byte [ecx + 3]
imul edx
push ecx
mov ecx, 0xff
xor edx, edx
div ecx
pop ecx
mov byte [ebx + 2], al
movzx eax, byte [ecx + 1]
movzx edx, byte [ecx + 3]
imul edx
push ecx
mov ecx, 0xff
xor edx, edx
div ecx
pop ecx
mov byte [ebx + 1], al
movzx eax, byte [ecx]
movzx edx, byte [ecx + 3]
imul edx
push ecx
mov ecx, 0xff
xor edx, edx
div ecx
pop ecx
mov byte [ebx], al
movzx eax, byte [ecx + 3]
mov byte [ebx + 3], al
inc esi
dec edi
jne 0x467e7b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467ef7
mov eax, dword [ebp - 0xc]
call fcn.00402ecc
ret
Function at 0x46aa50
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x14]
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov ebx, eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
push ebx
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
call fcn.004230e4
push eax
push esi
call sub.gdi32.dll_SetBkColor
mov dword [ebp - 0x14], eax
push 0xcc0020
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push esi
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
push 0
push 0
push ebx
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x14]
push eax
push esi
call sub.gdi32.dll_SetBkColor
mov eax, dword [0x47c400]
cmp dword [eax], 2
jne 0x46ab19
push 0xccaa0029
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push esi
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.gdi32.dll_MaskBlt
jmp 0x46abae
push 0xffffff
push edi
call sub.gdi32.dll_SetBkColor
mov dword [ebp - 0x14], eax
push 0
push edi
call sub.gdi32.dll_SetTextColor
mov dword [ebp - 0x18], eax
push 0x660046
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push esi
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.gdi32.dll_BitBlt
push 0x8800c6
push 0
push 0
push ebx
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.gdi32.dll_BitBlt
push 0x660046
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push esi
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x14]
push eax
push edi
call sub.gdi32.dll_SetBkColor
mov eax, dword [ebp - 0x18]
push eax
push edi
call sub.gdi32.dll_SetTextColor
mov eax, dword [ebp - 0x1c]
push eax
push ebx
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
push ebx
call sub.gdi32.dll_DeleteDC
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x46c2bc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40793c]
call fcn.00405570
xor eax, eax
push ebp
push 0x46c45d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47bea8], 0
jne 0x46c317
mov ecx, dword [0x47bfb4]
mov dl, 1
mov eax, dword [0x407f08]
call fcn.0040c870
call fcn.00404344
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403404
mov eax, ebx
call fcn.00405228
mov dword [ebp - 0x24], eax
mov esi, 0x46c46c
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406508
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405238
test eax, eax
jle 0x46c400
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46c3ec
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404b6c
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46c392
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404b84
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x46c3a8
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404b84
mov eax, dword [ebp - 0x54]
call fcn.00404d8c
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404b6c
mov eax, dword [ebp - 0x58]
call fcn.00404d8c
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46c3ee
xor eax, eax
test al, al
je 0x46c3f9
mov ebx, 0x15
jmp 0x46c405
mov ebx, 0x10
jmp 0x46c405
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x47bea8]
call fcn.0046c13c
mov eax, dword [ebp - 4]
call fcn.0046c13c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406520
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c464
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404920
lea eax, [ebp - 0xc]
mov edx, dword [0x40793c]
call fcn.00405640
ret
Function at 0x478540
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00404d7c
mov eax, dword [ebp - 8]
call fcn.00404d7c
mov eax, dword [ebp - 0xc]
call fcn.00404d7c
xor eax, eax
push ebp
push 0x478656
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x478584
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 0x3c
call fcn.00402eb0
mov edi, eax
mov eax, edi
xor ecx, ecx
mov edx, 0x3c
call fcn.00403404
mov dword [edi], 0x3c
mov eax, dword [ebp - 0xc]
call fcn.00404d8c
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x1c], eax
test bl, bl
je 0x4785c0
mov dword [edi + 4], 0x40
mov eax, dword [ebp - 8]
call fcn.00404d8c
mov dword [edi + 0x14], eax
mov esi, dword [ebp - 4]
test esi, esi
je 0x4785d7
sub esi, 4
mov esi, dword [esi]
lea eax, [esi + 1]
call fcn.00402eb0
mov dword [edi + 0x10], eax
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x10]
call fcn.004097e8
push edi
call sub.shell32.dll_ShellExecuteExA
test bl, bl
je 0x478627
jmp 0x478605
mov eax, dword [0x47c26c]
mov eax, dword [eax]
call fcn.004599c4
push 0x3e8
mov eax, dword [edi + 0x38]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x4785f9
lea eax, [ebp - 0x10]
push eax
mov eax, dword [edi + 0x38]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [edi + 0x10]
call fcn.00402ecc
mov edx, 0x3c
mov eax, edi
call fcn.00402ecc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47865d
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404920
ret
Function at 0xaf3a92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0xaf3b67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0xaf3b31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0xaf3b5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00af3b71
test eax, eax
je 0xaf3b67
add ebx, 0x14
jmp 0xaf3b3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8