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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4a010c]
cmp byte [eax + 0xc], 0
je 0x44cdd9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44cdd2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a5c88], 0
jne 0x44ccc0
push 0x44cde0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44cde8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5c88], eax
cmp dword [0x49f620], 0
jne 0x44cdbb
push 0x44cdf8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x49f620], eax
cmp dword [0x49f620], 0
je 0x44cdbb
push 0x44ce04
mov eax, dword [0x49f620]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5c8c], eax
push 0x44ce14
mov eax, dword [0x49f620]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5c90], eax
push 0x44ce28
mov eax, dword [0x49f620]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5c94], eax
push 0x44ce40
mov eax, dword [0x49f620]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5c98], eax
push 0x44ce58
mov eax, dword [0x49f620]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5c9c], eax
push 0x44ce6c
mov eax, dword [0x49f620]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5ca0], eax
push 0x44ce84
mov eax, dword [0x49f620]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5ca4], eax
push 0x44ce9c
mov eax, dword [0x49f620]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5ca8], eax
push 0x44ceb8
mov eax, dword [0x49f620]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5cac], eax
push 0x44cec4
mov eax, dword [0x49f620]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5cb0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cdd9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x453094
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 0x4530b5
test edi, 0x40000
je 0x4530cf
test bl, bl
jne 0x453150
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x453150
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 0x453102
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x453117
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x453126
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x453137
cmp byte [esp + 2], 0
je 0x453150
cmp byte [esp + 2], 0
je 0x453148
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x453150
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4533f4
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 0x45341a
mov eax, esp
push eax
push 0x4533bc
call sub.user32.dll_EnumWindows
jmp 0x45342d
mov eax, esp
push eax
push 0x45339c
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 0x4534d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x453528]
test si, 4
je 0x4534e9
or bl, 1
test si, 8
je 0x4534f3
or bl, 4
test si, 1
je 0x4534fd
or bl, 8
test si, 2
je 0x453507
or bl, 0x10
test si, 0x10
je 0x453511
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453520
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45352c
Capabilities:
Log keystrokes via polling

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

