joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456548
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x45659b
mov eax, dword [ebp - 0x14]
call fcn.00470eb4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45659b
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x45659b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x45672a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x4565e4
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x4565e4
mov eax, dword [ebp - 0x14]
call fcn.00470eb4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45671f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x45672a
jmp 0x45671f
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x4566fa
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x4566fa
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x456627
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x456621
sub eax, 3
je 0x456621
sub eax, 3
jne 0x456627
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x45663e
dec eax
je 0x456655
dec eax
je 0x45667c
dec eax
je 0x456655
jmp 0x456689
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x4dbccc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0047cab0
jmp 0x45671f
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x45666f
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403ac0
jmp 0x45672a
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x45671f
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x45671f
mov eax, dword [0x4dcb4c]
cmp byte [eax + 0x20], 0
je 0x45671f
mov eax, dword [0x4dcb4c]
cmp dword [eax + 0x1c], 0
je 0x45671f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x4dcb4c]
cmp eax, dword [edx + 0x1c]
jne 0x45671f
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.00470dd0
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.00403ac0
jmp 0x45672a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x45671f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.004545f4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ac3c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x45ac5d
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x45ac92
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x45ac82
mov eax, dword [ebp - 4]
call fcn.00459218
test eax, eax
jne 0x45ac82
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45adbc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045a610
jmp 0x45adbc
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x45adb5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0045d548
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.004563fc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045ac3c
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0045d548
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45adbc
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x463310
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x4dbf98]
cmp byte [eax + 0xc], 0
je 0x463482
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46347b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4dcba0], 0
jne 0x463369
push 0x463488
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x463490
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dcba0], eax
cmp dword [0x4d9e94], 0
jne 0x463464
push 0x4634a0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4d9e94], eax
cmp dword [0x4d9e94], 0
je 0x463464
push 0x4634ac
mov eax, dword [0x4d9e94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dcba4], eax
push 0x4634bc
mov eax, dword [0x4d9e94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dcba8], eax
push 0x4634d0
mov eax, dword [0x4d9e94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dcbac], eax
push 0x4634e8
mov eax, dword [0x4d9e94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dcbb0], eax
push 0x463500
mov eax, dword [0x4d9e94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dcbb4], eax
push 0x463514
mov eax, dword [0x4d9e94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dcbb8], eax
push 0x46352c
mov eax, dword [0x4d9e94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dcbbc], eax
push 0x463544
mov eax, dword [0x4d9e94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dcbc0], eax
push 0x463560
mov eax, dword [0x4d9e94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dcbc4], eax
push 0x46356c
mov eax, dword [0x4d9e94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4dcbc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463482
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00404698
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x467ee9
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404908
mov esp, ebp
pop ebp
ret
Function at 0x470d2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x470d84]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x470d46
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x470d50
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x470d5a
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x470d64
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x470d6e
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x470d7e
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x470d88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x470dcc]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x470da9
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x470db9
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x470dc3
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x478d2c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x478d3e
add esp, 0xfffffff0
call fcn.00403be8
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004247c8
mov eax, dword [0x4db918]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x47929c
mov eax, dword [0x4db928]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4792bc
mov eax, dword [ebp - 4]
call fcn.004792dc
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419aa0]
call fcn.00403894
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419aa0]
call fcn.00403894
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x419aa0]
call fcn.00403894
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x419aa0]
call fcn.00403894
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x419aa0]
call fcn.00403894
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x4746ec
push eax
push 0
push 0
mov eax, dword [0x4dbbc4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426a20]
call fcn.004283e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x426a20]
call fcn.004283e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x426a20]
call fcn.004283e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.00479828
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x479674
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x479674
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x479674
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x478ec6
call fcn.00403c40
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x47942c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4795f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4795d5
mov dl, 1
mov eax, dword [0x41a104]
call fcn.00403894
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404698
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4795be
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.004636b0
test al, al
je 0x4795b2
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x479608
lea eax, [ebp - 0x25c]
call fcn.0040a71c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4795b2
xor eax, eax
push ebp
push 0x4795ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x479640
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x479594
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404908
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x479594
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4795b2
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4794a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.0041f818
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4795fe
lea eax, [ebp - 0x268]
call fcn.00404698
ret
Function at 0x47a130
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4dcbec]
cmp byte [eax + 0xa5], 0
jne 0x47a1a7
cmp dword [0x4dcc04], 0
jne 0x47a165
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47a0ec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4dcc04], eax
cmp dword [0x4dcc00], 0
jne 0x47a180
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4dcc00], eax
cmp dword [0x4dcc08], 0
jne 0x47a1a7
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x47a08c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4dcc08], eax
pop ecx
pop ebp
ret

