joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400171e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x140053e90]
mov rax, qword [rcx + 0x110]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x4094], ebx
jne 0x140017276
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140022c30
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140017280
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x110]
lea r9, [0x140053e90]
movss xmm2, dword [rcx + 0x128]
movss xmm3, dword [rcx + 0x12c]
movsxd rcx, dword [rcx + 0x108]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14001b5d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140061850]
mov edi, ecx
cmp byte [rbx + 0x4d75], 0
jne 0x14001b631
cmp byte [rbx + 0x4d76], 0
jne 0x14001b631
movsx r9d, word [rbx + 0x5ee8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140008c90
test dil, 2
je 0x14001b75f
jmp 0x14001b6ba
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5ee8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400592d0]
mulss xmm1, dword [0x1400592c4]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
mov qword [rbx + 0x4a68], rax
mov dword [rbx + 0x4a54], 1
movss dword [rbx + 0x4a60], xmm0
movss dword [rbx + 0x4a64], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x140059234]
or dword [rbx + 0x4a50], 0x41
movss dword [rbx + 0x4ab0], xmm0
call fcn.140008c90
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001b710
lea r11, [0x140053e90]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14001b6f3
cmp byte [r8], r9b
jne 0x14001b6f3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001b6e0
not ecx
call fcn.1400110e0
test rax, rax
je 0x14001b75f
cmp byte [rax + 0xca], 0
je 0x14001b75f
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x5ee8]
movsx r9d, word [rbx + 0x5ee8]
call fcn.140008c90
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140013df0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004f7b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400214a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6040], 0
lea rbx, [rcx + 0x6048]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140021547
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400214fa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140023d90
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140009900
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6040]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6050]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140061848]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002154f
mov rcx, rbx
call fcn.140009900
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140021880
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x140061850]
xor ebp, ebp
cmp byte [rbx + 0x5f98], bpl
jne 0x14002195f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140021958
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140009110
mov rsi, rax
test rax, rax
je 0x140021958
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400218e4
mov rcx, rax
call fcn.140021ab0
mov r8, qword [0x140061850]
test r8, r8
je 0x14002194f
movsx rdx, word [r8 + 0x6120]
lea rcx, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140021944
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6120], cx
movsx rax, cx
lea rcx, [r8 + 0x6124]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x611c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f98], 1
movss xmm0, dword [rbx + 0x5f9c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1400219ee
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f9c], xmm0
jb 0x1400219ee
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1400219e1
mov rax, qword [0x140061850]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f9c], ebp
call fcn.140021d10
lea rdx, [0x140053994]
mov rcx, rdi
mov rsi, rax
call fcn.140008f60
mov rdi, rax
test rax, rax
je 0x1400219e8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400219e8
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f9c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140021a10
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140061850]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140021a73
mov qword [rsp], rbx
lea rbx, [0x140053e90]
nop dword [rax]
cmp r9b, 0x23
jne 0x140021a53
cmp byte [r8], r9b
jne 0x140021a53
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140021a40
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5fb0]
not eax
mov r8, qword [r10 + 0x5fb8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140021a9f
cmp dword [r8 + 8], eax
je 0x140021aa6
add r8, 0x48
cmp r8, rcx
jne 0x140021a90
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140037a00
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140061850]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140037c1e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140037c1e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x140061850]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140037ad4
movsx rdx, word [r8 + 0x6120]
lea rax, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140037ac9
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6120], cx
movsx rax, cx
lea rax, [rax*8 + 0x6124]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6118]
test rdi, rdi
je 0x140037af1
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x140037af4
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x140058ae8]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x140037b37
mov rsi, qword [r8 + 0x90]
jmp 0x140037b3a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140037b65
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140061850]
mov rcx, qword [rax + 0x4b60]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140037bde
inc rbx
cmp rbx, 5
jl 0x140037bc0
jmp 0x140037c0a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140037c20
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14004f7b0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14004ef50
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x70
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [0x1400610c0], 0
mov rbx, qword [0x1400618b8]
je 0x14004f15d
mov qword [r11 + 8], rsi
xor esi, esi
mov qword [r11 + 0x10], rdi
nop word [rax + rax]
xor edx, edx
lea rcx, [0x140059160]
call qword [sym.imp.USER32.dll_FindWindowA]
mov rdi, rax
test rax, rax
je 0x14004f146
mov rcx, qword [rbx + 0x50]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], esi
call qword [sym.imp.USER32.dll_GetWindowDisplayAffinity]
cmp byte [0x140061123], sil
je 0x14004efd4
cmp dword [rsp + 0x40], esi
jne 0x14004efe7
mov edx, 0x11
jmp 0x14004efdd
cmp dword [rsp + 0x40], 0x11
jne 0x14004efe7
xor edx, edx
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongA]
cmp byte [0x1400610c1], sil
je 0x14004f00e
cmp eax, 0x80088
je 0x14004f02a
mov r8d, 0x80088
jmp 0x14004f01b
cmp eax, 0x800a8
je 0x14004f02a
mov r8d, 0x800a8
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [0x140061124]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14004f05d
cmp byte [0x1400618e8], sil
jne 0x14004f05d
cmp byte [0x1400610c1], sil
mov byte [0x1400618e8], 1
sete byte [0x1400610c1]
jmp 0x14004f080
mov ecx, dword [0x140061124]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x14004f080
cmp byte [0x1400618e8], sil
je 0x14004f080
mov byte [0x1400618e8], sil
xorps xmm0, xmm0
mov qword [rsp + 0x48], rsi
lea rdx, [rsp + 0x50]
mov rcx, rdi
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x1400610d0]
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x48]
mov r9d, dword [rsp + 0x4c]
cmp dword [rsp + 0x50], eax
jne 0x14004f0f6
mov eax, dword [0x1400610dc]
cmp dword [rsp + 0x5c], eax
jne 0x14004f0f6
mov eax, dword [0x1400610d4]
cmp dword [rsp + 0x54], eax
jne 0x14004f0f6
cmp ecx, dword [0x1400610d8]
jne 0x14004f0f6
cmp r8d, dword [0x1400610e0]
jne 0x14004f0f6
cmp r9d, dword [0x1400610e4]
je 0x14004f12c
movups xmm0, xmmword [rsp + 0x50]
mov rax, rcx
mov dword [rsp + 0x30], 8
shr rax, 0x20
xor edx, edx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
movaps xmmword [0x1400610d0], xmm0
mov qword [0x1400610e0], r8
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1400610c0], sil
jne 0x14004ef90
jmp 0x14004f14d
mov byte [0x1400610c0], sil
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004f7b0
add rsp, 0x70
pop rbx
ret
Function at 0x14001124e
Capabilities:
Terminate process

Disassembly:
jmp 0x140013990
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400112e9
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014ce0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014d00
xor al, al
jmp 0x140014d81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014d13
xor al, al
jmp 0x140014d81
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014d3d
xor al, al
jmp 0x140014d81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014d51
xor al, al
jmp 0x140014d81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014d63
xor al, al
jmp 0x140014d81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014d7f
xor al, al
jmp 0x140014d81
mov al, 1
add rsp, 0x38
ret
Function at 0x140012bc0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001141f
movzx eax, al
test eax, eax
jne 0x140012be0
mov ecx, 7
call fcn.140011393
nop
mov byte [rsp + 0x20], 0
call fcn.1400113a7
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x140012c04
mov ecx, 7
call fcn.140011393
nop
jmp 0x140012c5c
cmp dword [0x14001d868], 0
jne 0x140012c57
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111f4
test eax, eax
je 0x140012c38
mov eax, 0xff
jmp 0x140012d61
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001139d
mov dword [0x14001d868], 2
jmp 0x140012c5c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001137f
call fcn.140011311
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012cb9
mov rcx, qword [rsp + 0x30]
call fcn.14001119f
movzx eax, al
test eax, eax
je 0x140012cb9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.140011343
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012ced
mov rcx, qword [rsp + 0x38]
call fcn.14001119f
movzx eax, al
test eax, eax
je 0x140012ced
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113de
nop
call fcn.140012e10
mov dword [rsp + 0x28], eax
call fcn.1400112e9
movzx eax, al
test eax, eax
jne 0x140012d0c
mov ecx, dword [rsp + 0x28]
call fcn.140011069
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012d1b
call fcn.1400113e8
nop
xor edx, edx
mov cl, 1
call fcn.14001118b
mov eax, dword [rsp + 0x28]
jmp 0x140012d61
add rsp, 0x68
ret
Function at 0x140005750
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x30
mov dword [rsp + 0x2c], r8d
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x18], rcx
mov eax, dword [rsp + 0x2c]
xor eax, 0xffffffff
mov dword [rsp + 0x14], eax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 8], rax
lea rax, [0x140141890]
mov qword [rsp], rax
mov rax, qword [rsp + 0x20]
mov rcx, rax
add rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rcx
cmp rax, 0
je 0x1400057d9
mov eax, dword [rsp + 0x14]
shr eax, 8
mov rcx, qword [rsp]
mov edx, dword [rsp + 0x14]
and edx, 0xff
mov r8, qword [rsp + 8]
mov r9, r8
add r9, 1
mov qword [rsp + 8], r9
movzx r8d, byte [r8]
xor edx, r8d
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp + 0x14], eax
jmp 0x140005783
mov eax, dword [rsp + 0x14]
xor eax, 0xffffffff
add rsp, 0x30
ret

Function at 0x1400057f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], r8d
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
mov eax, dword [rsp + 0x34]
xor eax, 0xffffffff
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x1c], eax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x10], rax
lea rax, [0x140141890]
mov qword [rsp + 8], rax
cmp qword [rsp + 0x28], 0
je 0x1400058e6
jmp 0x14000583d
mov rax, qword [rsp + 0x28]
mov rcx, rax
add rcx, 0xffffffffffffffff
mov qword [rsp + 0x28], rcx
cmp rax, 0
je 0x1400058e1
mov rax, qword [rsp + 0x10]
mov rcx, rax
add rcx, 1
mov qword [rsp + 0x10], rcx
mov al, byte [rax]
mov byte [rsp + 7], al
movzx eax, byte [rsp + 7]
cmp eax, 0x23
jne 0x1400058b4
cmp qword [rsp + 0x28], 2
jb 0x1400058b4
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
cmp eax, 0x23
jne 0x1400058b4
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 0x23
jne 0x1400058b4
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x1c], eax
mov eax, dword [rsp + 0x1c]
shr eax, 8
mov rcx, qword [rsp + 8]
mov edx, dword [rsp + 0x1c]
and edx, 0xff
movzx r8d, byte [rsp + 7]
xor edx, r8d
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp + 0x1c], eax
jmp 0x14000583d
jmp 0x140005978
jmp 0x1400058eb
mov rax, qword [rsp + 0x10]
mov rcx, rax
add rcx, 1
mov qword [rsp + 0x10], rcx
mov al, byte [rax]
mov byte [rsp + 6], al
cmp byte [rsp + 6], 0
je 0x140005973
movzx eax, byte [rsp + 6]
cmp eax, 0x23
jne 0x140005946
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
cmp eax, 0x23
jne 0x140005946
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 0x23
jne 0x140005946
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x1c], eax
mov eax, dword [rsp + 0x1c]
shr eax, 8
mov rcx, qword [rsp + 8]
mov edx, dword [rsp + 0x1c]
and edx, 0xff
movzx r8d, byte [rsp + 6]
xor edx, r8d
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp + 0x1c], eax
jmp 0x1400058eb
jmp 0x140005978
mov eax, dword [rsp + 0x1c]
xor eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x140005c50
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.14011cf58
nop
add rsp, 0x48
ret
Function at 0x1400b9cc0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov dword [rsp + 0x24], ecx
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
cmp eax, 0
setne al
and al, 1
movzx eax, al
add rsp, 0x28
ret

Function at 0x1400b9cf0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub rsp, 0x38
call fcn.1400b75b0
mov qword [rsp + 0x30], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
or eax, 0
mov dword [rsp + 0x24], eax
mov r8, qword [rsp + 0x30]
add r8, 0x2c
mov ecx, dword [rsp + 0x24]
mov edx, 0x20001004
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp eax, 0
jne 0x1400b9d57
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x2c], 0
add rsp, 0x38
ret
Function at 0x140113f00
Capabilities:
Create thread
Inject thread

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x48]
xor eax, eax
mov edx, eax
mov r8d, 0x104
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140113f5b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_allocate_memory_in_remote_process__Error_Code:__lx
call fcn.140113bd0
mov byte [rsp + 0x57], 0
jmp 0x140114044
lea rcx, [0x140191350]
call fcn.14011c090
mov r9, rax
add r9, 1
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
lea r8, [0x140191350]
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 0
jne 0x140113fb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_write_to_remote_process__Error_Code:__lx
call fcn.140113bd0
mov byte [rsp + 0x57], 0
jmp 0x140114044
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov r8d, edx
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edx, edx
mov rdx, r8
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140114021
mov rax, 0xffffffffffffffff
cmp qword [rsp + 0x38], rax
je 0x140114021
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14011403f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_remote_thread__Error_Code:__lx
call fcn.140113bd0
mov byte [rsp + 0x57], 0
jmp 0x140114044
mov byte [rsp + 0x57], 1
mov al, byte [rsp + 0x57]
and al, 1
movzx eax, al
add rsp, 0x58
ret