joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2f49724a0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x2f498ce20]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x2f49724c0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x2f49724c8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x2f49724c0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x2f4972510
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x2f4972507
test rcx, rcx
je 0x2f49724c0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x2f49724f8
xor eax, eax
ret

Function at 0x2f4972520
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2f498ce20]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x2f497253f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x2f4972548
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x2f4972560
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2f498ce20]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2f4972580
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2f4972588
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2f4972580
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x2f4972580
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x2f49725d4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x2f49725e0
add rdx, 0x28
cmp rdx, r9
jne 0x2f49725c0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x2f49725f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x2f498ce20]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x2f4972612
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x2f4972620
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2f4972612
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x2f4972612
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x2f4972612
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x2f4972675
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x2f4972688
add rdx, 0x28
cmp r10, rdx
jne 0x2f4972660
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x2f4972697
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x2f49726a7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x2f497267e
test ecx, ecx
jg 0x2f4972690
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x180003540
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 0x18000359d
lea rbx, [0x1800df3e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180003584
cmp r10, 2
jb 0x180003584
cmp byte [r9], r8b
jne 0x180003584
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 0x180003560
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800035df
lea rbx, [0x1800df3e0]
cmp r8b, 0x23
jne 0x1800035c3
cmp byte [r9], r8b
jne 0x1800035c3
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 0x1800035b0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x18000f790
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x1800df3e0]
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 + 0x40cc], ebx
jne 0x18000f826
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.180019ec0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x18000f830
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x110]
lea r9, [0x1800df3e0]
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 0x180013400
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800fd750]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1802b33f0]
mov edi, ecx
cmp byte [rbx + 0x4dbd], 0
jne 0x180013461
cmp byte [rbx + 0x4dbe], 0
jne 0x180013461
movsx r9d, word [rbx + 0x5fe0]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.180003430
test dil, 2
je 0x18001358f
jmp 0x1800134ea
movss xmm1, dword [rbx + 0x39e0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5fe0]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800e6d80]
mulss xmm1, dword [0x1800e6d74]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x110]
addss xmm1, dword [rbx + 0x114]
mov qword [rbx + 0x4aa0], rax
mov dword [rbx + 0x4a8c], 1
movss dword [rbx + 0x4a98], xmm0
movss dword [rbx + 0x4a9c], xmm1
movss xmm0, dword [rbx + 0x3a3c]
mulss xmm0, dword [0x1800e6cd8]
or dword [rbx + 0x4a88], 0x41
movss dword [rbx + 0x4ae8], xmm0
call fcn.180003430
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180013540
lea r11, [0x1800df3e0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180013523
cmp byte [r8], r9b
jne 0x180013523
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 0x180013510
not ecx
call fcn.180009380
test rax, rax
je 0x18001358f
cmp byte [rax + 0xca], 0
je 0x18001358f
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, reloc.WS2_32.dll_recv
inc word [rbx + 0x5fe0]
movsx r9d, word [rbx + 0x5fe0]
call fcn.180003430
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.18000c420
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800c52c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180018440
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6140], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x1800184c3
xor edx, edx
add rcx, 0x6148
call fcn.18001ae90
mov r8, rsi
lea rcx, [rbx + 0x6148]
mov rdx, rbp
call fcn.180003c40
mov eax, dword [rbx + 0x6148]
xor edx, edx
mov r9, qword [rbx + 0x6140]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x6150]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x1802b33e8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1800184cf
add rcx, 0x6148
call fcn.180003c40
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180018810
Capabilities:
Read file on windows
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 [0x1802b33f0]
cmp byte [rbx + 0x6090], 0
jne 0x18001891d
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180018916
lea rdx, [0x1800deeb0]
call fcn.1800035f0
mov rdi, rax
test rax, rax
je 0x180018916
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x18001890d
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001890d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x18001890d
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001890d
cmp rsi, 0xffffffffffffffff
je 0x18001890d
mov rcx, rsi
call fcn.180006280
mov rbp, rax
test rax, rax
je 0x18001890d
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x1800188ed
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rbp
call fcn.180006330
jmp 0x180018916
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x180018903
mov rdx, rsi
mov rcx, rbp
call fcn.180018b80
mov rcx, rbp
call fcn.180006330
jmp 0x180018916
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rbx + 0x6090], 1
movss xmm0, dword [rbx + 0x6094]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1800189ac
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x6094], xmm0
jb 0x1800189ac
mov rdi, qword [rbx + 0x20]
xor ebp, ebp
test rdi, rdi
je 0x18001899f
mov rax, qword [0x1802b33f0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x6094], ebp
call fcn.180018dc0
lea rdx, [0x1800deeb4]
mov rcx, rdi
mov rsi, rax
call fcn.1800035f0
mov rdi, rax
test rax, rax
je 0x1800189a6
mov r8, qword [rsp + 0x30]
lea edx, [rbp + 1]
mov r9, rax
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 0x1800189a6
mov byte [rbx + 0xe6], 1
mov dword [rbx + 0x6094], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180018ae0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1802b33f0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180018b43
mov qword [rsp], rbx
lea rbx, [0x1800df3e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180018b23
cmp byte [r8], r9b
jne 0x180018b23
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 0x180018b10
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x60a8]
not eax
mov r8, qword [r10 + 0x60b0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x180018b6f
cmp dword [r8 + 8], eax
je 0x180018b76
add r8, 0x48
cmp r8, rcx
jne 0x180018b60
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x18002aa20
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1800fd750]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1802b33f0]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x18002ac4e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x18002ac4e
mov rdx, qword [0x1802b33e0]
mov ecx, 0x50
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, qword [0x1802b33f0]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x18002aafa
movsx rdx, word [r8 + 0x6220]
lea rax, [r8 + 0x6224]
mov r9d, dword [r8 + 0x3fc0]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x18002aaef
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 + 0x6220], cx
movsx rax, cx
lea rax, [rax*8 + 0x6224]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6218]
test rdi, rdi
je 0x18002ab17
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 0x18002ab1a
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], 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 0x18002ab5d
mov rsi, qword [r8 + 0x98]
jmp 0x18002ab60
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 0x18002ab8b
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1802b33f0]
mov rcx, qword [rax + 0x4b98]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
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 0x18002ac0e
inc rbx
cmp rbx, 5
jl 0x18002abf0
jmp 0x18002ac3a
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 0x18002ac50
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800c52c0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x18002ade0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1802b33f0]
mov edx, 0x210
call fcn.18000fb80
cmp byte [rax], 0
je 0x18002ae56
xor edx, edx
mov ecx, 0x210
call fcn.180012560
test al, al
je 0x18002ae56
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002ae56
mov rbx, qword [0x1802b33f0]
cmp byte [rbx + 0x2ba1], 0
je 0x18002ae42
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.180002eb0
mov dword [rbx + 0x2e38], 0x210
mov dword [rbx + 0x33f8], 0xa0
mov rcx, qword [0x1802b33f0]
mov edx, 0x214
call fcn.18000fb80
cmp byte [rax], 0
je 0x18002aec6
xor edx, edx
mov ecx, 0x214
call fcn.180012560
test al, al
je 0x18002aec6
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002aec6
mov rbx, qword [0x1802b33f0]
cmp byte [rbx + 0x2ba1], 0
je 0x18002aeb2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.180002eb0
mov dword [rbx + 0x2e3c], 0x214
mov dword [rbx + 0x3408], 0xa1
mov rcx, qword [0x1802b33f0]
mov edx, 0x212
call fcn.18000fb80
cmp byte [rax], 0
je 0x18002af34
xor edx, edx
mov ecx, 0x212
call fcn.180012560
test al, al
je 0x18002af34
lea ecx, [rdx + 0x5b]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002af34
mov rbx, qword [0x1802b33f0]
cmp byte [rbx + 0x2ba1], 0
je 0x18002af20
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.180002eb0
mov dword [rbx + 0x2d24], 0x212
mov dword [rbx + 0x3400], 0x5b
mov rcx, qword [0x1802b33f0]
mov edx, 0x216
call fcn.18000fb80
cmp byte [rax], 0
je 0x18002afa2
xor edx, edx
mov ecx, 0x216
call fcn.180012560
test al, al
je 0x18002afa2
lea ecx, [rdx + 0x5c]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002afa2
mov rbx, qword [0x1802b33f0]
cmp byte [rbx + 0x2ba1], 0
je 0x18002af8e
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.180002eb0
mov dword [rbx + 0x2d28], 0x216
mov dword [rbx + 0x3410], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x180035b80
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.180035a70
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x180038550
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1800fd750]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.18003c4d0
mov rdi, rax
xor edx, edx
lea r8d, [rdx + 0xa]
cmp qword [rax + 0x18], 0x10
jb 0x1800385a0
mov rcx, qword [rax]
jmp 0x1800385a3
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov esi, eax
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1800385e1
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1800385dc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180038641
mov rcx, r8
call fcn.1800c557c
xor ebp, ebp
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bpl
lea ecx, [rbp + 4]
call fcn.1800c59fc
mov dword [rax], esi
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x18004bad0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800386dd
cmp dword [rsp + 0x38], ebp
jne 0x180038648
lea ecx, [rbp + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x18003866b
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1800386a1
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18003869c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800386d6
mov rcx, r8
call fcn.1800c557c
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800c52c0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x18003b040
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x18003b070
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x18003b098
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18003b09a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18003b0f3
test ecx, ecx
jle 0x18003b0d3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18003b0f3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18003b0f3
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
fdivr qword [rcx + 0x4121f155]
jge 0x1801c5680
invalid
xchg dword [rdi + rbx + 0x42f50b58], ebp
invalid
invalid
Function at 0x18003b120
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18003b142
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x18003b151
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18003b174
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18003b176
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x18003b1b0
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18003b257
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x18003b1eb
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x18003b231
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x18003b270
cmp rbx, rax
ja 0x18003b200
mov r8, rdi
test rdi, rdi
je 0x18003b257
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x18003b25a