joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427e60
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x427e75
add esp, 0xfffffff0
call fcn.00403e3c
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404de4
xor eax, eax
push ebp
push 0x427f4f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [edi + 8]
mov edx, dword [ebp - 4]
call fcn.004049b8
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
movzx eax, byte [ebp + 8]
mov byte [edi + 0x10], al
call fcn.00427760
cmp dword [edi + 0xc], 0
jne 0x427ecb
cmp byte [edi + 0x10], 0
je 0x427ec4
mov dword [edi + 0xc], 0x1bb
jmp 0x427ecb
mov dword [edi + 0xc], 0x50
push 0
push 0
push 3
push 0x427f78
push 0x427f78
movzx eax, word [edi + 0xc]
push eax
mov eax, dword [edi + 8]
call fcn.00404df4
push eax
mov eax, dword [0x47ba98]
push eax
call sub.wininet.dll_InternetConnectA
mov esi, eax
mov dword [edi + 4], esi
test esi, esi
jne 0x427f39
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea eax, [ebp - 0x1c]
push eax
push 2
mov ecx, 0x427f84
mov dl, 1
mov eax, dword [0x407a98]
call fcn.0040caf8
call fcn.0040438c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427f56
lea eax, [ebp - 4]
call fcn.00404964
ret
Function at 0x428218
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x428220
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x428395
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0xc]
push eax
test byte [ebx + 0x30], 1
setne al
push eax
mov ecx, dword [ebx + 8]
mov dl, 1
mov eax, dword [0x427658]
call fcn.00427e60
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x41a260]
call fcn.0041e25c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x428366
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004285a0
mov eax, dword [ebx + 0x14]
call fcn.00404df4
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00404b5c
mov eax, dword [ebp - 0x18]
call fcn.004092b0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x428348
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
cmp word [ebx + 0x22], 0
je 0x4282f0
lea ecx, [ebp - 0x20]
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.0041d064
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.0041d254
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.0041d064
mov ecx, dword [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebx + 0x24]
call dword [ebx + 0x20]
lea ecx, [ebp - 4]
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.0041d064
lea ecx, [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00428720
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004283a4
cmp word [ebx + 0x2a], 0
je 0x42833e
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.0041d064
mov ecx, dword [ebp - 0x28]
mov edx, ebx
mov eax, dword [ebx + 0x2c]
call dword [ebx + 0x28]
inc esi
dec dword [ebp - 0x14]
jne 0x4282b2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42836d
mov eax, dword [ebp - 0xc]
call fcn.00403b18
mov eax, dword [ebp - 0x10]
call fcn.00403b18
ret
Function at 0x4283a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404de4
mov eax, dword [ebp + 8]
call fcn.00404de4
xor eax, eax
push ebp
push 0x428585
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x14]
lea eax, [ebp + 8]
mov ecx, dword [ebp + 8]
call fcn.00404c7c
mov edx, dword [ebx + 0x10]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00404c7c
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
call fcn.004287a8
test byte [ebx + 0x30], 4
jne 0x428424
mov eax, dword [ebp + 8]
call fcn.00409204
test al, al
je 0x428424
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.004288e0
test al, al
jne 0x428567
push 0xffff
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x41a460]
call fcn.0041e748
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x428560
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
mov edx, 0x42859c
mov eax, esi
call fcn.00427fe4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x428543
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00427c00
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x427518]
call fcn.00427810
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x18]
mov dword [eax + 0x10], edx
mov edx, dword [ebx + 0x1c]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 8]
call fcn.00427a38
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x42758c]
call fcn.00427914
mov dword [ebp - 0x14], eax
test byte [ebx + 0x30], 2
setne al
mov edx, dword [ebp - 0x14]
mov byte [edx + 0xc], al
xor eax, eax
push ebp
push 0x42851e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.00427944
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SetFileTime
mov eax, dword [ebp - 8]
call fcn.00427a20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428525
mov eax, dword [ebp - 0xc]
call fcn.00403b18
mov eax, dword [ebp - 0x14]
call fcn.00403b18
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42858c
lea eax, [ebp - 4]
call fcn.00404964
lea eax, [ebp + 8]
call fcn.00404964
ret
Function at 0x428b84
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x428d47
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
push eax
mov eax, ebx
call fcn.00404df4
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
lea eax, [esi + 1]
call fcn.004099d4
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x428d18
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
push eax
push esi
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x428c21
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], 0xb
lea eax, [ebp - 0x2c]
push eax
push 0
lea edx, [ebp - 0x30]
mov eax, 0x428a2c
call fcn.0040694c
mov ecx, dword [ebp - 0x30]
mov dl, 1
mov eax, dword [0x407a98]
call fcn.0040caf8
call fcn.0040438c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x428d58
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 0x14], 4
jb 0x428c4d
lea ecx, [ebp - 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
call fcn.00428b30
jmp 0x428c6e
lea edx, [ebp - 0x34]
mov eax, 0x428a34
call fcn.0040694c
mov ecx, dword [ebp - 0x34]
mov dl, 1
mov eax, dword [0x407a98]
call fcn.0040cabc
call fcn.0040438c
mov bl, 0xb
mov esi, 0x473fd4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x428d7c
push dword [ebp - 4]
push 0x428d98
push dword [esi]
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00404cf8
mov eax, dword [ebp - 0x38]
call fcn.00404df4
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x428cf7
cmp dword [ebp - 0x10], 1
jbe 0x428cf7
mov edx, dword [ebp - 0x10]
dec edx
lea eax, [ebp - 8]
call fcn.00405084
mov eax, dword [ebp - 8]
call fcn.00404df4
mov ecx, dword [ebp - 0x10]
dec ecx
mov edx, dword [ebp - 0x18]
call fcn.00409820
push dword [esi]
push 0x428da4
push dword [ebp - 8]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404cf8
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
add esi, 4
dec bl
jne 0x428c75
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428d1f
mov eax, dword [ebp - 0x20]
call fcn.00409a20
ret
Function at 0x42c1d4
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.00404df4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42c22c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x475dd8]
mov dl, 1
mov eax, dword [0x42bce0]
call fcn.0040cbb4
call fcn.0040438c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042bde8
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 0x42d65c
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 0x42d662
ret
Function at 0x43d278
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404de4
xor eax, eax
push ebp
push 0x43d3ad
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43d380
xor edx, edx
push ebp
push 0x43d379
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x43d2c5
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43d34e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x43d33d
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x43d304
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00404df4
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403060
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d344
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x475a00]
mov dl, 1
mov eax, dword [0x407a98]
call fcn.0040cb78
call fcn.0040438c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d3b4
lea eax, [ebp - 4]
call fcn.00404964
ret
Function at 0x43d3bc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43d577
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004050e8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x43d590
call fcn.00404c7c
mov eax, ebx
call fcn.00422a14
mov edi, eax
dec edi
test edi, edi
jl 0x43d474
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004229e8
mov edx, dword [0x4394dc]
call fcn.00403ca4
test al, al
je 0x43d470
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.004229e8
lea edx, [ebp - 0x14]
call fcn.0045374c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004050e8
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404cf8
inc esi
dec edi
jne 0x43d422
movzx eax, byte [0x43d594]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43d5a0
mov eax, dword [ebp - 8]
call fcn.0040e3f0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004049fc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0045374c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43d590
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0045374c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43d590
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x43d590
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x43d5ac
call fcn.00409eb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d57e
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404988
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404988
lea eax, [ebp - 0x14]
call fcn.00404964
lea eax, [ebp - 0x10]
call fcn.00404964
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404988
ret
Function at 0x4409f0
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 0x440a11
test edi, 0x40000
je 0x440a2b
test bl, bl
jne 0x440aac
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x440aac
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 0x440a5e
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x440a73
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x440a82
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x440a93
cmp byte [esp + 2], 0
je 0x440aac
cmp byte [esp + 2], 0
je 0x440aa4
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x440aac
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x440d50
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 0x440d76
mov eax, esp
push eax
push 0x440d18
call sub.user32.dll_EnumWindows
jmp 0x440d89
mov eax, esp
push eax
push 0x440cf8
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 0x440e14
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x440e68]
test si, 4
je 0x440e29
or bl, 1
test si, 8
je 0x440e33
or bl, 4
test si, 1
je 0x440e3d
or bl, 8
test si, 2
je 0x440e47
or bl, 0x10
test si, 0x10
je 0x440e51
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x440e60
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x440e6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x440ea8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x440e86
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x440e95
or bl, 4
test esi, 0x20000000
je 0x440ea0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x449050
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x449062
add esp, 0xfffffff0
call fcn.00403e3c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004222e0
mov eax, dword [0x475a64]
mov dword [eax + 4], ebx
mov dword [eax], 0x4493f4
mov eax, dword [0x475a70]
mov dword [eax + 4], ebx
mov dword [eax], 0x449400
mov eax, ebx
call fcn.0044940c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419e3c]
call fcn.00403ae8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419e3c]
call fcn.00403ae8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419e3c]
call fcn.00403ae8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419e3c]
call fcn.00403ae8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419e3c]
call fcn.00403ae8
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, 0x444778
push eax
push 0
push 0
mov eax, dword [0x475bc8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42c988]
call fcn.0042e1dc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42c988]
call fcn.0042e1dc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42c988]
call fcn.0042e1dc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00449884
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449754
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449754
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449754
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44919f
call fcn.00403e94
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x449538
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 0x4496e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4496c4
mov dl, 1
mov eax, dword [0x41a260]
call fcn.0041e25c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404964
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4496b3
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.00460e90
test al, al
je 0x4496a6
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, 0x4496f4
lea eax, [ebp - 0x254]
call fcn.00409e30
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4496a6
xor eax, eax
push ebp
push 0x44969f
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 0x44972c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449688
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404bd4
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 0x449688
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404bd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4496a6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4495a9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041e138
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 0x4496ea
lea eax, [ebp - 0x260]
call fcn.00404964
ret

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

Disassembly:
push ecx
mov eax, dword [0x47bcdc]
cmp byte [eax + 0xad], 0
jne 0x44a0cd
cmp dword [0x47bcfc], 0
jne 0x44a08e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44a018
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47bcfc], eax
cmp dword [0x47bcf8], 0
jne 0x44a0a9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47bcf8], eax
cmp dword [0x47bd00], 0
jne 0x44a0cd
push esp
push 0
push 0
push 0x449fbc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47bd00], eax
pop edx
ret
Function at 0x44a2fc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44a313
add esp, 0xfffffff0
call fcn.00403e3c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004222e0
mov eax, dword [0x475bb4]
cmp word [eax + 2], 0
jne 0x44a33b
mov eax, dword [0x475bb4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044bd94
mov eax, dword [0x475c64]
cmp word [eax + 2], 0
jne 0x44a355
mov eax, dword [0x475c64]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044bfa0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419e3c]
call fcn.00403ae8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419e3c]
call fcn.00403ae8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x419e3c]
call fcn.00403ae8
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 [0x42d498]
call fcn.00434b40
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x44a50c
mov eax, dword [0x475ad0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00434f14
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44c664
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x475ad0]
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.0040db80
test eax, eax
je 0x44a45c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004097e8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dbb4
test eax, eax
je 0x44a470
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.00404bd4
mov byte [ebx + 0xd4], 0
push ebx
push 0x44ba78
call fcn.00423550
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4759b8]
cmp byte [eax], 0
jne 0x44a4c1
mov eax, ebx
call fcn.0044a650
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.0044c878
mov eax, ebx
call fcn.0044d3dc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44a501
call fcn.00403e94
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret