joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461e97
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x461ecf
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045ff4e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045ff26
jmp 0x461edb
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x463588
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4635ca
call fcn.0046903c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4635ca
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4635c1
xor eax, eax
jmp 0x4635d2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004635d8
pop edi
pop esi
pop ebx
ret 4

Function at 0x46956c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46959a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4695b8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004694d2
jmp 0x4695b8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4695b8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004694d2
test edi, edi
mov eax, edi
jne 0x4695a2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1401d53
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
push 0x44
mov dl, 0x57
pop ecx
lea edi, [ebx + 0x44]
cmp dword [ebp + 0x14], ecx
jle 0x1401d7d
xor byte [ecx + ebx], dl
mov al, byte [ecx + ebx]
add al, 0x57
add dl, al
inc ecx
cmp ecx, dword [ebp + 0x14]
jl 0x1401d6d
and dword [ebp + 0x14], 0
cmp dword [edi + 4], 0
jl 0x1401dd5
push esi
lea esi, [ebx + 0x64]
cmp dword [esi + 8], 0
je 0x1401d97
mov eax, dword [esi - 8]
mov dword [ebp - 4], eax
mov eax, dword [esi - 4]
mov ecx, dword [esi]
cmp eax, ecx
jle 0x1401db3
sub eax, ecx
push eax
mov eax, dword [esi - 8]
add eax, ecx
push 0
push eax
call fcn.01402760
add esp, 0xc
mov eax, dword [esi + 4]
push dword [esi]
add eax, ebx
push eax
push dword [esi - 8]
call fcn.014027c0
add esp, 0xc
inc dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
add esi, 0x14
cmp eax, dword [edi + 4]
jle 0x1401d8b
pop esi
push edi
call fcn.01401dff
mov eax, dword [edi + 0x10]
pop ecx
push 0
push 1
push 0
sub eax, 0xc
call eax
mov eax, dword [edi + 8]
push dword [ebp + 0x10]
xor eax, 0x7a32bc85
call eax
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop ebx
leave
ret
Function at 0x4063fe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406422
xor eax, eax
test eax, eax
je 0x406434
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406434
xor ecx, ecx
jmp 0x406437
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406523
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43f2c4], 0
push esi
jne 0x40655a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406534
mov dword [ecx*4 + 0x43f2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x40652f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40658b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43f2c0]
xor eax, esi
inc ecx
dec edx
jne 0x40656d
pop edi
not eax
pop esi
ret 0xc
Function at 0x403894
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46f020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40392c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40390c
xor eax, eax
push ebp
push 0x403905
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 0x403964
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 0x40390c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x46f020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46f020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404a2c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x471050], 0
je 0x404a8d
cmp word [0x47132c], 0xd7b2
jne 0x404a55
cmp dword [0x471334], 0
jbe 0x404a55
mov eax, 0x471328
call dword [0x471344]
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 0x404ab8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46f02c], 0
jne 0x404aa9
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404c0c
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 [0x46f030], 0
je 0x404c32
mov edx, esi
mov eax, ebx
call dword [0x46f030]
jmp 0x404c41
mov eax, 8
call fcn.00402f9c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x471051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404bd4
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 0x407220
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 0x408ae4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x473b2c
push 0xa
push 0x408b78
mov eax, dword [0x473b1c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x408b08
call fcn.004109f0
push ebx
mov eax, dword [0x473b1c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x408b1f
call fcn.004109f0
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x408b31
call fcn.004109f0
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x473b30], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x473b34], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x473b38], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x473b3c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x473b40], ecx
add edx, dword [eax + 0x14]
mov dword [0x473b44], edx
pop esi
pop ebx
ret

Function at 0x40a198
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40a241
test eax, edx
je 0x40a244
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40a1c1
push edx
mov edx, eax
mov eax, esp
call fcn.00405614
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40a1d7
push eax
lea eax, [esp + 8]
call fcn.00405614
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40a1e6
movzx eax, word [eax]
sub eax, ecx
jmp 0x40a20d
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 0x40a227
add ecx, 4
js 0x40a1fe
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40a224
push eax
mov eax, ecx
mov edx, 2
call fcn.00404cac
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40a20b
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40a20d
xor eax, eax
ret
test eax, eax
je 0x40a254
test edx, edx
jne 0x40a1a8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40e330
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 0x40e369
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040557c
jmp 0x40e372
mov eax, ebx
mov edx, esi
call fcn.00405440
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e37c
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 0x40e39e
movzx eax, word [esp]
jmp 0x40e3a0
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40eb04
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.0040e93c
mov eax, dword [0x470eb0]
cmp byte [eax], 0
je 0x40eb96
mov eax, dword [0x470c60]
call fcn.00403300
call fcn.00403104
lea eax, [esp + 0x884]
push eax
lea eax, [esp + 0x88]
push eax
call sub.user32.dll_CharToOemW
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x88c]
call fcn.0040b218
push eax
lea eax, [esp + 0x890]
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 0x40ebe4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ebcf
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x470c08]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x473b1c]
call fcn.00406568
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
call sub.user32.dll_MessageBoxW
add esp, 0x1084
ret

Function at 0x40f7ac
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 0x40f882
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405494
lea eax, [ebp - 4]
call fcn.00405d10
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004054cc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x40f86c
mov eax, ebx
call fcn.00402f9c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40f865
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.004054cc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x40f84f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40f894
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x40f84f
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 0x40f86c
mov eax, dword [ebp - 0x10]
call fcn.00402fb8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f889
lea eax, [ebp - 4]
call fcn.00405430
ret
Function at 0x410898
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.00404f48
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 0x410842
mov eax, edi
add eax, eax
call fcn.00402f9c
mov esi, eax
jmp 0x410844
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 0x41087d
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 0x410867
mov eax, esp
cmp esi, eax
je 0x41088a
mov eax, esi
call fcn.00402fb8
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 0x4108c4
cmp bl, 0
je 0x4108c0
cmp bl, 0x41
jl 0x4108bb
cmp bl, 0x5a
jg 0x4108bb
or bl, 0x20
xor al, bl
inc esi
jmp 0x41089f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x410804

Function at 0x420b70
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.00420874
dec esi
jne 0x420b92
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x421d3c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x475e60
cmp dword [edi], 0
jne 0x421db8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x475e5c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46fc34
mov ecx, 2
call fcn.00403154
mov edx, 0x421d14
lea eax, [esi + 5]
call fcn.00421d34
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421d34
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 0x421d8d
mov dword [0x475e5c], 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 0x424cd4
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.004054cc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x424d2c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x470fd8]
mov dl, 1
mov eax, dword [0x42475c]
call fcn.0040ece0
call fcn.004044b0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004248e4
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 0x425fc8
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 0x425fce
ret
Function at 0x439508
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405428
xor eax, eax
push ebp
push 0x43969d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43966b
xor edx, edx
push ebp
push 0x439664
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405494
mov eax, dword [ebp - 8]
test eax, eax
je 0x439577
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x439577
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.00404e1c
test eax, eax
je 0x439580
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x439639
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x439628
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00405494
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4395e2
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4395e2
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00404e1c
test eax, eax
je 0x4395eb
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.004054cc
lea ecx, [esi + 2]
mov edx, ebx
call fcn.00403154
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0x10]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43962f
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x470ba4]
mov dl, 1
mov eax, dword [0x408bb4]
call fcn.0040eca4
call fcn.004044b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4396a4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405438
ret

Function at 0x43bdc0
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.00405440
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x43be07
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.004055f8
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x441220
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 0x441359
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 [0x4247d0]
call fcn.0042490c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x44132f
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004249ac
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.004055f8
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x441374
call fcn.004057cc
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00424a10
test al, al
je 0x441319
lea ecx, [ebp - 4]
mov edx, 0x4413e8
mov eax, dword [ebp - 0xc]
call fcn.00424c5c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0041106c
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x441312
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x441400
mov eax, dword [ebp - 8]
push eax
call fcn.00407900
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4707fc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441319
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 0x441336
mov eax, dword [ebp - 0xc]
call fcn.00403abc
ret

Function at 0x441464
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 0x4414ab
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44148e
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44149f
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4414ab
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x446d40
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 [0x476160], 0
je 0x446e81
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x470e44]
mov edx, dword [edx]
xor al, byte [edx + 0xb8]
je 0x446e81
mov eax, dword [0x476164]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x476160]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x446e50
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x476160]
call fcn.004195c0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x446e48
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1e2], 0
je 0x446e48
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x446e48
mov eax, dword [ebp - 0x14]
call fcn.00451f34
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x446e48
push ebp
call fcn.00446cfc
pop ecx
test al, al
jne 0x446e48
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403ccc
test al, al
je 0x446e48
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.00403ccc
cmp byte [ebp - 1], 0
je 0x446e48
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00407608
test al, al
je 0x446e48
mov edx, dword [ebp - 0x14]
mov eax, dword [0x476164]
call fcn.00446474
inc edi
dec ebx
jne 0x446da5
mov eax, dword [0x476164]
cmp dword [eax + 8], 0
jle 0x446e68
mov eax, dword [0x476164]
call fcn.0044652c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x446e81
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00446b60
pop ecx
test al, al
jne 0x446e81
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