Function at 0x45b5c4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45b5d6
add esp, 0xfffffff0
call fcn.00403da0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041bbdc
mov eax, dword [0x49fd00]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b968
mov eax, dword [0x49fd0c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b974
mov eax, ebx
call fcn.0045b980
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412ff0]
call fcn.00403a4c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412ff0]
call fcn.00403a4c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412ff0]
call fcn.00403a4c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412ff0]
call fcn.00403a4c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412ff0]
call fcn.00403a4c
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, 0x456e38
push eax
push 0
push 0
mov eax, dword [0x49feb0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41faf4]
call fcn.00421348
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41faf4]
call fcn.00421348
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41faf4]
call fcn.00421348
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045bdb0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bc80
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bc80
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bc80
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b713
call fcn.00403df8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45ba64
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 0x45bc0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45bbf0
mov dl, 1
mov eax, dword [0x4135a0]
call fcn.00403a4c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048a8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45bbdf
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.0044cfc8
test al, al
je 0x45bbd2
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, 0x45bc20
lea eax, [ebp - 0x254]
call fcn.00409b30
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45bbd2
xor eax, eax
push ebp
push 0x45bbcb
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 0x45bc58
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45bbb4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b18
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 0x45bbb4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bbd2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45bad5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00417a34
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 0x45bc16
lea eax, [ebp - 0x260]
call fcn.004048a8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a5ccc]
cmp byte [eax + 0xad], 0
jne 0x45c5f9
cmp dword [0x4a5ce8], 0
jne 0x45c5ba
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45c544
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a5ce8], eax
cmp dword [0x4a5ce4], 0
jne 0x45c5d5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a5ce4], eax
cmp dword [0x4a5cec], 0
jne 0x45c5f9
push esp
push 0
push 0
push 0x45c4e8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a5cec], eax
pop edx
ret
Function at 0x45c7cc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45c7e3
add esp, 0xfffffff0
call fcn.00403da0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041bbdc
mov eax, dword [0x49fe94]
cmp word [eax + 2], 0
jne 0x45c80b
mov eax, dword [0x49fe94]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e4d8
mov eax, dword [0x49ff5c]
cmp word [eax + 2], 0
jne 0x45c825
mov eax, dword [0x49ff5c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e6e4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412ff0]
call fcn.00403a4c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412ff0]
call fcn.00403a4c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412ff0]
call fcn.00403a4c
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 [0x420604]
call fcn.0042867c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45c9dc
mov eax, dword [0x49fd80]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428a50
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45eda8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49fd80]
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.0040d2f4
test eax, eax
je 0x45c92c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004094d4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d328
test eax, eax
je 0x45c940
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.00404b18
mov byte [ebx + 0xd4], 0
push ebx
push 0x45df30
call fcn.0041cd58
mov dword [ebx + 0xc8], eax
mov eax, dword [0x49fc28]
cmp byte [eax], 0
jne 0x45c991
mov eax, ebx
call fcn.0045cb20
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.0045efbc
mov eax, ebx
call fcn.0045fb20
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c9d1
call fcn.00403df8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cda0
Capabilities:
Enumerate gui resources

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

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4a5ccc]
cmp dword [eax + 0x30], 0
je 0x45d1b5
test bl, bl
jne 0x45d106
cmp dword [esi + 0x9c], 0
jne 0x45d0fb
mov eax, esi
call fcn.0045f99c
push eax
push 0x45cf84
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45d0cc
mov eax, dword [0x4a5ccc]
call fcn.0046007c
test al, al
je 0x45d0cc
mov eax, dword [0x4a5cf0]
call fcn.004058e8
mov edi, eax
cmp edi, 0
jl 0x45d0cc
push 0
mov eax, dword [0x4a5cf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45d0b6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45d0fb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415520
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45d0db
inc dword [esi + 0x9c]
jmp 0x45d1b5
cmp dword [esi + 0x9c], 0
jle 0x45d1b5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45d1b5
cmp dword [esi + 0x44], 0
je 0x45d161
mov eax, dword [0x4a5ccc]
call fcn.0046007c
test al, al
je 0x45d161
mov eax, dword [0x4a5cf0]
call fcn.004058e8
mov edi, eax
cmp edi, 0
jl 0x45d161
push 5
mov eax, dword [0x4a5cf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45d14b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45d190
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415520
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45d170
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4a5cf0
mov ecx, 1
mov edx, dword [0x45cf64]
call fcn.00405a9c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45dc84
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 0x45dcee
mov eax, ebx
call fcn.0046007c
test al, al
jne 0x45dcee
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.00404998
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45dcdb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45dcfb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048fc
jmp 0x45dcfb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048fc
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45f1a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f20e
mov eax, esi
call fcn.00447c68
test al, al
je 0x45f20e
mov eax, dword [ebx + 0x84]
call fcn.004478c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f20e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45f202
push 0
mov eax, dword [ebx + 0x84]
call fcn.004478c8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043f764
jmp 0x45f20e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045efdc
pop esi
pop ebx
ret

Function at 0x4661f4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4662ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405088
mov eax, dword [0x49fca8]
cmp byte [eax], 0
je 0x466263
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004053ec
mov eax, dword [ebx]
call fcn.00405218
push eax
mov eax, dword [ebx]
call fcn.00405208
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405218
mov edx, eax
dec edx
mov eax, ebx
call fcn.004053ec
jmp 0x466295
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004096c0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004051f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4662b5
lea eax, [ebp - 0x3f0]
call fcn.004048a8
ret
Function at 0x466450
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, edx
mov esi, eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
cmp dword [ebp + 0xc], 0
jne 0x46650b
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045356c
mov ebx, eax
movzx edx, word [ebp + 4]
mov eax, esi
call fcn.00466138
mov edi, eax
test edi, edi
je 0x4664b1
movzx eax, byte [0x466518]
cmp al, bl
jne 0x4664b1
mov edx, edi
mov eax, esi
call fcn.00466070
mov dword [ebp + 0xc], 1
mov byte [esi + 0x31], 1
jmp 0x46650b
cmp byte [esi + 0x161], 2
jne 0x4664dc
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp + 4]
mov eax, dword [0x4a004c]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.00440b34
test eax, eax
jne 0x46650b
jmp 0x466506
mov eax, dword [0x49ff3c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x128]
je 0x466506
mov edx, dword [ebp + 8]
push edx
movzx ecx, word [ebp + 4]
mov edx, dword [0x49ff3c]
mov edx, 0xb006
call fcn.00440b34
xor eax, eax
mov dword [ebp + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x46c4d0
cmp eax, dword [esp]
pop edx
pop eax
jae 0x46c50c
jmp 0x46c4d4
pop edx
pop eax
jge 0x46c50c
mov eax, dword [0x4a004c]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00467310
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x46c531
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x46c531
cmp dword [ebx + 0x11c], 0
je 0x46c531
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00430524
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x478a84
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x478bf6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 0xc]
test byte [eax + 0x1c], 0x10
jne 0x478bdb
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x10d]
call fcn.004096c0
mov dl, 1
mov eax, dword [0x4641b8]
call fcn.00464210
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x4138a4]
call fcn.00403a4c
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x94]
call fcn.0046428c
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x478bd7
mov dl, 1
mov eax, dword [0x462d88]
call fcn.00462df0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x94]
mov edx, 0x478c0c
call fcn.004645dc
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404bc0
xor eax, eax
push ebp
push 0x478bd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.004630f4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00478c14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478bd7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x94]
call fcn.00403a7c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.00403a7c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.00403a7c
ret
movzx ebx, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478bfd
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048cc
ret