joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101f3f40
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x102fc340]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x101f40bc
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x101f40a9
cmp dword [ebp - 0x28], 0x10
jb 0x101f408d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.101f7353
cmp dword [ebp - 0x1c], eax
jne 0x101f408d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.101f7353
cmp dword [ebp - 0x20], eax
je 0x101f408d
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x101f4014
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x10302650]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.101f7353
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x101f4012
jmp 0x101f40a9
jmp 0x101f406d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x101f406d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x10302650]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.101f7353
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x101f4057
jmp 0x101f40a9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x101f3f93
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.101f7353
push edx
mov ecx, ebp
push eax
lea edx, [0x101f40e8]
call fcn.101f72ff
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f5f34
add esp, 0x30
cmp ebp, esp
call fcn.101f7353
mov esp, ebp
pop ebp
ret
Function at 0x101f4100
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.101f3f40
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x101f41cb
mov dword [ebp - 4], 0
jmp 0x101f415c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x101f41cb
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.101f7353
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x101f41c9
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.101f7353
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.101f3d60
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.101f7353
jmp 0x101f4153
pop esi
add esp, 8
cmp ebp, esp
call fcn.101f7353
mov esp, ebp
pop ebp
ret

Function at 0x101f41e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x101f428b
mov dword [ebp - 4], 0
jmp 0x101f4213
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x101f426e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.101f7353
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x101f426c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.101f7353
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.101f7353
jmp 0x101f420a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x10302650]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.101f7353
pop esi
add esp, 8
cmp ebp, esp
call fcn.101f7353
mov esp, ebp
pop ebp
ret
Function at 0x101f42a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x10303250]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x101f4303
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.101f7353
test eax, eax
jne 0x101f432e
mov eax, 0xa
jmp 0x101f4430
cmp dword [ebp + 0xc], 0
je 0x101f437a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x101f4378
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x101f43b6
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x101f43a1
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x101f43b6
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.101f7353
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.101f7353
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.101f7353
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x101f4454]
call fcn.101f72ff
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.101f7353
mov esp, ebp
pop ebp
ret
Function at 0x101f4b20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x1030324c]
mov dword [ebp - 4], eax
jmp 0x101f4b47
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x101f4b60
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x101f4b5e
mov eax, dword [ebp - 4]
jmp 0x101f4be4
jmp 0x101f4b3f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.101f7353
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x101f4be1
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x101f4ba3
mov edx, dword [ebp - 4]
mov eax, dword [0x1030324c]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1030324c], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.101f7353
mov esp, ebp
pop ebp
ret

Function at 0x101f50d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x101f5120
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x101f5120
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x101f5120
xor eax, eax
jmp 0x101f5161
mov dword [ebp - 4], 1
jmp 0x101f5132
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x101f515c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x101f515a
xor eax, eax
jmp 0x101f5161
jmp 0x101f5129
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x43c09c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0043bd42
cld
invalid
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.0043bcf7
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
invalid
inc ebp
movsd dword es:[edi], dword [esi]

Function at 0x43c3f4
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x43c409
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x43c427
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x43c485
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x43c46c
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x43c475
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x43c47f
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x43c461
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x43c3eb
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x43c4d2
dec eax
je 0x43c4c9
sub eax, 3
je 0x43c4c0
mov dword [ebp - 4], 0x40
jmp 0x43c4ef
mov dword [ebp - 4], 4
jmp 0x43c4d5
mov dword [ebp - 4], 0x20
jmp 0x43c4d5
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x43c521
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x43c4a1
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0043bd32
xor byte [esi + 0x6c], cl
pop ebp
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x43c52d
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x444fa4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45f344]
cmp byte [eax + 0xc], 0
je 0x445111
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44510a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x460b90], 0
jne 0x444ff8
push 0x445118
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x445120
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b90], eax
cmp dword [0x45ece8], 0
jne 0x4450f3
push 0x445130
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45ece8], eax
cmp dword [0x45ece8], 0
je 0x4450f3
push 0x44513c
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b94], eax
push 0x44514c
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b98], eax
push 0x445160
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b9c], eax
push 0x445178
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460ba0], eax
push 0x445190
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460ba4], eax
push 0x4451a4
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460ba8], eax
push 0x4451bc
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460bac], eax
push 0x4451d4
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460bb0], eax
push 0x4451f0
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460bb4], eax
push 0x4451fc
mov eax, dword [0x45ece8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460bb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445111
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x449454
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.00403f98
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4494a3
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.00404208
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450be0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450c30]
test si, 4
je 0x450bf4
or bl, 1
test si, 8
je 0x450bfe
or bl, 4
test si, 1
je 0x450c08
or bl, 8
test si, 2
je 0x450c12
or bl, 0x10
test si, 0x10
je 0x450c1c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450c2b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x450c34
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450c6c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450c4d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450c5c
or bl, 4
test esi, 0x20000000
je 0x450c67
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x457314
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x457326
add esp, 0xfffffff0
call fcn.0040356c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419968
mov eax, dword [0x45eff8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4576b8
mov eax, dword [0x45f004]
mov dword [eax + 4], ebx
mov dword [eax], 0x4576c4
mov eax, ebx
call fcn.004576d0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411bb4]
call fcn.00403218
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411bb4]
call fcn.00403218
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411bb4]
call fcn.00403218
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411bb4]
call fcn.00403218
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411bb4]
call fcn.00403218
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, 0x453aec
push eax
push 0
push 0
mov eax, dword [0x45f154]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b3c4]
call fcn.0041cb38
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b3c4]
call fcn.0041cb38
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b3c4]
call fcn.0041cb38
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00457af0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4579cc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4579cc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4579cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457463
call fcn.004035c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x10009013
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10009022
pop dword [ebp - 0x14]
mov eax, 0x9889d6f1
sub eax, 0x888946cf
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xd0bbb249
add dword [ebp - 0x24], 0x7d969302
mov dword [ebp - 0x20], 0x70a1d2de
sub dword [ebp - 0x20], 0x3e6e8699
mov dword [ebp - 0x1c], 0xbd44edd0
sub dword [ebp - 0x1c], 0x70f8a9a2
mov dword [ebp - 0x18], 0x9a9e46f7
add dword [ebp - 0x18], 0x6561b909
lea eax, [ebp - 0x24]
push eax
mov eax, 0xf63cf150
add eax, 0x19c3ced4
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xee46bef2
add dword [ebp - 0x24], 0x862baa64
mov dword [ebp - 0x20], 0x398eb1ed
add dword [ebp - 0x20], 0x7ddaf88
mov dword [ebp - 0x1c], 0xa463b492
add dword [ebp - 0x1c], 0xbf0bb7da
mov dword [ebp - 0x18], 0x6c07114f
sub dword [ebp - 0x18], 0x6c07114f
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xe630e46e
sub eax, 0xd6302442
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x35e4c
push 0
call eax
mov ecx, 0x40bdda74
add ecx, 0xbf426536
mov edi, eax
mov edx, 0x10047400
add edx, dword [ebp - 0x14]
mov esi, 0xf3b141d0
add esi, 0x3eaa184e
sub dword [ebp - 0x10], 0x2b6ffd2c
mov ebx, dword [edx]
sub dword [ebp - 0xc], ebx
xor ebx, esi
add dword [ebp - 0x10], 0x953ad11e
mov dword [edi], ebx
xor dword [ebp - 0x10], 0x865c5019
add edi, 4
add edx, 4
loop 0x1000913e
add eax, 0x965054a0
add eax, 0x69b09cdb
mov ebx, eax
add eax, 0x90771ff
sub eax, 0x90771fa
mov ecx, 0x3a0f38cd
add ecx, 0xd5f0c733
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x1000b020
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015394b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x1020b140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea esi, [edi + 0xc]
mov dword [edi], vtable.EventInterface.0
lea ecx, [esi + 8]
mov dword [ebp - 0x18], esi
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push 0
mov dword [ebp - 4], 0
push 0x10193b7e
mov byte [esi], 0xff
mov dword [esi + 4], 0xffffffff
call fcn.1000d8c0
mov word [esi + 0x20], 0
mov byte [esi + 0x22], 0
mov ecx, dword [ebx + 8]
lea edx, [esi + 8]
mov dword [ebp - 4], 1
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov al, byte [ecx]
mov byte [esi], al
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
lea eax, [ecx + 8]
cmp edx, eax
je 0x1000b0f1
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x1000b0e4
mov eax, dword [eax]
push edx
push eax
lea ecx, [esi + 8]
call fcn.1000d8c0
mov ecx, dword [ebx + 8]
movzx eax, byte [ecx + 0x20]
mov byte [esi + 0x20], al
movzx eax, byte [ecx + 0x21]
mov byte [esi + 0x21], al
movzx eax, byte [ecx + 0x22]
mov byte [esi + 0x22], al
mov eax, dword [ebx + 0xc]
mov dword [edi + 8], eax
call fcn.1010eec5
mov dword [edi + 0x30], eax
mov eax, edi
mov dword [edi + 0x34], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8

Function at 0x1000dbf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153b60
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1020b140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.101261c8
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1010e787
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.1000de00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10020080
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x100200ab
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10020094
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret