joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x44a8c3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x44a8aa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47ddce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00451b60
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x484bd4
call fcn.0046fba2
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4512d3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0046fba2
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4512cc
push 0
mov ecx, eax
call fcn.00448370
mov dword [esi + 0xc], eax
jmp 0x4512d5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4512d5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x472208
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x472240
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004702bc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00470294
jmp 0x47224c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4738fa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47393c
call fcn.004793b4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47393c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x473933
xor eax, eax
jmp 0x473944
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047394a
pop edi
pop esi
pop ebx
ret 4
Function at 0x4798e4
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x479912
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x479930
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047984a
jmp 0x479930
mov eax, dword [esi + 0x14]
test eax, eax
je 0x479930
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047984a
test edi, edi
mov eax, edi
jne 0x47991a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4012fc
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x40130e
mov eax, dword [0x46508b]
shl eax, 2
mov dword [0x46508f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0045a408
pop edx
call fcn.0045a36c
call fcn.0045a448
push 0
call fcn.0045b854
pop ecx
push 0x465034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x465093], eax
push 0
jmp fcn.0045f684

Function at 0x41034c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x469c04
cmp dword [edi], 0
jne 0x4103c8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x469c00]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x465654
mov ecx, 2
call fcn.004236e4
mov edx, 0x410324
lea eax, [esi + 5]
call fcn.00410344
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00410344
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41039d
mov dword [0x469c00], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x415794
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4157cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00424eec
jmp 0x4157d6
mov eax, ebx
mov edx, esi
call fcn.00424e50
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4157e0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x415801
mov al, byte [esp]
jmp 0x415803
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x415e88
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x415d00
mov eax, dword [0x469978]
cmp byte [eax], 0
je 0x415ef5
mov eax, dword [0x46997c]
call fcn.00423a5c
call fcn.00423650
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00412f60
push eax
lea eax, [esp + 0x50]
push eax
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 0x415f3c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x415f2b
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x469834]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x469b00]
call fcn.00426518
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret
Function at 0x416bcc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x416c30
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00425064
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00412b08
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416c37
lea eax, [ebp - 0xc]
call fcn.00424dfc
ret

Function at 0x424138
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x465b84]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4241d0
push SysFreeString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4241b0
xor eax, eax
push ebp
push 0x4241a9
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 0x4241ec
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 0x4241b0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x465b84]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x465b84], ax
mov esp, ebp
pop ebp
ret

Function at 0x424c80
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x469f78], 0
je 0x424ce1
cmp word [0x46a14c], 0xd7b2
jne 0x424ca9
cmp dword [0x46a154], 0
jbe 0x424ca9
mov eax, 0x46a148
call dword [0x46a164]
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 0x424d08
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x465b94], 0
jne 0x424cfd
push 0
push 0x465bec
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x42670c
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 0x42693c
push SysFreeString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x42678f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x42693c
push SysFreeString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x42678f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x426958
push SysFreeString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x426818
xor eax, eax
push ebp
push 0x426811
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00426554
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 0x4267f6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x426978
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4267f6
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 0x426818
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 0x426932
cmp byte [ebp - 0xd], 0
jne 0x42685f
cmp byte [ebp - 0x12], 0
je 0x426932
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x426878
dec ebx
cmp byte [ebx], 0x2e
je 0x426887
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x426877
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x426932
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4268c4
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 0x426932
cmp byte [ebp - 0xd], 0
je 0x426932
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 0x426932
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 0x4270b0
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x46a4ec], 1
jae 0x427136
mov byte [0x465b80], 2
mov dword [0x469f3c], 0x463fa2
mov dword [0x469f40], 0x463fb4
mov byte [0x469f7a], 2
mov dword [0x469f28], 0x425d3c
call fcn.00424108
test al, al
je 0x4270f3
call fcn.00424138
call fcn.004241fc
mov word [0x469f80], 0xd7b0
mov word [0x46a14c], 0xd7b0
mov word [0x46a318], 0xd7b0
call fcn.00425c1c
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x469f6c], eax
call fcn.0042211c
mov dword [0x469f68], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x469f60], eax
ret

Function at 0x427b4c
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 0x427a98
call sub.USER32.DLL_EnumWindows
ret

Function at 0x427c70
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 0x427ced
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004276bc
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 0x427c95
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00427314
cmp dword [ebp - 4], 0
je 0x427cd7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004252ac
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 0x427cf4
lea eax, [ebp - 4]
call fcn.00424dfc
ret

Function at 0x42e840
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.00424dfc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42e88f
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.00425064
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434b3c
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 0x434b42
ret

Function at 0x436f84
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 0x436fd5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x436fbc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x436fac
jmp 0x436fd5
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 0x436fbd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e3c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43e410]
test si, 4
je 0x43e3d4
or bl, 1
test si, 8
je 0x43e3de
or bl, 4
test si, 1
je 0x43e3e8
or bl, 8
test si, 2
je 0x43e3f2
or bl, 0x10
test si, 0x10
je 0x43e3fc
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x43e40b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43e414
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43e44c]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x43e42d
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x43e43c
or bl, 4
test esi, 0x20000000
je 0x43e447
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x444d88
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x444d9a
add esp, 0xfffffff0
call fcn.00424614
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040f2c8
mov eax, dword [0x4699a0]
mov dword [eax + 4], ebx
mov dword [eax], 0x44512c
mov eax, dword [0x4699a4]
mov dword [eax + 4], ebx
mov dword [eax], 0x445138
mov eax, ebx
call fcn.00445144
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x404f68]
call fcn.00424298
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x404f68]
call fcn.00424298
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x404f68]
call fcn.00424298
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x404f68]
call fcn.00424298
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x404f68]
call fcn.00424298
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, 0x44160c
push eax
push 0
push 0
mov eax, dword [0x469a88]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x434240]
call fcn.00435684
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x434240]
call fcn.00435684
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x434240]
call fcn.00435684
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00445564
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x445440
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x445440
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x445440
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x444ed7
call fcn.0042466c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x445224
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 0x4453cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4453b0
mov dl, 1
mov eax, dword [0x405498]
call fcn.00424298
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00424dfc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44539f
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.00459720
test al, al
je 0x445392
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, 0x4453e0
lea eax, [ebp - 0x254]
call fcn.00413640
push eax
push SysFreeString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x445392
xor eax, eax
push ebp
push 0x44538b
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 0x445418
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x445374
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00425064
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 0x445374
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00425064
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445392
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x445295
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004098b8
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 0x4453d6
lea eax, [ebp - 0x260]
call fcn.00424dfc
ret

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

Disassembly:
push ecx
mov eax, dword [0x46a6d0]
cmp byte [eax + 0xa5], 0
jne 0x445d75
cmp dword [0x46a6e8], 0
jne 0x445d36
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x445cc0
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x46a6e8], eax
cmp dword [0x46a6e4], 0
jne 0x445d51
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x46a6e4], eax
cmp dword [0x46a6ec], 0
jne 0x445d75
push esp
push 0
push 0
push 0x445c64
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x46a6ec], eax
pop edx
ret
Function at 0x445e6c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x445e83
add esp, 0xfffffff0
call fcn.00424614
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040f2c8
mov eax, dword [0x4699a8]
cmp word [eax + 2], 0
jne 0x445eab
mov eax, dword [0x4699a8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00447530
mov eax, dword [0x4699ac]
cmp word [eax + 2], 0
jne 0x445ec5
mov eax, dword [0x4699ac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00447728
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x404f68]
call fcn.00424298
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x404f68]
call fcn.00424298
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 [0x4349f0]
call fcn.0043a63c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44604c
mov eax, dword [0x469964]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043aa0c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x447c98
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x469964]
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.00416b64
test eax, eax
je 0x445fba
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00412f9c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00416b8c
test eax, eax
je 0x445fce
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.00425064
mov eax, dword [0x46996c]
cmp byte [eax], 0
jne 0x446002
mov eax, ebx
call fcn.00446174
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.00447e74
mov eax, ebx
call fcn.00448824
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x446042
call fcn.0042466c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret