joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7eba6d
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
add esp, 0x12
xchg ebx, eax
xchg byte [esp + 0xa], bl
push dword [esp + 4]
bswap edx
jmp 0x7eb869
setbe dh
inc dl
lea edx, [eax + 0x69]
mov byte [esp + 5], ch
stc
mov eax, 0xa81e814a
jmp 0x7eb737
mov dx, 0x9d6f
setno bh
add esp, 0
mov dh, byte [esp]
setp dh
sub esp, 0xa
jmp 0x7eb751
lea ebx, [ebx*4]
xchg bx, ax
mov byte [esp + 1], ch
mov ax, 0xd59
pop ax
mov ax, 0x74c1
jmp 0x7eb823
push word [esp + 2]
mov bx, 0x677d
ror ebx, 7
not bh
cmc
pop dx
jmp 0x7eb78f
mov ax, dx
pop word [esp]
add esp, 0x16
pop ebx
pop word [esp]
mov bl, 0x40
jmp 0x7eb7b1
mov ax, 0x8fe5
shr dx, cl
mov bx, 0x5eb5
setge ah
xor dl, ch
mov ebx, ecx
jmp 0x7eb835
mov dl, 0x64
add esp, 0
xchg bx, ax
mov byte [esp], ah
mov ax, bx
add esp, 0
jmp 0x7eb7e2
neg dh
lea edx, reloc.RASAPI32.dll_RasHangUpA
bswap eax
lea eax, [ecx + edx]
bswap ebx
cld
jmp 0x7eb809
sub esp, 0x14
pushal
inc ax
pop bx
mov dh, byte [esp + 0x22]
pop dword [esp + 0xd]
jmp 0x7eb914
mov byte [esp + 0x19], dh
lea eax, [ecx + ebx]
xchg word [esp + 0xf], bx
xchg bx, dx
lea eax, [ebx + edi]
pop dword [esp + 0xb]
jmp 0x7eb7cf
pop ebx
sub ebx, eax
mov dx, 0x3641
clc
bts edx, esp
sub esp, 0xc
jmp 0x7eb84b
lea esp, [esp]
neg dh
mov byte [esp], ch
mov al, 0xee
xchg byte [esp], bl
add esp, 0
jmp 0x7eb77a
pop word [esp + 9]
cld
push edx
pop word [esp + 9]
mov ebx, eax
setnp bh
jmp 0x7eb8f1
push dword [esp + 0x23]
add esp, 0x15
mov word [esp + 6], bx
pop dword [esp + 2]
mov byte [esp + 7], ch
mov edx, dword [esp + 0x11]
jmp 0x7eb89c
xchg dword [esp + 5], edx
xchg byte [esp + 0x10], dl
xchg byte [esp], dh
clc
lea ebx, [edx + ebp]
pop word [esp + 0x2a]
jmp 0x7eb8bc
mov dh, byte [esp + 7]
rdtsc
bswap eax
mov byte [esp + 0xb], ch
mov word [esp + 0x10], bx
dec ebx
jmp 0x7eb990
setle ah
lea edx, [eax + ebx]
shr eax, 3
neg eax
lea eax, [edi + edi]
rdtsc
jmp 0x7eb8db
xchg byte [esp + 0x15], bl
pop bx
cld
xchg byte [esp + 0x12], al
mov dx, di
pop word [esp + 0x13]
jmp 0x7eb978
bswap eax
add ax, 0x2f1e
lea eax, [eax + 0xd1]
lea edx, [ebp*4]
mov ax, di
pop ebx
jmp 0x7eb926
mov ebx, 0x39e1f692
push word [esp + 5]
pop word [esp + 0xb]
jmp 0x7eb9d4
pop word [esp + 0xb]
not bh
push dword [esp]
mov dx, si
xchg word [esp + 0xb], ax
jmp 0x7eb962
lea edx, reloc.RASAPI32.dll_RasHangUpA
sub esp, 6
xchg word [esp + 0x11], dx
mov edx, dword [esp + 0x13]
cld
mov dh, byte [esp + 0x15]
jmp 0x7eb949
lea eax, [ebp + 0xdf]
neg dh
btr eax, esp
mov dh, 0xda
mov edx, dword [esp]
bt eax, edx
jmp 0x7eba33
xchg word [esp + 0x17], ax
mov dword [esp + 0x10], esi
xchg bx, ax
mov ebx, ecx
push esp
xchg ah, bl
jmp 0x7eba1a
mov word [esp + 6], sp
sbb ebx, ebp
pop edx
add esp, 0x13
xchg dx, ax
mov bh, byte [esp]
jmp 0x7eb9a9
mov bh, byte [esp]
mov edx, 0xe0078c46
not ax
pop ebx
rdtsc
lea esp, [esp]
jmp 0x7eb887
pop word [esp + 0x1f]
xchg word [esp + 0x10], ax
rdtsc
add esp, 0xc
call fcn.007eba04
or dword ds:[eax + reloc.RASAPI32.dll_RasHangUpA], ebp
and al, 0x66
bsr ebx, ebp
mov byte [esp], dh
bsr bx, bp
xchg byte [esp], dl
sub esp, 0
bswap ebx
pushal
jmp 0x7eb9be
sete dh
bswap edx
jmp 0x7eb9ee
Function at 0x7ebdf6
Capabilities:
Parse pe header

Disassembly:
lea esp, [esp + 1]
mov dword [esp + 0x98], edi
lea esp, [esp + 0x98]
mov eax, dword fs:[0x30]
jmp 0x7ebd91
lea esp, [esp + 3]
mov byte [esp], ah
lea esp, [esp]
mov byte [esp], ch
mov byte [esp], bh
jmp 0x7ebdaa
Function at 0x403278
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404acc
test esi, esi
jne 0x4032ae
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404bbc
jmp 0x4032cc
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040317c
mov edi, eax
test esi, esi
je 0x4032cc
cmp dword [ebx], 0
je 0x4032cc
dec esi
jmp 0x4032b5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4039dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48b020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403a74
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403a54
xor eax, eax
push ebp
push 0x403a4d
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 0x403a90
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403a54
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x48b020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48b020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404878
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48e048], 0
je 0x4048d9
cmp word [0x48e21c], 0xd7b2
jne 0x4048a1
cmp dword [0x48e224], 0
jbe 0x4048a1
mov eax, 0x48e218
call dword [0x48e234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
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 0x404900
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48b02c], 0
jne 0x4048f5
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404a50
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 [0x48b030], 0
je 0x404a76
mov edx, esi
mov eax, ebx
call dword [0x48b030]
jmp 0x404a85
mov eax, 8
call fcn.00402e8c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x48e049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404a18
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 0x4061dc
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40640c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40625f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40640c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40625f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406428
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4062e8
xor eax, eax
push ebp
push 0x4062e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406018
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4062c6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406448
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4062c6
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4062e8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406402
cmp byte [ebp - 0xd], 0
jne 0x40632f
cmp byte [ebp - 0x12], 0
je 0x406402
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406348
dec ebx
cmp byte [ebx], 0x2e
je 0x406357
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406347
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406402
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406394
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406402
cmp byte [ebp - 0xd], 0
je 0x406402
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406402
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408a64
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408ab6
test eax, edx
je 0x408ab9
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408a79
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408a9f
add ecx, 4
js 0x408a8f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408a9c
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408ac5
test edx, edx
jne 0x408a6c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00404f5c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409656
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x409677
cmp ebx, 3
je 0x409677
cmp ebx, 0x7b
je 0x409677
mov eax, esi
call fcn.004095f8
test al, al
jne 0x40967b
xor eax, eax
jmp 0x40967d
mov al, 1
pop esi
pop ebx
ret

Function at 0x40c9f8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ca31
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404bbc
jmp 0x40ca3a
mov eax, ebx
mov edx, esi
call fcn.00404b20
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ca44
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ca66
movzx eax, byte [esp]
jmp 0x40ca68
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d0f8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cf70
mov eax, dword [0x48db8c]
cmp byte [eax], 0
je 0x40d174
mov eax, dword [0x48d84c]
call fcn.00403390
call fcn.00402fe8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409824
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40d1bc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d1aa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48d7d0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4907f4]
call fcn.00405fc0
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40da34
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 0x40db0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404b64
lea eax, [ebp - 4]
call fcn.00404fb4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f5c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40daf4
mov eax, ebx
call fcn.00402e8c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40daed
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.00404f5c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dad7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40db1c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dad7
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 0x40daf4
mov eax, dword [ebp - 0x10]
call fcn.00402ea8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40db11
lea eax, [ebp - 4]
call fcn.00404acc
ret

Function at 0x41cee8
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.0041cc24
dec esi
jne 0x41cf0a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x41e07c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4929ec
cmp dword [edi], 0
jne 0x41e0f8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4929e8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48bb5c
mov ecx, 2
call fcn.0040307c
mov edx, 0x41e054
lea eax, [esi + 5]
call fcn.0041e074
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041e074
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 0x41e0cd
mov dword [0x4929e8], 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 0x421884
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.00404f5c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4218dc
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x48dd40]
mov dl, 1
mov eax, dword [0x421390]
call fcn.0040d2b8
call fcn.00404440
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00421498
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 0x422738
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 0x42273e
ret
Function at 0x431bdc
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.00404acc
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x431c2a
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.00404d3c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x436d0c
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 0x436e3f
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 [0x4213f0]
call fcn.004214c0
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x436e15
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00421560
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404d3c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x436e54
call fcn.00404de4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004215c4
lea ecx, [ebp - 4]
mov edx, 0x436e90
mov eax, dword [ebp - 0xc]
call fcn.0042180c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040ee44
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x436df8
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x436e9c
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 [0x48c524]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436dff
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x436eec
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 0x436f33
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x436f16
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x436f27
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x436f33
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x43bd50
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 [0x492c4c], 0
je 0x43be99
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x48daec]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x43be99
mov eax, dword [0x492c50]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x492c4c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43be68
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x492c4c]
call fcn.00415cdc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43be60
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x43be60
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43be60
mov eax, dword [ebp - 0x14]
call fcn.00446650
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43be60
push ebp
call fcn.0043bd0c
pop ecx
test al, al
jne 0x43be60
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403de0
test al, al
je 0x43be60
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.00403de0
cmp byte [ebp - 1], 0
je 0x43be60
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43be60
mov edx, dword [ebp - 0x14]
mov eax, dword [0x492c50]
call fcn.0043b47c
inc edi
dec ebx
jne 0x43bdb5
mov eax, dword [0x492c50]
cmp dword [eax + 8], 0
jle 0x43be80
mov eax, dword [0x492c50]
call fcn.0043b534
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43be99
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043bb70
pop ecx
test al, al
jne 0x43be99
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 0x443524
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.00406c88
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.0043e0d8
test ebx, ebx
jne 0x443577
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00443460
mov ebx, eax
test ebx, ebx
je 0x443662
cmp esi, ebx
je 0x4435a0
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 0x4435b5
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 0x4435ed
add eax, 0xffffff5f
sub eax, 2
jb 0x443605
dec eax
sub eax, 2
jb 0x443619
dec eax
sub eax, 2
jb 0x44360f
jmp 0x443623
add eax, 0xfffffdff
sub eax, 2
jb 0x443605
dec eax
sub eax, 2
jb 0x443619
dec eax
sub eax, 2
jb 0x44360f
jmp 0x443623
mov byte [esp + 0x120], 0
jmp 0x44362b
mov byte [esp + 0x120], 2
jmp 0x44362b
mov byte [esp + 0x120], 1
jmp 0x44362b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00452130
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0043f890
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x443664
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret