joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423754
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffadc
push ebx
xor edx, edx
mov dword [ebp - 0x524], edx
mov dword [ebp - 0x520], edx
mov dword [ebp - 0x51c], edx
mov dword [ebp - 0x518], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4238bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x40d], 0
lea eax, [ebp - 0x40c]
push eax
push 0x3fe
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
jne 0x4237d4
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x518]
call fcn.0040cfe8
mov ecx, dword [ebp - 0x518]
mov dl, 1
mov eax, dword [0x4085d4]
call fcn.0040d7fc
call fcn.00404af8
lea ecx, [eax + 1]
lea edx, [ebp - 0x40d]
lea eax, [ebp - 4]
call fcn.004051a0
lea edx, [ebp - 0x51c]
mov eax, dword [ebp - 4]
call fcn.0040914c
mov edx, dword [ebp - 0x51c]
lea eax, [ebp - 4]
call fcn.00405148
push 0x104
lea eax, [ebp - 0x512]
push eax
mov eax, ebx
call fcn.00405540
push eax
call sub.kernel32.dll_GetShortPathNameA
test eax, eax
jne 0x423845
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x520]
call fcn.0040cfe8
mov ecx, dword [ebp - 0x520]
mov dl, 1
mov eax, dword [0x4085d4]
call fcn.0040d7fc
call fcn.00404af8
lea edx, [ebp - 0x512]
lea ecx, [ebp - 8]
xchg ecx, eax
call fcn.004051a0
lea edx, [ebp - 0x524]
mov eax, dword [ebp - 8]
call fcn.0040914c
mov edx, dword [ebp - 0x524]
lea eax, [ebp - 8]
call fcn.00405148
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0040e5a8
push ebp
mov eax, dword [ebp - 0xc]
call fcn.00423420
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4238c2
lea eax, [ebp - 0x524]
mov edx, 4
call fcn.004050d4
lea eax, [ebp - 0xc]
call fcn.004050b0
lea eax, [ebp - 8]
call fcn.004050b0
lea eax, [ebp - 4]
call fcn.004050b0
ret

Function at 0x424f14
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 0x424f1a
ret
Function at 0x438070
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x438244
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.004677e8
mov eax, dword [esi]
cmp byte [eax + 0x258], 0
je 0x438229
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi]
sub eax, dword [edx + 0x268]
mov edx, dword [esi]
cmp eax, dword [edx + 0x2c0]
jb 0x4380d6
mov eax, dword [esi]
add eax, 0x264
call fcn.004050b0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi]
mov dword [edx + 0x268], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
cmp al, 8
je 0x4381b0
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov edx, dword [0x48f52c]
movzx eax, al
bt dword [edx], eax
jae 0x43816d
push 1
push 0x102
push 0x102
mov eax, dword [esi]
call fcn.00468914
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x4381f4
mov eax, dword [esi]
push dword [eax + 0x264]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
movzx edx, byte [edx]
call fcn.00405298
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00405298
push dword [ebp - 0x2c]
mov eax, dword [esi]
add eax, 0x264
mov edx, 3
call fcn.00405444
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x4381f4
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx edx, byte [edx]
call fcn.00405298
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
add eax, 0x264
call fcn.0040537c
jmp 0x4381f4
mov eax, dword [esi]
mov ebx, dword [eax + 0x264]
test ebx, ebx
je 0x43819d
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
add eax, 0x264
mov ecx, 1
mov edx, ebx
call fcn.004055e8
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
call fcn.00405370
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
call fcn.0040e220
cmp al, 2
je 0x43818c
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
test eax, eax
je 0x4381e1
sub eax, 4
mov eax, dword [eax]
mov edx, dword [esi]
add edx, 0x264
mov ecx, 1
xchg edx, eax
call fcn.004055e8
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
test eax, eax
je 0x438205
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x438212
push ebp
call fcn.00437f88
pop ecx
jmp 0x438229
xor edx, edx
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
mov eax, dword [esi]
mov si, 0xffeb
call fcn.00404480
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43824b
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004050d4
ret
Function at 0x43ebc8
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.00405530
xor eax, eax
push ebp
push 0x43ecfd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43ecd0
xor edx, edx
push ebp
push 0x43ecc9
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x43ec15
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43ec9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x43ec8d
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x43ec54
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00405540
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403210
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 0x43ec94
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x48f0bc]
mov dl, 1
mov eax, dword [0x408460]
call fcn.0040d8b8
call fcn.00404af8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ed04
lea eax, [ebp - 4]
call fcn.004050b0
ret
Function at 0x43ed0c
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 - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43eec7
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405834
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x43eee0
call fcn.004053c8
mov eax, ebx
call fcn.004203b8
mov edi, eax
dec edi
test edi, edi
jl 0x43edc4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0042038c
mov edx, dword [0x43191c]
call fcn.00404410
test al, al
je 0x43edc0
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.0042038c
lea edx, [ebp - 0x14]
call fcn.004607bc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405834
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405444
inc esi
dec edi
jne 0x43ed72
movzx eax, byte [0x43eee4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43eef0
mov eax, dword [ebp - 8]
call fcn.0040ed50
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00405148
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004607bc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43eee0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.004607bc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43eee0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x43eee0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x43eefc
call fcn.0040ad00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43eece
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004050d4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004050d4
lea eax, [ebp - 0x14]
call fcn.004050b0
lea eax, [ebp - 0x10]
call fcn.004050b0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004050d4
ret
Function at 0x442678
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x442699
test edi, 0x40000
je 0x4426b3
test bl, bl
jne 0x442734
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x442734
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x4426e6
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4426fb
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x44270a
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x44271b
cmp byte [esp + 2], 0
je 0x442734
cmp byte [esp + 2], 0
je 0x44272c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x442734
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4429d8
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 0x4429fe
mov eax, esp
push eax
push 0x4429a0
call sub.user32.dll_EnumWindows
jmp 0x442a11
mov eax, esp
push eax
push 0x442980
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 0x442a9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x442af0]
test si, 4
je 0x442ab1
or bl, 1
test si, 8
je 0x442abb
or bl, 4
test si, 1
je 0x442ac5
or bl, 8
test si, 2
je 0x442acf
or bl, 0x10
test si, 0x10
je 0x442ad9
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442ae8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x442af4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x442b30]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442b0e
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442b1d
or bl, 4
test esi, 0x20000000
je 0x442b28
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44ab9c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44abae
add esp, 0xfffffff0
call fcn.004045a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fd78
mov eax, dword [0x48f148]
mov dword [eax + 4], ebx
mov dword [eax], 0x44af40
mov eax, dword [0x48f154]
mov dword [eax + 4], ebx
mov dword [eax], 0x44af4c
mov eax, ebx
call fcn.0044af58
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416f20]
call fcn.00404254
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416f20]
call fcn.00404254
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416f20]
call fcn.00404254
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416f20]
call fcn.00404254
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416f20]
call fcn.00404254
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, 0x446400
push eax
push 0
push 0
mov eax, dword [0x48f2ec]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424240]
call fcn.00425a94
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424240]
call fcn.00425a94
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424240]
call fcn.00425a94
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044b3d0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b2a0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b2a0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b2a0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44aceb
call fcn.00404600
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44b084
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 0x44b22f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44b210
mov dl, 1
mov eax, dword [0x4174d0]
call fcn.00404254
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004050b0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44b1ff
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.0046e084
test al, al
je 0x44b1f2
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, 0x44b240
lea eax, [ebp - 0x254]
call fcn.0040ac80
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44b1f2
xor eax, eax
push ebp
push 0x44b1eb
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 0x44b278
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44b1d4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405320
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 0x44b1d4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b1f2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44b0f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041bb90
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 0x44b236
lea eax, [ebp - 0x260]
call fcn.004050b0
ret

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

Disassembly:
push ecx
mov eax, dword [0x494c34]
cmp byte [eax + 0xad], 0
jne 0x44bc19
cmp dword [0x494c50], 0
jne 0x44bbda
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44bb64
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x494c50], eax
cmp dword [0x494c4c], 0
jne 0x44bbf5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x494c4c], eax
cmp dword [0x494c54], 0
jne 0x44bc19
push esp
push 0
push 0
push 0x44bb08
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x494c54], eax
pop edx
ret
Function at 0x44be1c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44be33
add esp, 0xfffffff0
call fcn.004045a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fd78
mov eax, dword [0x48f2d4]
cmp word [eax + 2], 0
jne 0x44be5b
mov eax, dword [0x48f2d4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044d8b4
mov eax, dword [0x48f39c]
cmp word [eax + 2], 0
jne 0x44be75
mov eax, dword [0x48f39c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044dac0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416f20]
call fcn.00404254
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416f20]
call fcn.00404254
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416f20]
call fcn.00404254
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 [0x424d50]
call fcn.0042c914
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x44c02c
mov eax, dword [0x48f1c4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042cce8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44e184
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48f1c4]
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.0040e844
test eax, eax
je 0x44bf7c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a624
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e878
test eax, eax
je 0x44bf90
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, pe_nt_image_headers32
call fcn.00405320
mov byte [ebx + 0xd4], 0
push ebx
push 0x44d598
call fcn.00420ef4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x48f070]
cmp byte [eax], 0
jne 0x44bfe1
mov eax, ebx
call fcn.0044c170
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.0044e398
mov eax, ebx
call fcn.0044eefc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c021
call fcn.00404600
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c3f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x44c48f
cmp dword [ebx + 0x94], 0
jne 0x44c489
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44c378
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44c489
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 0x44c44f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44c489
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.00419450
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44c45e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x494c34]
cmp dword [eax + 0x30], 0
je 0x44c805
test bl, bl
jne 0x44c756
cmp dword [esi + 0x9c], 0
jne 0x44c74b
mov eax, esi
call fcn.0044ed78
push eax
push 0x44c5d4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x44c71c
mov eax, dword [0x494c34]
call fcn.0044f458
test al, al
je 0x44c71c
mov eax, dword [0x494c58]
call fcn.00406358
mov edi, eax
cmp edi, 0
jl 0x44c71c
push 0
mov eax, dword [0x494c58]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x44c706
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x44c74b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419450
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x44c72b
inc dword [esi + 0x9c]
jmp 0x44c805
cmp dword [esi + 0x9c], 0
jle 0x44c805
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x44c805
cmp dword [esi + 0x44], 0
je 0x44c7b1
mov eax, dword [0x494c34]
call fcn.0044f458
test al, al
je 0x44c7b1
mov eax, dword [0x494c58]
call fcn.00406358
mov edi, eax
cmp edi, 0
jl 0x44c7b1
push 5
mov eax, dword [0x494c58]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x44c79b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x44c7e0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419450
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x44c7c0
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x494c58
mov ecx, 1
mov edx, dword [0x44c5b4]
call fcn.0040650c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x44d2ec
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 0x44d356
mov eax, ebx
call fcn.0044f458
test al, al
jne 0x44d356
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.004051a0
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x44d343
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x44d363
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405104
jmp 0x44d363
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405104
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x44e57c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44e5ea
mov eax, esi
call fcn.00468cb4
test al, al
je 0x44e5ea
mov eax, dword [ebx + 0x84]
call fcn.00468914
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44e5ea
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x44e5de
push 0
mov eax, dword [ebx + 0x84]
call fcn.00468914
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004606dc
jmp 0x44e5ea
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0044e3b8
pop esi
pop ebx
ret

Function at 0x450514
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.004050b0
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x450562
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.00405320
pop ebx
mov esp, ebp
pop ebp
ret