Function at 0x47a270
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0047a208
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x47a291
xor eax, eax
call fcn.0047a240
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x47a2ab
mov al, 1
call fcn.0047a240
mov esp, ebp
pop ebp
ret

Function at 0x47a970
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x4dcbec]
cmp dword [eax + 0x30], 0
je 0x47aa3a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x47aa31
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x47a8f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x47aa31
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47a9eb
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x47aa31
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.0041c5f8
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x47aa00
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x47b754
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x47b799
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00404788
jmp 0x47b7aa
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.004046ec
mov esp, ebp
pop ebp
ret
Function at 0x47cc2c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x47cc7f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045da18
test al, al
je 0x47cc7f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045d548
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47cc7f
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045d548
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x47db54
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 - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
mov edx, dword [0x418e48]
call fcn.004051e8
xor eax, eax
push ebp
push 0x47dca7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4da0c8], 0
jne 0x47dbaa
mov ecx, dword [0x4db784]
mov dl, 1
mov eax, dword [0x4080c0]
call fcn.0040d7f8
call fcn.00404050
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x10
call fcn.00403130
mov eax, dword [ebp - 4]
call fcn.00404f3c
mov dword [ebp - 0x2c], eax
mov esi, 0x47dcb8
lea edi, [ebp - 0x40]
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 - 0x40]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
call fcn.004063f0
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.00404f4c
test eax, eax
jle 0x47dc45
mov dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x50]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47dc3c
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 4]
call fcn.00404920
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x50]
mov ecx, 0x10
call fcn.00404908
mov eax, dword [ebp - 0x58]
pop edx
call fcn.00409080
test eax, eax
jne 0x47dc3c
mov dword [ebp - 0x10], 0x15
jmp 0x47dc4c
mov dword [ebp - 0x10], 0x10
jmp 0x47dc4c
mov dword [ebp - 0x10], 0x15
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [0x4da0c8]
call fcn.0047da20
mov eax, dword [ebp - 0x18]
call fcn.0047da20
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
call fcn.00406408
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dcae
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004046bc
lea eax, [ebp - 0x20]
mov edx, dword [0x418e48]
call fcn.004052b8
ret
Function at 0x4818f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00481394
test byte [ebx + 0x23d], 4
jne 0x481989
mov edx, esp
mov eax, ebx
call fcn.00454320
push esp
mov eax, ebx
call fcn.0045d248
push eax
push 0
mov eax, ebx
test eax, eax
je 0x481929
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x48195a
mov ecx, dword [0x4dbb00]
mov dl, 1
mov eax, dword [0x47d69c]
call fcn.0040d7f8
call fcn.00404050
mov eax, ebx
call fcn.00481ef4
cmp byte [ebx + 0x57], 0
jne 0x481990
mov eax, ebx
call fcn.0045d548
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x481990
push 0
mov eax, ebx
call fcn.0045d548
push eax
call sub.user32.dll_ShowWindow
jmp 0x481990
mov eax, ebx
call fcn.004595a0
add esp, 0x10
pop ebx
ret

Function at 0x486a28
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x486a8f
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 8]
call fcn.00404ce4
push edi
mov eax, dword [ebp - 8]
call fcn.00404b58
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004046ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486a96
lea eax, [ebp - 8]
call fcn.00404698
ret

Function at 0x48b280
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48b30a
xor edx, edx
push ebp
push 0x48b2eb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48b30a
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret