joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4679a0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004693b8
test esi, esi
jne 0x4679d6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004694a8
jmp 0x4679f4
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004678b4
mov edi, eax
test esi, esi
je 0x4679f4
cmp dword [ebx], 0
je 0x4679f4
dec esi
jmp 0x4679dd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x467fa0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4cfad8], 0x8088405
inc edx
mov dword [ebx + 0x4cfad8], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4684f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4cfae0]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x468590
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x468570
xor eax, eax
push ebp
push 0x468569
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4685ac
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468570
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4cfae0]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4cfae0], ax
mov esp, ebp
pop ebp
ret

Function at 0x4691b8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d51f0], 0
je 0x469219
cmp word [0x4d53c4], 0xd7b2
jne 0x4691e1
cmp dword [0x4d53cc], 0
jbe 0x4691e1
mov eax, 0x4d53c0
call dword [0x4d53dc]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x469240
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4cfaf0], 0
jne 0x469235
push 0
push 0x4cfb48
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret

Function at 0x46936c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00467560
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4d51f1], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x469334
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x46ae60
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x46b090
push reloc.WSOCK32.DLL_accept
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x46aee3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x46b090
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x46aee3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x46b0ac
push reloc.WSOCK32.DLL_accept
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x46af6c
xor eax, eax
push ebp
push 0x46af65
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0046aca8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x46af4a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x46b0cc
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x46af4a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46af6c
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x46b086
cmp byte [ebp - 0xd], 0
jne 0x46afb3
cmp byte [ebp - 0x12], 0
je 0x46b086
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x46afcc
dec ebx
cmp byte [ebx], 0x2e
je 0x46afdb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x46afcb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x46b086
inc ebx
cmp byte [ebp - 0x12], 0
je 0x46b018
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x46b086
cmp byte [ebp - 0xd], 0
je 0x46b086
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x46b086
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46b804
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x4d5764], 1
jae 0x46b88a
mov byte [0x4cfadc], 2
mov dword [0x4d51b4], 0x4c08de
mov dword [0x4d51b8], 0x4c08fc
mov byte [0x4d51f2], 2
mov dword [0x4d51a0], 0x46a484
call fcn.004684c8
test al, al
je 0x46b847
call fcn.004684f8
call fcn.004685bc
mov word [0x4d51f8], 0xd7b0
mov word [0x4d53c4], 0xd7b0
mov word [0x4d5590], 0xd7b0
call fcn.0046a344
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x4d51e4], eax
call fcn.004661fc
mov dword [0x4d51e0], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x4d51d8], eax
ret

Function at 0x46c2a0
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x46c1ec
call sub.USER32.DLL_EnumWindows
ret

Function at 0x46c3c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x46c441
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0046be10
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x46c3e9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0046ba68
cmp dword [ebp - 4], 0
je 0x46c42b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00469868
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.USER32.DLL_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c448
lea eax, [ebp - 4]
call fcn.004693b8
ret

Function at 0x472f94
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.004693b8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x472fe3
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00469620
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x479560
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x479566
ret

