joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4531a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x486b33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047a246
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0047f8de
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00480dfa
test eax, eax
je 0x4532bc
mov ecx, dword [esp + 0x3c]
call fcn.0047f90b
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x453280
push edi
mov ecx, esi
call fcn.0047cf6f
mov ecx, esi
call fcn.00453420
cmp dword [esp + 0x38], 1
jne 0x4532b5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047d0aa
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x455cd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x455d03
push esi
call fcn.00458de0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x455cfc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x455d89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x455d72
mov eax, dword [esi + 8]
test eax, eax
je 0x455d27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x455d6e
cmp eax, 2
je 0x455d72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x455d1a
cmp eax, 3
je 0x455d4d
cmp eax, 1
jne 0x455d1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x455d1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x455d1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00455db0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x455d98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00455db0
add esp, 4
pop esi
ret

Function at 0x462e00
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x462ea3
test eax, eax
jbe 0x462ea3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x462ea3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x462e4e
xor esi, esi
jmp 0x462e54
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x462e7f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00467380
add esi, eax
push esi
mov ebx, esi
call fcn.00467380
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x462e60
pop ebp
test edi, edi
pop edi
jne 0x462ea3
test ebx, ebx
je 0x462ea3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00469990
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x462fe5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4630fd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4630fd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047a698
mov esi, eax
test esi, esi
je 0x4630fd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4630fd
mov ecx, esi
call fcn.00462f50
cmp edi, eax
jge 0x4630fd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x463083
mov dword [esp + 0x34], 1
jmp 0x4630de
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4630fd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00461720
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x47b03b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47b073
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.004790c8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004790a0
jmp 0x47b07f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47c72c
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 0x47c76e
call fcn.004821e5
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47c76e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47c765
xor eax, eax
jmp 0x47c776
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047c77c
pop edi
pop esi
pop ebx
ret 4
Function at 0x482715
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 0x482743
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x482761
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048267b
jmp 0x482761
mov eax, dword [esi + 0x14]
test eax, eax
je 0x482761
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048267b
test edi, edi
mov eax, edi
jne 0x48274b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4015c0
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4015d2
mov eax, dword [0x51f08b]
shl eax, 2
mov dword [0x51f08f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.004fd8e4
pop edx
call fcn.004fd848
call fcn.004fd924
push 0
call fcn.004fee64
pop ecx
push 0x51f034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x51f093], eax
push 0
jmp fcn.00505f18

Function at 0x412f60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x80
push 0x522ac2
call sub.KERNEL32.DLL_SetFileAttributesA
push 0x522ae0
push 0x522ad1
call fcn.004fffa0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x412f9c
push str.Open_file_error:_CNC2600.cfg
call fcn.00402778
pop ecx
pop ecx
pop ebp
ret
mov eax, dword [sym.CNC2600.exe__MainForm]
mov edx, dword [eax]
mov ecx, dword [edx + 0x328]
mov eax, dword [ecx + 0x70]
mov edx, dword [0x548d50]
mov dword [edx + 0x1c04], eax
mov ecx, dword [sym.CNC2600.exe__MainForm]
mov eax, dword [ecx]
mov edx, dword [eax + 0x330]
mov ecx, dword [edx + 0x70]
mov eax, dword [0x548d50]
mov dword [eax + 0x1c08], ecx
push dword [ebp - 4]
push 1
push 0x2758
push dword [0x548d50]
call fcn.005003b8
add esp, 0x10
push dword [ebp - 4]
call fcn.004ffaf8
pop ecx
push 3
push str.C:CNC2600.cfg
call sub.KERNEL32.DLL_SetFileAttributesA
pop ecx
pop ebp
ret

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

Function at 0x4279b8
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 0x427a35
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00427404
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 0x4279dd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042705c
cmp dword [ebp - 4], 0
je 0x427a1f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004fb1e0
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 0x427a3c
lea eax, [ebp - 4]
call fcn.004fad30
ret

Function at 0x43b01c
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.004fad30
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43b06b
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.004faf98
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440fa0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x441200
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x441003
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00440a68
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.004ed574
cmp al, 1
jne 0x441003
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00440d80
test al, al
je 0x44118f
cmp dword [ebp - 8], 0
jge 0x441021
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00440a68
mov eax, dword [ebp - 0x210]
call fcn.004fafe8
cmp ebx, eax
jge 0x44106b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00440a68
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x549020]
and eax, 0xff
bt dword [edx], eax
jae 0x44106b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x44107f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00440f7c
cmp ebx, dword [ebp - 8]
je 0x441181
lea eax, [ebp - 0x108]
push eax
call sub.USER32.DLL_GetKeyboardState
mov edx, 0x100
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4410ab
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004fa3e0
and eax, 0x7f
movzx eax, word [eax*2 + 0x533118]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.USER32.DLL_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x44116e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004fa3e0
and eax, 0x7f
movzx eax, word [eax*2 + 0x533118]
push eax
push 0x100
mov eax, dword [ebp - 4]
call fcn.00477598
push eax
call sub.USER32.DLL_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004fa3e0
and eax, 0x7f
movzx eax, word [eax*2 + 0x533118]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00477598
push eax
call sub.USER32.DLL_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441175
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4411e2
cmp dword [ebp - 8], 0
jge 0x44119a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00440a68
mov eax, dword [ebp - 0x218]
call fcn.004fafe8
cmp eax, dword [ebp - 8]
jg 0x4411d4
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00440a68
mov eax, dword [ebp - 0x21c]
call fcn.004fafe8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00440f7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441207
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004fad54
ret
Function at 0x44e380
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 0x44e386
ret

Function at 0x450e70
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 0x450ec1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x450ea8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x450e98
jmp 0x450ec1
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 0x450ea9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459fc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45a010]
test si, 4
je 0x459fd4
or bl, 1
test si, 8
je 0x459fde
or bl, 4
test si, 1
je 0x459fe8
or bl, 8
test si, 2
je 0x459ff2
or bl, 0x10
test si, 0x10
je 0x459ffc
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x45a00b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45a014
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45a04c]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x45a02d
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x45a03c
or bl, 4
test esi, 0x20000000
je 0x45a047
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x460988
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46099a
add esp, 0xfffffff0
call fcn.004fa548
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004e5c44
mov eax, dword [0x548f68]
mov dword [eax + 4], ebx
mov dword [eax], 0x460d2c
mov eax, dword [0x548f6c]
mov dword [eax + 4], ebx
mov dword [eax], 0x460d38
mov eax, ebx
call fcn.00460d44
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4db5e8]
call fcn.004fa1b4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4db5e8]
call fcn.004fa1b4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4db5e8]
call fcn.004fa1b4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4db5e8]
call fcn.004fa1b4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4db5e8]
call fcn.004fa1b4
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, 0x45d20c
push eax
push 0
push 0
mov eax, dword [0x548f54]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x44d7b4]
call fcn.0044eec8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x44d7b4]
call fcn.0044eec8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x44d7b4]
call fcn.0044eec8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004611ac
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461088
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461088
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461088
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460ad7
call fcn.004fa5a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x460e6c
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 0x461017
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460ff8
mov dl, 1
mov eax, dword [0x4dbbd4]
call fcn.004fa1b4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004fad30
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x460fe7
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.0047c1a4
test al, al
je 0x460fda
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, 0x461028
lea eax, [ebp - 0x254]
call fcn.004ea4f4
push eax
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x460fda
xor eax, eax
push ebp
push 0x460fd3
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 0x461060
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x460fbc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004faf98
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 0x460fbc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004faf98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460fda
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x460edd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004e0244
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 0x46101e
lea eax, [ebp - 0x260]
call fcn.004fad30
ret

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

Disassembly:
push ecx
mov eax, dword [0x5551fc]
cmp byte [eax + 0xa5], 0
jne 0x4619bd
cmp dword [0x555214], 0
jne 0x46197e
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x461908
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x555214], eax
cmp dword [0x555210], 0
jne 0x461999
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x555210], eax
cmp dword [0x555218], 0
jne 0x4619bd
push esp
push 0
push 0
push 0x4618ac
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x555218], eax
pop edx
ret
Function at 0x461ae4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x461afb
add esp, 0xfffffff0
call fcn.004fa548
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004e5c44
mov eax, dword [0x548f70]
cmp word [eax + 2], 0
jne 0x461b23
mov eax, dword [0x548f70]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004631c0
mov eax, dword [0x548f74]
cmp word [eax + 2], 0
jne 0x461b3d
mov eax, dword [0x548f74]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004633b8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4db5e8]
call fcn.004fa1b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4db5e8]
call fcn.004fa1b4
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 [0x44e234]
call fcn.004561fc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x461cc4
mov eax, dword [0x5491d0]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004565cc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x463928
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5491d0]
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.004eda8c
test eax, eax
je 0x461c32
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004e9e3c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004edab4
test eax, eax
je 0x461c46
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.004faf98
mov eax, dword [0x5491d8]
cmp byte [eax], 0
jne 0x461c7a
mov eax, ebx
call fcn.00461dec
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.00463b04
mov eax, ebx
call fcn.004644b4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x461cba
call fcn.004fa5a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret