joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140067ea0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140067ee2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140067f29
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140067f82
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140067f40
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140067fc3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14007931a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14007931b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140067f90
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140068e94
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140068ede
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140068ede
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140068ede
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140068ede
cmp dword [rcx + 0x84], 0xe
jbe 0x140068ede
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140068ee0
xor al, al
add rsp, 0x28
ret
Function at 0x140003db0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x70
cmp qword [rcx + 0xe38], 0
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
movaps xmm6, xmm1
movaps xmmword [rsp + 0x50], xmm7
movaps xmm7, xmm2
jne 0x140003df1
mov r8d, 0x60f
lea rdx, str.C:UsersAszDownloadsimgui_squadbounce_DirectX11imgui_squadbounce_DirectX11imgui.cpp
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0x38d1], 0
mov rbp, qword [rbx + 0xe38]
je 0x140003fc0
movss xmm1, dword [0x1403c656c]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x90], r14
jbe 0x140003e45
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x140003e3e
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x140003e3c
je 0x140003e3e
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x140003e6a
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140003e63
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140003e61
je 0x140003e63
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
lea r14, [rbp + 0x3fb0]
mov qword [rsp + 0x88], rdi
mov ebx, dword [r14]
sub ebx, 1
movsxd rsi, ebx
js 0x140003ec1
imul rdi, rsi, 0x1c
cmp ebx, dword [r14]
jl 0x140003ea7
mov r8d, 0x786
lea rdx, str.C:UsersAszDownloadsimgui_squadbounce_DirectX11imgui_squadbounce_DirectX11imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 8]
cmp dword [rdi + rax], 1
je 0x140003f57
dec ebx
sub rdi, 0x1c
sub rsi, 1
jns 0x140003e88
movsd xmm0, qword [rbp + 0xe48]
lea rax, [rsp + 0x28]
movsd qword [rsp + 0x28], xmm0
movss xmm0, dword [rax]
ucomiss xmm0, xmm6
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
movss xmm1, dword [rax + 4]
jp 0x140003eff
jne 0x140003eff
ucomiss xmm1, xmm7
jp 0x140003eff
je 0x140003fb8
mov eax, dword [rbp + 0x3fd4]
mov dword [rsp + 0x38], eax
inc eax
mov dword [rbp + 0x3fd4], eax
mov ecx, dword [r14]
mov r8d, dword [r14 + 4]
mov eax, dword [rbp + 0x3fd0]
movss dword [rsp + 0x3c], xmm6
movss dword [rsp + 0x40], xmm7
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x44], eax
cmp ecx, r8d
jne 0x140003f8d
inc ecx
test r8d, r8d
je 0x140003f79
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140003f7e
movss xmm0, dword [rdi + rax + 0xc]
movss xmm1, dword [rdi + rax + 0x10]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x140003ed4
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r14
call fcn.140023c70
movsxd rax, dword [r14]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
imul rcx, rax, 0x1c
mov rax, qword [r14 + 8]
movups xmmword [rcx + rax], xmm0
movsd qword [rcx + rax + 0x10], xmm1
mov dword [rcx + rax + 0x18], 0
inc dword [r14]
mov r14, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop rbp
ret
Function at 0x140004780
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400047dd
lea rbx, [0x1403b7270]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400047c4
cmp r10, 2
jb 0x1400047c4
cmp byte [r9], r8b
jne 0x1400047c4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400047a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000481f
lea rbx, [0x1403b7270]
cmp r8b, 0x23
jne 0x140004803
cmp byte [r9], r8b
jne 0x140004803
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400047f0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140004920
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140004955
mov r8d, 0x82d
lea rdx, str.C:UsersAszDownloadsimgui_squadbounce_DirectX11imgui_squadbounce_DirectX11imgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor r14d, r14d
test rsi, rsi
je 0x140004960
mov qword [rsi], r14
lea rdx, [0x1403b6a38]
mov rcx, rbx
call fcn.140004830
mov rbx, rax
test rax, rax
jne 0x140004988
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140004ab2
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004ab2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004ab2
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004ab2
cmp rdi, 0xffffffffffffffff
je 0x140004ab2
mov rcx, rdi
call fcn.140009920
mov rbp, rax
test rax, rax
je 0x140004ab2
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140004a9f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x14054c110]
test r8, r8
je 0x140004a94
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140004a89
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 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004abb
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140004aad
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140004abd
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140008e70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x100], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x140008eac
mov r8d, 0x78f
lea rdx, str.C:UsersAszDownloadsimgui_squadbounce_DirectX11imgui_squadbounce_DirectX11imgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x108]
lea rdx, [0x1403b7270]
movsxd r8, dword [rsi + 0x100]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x4084], ebx
jne 0x140008f27
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.1400223e0
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140008f40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x100], 0
mov rdi, rdx
mov rbx, rcx
jg 0x140008f73
mov r8d, 0x78f
lea rdx, str.C:UsersAszDownloadsimgui_squadbounce_DirectX11imgui_squadbounce_DirectX11imgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm2, dword [rbx + 0x120]
lea r9, [0x1403b7270]
movss xmm0, dword [rdi]
movsxd rcx, dword [rbx + 0x100]
subss xmm0, xmm2
mov rax, qword [rbx + 0x108]
movss xmm3, dword [rbx + 0x124]
movss xmm1, dword [rdi + 4]
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x20]
movss xmm0, dword [rdi + 8]
movzx ecx, r8b
subss xmm0, xmm2
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x21]
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [rdi + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x22]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x23]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x24]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x25]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x26]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x27]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x28]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x29]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2a]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2b]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2c]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
mov rbx, qword [rsp + 0x40]
xor rcx, rax
movzx eax, byte [rsp + 0x2d]
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2e]
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 + 0x2f]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x30
pop rdi
ret
Function at 0x14000db10
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x14000db60
lea r11, [0x1403b7270]
cmp r9b, 0x23
jne 0x14000db43
cmp byte [r8], r9b
jne 0x14000db43
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 0x14000db30
not ecx
jmp fcn.14000da90
Function at 0x140020cd0
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 + 0x6000], 0
lea rbx, [rcx + 0x6008]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140020d77
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140020d2a
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.140023840
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140005180
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6000]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6010]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14054c108]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140020d7f
mov rcx, rbx
call fcn.140005180
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140020fe0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x14054c110]
xor ebp, ebp
cmp byte [rbx + 0x5f58], bpl
jne 0x1400210dc
cmp dword [rbx + 0x5f80], ebp
je 0x140021027
mov r8d, 0x33eb
lea rdx, str.C:UsersAszDownloadsimgui_squadbounce_DirectX11imgui_squadbounce_DirectX11imgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400210d5
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140004920
mov rdi, rax
test rax, rax
je 0x1400210d5
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140021061
mov rcx, rax
call fcn.140021230
mov r8, qword [0x14054c110]
test r8, r8
je 0x1400210cc
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400210c1
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 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f58], 1
movss xmm0, dword [rbx + 0x5f5c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140021179
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f5c], xmm0
jb 0x140021179
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x140021167
mov rax, qword [0x14054c110]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f5c], ebp
call fcn.1400214b0
lea rdx, [0x1403b6a3c]
mov rcx, rdi
mov rsi, rax
call fcn.140004830
mov rdi, rax
test rax, rax
je 0x14002116e
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 0x14002116e
mov byte [rbx + 0xce], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x5f5c], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140021190
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14054c110]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400211f3
mov qword [rsp], rbx
lea rbx, [0x1403b7270]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400211d3
cmp byte [r8], r9b
jne 0x1400211d3
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 0x1400211c0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f70]
not eax
mov r8, qword [r10 + 0x5f78]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14002121f
cmp dword [r8 + 8], eax
je 0x140021226
add r8, 0x48
cmp r8, rcx
jne 0x140021210
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x1400608e0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x70
cmp qword [0x14054cac8], 0
mov rdi, rcx
je 0x140060a8a
cmp byte [rcx + 0x15], 0
je 0x140060a8a
lea rcx, [0x14041dd18]
call fcn.140060000
test rax, rax
je 0x140060a8a
mov qword [rsp + 0x80], rbx
xor ecx, ecx
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], r14
movaps xmmword [rsp + 0x40], xmm8
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ebx, 1
sub eax, edx
mov ecx, ebx
sar eax, 1
mov ebp, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [rdi + 0x20]
cdq
sub eax, edx
sar eax, 1
mov r14d, eax
test ecx, ecx
jne 0x140060965
xor esi, esi
jmp 0x140060971
mov esi, dword [rsp + 0x88]
cmp ecx, ebx
cmove esi, ebx
mov rcx, rdi
call fcn.140060000
mov rbx, rax
call fcn.14009f500
mov r9d, esi
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.14009f590
call fcn.14009f500
movsd xmm8, qword [rsp + 0x20]
lea r8, [rsp + 0x30]
mov ebx, dword [rsp + 0x28]
lea rdx, [rsp + 0x88]
movsd qword [rsp + 0x30], xmm8
mov dword [rsp + 0x38], ebx
call fcn.14009f6c0
mov ecx, 0x46
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rsi, qword [rsp + 0x68]
test ax, ax
jns 0x140060a6f
movss xmm0, dword [rsp + 0x8c]
xorps xmm1, xmm1
cvtsi2sd xmm1, r14d
cvtps2pd xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm7
subsd xmm0, xmm1
movsd xmm1, qword [0x1403c6388]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x1403c6388]
movaps xmm7, xmm0
movss xmm0, dword [rsp + 0x88]
xorps xmm2, xmm2
cvtps2pd xmm0, xmm0
cvtsi2sd xmm2, ebp
subsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm7, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x50]
ucomiss xmm1, xmm0
ja 0x140060a46
sqrtss xmm0, xmm0
jmp 0x140060a4b
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movd xmm1, dword [rdi]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140060a6f
lea rdx, [rsp + 0x30]
movsd qword [rsp + 0x30], xmm8
mov rcx, rdi
mov dword [rsp + 0x38], ebx
call fcn.140060600
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x40]
add rsp, 0x70
pop rdi
ret
Function at 0x14006eef0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov r14, rcx
mov dword [rbp - 0x69], 0
mov qword [rcx], 0
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], 0
mov dword [rbp - 0x69], 1
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r13, qword [rbp - 1]
cmp r13, qword [rbp + 7]
jae 0x14006f0c6
nop
mov r9d, gethostbyname
lea r8, [rbp - 0x39]
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x14006f0b6
cmp dword [rbp - 0x19], 0x1000
jne 0x14006f0b0
mov eax, dword [rbp - 0x11]
add eax, 0xfffe0000
test eax, 0xfffdffff
jne 0x14006f0b0
mov rdi, qword [rbp - 0x21]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
xor r12d, r12d
mov qword [rbp - 0x49], r12
test rdi, rdi
je 0x14006efe7
mov rdx, rdi
lea rcx, [rbp - 0x59]
call fcn.14005ff70
mov r8, rdi
xor edx, edx
mov r15, qword [rbp - 0x59]
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
lea rax, [r15 + rdi]
mov qword [rbp - 0x51], rax
mov rdi, qword [rbp - 0x21]
mov r12, qword [rbp - 0x49]
jmp 0x14006efeb
mov r15, qword [rbp - 0x59]
lea rax, [rbp - 0x61]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, r15
mov rdx, qword [rbp - 0x39]
mov rdi, qword [rbp + 0x7f]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14006f07c
xor edi, edi
cmp qword [rbp - 0x61], rbx
je 0x14006f078
test rbx, rbx
je 0x14006f03e
mov rax, rsi
mov rdx, r15
sub rdx, rsi
add rdx, rdi
movzx ecx, byte [rdx + rax]
cmp byte [rax], cl
jne 0x14006f069
inc rax
mov rcx, rax
sub rcx, rsi
cmp rcx, rbx
jb 0x14006f028
mov rcx, qword [rbp - 0x39]
add rcx, rdi
mov qword [rbp - 0x41], rcx
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x14006f05d
mov qword [rdx], rcx
add qword [r14 + 8], 8
jmp 0x14006f069
lea r8, [rbp - 0x41]
mov rcx, r14
call fcn.140092a00
inc rdi
mov rax, qword [rbp - 0x61]
sub rax, rbx
cmp rdi, rax
jb 0x14006f017
mov rdi, qword [rbp + 0x7f]
test r15, r15
je 0x14006f0b0
sub r12, r15
mov rax, r15
cmp r12, 0x1000
jb 0x14006f0a5
add r12, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f0e4
mov rdx, r12
mov rcx, r15
call fcn.140108b5c
add r13, qword [rbp - 0x21]
jmp 0x14006f0bc
mov eax, dword [rbp - 5]
add r13, rax
cmp r13, qword [rbp + 7]
jb 0x14006ef60
mov rax, r14
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14006f0f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x280
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14006f1a0
nop word [rax + rax]
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140089890
mov rcx, rax
call fcn.1400897a0
mov rdx, qword [rsp + 0x38]
mov rdi, rax
cmp rdx, 7
jbe 0x14006f188
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f183
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f1bc
call fcn.140108b5c
mov rcx, rbx
cmp rdi, 0xffffffffffffffff
jne 0x14006f1c3
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14006f130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x290]
add rsp, 0x280
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x48]
mov rbx, qword [rsp + 0x290]
add rsp, 0x280
pop rdi
ret