joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40619c
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 0x4063cc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40621f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4063cc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40621f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4063e8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4062a8
xor eax, eax
push ebp
push 0x4062a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405fd8
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 0x406286
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406408
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406286
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 0x4062a8
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 0x4063c2
cmp byte [ebp - 0xd], 0
jne 0x4062ef
cmp byte [ebp - 0x12], 0
je 0x4063c2
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406308
dec ebx
cmp byte [ebx], 0x2e
je 0x406317
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406307
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4063c2
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406354
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 0x4063c2
cmp byte [ebp - 0xd], 0
je 0x4063c2
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 0x4063c2
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 0x408a84
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408ad6
test eax, edx
je 0x408ad9
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408a99
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408abf
add ecx, 4
js 0x408aaf
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408abc
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408ae5
test edx, edx
jne 0x408a8c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40bf44
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 pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bf7d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404c48
jmp 0x40bf86
mov eax, ebx
mov edx, esi
call fcn.00404bac
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bf90
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_1
test eax, eax
jle 0x40bfb2
movzx eax, byte [esp]
jmp 0x40bfb4
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c644
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c4bc
mov eax, dword [0x484e80]
cmp byte [eax], 0
je 0x40c6c0
mov eax, dword [0x484c38]
call fcn.004033e4
call fcn.00402fdc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040964c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c708
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c6f6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x484bd4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4877f8]
call fcn.00405f80
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40cfc8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d09e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404bf0
lea eax, [ebp - 4]
call fcn.00405040
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404fe8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d088
mov eax, ebx
call fcn.00402e80
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d081
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404fe8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d06b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d0b0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d06b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d088
mov eax, dword [ebp - 0x10]
call fcn.00402e9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d0a5
lea eax, [ebp - 4]
call fcn.00404b58
ret

Function at 0x422d64
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x422db2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00422aa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x422dcb
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x422dd4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00422aa0
dec esi
jne 0x422df6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x424588
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4899f0
cmp dword [edi], 0
jne 0x424604
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4899ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x483b94
mov ecx, 2
call fcn.00403070
mov edx, 0x424560
lea eax, [esi + 5]
call fcn.00424580
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424580
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 0x4245d9
mov dword [0x4899ec], 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 0x4259e0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x425b4a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404bf0
mov eax, dword [ebp - 4]
call fcn.0042553c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x425a32
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00405090
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00425db0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x425b07
xor eax, eax
push ebp
push 0x425b00
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004256e8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00425b58
test al, al
je 0x425ade
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00404c48
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x425ade
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00404fe8
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x425ad8
mov eax, dword [ebp - 8]
call fcn.00404fe8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404d50
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004259e0
dec ebx
cmp ebx, 0xffffffff
jne 0x425a91
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425b07
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004256e8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
call fcn.00404fe8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004256d4
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425b51
lea eax, [ebp - 0x3c]
call fcn.00404b58
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b7c
ret

Function at 0x425b58
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403558
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x484fc8]
cmp byte [edx + 0xc], 0
je 0x425bbc
mov edx, dword [0x484fb8]
cmp dword [edx], 2
jne 0x425bbc
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x425cc4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00425550
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404fe8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x425d23
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x484d74]
mov dl, 1
mov eax, dword [0x4253dc]
call fcn.0040c804
call fcn.004044ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x425d2c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404fe8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x425d84
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x484fd4]
mov dl, 1
mov eax, dword [0x4253dc]
call fcn.0040c804
call fcn.004044ec
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00425580
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42711c
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 0x427122
ret
Function at 0x436104
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 0x436125
test edi, 0x40000
je 0x43613f
test bl, bl
jne 0x4361c0
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4361c0
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 0x436172
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x436187
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x436196
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4361a7
cmp byte [esp + 2], 0
je 0x4361c0
cmp byte [esp + 2], 0
je 0x4361b8
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4361c0
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x436464
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 0x43648a
mov eax, esp
push eax
push 0x43642c
call sub.user32.dll_EnumWindows
jmp 0x43649d
mov eax, esp
push eax
push 0x43640c
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 0x436528
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x43657c]
test si, 4
je 0x43653d
or bl, 1
test si, 8
je 0x436547
or bl, 4
test si, 1
je 0x436551
or bl, 8
test si, 2
je 0x43655b
or bl, 0x10
test si, 0x10
je 0x436565
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x436574
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x436580
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4365bc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43659a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4365a9
or bl, 4
test esi, 0x20000000
je 0x4365b4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43e628
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43e63a
add esp, 0xfffffff0
call fcn.00403f9c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422ea8
mov eax, dword [0x484bdc]
mov dword [eax + 4], ebx
mov dword [eax], 0x43e9cc
mov eax, dword [0x484be8]
mov dword [eax + 4], ebx
mov dword [eax], 0x43e9d8
mov eax, ebx
call fcn.0043e9e4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4170a4]
call fcn.00403c08
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4170a4]
call fcn.00403c08
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4170a4]
call fcn.00403c08
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4170a4]
call fcn.00403c08
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4170a4]
call fcn.00403c08
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, 0x439e8c
push eax
push 0
push 0
mov eax, dword [0x484d68]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426448]
call fcn.00427c9c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426448]
call fcn.00427c9c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426448]
call fcn.00427c9c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0043ee5c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43ed2c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43ed2c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43ed2c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43e777
call fcn.00403ff4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x43eb10
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 0x43ecbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x43ec9c
mov dl, 1
mov eax, dword [0x417710]
call fcn.00403c08
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b58
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x43ec8b
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.0045e95c
test al, al
je 0x43ec7e
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, 0x43eccc
lea eax, [ebp - 0x254]
call fcn.00409d28
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43ec7e
xor eax, eax
push ebp
push 0x43ec77
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 0x43ed04
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43ec60
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404dc8
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 0x43ec60
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404dc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ec7e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x43eb81
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041c2d0
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 0x43ecc2
lea eax, [ebp - 0x260]
call fcn.00404b58
ret

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

Disassembly:
push ecx
mov eax, dword [0x489bec]
cmp byte [eax + 0xad], 0
jne 0x43f6a5
cmp dword [0x489c08], 0
jne 0x43f666
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x43f5f0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x489c08], eax
cmp dword [0x489c04], 0
jne 0x43f681
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x489c04], eax
cmp dword [0x489c0c], 0
jne 0x43f6a5
push esp
push 0
push 0
push 0x43f594
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x489c0c], eax
pop edx
ret
Function at 0x43f8a8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x43f8bf
add esp, 0xfffffff0
call fcn.00403f9c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422ea8
mov eax, dword [0x484d50]
cmp word [eax + 2], 0
jne 0x43f8e7
mov eax, dword [0x484d50]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00441490
mov eax, dword [0x484e2c]
cmp word [eax + 2], 0
jne 0x43f901
mov eax, dword [0x484e2c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044169c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4170a4]
call fcn.00403c08
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4170a4]
call fcn.00403c08
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4170a4]
call fcn.00403c08
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 [0x426f58]
call fcn.0042e6c8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x43fab8
mov eax, dword [0x484c50]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ea9c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x441d60
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x484c50]
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.0040d580
test eax, eax
je 0x43fa08
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004096a0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d5b4
test eax, eax
je 0x43fa1c
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.00404dc8
mov byte [ebx + 0xd4], 0
push ebx
push 0x441024
call fcn.00424644
mov dword [ebx + 0xc8], eax
mov eax, dword [0x484b14]
cmp byte [eax], 0
jne 0x43fa6d
mov eax, ebx
call fcn.0043fbfc
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.00441f74
mov eax, ebx
call fcn.00442ad8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43faad
call fcn.00403ff4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret