joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001060
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp + 8]
jne 0x10001099
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1000109d
cmp edx, esi
jne 0x10001082
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp + 8]
jne 0x100010bd
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x100010c1
cmp edx, esi
jne 0x100010a6
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp + 8]
jne 0x100010e1
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x100010e5
cmp edx, esi
jne 0x100010ca
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100010f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 1
lea ebx, [ebx]
push 0x79
call esi
test ax, ax
je 0x10001110
cmp dword [0x1000334c], ebx
jne 0x10001153
mov eax, dword [0x10003344]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x208]
mov dword [ebp - 8], str.DrawFlat_1
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [ebp - 4]
add esp, 4
push 0x32
mov dword [0x1000334c], 0
call edi
jmp 0x10001110
mov ecx, dword [0x10003344]
mov edx, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [eax + 0x208]
mov dword [ebp - 4], str.DrawFlat_0
mov dword [ebp - 8], ecx
push dword [ebp - 4]
call dword [ebp - 8]
add esp, 4
push 0x32
mov dword [0x1000334c], ebx
call edi
jmp 0x10001110

Function at 0x100011e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.10001060
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [ebp + 0xc], 1
pop esi
jne 0x10001227
push 0
push 0x10002124
push 0x10002138
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0
push 0
push 0x10001190
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x4033b0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.0040578c
test esi, esi
jne 0x4033e8
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004058c8
jmp 0x403406
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004032f4
mov edi, eax
test esi, esi
je 0x403406
cmp dword [ebx], 0
je 0x403406
dec esi
jmp 0x4033ef
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x403a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x485020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403b18
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x403af8
xor eax, eax
push ebp
push 0x403af1
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 0x403b50
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403af8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x485020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x485020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404c64
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48b054], 0
je 0x404cc5
cmp word [0x48b330], 0xd7b2
jne 0x404c8d
cmp dword [0x48b338], 0
jbe 0x404c8d
mov eax, 0x48b32c
call dword [0x48b348]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
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 0x404cf0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48502c], 0
jne 0x404ce1
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x485030], 0
je 0x404e96
mov edx, esi
mov eax, ebx
call dword [0x485030]
jmp 0x404ea5
mov eax, 8
call fcn.0040303c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x48b055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404e38
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x407d9c
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x409940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x48db60
push 0xa
push 0x4099d4
mov eax, dword [0x48db50]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x409964
call fcn.00411838
push ebx
mov eax, dword [0x48db50]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40997b
call fcn.00411838
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40998d
call fcn.00411838
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x48db64], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x48db68], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x48db6c], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x48db70], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x48db74], ecx
add edx, dword [eax + 0x14]
mov dword [0x48db78], edx
pop esi
pop ebx
ret

Function at 0x40aff4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40b09d
test eax, edx
je 0x40b0a0
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40b01d
push edx
mov edx, eax
mov eax, esp
call fcn.004059a8
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40b033
push eax
lea eax, [esp + 8]
call fcn.004059a8
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40b042
movzx eax, word [eax]
sub eax, ecx
jmp 0x40b069
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]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40b083
add ecx, 4
js 0x40b05a
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40b080
push eax
mov eax, ecx
mov edx, 2
call fcn.00404f10
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40b067
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40b069
xor eax, eax
ret
test eax, eax
je 0x40b0b0
test edx, edx
jne 0x40b004
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00405818
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x40bde2
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x40be03
cmp ebx, 3
je 0x40be03
cmp ebx, 0x7b
je 0x40be03
mov eax, esi
call fcn.0040bd84
test al, al
jne 0x40be07
xor eax, eax
jmp 0x40be09
mov al, 1
pop esi
pop ebx
ret
Function at 0x40f370
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40f3a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004058c8
jmp 0x40f3b2
mov eax, ebx
mov edx, esi
call fcn.0040578c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40f3bc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40f3de
movzx eax, word [esp]
jmp 0x40f3e0
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40fb68
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x40fc8d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0040f97c
mov esi, eax
mov eax, dword [0x489f08]
cmp byte [eax], 0
je 0x40fc35
mov eax, dword [0x489cb4]
call fcn.004034cc
call fcn.004031a4
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x40fb44]
call fcn.00406ff0
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x40fca8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40fc71
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x489c50]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48db50]
call fcn.004070e4
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fc94
lea eax, [ebp - 4]
mov edx, dword [0x40fb44]
call fcn.00406ffc
ret
Function at 0x4108c4
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 0x41099a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004057e0
lea eax, [ebp - 4]
call fcn.004061fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405818
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x410984
mov eax, ebx
call fcn.0040303c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41097d
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.00405818
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x410967
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4109ac
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x410967
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 0x410984
mov eax, dword [ebp - 0x10]
call fcn.00403058
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4109a1
lea eax, [ebp - 4]
call fcn.0040577c
ret

Function at 0x4116e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00405210
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x41168a
mov eax, edi
add eax, eax
call fcn.0040303c
mov esi, eax
jmp 0x41168c
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4116c5
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4116af
mov eax, esp
cmp esi, eax
je 0x4116d2
mov eax, esi
call fcn.00403058
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x41170c
cmp bl, 0
je 0x411708
cmp bl, 0x41
jl 0x411703
cmp bl, 0x5a
jg 0x411703
or bl, 0x20
xor al, bl
inc esi
jmp 0x4116e7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41164c

Function at 0x425788
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.0042548c
dec esi
jne 0x4257aa
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x426954
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48fe94
cmp dword [edi], 0
jne 0x4269d0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48fe90]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x485c48
mov ecx, 2
call fcn.004031f4
mov edx, 0x42692c
lea eax, [esi + 5]
call fcn.0042694c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042694c
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 0x4269a5
mov dword [0x48fe90], 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 0x429a84
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.00405818
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x429adc
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x48a050]
mov dl, 1
mov eax, dword [0x429324]
call fcn.0040fdb0
call fcn.004046a4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00429524
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 0x42b034
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 0x42b03a
ret
Function at 0x43f91c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.0040578c
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x43f963
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040598c
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x444d7c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x444eb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x429398]
call fcn.0042954c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x444e8b
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00429628
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.0040598c
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x444ed0
call fcn.00405c60
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004297b8
test al, al
je 0x444e75
lea ecx, [ebp - 4]
mov edx, 0x444f44
mov eax, dword [ebp - 0xc]
call fcn.00429a04
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00411f08
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x444e6e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x444f5c
mov eax, dword [ebp - 8]
push eax
call fcn.004084ac
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x48925c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444e75
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444e92
mov eax, dword [ebp - 0xc]
call fcn.00403cb0
ret

Function at 0x444fc0
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 0x445007
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x444fea
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x444ffb
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x445007
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x44aa34
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 - 0xc]
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 [0x490114], 0
je 0x44ab75
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x489e90]
mov edx, dword [edx]
xor al, byte [edx + 0xb8]
je 0x44ab75
mov eax, dword [0x490118]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x490114]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44ab44
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x490114]
call fcn.0041e960
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44ab3c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1e2], 0
je 0x44ab3c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x44ab3c
mov eax, dword [ebp - 0x14]
call fcn.00455bf4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44ab3c
push ebp
call fcn.0044a9f0
pop ecx
test al, al
jne 0x44ab3c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403ec0
test al, al
je 0x44ab3c
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
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.00403ec0
cmp byte [ebp - 1], 0
je 0x44ab3c
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00408184
test al, al
je 0x44ab3c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x490118]
call fcn.0044a168
inc edi
dec ebx
jne 0x44aa99
mov eax, dword [0x490118]
cmp dword [eax + 8], 0
jle 0x44ab5c
mov eax, dword [0x490118]
call fcn.0044a220
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44ab75
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044a854
pop ecx
test al, al
jne 0x44ab75
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 0x4528a8
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.0040816c
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.0044ceb0
test ebx, ebx
jne 0x4528fb
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0045273c
mov ebx, eax
test ebx, ebx
je 0x4529e6
cmp esi, ebx
je 0x452924
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 0x452939
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 0x452971
add eax, 0xffffff5f
sub eax, 2
jb 0x452989
dec eax
sub eax, 2
jb 0x45299d
dec eax
sub eax, 2
jb 0x452993
jmp 0x4529a7
add eax, 0xfffffdff
sub eax, 2
jb 0x452989
dec eax
sub eax, 2
jb 0x45299d
dec eax
sub eax, 2
jb 0x452993
jmp 0x4529a7
mov byte [esp + 0x120], 0
jmp 0x4529af
mov byte [esp + 0x120], 2
jmp 0x4529af
mov byte [esp + 0x120], 1
jmp 0x4529af
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00462e98
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0044e684
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4529e8
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x46299c
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_GetWindowLongW
mov edi, eax
test bl, bl
je 0x4629bd
test edi, 0x40000
je 0x4629d7
test bl, bl
jne 0x462a58
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x462a58
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 0x462a0a
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x462a1f
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x462a2e
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x462a3f
cmp byte [esp + 2], 0
je 0x462a58
cmp byte [esp + 2], 0
je 0x462a50
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x462a58
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret