joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002d80
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140002da8
add rsp, 0x20
pop r15
pop rdi
pop rbx
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 + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140002dce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140002dd0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002e29
test ecx, ecx
jle 0x140002e09
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002e29
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002e29
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140002e50
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 0x140002e72
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140002e88
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 0x140002ea4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002ea6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002ee2
mov qword [rsp + 0x20], rdi
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]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140002f7e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140002f1d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140002f5e
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]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140002f7e
cmp rbx, rax
ja 0x140002f30
test rbx, rbx
je 0x140002f7e
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]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1400033e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000340d
xor eax, eax
jmp 0x140003579
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140003447
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140003447
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140003579
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000356c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000348a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400034b5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003571
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003524
sub eax, 1
je 0x140003524
cmp eax, 2
jne 0x14000356c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003571
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140003552
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000356c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140003571
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400051a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400040b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140004183
cmp byte [rcx + 0x71], 0
je 0x140004183
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000417f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004144
sub eax, 1
je 0x140004148
cmp eax, 2
jne 0x14000417f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400051a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004176
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000417f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000412c
xor al, al
jmp 0x14000412c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400051a0
add rsp, 0x60
pop rbx
ret

Function at 0x140005ce0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005d2a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005d2a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005d2a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005d2a
cmp dword [rcx + 0x84], 0xe
jbe 0x140005d2a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140005d2c
xor al, al
add rsp, 0x28
ret
Function at 0x140010cd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, byte [0x14021804b]
test eax, eax
jne 0x140010ce9
jmp 0x140010dc1
mov dword [rsp + 0x24], 0
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140010d08
mov byte [rsp + 0x21], 1
jmp 0x140010d0d
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x50]
call fcn.14000b980
mov byte [rsp + 0x22], al
mov edx, dword [rsp + 0x24]
lea rcx, [0x140217bc0]
call fcn.140014ee0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140010d78
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140010d78
mov dword [rsp + 0x28], 5
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1400086d0
mov rcx, rax
call fcn.14000a5a0
mov edx, 0x10001
lea rcx, [0x140217bc0]
call fcn.140014ee0
jmp 0x140010dc1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140010d9d
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x140010d9d
mov edx, 0x100
lea rcx, [0x140217bc0]
call fcn.140014ee0
jmp 0x140010dc1
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140010dc1
cmp dword [rsp + 0x24], 0x10001
jne 0x140010dc1
mov edx, 0x100
lea rcx, [0x140217bc0]
call fcn.140014ee0
add rsp, 0x48
ret
Function at 0x140014c50
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x4b0
lea rbp, [rsp + 0x20]
mov dword [rbp + 0x50], 0x438
mov rax, qword [rbp + 0x4a0]
mov edx, dword [rax + 0x10]
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Module32FirstW
call fcn.140015020
mov dword [rbp + 0x10], eax
mov rcx, qword [rbp + 0x4a8]
call fcn.140004e80
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0x80]
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x18], 0
jne 0x140014cca
mov qword [rbp + 0x28], 0
jmp 0x140014d4a
mov rcx, qword [rbp + 0x18]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x140014ceb
mov qword [rbp + 0x20], 0
jmp 0x140014d42
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x30], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x140014d13
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1400fcdd0
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x10]
mov rcx, qword [rbp + 0x30]
mov r8d, ecx
mov rdx, qword [rbp + 0x18]
mov rcx, rax
call fcn.140014b90
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x28], rax
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x28]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140014d7f
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x40], rax
mov rcx, qword [rbp + 0x4a8]
call fcn.1400041b0
mov rax, qword [rbp + 0x40]
jmp 0x140014db6
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x140014c9b
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x48], 0
mov rcx, qword [rbp + 0x4a8]
call fcn.1400041b0
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x490]
pop rbp
ret
Function at 0x1400190e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x2b0
lea rbp, [rsp + 0x20]
mov dword [rbp + 0x50], 0x238
xor edx, edx
mov ecx, 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Process32FirstW
call fcn.140015020
mov dword [rbp + 0x10], eax
mov rcx, qword [rbp + 0x2a8]
call fcn.140004e80
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x7c]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
jne 0x14001914f
mov qword [rbp + 0x30], 0
jmp 0x1400191cf
mov rcx, qword [rbp + 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x140019170
mov qword [rbp + 0x28], 0
jmp 0x1400191c7
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x38], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x140019198
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1400fcdd0
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x10]
mov rcx, qword [rbp + 0x38]
mov r8d, ecx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call fcn.140014b90
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x30], rax
mov rdx, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140019201
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x58]
mov dword [rbp + 0x14], eax
mov rcx, qword [rbp + 0x2a8]
call fcn.1400041b0
mov eax, dword [rbp + 0x14]
jmp 0x140019236
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140019123
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x18], 0
mov rcx, qword [rbp + 0x2a8]
call fcn.1400041b0
mov eax, dword [rbp + 0x18]
lea rsp, [rbp + 0x290]
pop rbp
ret
Function at 0x1400950b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
add rsp, 0x28
ret

Function at 0x1400950f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add rsp, 0x28
ret

Function at 0x140095510
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x14017e850]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x14009559e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x140095542
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret
Function at 0x1400955b0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x14017e850]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x1400956b4
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x1400956af
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x140095684
cmp qword [rsp + 0x38], 2
jb 0x140095684
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140095684
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140095684
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1400955f7
jmp 0x140095746
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x140095746
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x14009571c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14009571c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14009571c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1400956b4
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x1400c1050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x5c], 0
xorps xmm0, xmm0
movss dword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x64], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x6c], xmm0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
lea r8, [rsp + 0x58]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.1400c6310
test eax, eax
je 0x1400c11d6
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0xe
mov rcx, rax
call fcn.140098fc0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.1400c6310
test eax, eax
je 0x1400c11d6
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x50], eax
je 0x1400c11ca
mov r8d, 0x8eb
lea rdx, [0x140193780]
lea rcx, str.output_ctx.num_vertices__count_ctx.num_vertices
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
xor eax, eax
test eax, eax
jne 0x1400c11a2
mov eax, dword [rsp + 0x50]
jmp 0x1400c11e7
mov rax, qword [rsp + 0xb0]
mov qword [rax], 0
xor eax, eax
add rsp, 0x98
ret
Function at 0x1400cf810
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400cf836
mov dword [rsp + 0x20], 1
jmp 0x1400cf83e
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400f7160
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400f718b
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400f7192
mov al, 1
jmp 0x1400f72ea
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.14001d300
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.14001d300
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.14001d310
movzx eax, al
test eax, eax
je 0x1400f71e9
xor al, al
jmp 0x1400f72ea
mov qword [rsp + 0x68], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call fcn.1400fc180
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400f7258
cmp dword [rsp + 0x30], 1
je 0x1400f7264
cmp dword [rsp + 0x30], 3
je 0x1400f72d8
jmp 0x1400f72e8
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1400f72af
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
cmp qword [rsp + 0x48], rax
je 0x1400f72af
xor al, al
jmp 0x1400f72ea
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400f72c9
mov dword [rsp + 0x34], 1
jmp 0x1400f72d1
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400f72ea
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400f72ea
xor al, al
add rsp, 0xa8
ret
Function at 0x1400fb340
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
call fcn.14001d300
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x50]
call fcn.14001d310
movzx eax, al
test eax, eax
je 0x1400fb384
lea rcx, [rsp + 0xd8]
call fcn.1400fb270
jmp 0x1400fb5e6
mov rcx, qword [rsp + 0xd0]
call fcn.1400fb7f0
test rax, rax
je 0x1400fb3f0
mov rcx, qword [rsp + 0xd0]
call fcn.1400fb7f0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xd0]
call fcn.1400fb000
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
jae 0x1400fb3f0
lea rcx, [rsp + 0xd8]
call fcn.14001d4d0
mov byte [rsp + 0x42], al
mov rcx, qword [rsp + 0xd0]
call fcn.14001b330
movzx ecx, byte [rsp + 0x42]
mov byte [rax], cl
mov eax, dword [rsp + 0xd8]
jmp 0x1400fb5e6
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x80], 0
jne 0x1400fb40c
call fcn.14001d300
jmp 0x1400fb5e6
mov rcx, qword [rsp + 0xd0]
call fcn.1400f9880
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x68], 0
jne 0x1400fb482
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xd8]
call fcn.14001d4d0
mov byte [rsp + 0x43], al
mov rdx, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x43]
call fcn.1400f62b0
movzx eax, al
test eax, eax
je 0x1400fb470
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x48], eax
jmp 0x1400fb479
call fcn.14001d300
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
jmp 0x1400fb5e6
mov qword [rsp + 0x88], 0x20
lea rcx, [rsp + 0xd8]
call fcn.14001d4d0
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x41]
mov rdx, qword [rsp + 0xd0]
add rdx, 0x74
lea r8, [rsp + 0x78]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, rcx
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.1400fb2c0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1400fb526
cmp dword [rsp + 0x44], 1
je 0x1400fb526
cmp dword [rsp + 0x44], 3
je 0x1400fb5a5
jmp 0x1400fb5e1
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x1400fb57a
mov rax, qword [rsp + 0xd0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x58]
mov edx, 1
lea rcx, [rsp + 0x90]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
cmp qword [rsp + 0x58], rax
je 0x1400fb57a
call fcn.14001d300
jmp 0x1400fb5e6
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0x71], 1
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x80], rax
je 0x1400fb59e
mov eax, dword [rsp + 0xd8]
jmp 0x1400fb5e6
call fcn.14001d300
jmp 0x1400fb5e6
mov rax, qword [rsp + 0xd0]
mov rdx, qword [rax + 0x80]
movzx ecx, byte [rsp + 0x40]
call fcn.1400f62b0
movzx eax, al
test eax, eax
je 0x1400fb5d2
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x4c], eax
jmp 0x1400fb5db
call fcn.14001d300
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
jmp 0x1400fb5e6
call fcn.14001d300
add rsp, 0xc8
ret