Function at 0x47bab4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x47bb05
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x47baec
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x47badc
jmp 0x47bb05
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x47baed
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4848d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x484924]
test si, 4
je 0x4848e8
or bl, 1
test si, 8
je 0x4848f2
or bl, 4
test si, 1
je 0x4848fc
or bl, 8
test si, 2
je 0x484906
or bl, 0x10
test si, 0x10
je 0x484910
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x48491f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x484928
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x484960]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x484941
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x484950
or bl, 4
test esi, 0x20000000
je 0x48495b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x48b29c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x48b2ae
add esp, 0xfffffff0
call fcn.004689ec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004513d4
mov eax, dword [0x4d45d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x48b640
mov eax, dword [0x4d45d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x48b64c
mov eax, ebx
call fcn.0048b658
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4463a8]
call fcn.00468658
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4463a8]
call fcn.00468658
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4463a8]
call fcn.00468658
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4463a8]
call fcn.00468658
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4463a8]
call fcn.00468658
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, 0x487b20
push eax
push 0
push 0
mov eax, dword [0x4d47a4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x478994]
call fcn.0047a0a8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x478994]
call fcn.0047a0a8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x478994]
call fcn.0047a0a8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0048ba78
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48b954
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48b954
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48b954
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48b3eb
call fcn.00468a44
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x48b738
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 0x48b8e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x48b8c4
mov dl, 1
mov eax, dword [0x446994]
call fcn.00468658
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004693b8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x48b8b3
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.004a17c8
test al, al
je 0x48b8a6
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, 0x48b8f4
lea eax, [ebp - 0x254]
call fcn.00456f04
push eax
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x48b8a6
xor eax, eax
push ebp
push 0x48b89f
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 0x48b92c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x48b888
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00469620
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 0x48b888
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00469620
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b8a6
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x48b7a9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0044b248
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 0x48b8ea
lea eax, [ebp - 0x260]
call fcn.004693b8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d5948]
cmp byte [eax + 0xa5], 0
jne 0x48c289
cmp dword [0x4d5960], 0
jne 0x48c24a
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x48c1d4
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4d5960], eax
cmp dword [0x4d595c], 0
jne 0x48c265
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4d595c], eax
cmp dword [0x4d5964], 0
jne 0x48c289
push esp
push 0
push 0
push 0x48c178
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4d5964], eax
pop edx
ret
Function at 0x48c380
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x48c397
add esp, 0xfffffff0
call fcn.004689ec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004513d4
mov eax, dword [0x4d45dc]
cmp word [eax + 2], 0
jne 0x48c3bf
mov eax, dword [0x4d45dc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048d9cc
mov eax, dword [0x4d45e0]
cmp word [eax + 2], 0
jne 0x48c3d9
mov eax, dword [0x4d45e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048dbc4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4463a8]
call fcn.00468658
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4463a8]
call fcn.00468658
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], SafeArrayCopy
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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x479414]
call fcn.00480b50
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x48c560
mov eax, dword [0x4d45ac]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00480f20
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x48e144
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d45ac]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.0045aacc
test eax, eax
je 0x48c4ce
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00456824
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0045aaf4
test eax, eax
je 0x48c4e2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00469620
mov eax, dword [0x4d45b4]
cmp byte [eax], 0
jne 0x48c516
mov eax, ebx
call fcn.0048c688
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0048e320
mov eax, ebx
call fcn.0048ecd0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48c556
call fcn.00468a44
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48c8fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d5948]
cmp dword [eax + 0x30], 0
je 0x48c9a6
cmp dword [ebx + 0x94], 0
jne 0x48c9a0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x48c88c
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x48c9a0
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 0x48c966
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x48c9a0
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.00448bdc
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x48c975
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x48d484
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 0x48d4b9
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.004694a8
jmp 0x48d4c6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0046940c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x48e4fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x48e53d
mov eax, esi
call fcn.0049cf48
test al, al
je 0x48e53d
mov eax, dword [ebx + 0x84]
call fcn.0049cc44
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x48e53d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0049cc44
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x4903b8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00469858
xor eax, eax
push ebp
push 0x4904e6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x4904b9
xor eax, eax
push ebp
push 0x4904b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00469670
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x490487
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x490476
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00469670
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00469868
mov edx, ebx
pop ecx
call fcn.00467874
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49047d
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x4d46a4]
mov dl, 1
mov eax, dword [0x454950]
call fcn.00459d7c
call fcn.00468e54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4904ed
lea eax, [ebp - 4]
call fcn.004693b8
ret
Function at 0x4904f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4906a5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00469a58
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4906bc
call fcn.004696bc
mov eax, ebx
call fcn.004519f8
mov edi, eax
dec edi
test edi, edi
jl 0x4905ac
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004519cc
mov edx, dword [0x4704bc]
call fcn.00468814
test al, al
je 0x4905a8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004519cc
lea edx, [ebp - 0x14]
call fcn.004965c0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00469a58
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00469730
inc esi
dec edi
jne 0x49055a
mov al, byte [0x4906c0]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4906cc
mov eax, dword [ebp - 0xc]
call fcn.0045b10c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00469450
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004965c0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4906bc
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.004965c0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4906bc
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4906bc
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4906d8
call fcn.00456f84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4906ac
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004693dc
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004693dc
lea eax, [ebp - 0x14]
call fcn.004693b8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004693dc
ret