joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x48e350
je 0x458eec
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x458ed4
mov esi, dword [ebx + 4]
jmp 0x458ece
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x458ebe
cmp dword [ebp - 0xc], 4
jne 0x458ebe
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x458eb6
or dword [eax + 0x9c], ecx
jmp 0x458ebe
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x458e82
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x458e65
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x4595b4
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x46238f
call fcn.004367f8
sub esp, 0x11c
mov eax, dword [0x48ed30]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x4596ad
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x459681
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040a2be
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.004595b4
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00407160
test bl, bl
jne 0x459681
or dword [ebp - 4], 0xffffffff
jmp 0x4595f2
cmp esi, 0x103
je 0x459691
cmp esi, 0x3f2
jne 0x4596a1
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.004366f8
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45bb42
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x45bb77
cmp edi, dword [esi + 0xc]
jge 0x45bb77
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45bb77
cmp edi, dword [eax + 8]
jge 0x45bb77
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x45bb79
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x45bc7d
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x45bcb1
jmp fcn.0044ec3a
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x45bd22
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x45be1b
cmp eax, dword [edi + 0xc]
jge 0x45be1b
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x45bd73
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x45be04
cmp dword [ebp + 0xc], ebx
je 0x45be04
jmp 0x45bd9d
push 0x10
call fcn.0045ba0e
cmp eax, ebx
je 0x45bd89
mov ecx, eax
call fcn.0045bc74
mov esi, eax
jmp 0x45bd8b
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x45bdb4
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x45bdc4
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x45bdd6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0044ec3a
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.00436f70
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x45be16
cmp ecx, dword [esi + 8]
jge 0x45be16
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x45be1c
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45bedb
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 0x45bf09
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45bf27
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045be45
jmp 0x45bf27
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45bf27
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0045be45
test edi, edi
mov eax, edi
jne 0x45bf11
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4941b8]
test ecx, ecx
je 0x45bfda
jmp 0x45beda
ret 8
Function at 0x10009920
Capabilities:
Allocate or change rwx memory
Create process on windows
Encode data using base64
Encrypt data using chaskey
Encrypt data using speck
Execute anti-debugging instructions
Execute shellcode via indirect call
Hide graphical window
Parse pe header
Resume thread

Disassembly:
jmp 0x10014418
push ebp
mov eax, ebp
mov ebp, esp
setbe ah
bts ax, sp
adc ax, bp
push ebx
or ax, sp
push edi
cwde
push esi
bsr ax, di
bswap ax
sub esp, 0x19c
inc ah
mov eax, dword [0x10074800]
jmp 0x10014bbe
xor eax, ebp
jmp loc.10078608

Function at 0x1001b3f3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001b432
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001b432
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001b432
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001b432
cmp dword [ecx + 0x74], 0xe
jbe 0x1001b432
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001e0af
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001e14c
push ebx
push esi
call fcn.1001e078
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001e00c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001e0f9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001e14b
push edi
push eax
call fcn.1001f06a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001e119
call fcn.1001cb54
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001e14a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001e00c
add esp, 0x20
test eax, eax
jne 0x1001e138
push edi
call fcn.1001cb54
jmp 0x1001e140
push ebx
call fcn.1001cb54
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001e3b9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cc8
push 0x10025cc0
push str.FlsAlloc
push 0x1f
call fcn.1001e2d5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e3ed
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
jmp 0x1001e3f3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001e437
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cd8
push 0x10025cd0
push str.FlsGetValue
push 0x21
call fcn.1001e2d5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e46e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001e476
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025ce0
push 0x10025cd8
push str.FlsSetValue
push 0x22
call fcn.1001e2d5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e4b0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10023b30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10023b5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10023b5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405a44
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405aaa
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040412c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ba0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a94
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ab1
lea eax, [ebp - 0x10]
call fcn.00403ebc
ret

Function at 0x40aa40
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 0x40aa79
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fac
jmp 0x40aa82
mov eax, ebx
mov edx, esi
call fcn.00403f10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40aa8c
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 0x40aaae
movzx eax, byte [esp]
jmp 0x40aab0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b140
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40afb8
mov eax, dword [0x453298]
cmp byte [eax], 0
je 0x40b1bc
mov eax, dword [0x4530d0]
call fcn.00402990
call fcn.00402834
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.004082c4
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 0x40b204
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b1f2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x453080]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x454664]
call fcn.00404f2c
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 0x40ba50
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 0x40bb26
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00403f54
lea eax, [ebp - 4]
call fcn.004043cc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040437c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bb10
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bb09
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.0040437c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40baf3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bb38
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40baf3
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 0x40bb10
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb2d
lea eax, [ebp - 4]
call fcn.00403ebc
ret

Function at 0x41a4d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x454888
cmp dword [edi], 0
jne 0x41a54c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x454884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4523e8
mov ecx, 2
call fcn.004028c8
mov edx, 0x41a4a8
lea eax, [esi + 5]
call fcn.0041a4c8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a4c8
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 0x41a521
mov dword [0x454884], 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 0x41acf0
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.0040437c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41ad48
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4533ac]
mov dl, 1
mov eax, dword [0x41a814]
call fcn.0040b300
call fcn.00403904
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041a91c
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 0x42b74c
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 [0x454ae4], 0
je 0x42b895
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45323c]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x42b895
mov eax, dword [0x454ae8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x454ae4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42b864
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x454ae4]
call fcn.0041366c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42b85c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ae], 0
je 0x42b85c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42b85c
mov eax, dword [ebp - 0x14]
call fcn.00434b88
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42b85c
push ebp
call fcn.0042b708
pop ecx
test al, al
jne 0x42b85c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.0040334c
test al, al
je 0x42b85c
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, 0xffbd
call fcn.0040334c
cmp byte [ebp - 1], 0
je 0x42b85c
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42b85c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x454ae8]
call fcn.0042ae64
inc edi
dec ebx
jne 0x42b7b1
mov eax, dword [0x454ae8]
cmp dword [eax + 8], 0
jle 0x42b87c
mov eax, dword [0x454ae8]
call fcn.0042af1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42b895
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042b56c
pop ecx
test al, al
jne 0x42b895
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 0x42f004
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x42f052
xor edx, edx
mov eax, esi
call fcn.004457a0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42f052
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x268], 0
je 0x42f052
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x268]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x42f193
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42f094
cmp eax, 0x109
ja 0x42f094
mov dl, 1
mov eax, esi
call fcn.004457a0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42f18a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xfc]
test al, al
jne 0x42f193
jmp 0x42f18a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42f173
cmp eax, 0x20a
ja 0x42f173
test byte [esi + 0x50], 0x80
jne 0x42f0c6
sub eax, 0x203
je 0x42f0c3
sub eax, 3
je 0x42f0c3
sub eax, 3
jne 0x42f0c6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42f0da
dec eax
je 0x42f0ef
dec eax
je 0x42f10c
dec eax
je 0x42f0ef
jmp 0x42f113
mov ecx, ebx
mov eax, dword [0x45323c]
mov eax, dword [eax]
mov edx, esi
call fcn.0044ff84
jmp 0x42f18a
cmp byte [esi + 0x5d], 1
jne 0x42f105
mov eax, esi
mov si, 0xffed
call fcn.0040334c
jmp 0x42f193
or word [esi + 0x54], 1
jmp 0x42f18a
and word [esi + 0x54], 0xfffe
jmp 0x42f18a
mov eax, dword [0x454aa0]
cmp byte [eax + 0x20], 0
je 0x42f18a
mov eax, dword [0x454aa0]
cmp dword [eax + 0x1c], 0
je 0x42f18a
mov eax, dword [ebx]
mov edx, dword [0x454aa0]
cmp eax, dword [edx + 0x1c]
jne 0x42f18a
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004456e4
mov byte [ebp - 0xc], al
movzx eax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0040334c
jmp 0x42f193
cmp eax, 0xb00b
jne 0x42f18a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042d898
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439950
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4533a0]
cmp byte [eax + 0xc], 0
je 0x439abd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x439ab6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x454af4], 0
jne 0x4399a4
push 0x439ac4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x439acc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454af4], eax
cmp dword [0x452d94], 0
jne 0x439a9f
push 0x439adc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x452d94], eax
cmp dword [0x452d94], 0
je 0x439a9f
push 0x439ae8
mov eax, dword [0x452d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454af8], eax
push 0x439af8
mov eax, dword [0x452d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454afc], eax
push 0x439b0c
mov eax, dword [0x452d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b00], eax
push 0x439b24
mov eax, dword [0x452d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b04], eax
push 0x439b3c
mov eax, dword [0x452d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b08], eax
push 0x439b50
mov eax, dword [0x452d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b0c], eax
push 0x439b68
mov eax, dword [0x452d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b10], eax
push 0x439b80
mov eax, dword [0x452d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b14], eax
push 0x439b9c
mov eax, dword [0x452d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b18], eax
push 0x439ba8
mov eax, dword [0x452d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439abd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43d980
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.00403ebc
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43d9ce
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.0040412c
pop ebx
mov esp, ebp
pop ebp
ret