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

Disassembly:
push 0xffffffffffffffff
push 0x474913
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.004b4f02
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x5a1b10
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], 0x5a0690
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 [fcn.004760e0]
push eax
mov ecx, edi
call fcn.004ba598
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004bbab4
test eax, eax
je 0x48dbf4
mov ecx, dword [esp + 0x3c]
call fcn.004ba5c5
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.004763dc]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x48dbb8
push edi
mov ecx, esi
call fcn.004b7c29
mov ecx, esi
call fcn.0048dd58
cmp dword [esp + 0x38], 1
jne 0x48dbed
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.004b7d64
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 0x490618
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x49064b
push esi
call fcn.00493708
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x490644
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 0x4906d1
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4906ba
mov eax, dword [esi + 8]
test eax, eax
je 0x49066f
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 0x4906b6
cmp eax, 2
je 0x4906ba
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x490662
cmp eax, 3
je 0x490695
cmp eax, 1
jne 0x490662
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 0x490662
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x490662
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004906f8
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4906e0
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004906f8
add esp, 4
pop esi
ret
Function at 0x4031f0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4cc008], 0x8088405
inc edx
mov dword [ebx + 0x4cc008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403e80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4cc024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403f18
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403ef8
xor eax, eax
push ebp
push 0x403ef1
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 0x403f34
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 0x403ef8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4cc024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4cc024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404dbc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d504c], 0
je 0x404e1d
cmp word [0x4d5220], 0xd7b2
jne 0x404de5
cmp dword [0x4d5228], 0
jbe 0x404de5
mov eax, 0x4d521c
call dword [fcn.004d5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4cc760
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 0x404e44
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4cc030], 0
jne 0x404e39
push 0
push 0x4cc758
push 0x4cc760
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x408fb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x409002
test eax, edx
je 0x409005
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408fc5
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 0x408feb
add ecx, 4
js 0x408fdb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408fe8
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 0x409011
test edx, edx
jne 0x408fb8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x409af8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004053cc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409b11
test al, 0x10
je 0x409b15
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40cbe8
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 0x40cc21
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040502c
jmp 0x40cc2a
mov eax, ebx
mov edx, esi
call fcn.00404f90
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cc34
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 0x40cc56
movzx eax, byte [esp]
jmp 0x40cc58
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d2e8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d160
mov eax, dword [0x4d41c8]
cmp byte [eax], 0
je 0x40d364
mov eax, dword [0x4d3f40]
call fcn.004035f8
call fcn.00403034
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.00409e7c
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 0x40d3ac
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d39a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4d3ed4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d77f8]
call fcn.004064fc
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 0x40dc58
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 0x40dd2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404fd4
lea eax, [ebp - 4]
call fcn.00405424
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004053cc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dd18
mov eax, ebx
call fcn.00402ed8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dd11
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.004053cc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dcfb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dd40
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dcfb
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 0x40dd18
mov eax, dword [ebp - 0x10]
call fcn.00402ef4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd35
lea eax, [ebp - 4]
call fcn.00404f3c
ret

Function at 0x42030c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4d99f0
cmp dword [edi], 0
jne 0x420388
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4d99ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ccaf8
mov ecx, 2
call fcn.004030c8
mov edx, 0x4202e4
lea eax, [esi + 5]
call fcn.00420304
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420304
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 0x42035d
mov dword [0x4d99ec], 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 0x421088
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.004053cc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4210e0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d4344]
mov dl, 1
mov eax, dword [0x420b94]
call fcn.0040d4a8
call fcn.004048fc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00420c9c
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 0x422198
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 0x42219e
ret
Function at 0x43c0d0
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.00404f3c
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43c11e
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004051ac
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4401cc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4402ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x420bf4]
call fcn.00420cc4
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4402d5
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00420d64
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.004051ac
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x440314
call fcn.00405254
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00420dc8
lea ecx, [ebp - 4]
mov edx, 0x440350
mov eax, dword [ebp - 0xc]
call fcn.00421010
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040f068
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4402b8
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x44035c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4cd57c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4402bf
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x4403ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4403f3
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4403d6
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4403e7
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4403f3
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x443e10
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp + 1], cl
mov byte [esp], dl
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
mov eax, dword [0x4d9c10]
cmp esi, dword [eax + 0x30]
jne 0x443e37
or edi, 0x8000000
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x443e66
mov eax, dword [0x4d9c10]
cmp esi, dword [eax + 0x30]
jne 0x443e62
mov eax, dword [0x4d9c10]
cmp byte [eax + 0x5b], 0
jne 0x443e66
xor eax, eax
jmp 0x443e68
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x443e7d
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x443e94
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x443ea3
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp + 1]
and al, byte [esp + 2]
jne 0x443eb2
test bl, bl
je 0x443ec8
test bl, bl
je 0x443ec0
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x443ec8
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x44416c
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 0x444192
mov eax, esp
push eax
push 0x444134
call sub.user32.dll_EnumWindows
jmp 0x4441a5
mov eax, esp
push eax
push 0x444114
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 0x444230
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x444284]
test si, 4
je 0x444245
or bl, 1
test si, 8
je 0x44424f
or bl, 4
test si, 1
je 0x444259
or bl, 8
test si, 2
je 0x444263
or bl, 0x10
test si, 0x10
je 0x44426d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44427c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x444288
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4442c4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4442a2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4442b1
or bl, 4
test esi, 0x20000000
je 0x4442bc
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44c190
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44c1a2
add esp, 0xfffffff0
call fcn.004043ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f24c
mov eax, dword [0x4d3ee0]
mov dword [eax + 4], ebx
mov dword [eax], 0x44c534
mov eax, dword [0x4d3eec]
mov dword [eax + 4], ebx
mov dword [eax], 0x44c540
mov eax, ebx
call fcn.0044c54c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416944]
call fcn.00404058
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416944]
call fcn.00404058
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416944]
call fcn.00404058
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416944]
call fcn.00404058
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416944]
call fcn.00404058
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, 0x447bfc
push eax
push 0
push 0
mov eax, dword [0x4d40b4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42159c]
call fcn.00422d18
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42159c]
call fcn.00422d18
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42159c]
call fcn.00422d18
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044c97c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44c84c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44c84c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44c84c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c2df
call fcn.00404404
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44c630
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 0x44c7db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44c7bc
mov dl, 1
mov eax, dword [0x416d68]
call fcn.00404058
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404f3c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44c7ab
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.00466d1c
test al, al
je 0x44c79e
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, 0x44c7ec
lea eax, [ebp - 0x254]
call fcn.0040a518
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44c79e
xor eax, eax
push ebp
push 0x44c797
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 0x44c824
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44c780
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004051ac
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 0x44c780
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004051ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c79e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44c6a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041afc0
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 0x44c7e2
lea eax, [ebp - 0x260]
call fcn.00404f3c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d9c10]
cmp byte [eax + 0xad], 0
jne 0x44d1c5
cmp dword [0x4d9c2c], 0
jne 0x44d186
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44d110
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d9c2c], eax
cmp dword [0x4d9c28], 0
jne 0x44d1a1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d9c28], eax
cmp dword [0x4d9c30], 0
jne 0x44d1c5
push esp
push 0
push 0
push 0x44d0b4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4d9c30], eax
pop edx
ret
Function at 0x44d398
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44d3af
add esp, 0xfffffff0
call fcn.004043ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f24c
mov eax, dword [0x4d4090]
cmp word [eax + 2], 0
jne 0x44d3d7
mov eax, dword [0x4d4090]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044eddc
mov eax, dword [0x4d4168]
cmp word [eax + 2], 0
jne 0x44d3f1
mov eax, dword [0x4d4168]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044efe8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416944]
call fcn.00404058
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416944]
call fcn.00404058
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416944]
call fcn.00404058
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 [0x421fd4]
call fcn.00429748
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x44d5a8
mov eax, dword [0x4d3f6c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429b1c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44f6ac
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d3f6c]
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.0040e208
test eax, eax
je 0x44d4f8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409ed0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e23c
test eax, eax
je 0x44d50c
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.004051ac
mov byte [ebx + 0xd4], 0
push ebx
push 0x44eac0
call fcn.004203c8
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4d3dd4]
cmp byte [eax], 0
jne 0x44d55d
mov eax, ebx
call fcn.0044d6ec
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.0044f884
mov eax, ebx
call fcn.004503e8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d59d
call fcn.00404404
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret