joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42decc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
xor ecx, ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42e096
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x1c]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404b90
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
mov ecx, 0x42e0ac
call fcn.004047ec
mov eax, dword [ebp - 4]
call fcn.0041e0a4
dec eax
test eax, eax
jl 0x42df91
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0041e064
mov edx, dword [0x431aec]
call fcn.00403868
test al, al
je 0x42df89
push dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0041e064
lea edx, [ebp - 0x20]
call fcn.0043a234
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov edx, 3
mov al, 0x20
call fcn.00404b90
push dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404860
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x42df37
mov al, byte [0x42e0b0]
push eax
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
mov edx, 0x42e0bc
mov eax, dword [ebp - 0x10]
call fcn.0040dc44
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
call fcn.00404578
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0xb
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.0043a234
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0xb
mov eax, 0x42e0ac
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.0043a234
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
mov eax, 0x42e0ac
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
mov eax, 0x42e0ac
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x78]
mov ecx, 9
mov eax, 0x42e0c8
call fcn.00409694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e09d
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.00404504
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404504
lea eax, [ebp - 0x20]
call fcn.004044e0
lea eax, [ebp - 0x1c]
call fcn.004044e0
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404504
ret
Function at 0x433eb8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
push eax
push 0x433dec
call sub.user32.dll_EnumWindows
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4340b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004339b4
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, 0x3e8
jbe 0x43405c
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00433524
cmp dword [ebp - 0xc], 0
je 0x4340a3
push 0
push 9
mov eax, dword [ebp - 0xc]
call fcn.004049a0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 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 0x4340c0
lea eax, [ebp - 0xc]
call fcn.004044e0
ret
Function at 0x43733c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x46cb88], 0
je 0x437497
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46b7f8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x437497
mov eax, dword [0x46cb8c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46cb88]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x437466
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x46cb88]
call fcn.00415c7c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43745a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43745a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43745a
mov eax, dword [ebp - 0x14]
call fcn.00442994
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43745a
push ebp
call fcn.004372f0
pop ecx
test al, al
jne 0x43745a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x437416
mov eax, dword [ebp - 0x14]
call fcn.00440d94
dec eax
jle 0x43745a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004038d8
cmp byte [ebp - 1], 0
je 0x43745a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43745a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46cb8c]
call fcn.004367b8
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x4373a8
mov eax, dword [0x46cb8c]
cmp dword [eax + 8], 0
jle 0x43747e
mov eax, dword [0x46cb8c]
call fcn.00436864
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x437497
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043712c
pop ecx
test al, al
jne 0x437497
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43bb54
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 0x43bba7
mov eax, dword [ebp - 0x14]
call fcn.00455e90
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43bba7
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x43bba7
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 0x43bd36
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x43bbf0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x43bbf0
mov eax, dword [ebp - 0x14]
call fcn.00455e90
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43bd2b
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 0x43bd36
jmp 0x43bd2b
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x43bd06
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x43bd06
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x43bc33
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x43bc2d
sub eax, 3
je 0x43bc2d
sub eax, 3
jne 0x43bc33
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x43bc4a
dec eax
je 0x43bc61
dec eax
je 0x43bc88
dec eax
je 0x43bc61
jmp 0x43bc95
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x46b7f8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00461990
jmp 0x43bd2b
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x43bc7b
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.004038d8
jmp 0x43bd36
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x43bd2b
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x43bd2b
mov eax, dword [0x46cb44]
cmp byte [eax + 0x20], 0
je 0x43bd2b
mov eax, dword [0x46cb44]
cmp dword [eax + 0x1c], 0
je 0x43bd2b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x46cb44]
cmp eax, dword [edx + 0x1c]
jne 0x43bd2b
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.00455dac
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.004038d8
jmp 0x43bd36
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x43bd2b
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.00439c38
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 0x440108
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 0x440129
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x44015e
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x44014e
mov eax, dword [ebp - 4]
call fcn.0043e6e4
test eax, eax
jne 0x44014e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x440288
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043fadc
jmp 0x440288
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 0x440281
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00442994
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.0043ba08
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.00440108
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.00442994
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440288
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 0x4485c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x46b9d8]
cmp byte [eax + 0xc], 0
je 0x448732
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44872b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46cb98], 0
jne 0x448619
push 0x448738
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x448740
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb98], eax
cmp dword [0x46ab58], 0
jne 0x448714
push 0x448750
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46ab58], eax
cmp dword [0x46ab58], 0
je 0x448714
push 0x44875c
mov eax, dword [0x46ab58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb9c], eax
push 0x44876c
mov eax, dword [0x46ab58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cba0], eax
push 0x448780
mov eax, dword [0x46ab58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cba4], eax
push 0x448798
mov eax, dword [0x46ab58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cba8], eax
push 0x4487b0
mov eax, dword [0x46ab58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbac], eax
push 0x4487c4
mov eax, dword [0x46ab58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbb0], eax
push 0x4487dc
mov eax, dword [0x46ab58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbb4], eax
push 0x4487f4
mov eax, dword [0x46ab58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbb8], eax
push 0x448810
mov eax, dword [0x46ab58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbbc], eax
push 0x44881c
mov eax, dword [0x46ab58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448732
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x44d0d0
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.004044e0
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 0x44d129
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
add al, ch
daa
jbe fcn.0044d123
invalid
mov esp, ebp
pop ebp
ret
Function at 0x455d08
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x455d60]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x455d22
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x455d2c
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x455d36
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x455d40
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x455d4a
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455d5a
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x455d64
Capabilities:
Log keystrokes via polling

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x45dd2a
add esp, 0xfffffff0
call fcn.00403a08
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.0041d744
mov eax, dword [0x46b578]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x45e288
mov eax, dword [0x46b584]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x45e2a8
mov eax, dword [ebp - 4]
call fcn.0045e2c8
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x413150]
call fcn.004036a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x413150]
call fcn.004036a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x413150]
call fcn.004036a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x413150]
call fcn.004036a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x413150]
call fcn.004036a0
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, 0x4596d8
push eax
push 0
push 0
mov eax, dword [0x46b740]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420150]
call fcn.00421a78
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x420150]
call fcn.00421a78
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x420150]
call fcn.00421a78
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.0045e814
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45e660
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45e660
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45e660
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x45deb2
call fcn.00403a60
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x45e418
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 0x45e5e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45e5c1
mov dl, 1
mov eax, dword [0x4136f8]
call fcn.004036a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004044e0
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 0x45e5aa
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.00448960
test al, al
je 0x45e59e
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, 0x45e5f4
lea eax, [ebp - 0x25c]
call fcn.004095e0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45e59e
xor eax, eax
push ebp
push 0x45e597
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 0x45e62c
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45e580
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404750
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 0x45e580
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e59e
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x45e48d
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.004189e0
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 0x45e5ea
lea eax, [ebp - 0x268]
call fcn.004044e0
ret
Function at 0x45f11c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x46cbe4]
cmp byte [eax + 0xa5], 0
jne 0x45f193
cmp dword [0x46cbfc], 0
jne 0x45f151
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45f0d8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46cbfc], eax
cmp dword [0x46cbf8], 0
jne 0x45f16c
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46cbf8], eax
cmp dword [0x46cc00], 0
jne 0x45f193
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x45f078
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x46cc00], eax
pop ecx
pop ebp
ret

Function at 0x45f25c
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.0045f1f4
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x45f27d
xor eax, eax
call fcn.0045f22c
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 0x45f297
mov al, 1
call fcn.0045f22c
mov esp, ebp
pop ebp
ret

Function at 0x45f960
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 [0x46cbe4]
cmp dword [eax + 0x30], 0
je 0x45fa2a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x45fa21
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 0x45f8e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x45fa21
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 0x45f9db
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 0x45fa21
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.00415c7c
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x45f9f0
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x460740
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 0x460785
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.004045d0
jmp 0x460796
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.00404534
mov esp, ebp
pop ebp
ret