joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140032d60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rbp, [rcx + 8]
mov rdi, rcx
mov rcx, rbp
mov rsi, rdx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140032e55
mov rdi, qword [rdi + 0x78]
mov qword [rsp + 0x60], rbx
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140032e41
mov qword [rsp + 0x68], r14
movabs r14, 0x100000001b3
mov qword [rsp + 0x70], r15
movabs r15, 0xcbf29ce484222325
nop word [rax + rax]
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
mov r8, qword [rsi + 0x10]
jb 0x140032dd1
mov rcx, qword [rsi]
xor eax, eax
mov r9, r15
test r8, r8
je 0x140032df3
nop dword [rax + rax]
movzx edx, byte [rax + rcx]
inc rax
xor r9, rdx
imul r9, r14
cmp rax, r8
jb 0x140032de0
mov r8, rsi
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x18]
call fcn.14002fa00
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
cmp rax, rdx
je 0x140032e2f
nop dword [rax]
nop word [rax + rax]
mov byte [rax + 0xd8], 1
mov rax, qword [rax]
cmp rax, rdx
jne 0x140032e20
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140032dc0
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x68]
mov rcx, rbp
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
jmp sub.MSVCP140.dll__Mtx_unlock
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3
Function at 0x140034ec0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
cmp qword [r8 + 0x28], 0x10
lea r10, [r8 + 0x10]
mov r11, qword [r8 + 0x20]
mov rbx, r8
mov r14, rdx
mov rdi, rcx
jb 0x140034ef1
mov r10, qword [r8 + 0x10]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x140034f24
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rcx
cmp r8, r11
jb 0x140034f10
mov rdx, qword [rdi + 0x30]
and rdx, r9
shl rdx, 4
add rdx, qword [rdi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x140034f58
cmp rax, rbx
jne 0x140034f4e
mov rax, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140034f63
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140034f63
cmp rax, rbx
jne 0x140034f63
mov rax, qword [rbx]
mov qword [rdx], rax
lea rcx, [rdi + 8]
mov rdi, qword [rbx]
dec qword [rcx + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
call fcn.140034b40
mov edx, 0x58
mov rcx, rbx
call fcn.14005ea00
mov rbx, qword [rsp + 0x30]
mov rax, r14
mov rsi, qword [rsp + 0x38]
mov qword [r14], rdi
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400351d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
mov r13, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea r15, [rcx + 8]
mov qword [rsp + 0x28], r15
mov byte [rsp + 0x30], bl
mov rcx, r15
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140035355
mov byte [rsp + 0x30], 1
mov qword [rsi], rbx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], al
mov qword [rsi + 0x20], rbx
mov dword [rsp + 0x20], 3
mov r14, qword [rdi + 0x10]
mov rcx, rdi
mov r12, qword [rdi + 0x18]
cmp r12, 0x10
jb 0x14003524b
mov rcx, qword [rdi]
movabs rdx, 0xcbf29ce484222325
test r14, r14
je 0x140035283
movabs r8, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
xor rdx, rax
imul rdx, r8
inc rbx
cmp rbx, r14
jb 0x140035270
mov rcx, qword [r13 + 0x88]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x70]
mov rbx, qword [rax + rcx*8]
mov rbp, qword [r13 + 0x60]
cmp rbx, rbp
je 0x1400352ed
mov r15, qword [rax + rcx*8 + 8]
nop word [rax + rax]
lea rcx, [rbx + 0x10]
mov rdx, rdi
cmp r12, 0x10
jb 0x1400352c0
mov rdx, qword [rdi]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x1400352ce
mov rcx, qword [rcx]
cmp r8, r14
jne 0x1400352dc
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400352e6
cmp rbx, r15
je 0x1400352e9
mov rbx, qword [rbx]
jmp 0x1400352b0
mov rbp, rbx
lea r15, [r13 + 8]
cmp rbp, qword [r13 + 0x60]
je 0x140035332
lea rbx, [rbp + 0x30]
cmp rsi, rbx
je 0x140035315
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140035309
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rsi
call fcn.140001cb0
mov rax, qword [rbx + 0x20]
mov qword [rsi + 0x20], rax
mov r8, rbp
lea rdx, [rsp + 0x80]
lea rcx, [r13 + 0x58]
call fcn.140034ec0
nop
mov rcx, r15
call sub.MSVCP140.dll__Mtx_unlock
mov rax, rsi
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3
Function at 0x140035360
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov rax, qword [0x14008ff18]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r15, r8
mov r12, rdx
mov qword [rsp + 0x20], rdx
mov r14, rcx
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
call qword [rax + 8]
nop
cmp qword [r14 + 0x68], 0x1e
jbe 0x1400354cf
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rbp, rax
mov rcx, qword [r14 + 0x60]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x1400354cf
movabs r13, 0x100000001b3
movsd xmm6, qword [0x14006c3e8]
movabs r12, 0xcbf29ce484222325
nop dword [rax]
mov rdx, qword [rbx + 0x50]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__difftime64]
comisd xmm0, xmm6
jb 0x1400354bd
mov rdi, rbx
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
jb 0x14003541c
mov r8, qword [r8]
mov rdx, r12
xor ecx, ecx
test r9, r9
je 0x140035444
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r13
inc rcx
cmp rcx, r9
jb 0x140035430
mov rcx, qword [r14 + 0x88]
and rcx, rdx
add rcx, rcx
mov rdx, qword [r14 + 0x70]
mov rax, qword [rdx + rcx*8]
cmp qword [rdx + rcx*8 + 8], rbx
jne 0x14003547f
cmp rax, rbx
jne 0x140035474
mov rax, qword [r14 + 0x60]
mov qword [rdx + rcx*8], rax
mov qword [rdx + rcx*8 + 8], rax
jmp 0x14003548b
mov rax, qword [rbx + 8]
mov qword [rdx + rcx*8 + 8], rax
jmp 0x14003548b
cmp rax, rbx
jne 0x14003548b
mov rax, qword [rbx]
mov qword [rdx + rcx*8], rax
mov rbx, qword [rbx]
dec qword [r14 + 0x68]
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov rax, qword [rdi + 8]
mov qword [rbx + 8], rax
lea rdx, [rdi + 0x10]
lea rcx, [r14 + 0x60]
call fcn.140034b40
mov edx, 0x58
mov rcx, rdi
call fcn.14005ea00
jmp 0x1400354c0
mov rbx, qword [rbx]
cmp rbx, qword [r14 + 0x60]
jne 0x1400353f0
mov r12, qword [rsp + 0x20]
mov rdx, r15
lea rcx, [rsp + 0x38]
call fcn.140003e40
mov rax, qword [r15 + 0x20]
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x1400354f7
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rsp + 0x58], rax
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140003e40
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x80]
call fcn.140003e40
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa0], rax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 0x58]
call fcn.140034bf0
nop
lea rcx, [rsp + 0x60]
call fcn.140029d50
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140035584
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003557e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003557e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ea00
nop
cmp byte [rsp + 0x30], 0
je 0x140035595
mov rcx, qword [rsp + 0x28]
call sub.MSVCP140.dll__Mtx_unlock
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14005eaa0
mov rbx, qword [rsp + 0x128]
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004c220
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 0x10
mov rbx, rdx
mov r11, qword [r8 + 0x10]
mov rdx, r8
mov rdi, rcx
jb 0x14004c241
mov rdx, qword [r8]
xor r10d, r10d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x14004c274
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r10 + rdx]
inc r10
xor r9, rax
imul r9, rcx
cmp r10, r11
jb 0x14004c260
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14002fb10
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14004c29b
mov qword [rbx], rcx
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rdi + 8]
mov qword [rbx], rax
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140052370
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140052553
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14002ee20
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x140052518
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x14]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x15]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x16]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x17]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x14005248c
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x140052507
mov rax, qword [r11 + 8]
mov r9, qword [rcx + 0x10]
cmp r9, qword [rax + 0x10]
jne 0x1400524c9
mov r10, qword [rax]
cmp r10, rcx
je 0x1400524c3
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x140052507
mov r8, rax
cmp r10, rax
je 0x1400524e3
mov rax, qword [rax + 8]
mov r8, rax
cmp r9, qword [rax + 0x10]
je 0x14005252d
cmp r10, rax
jne 0x1400524d1
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x140052410
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x140052507
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x14005b730
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rax, qword [rcx]
mov rbx, qword [rax + 0x80]
mov edx, 0x38
lea rcx, str.SELECT_name__sql_FROM_sqlite_master_WHERE_typetable__
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call rbx
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp byte [rsp + 0x28], 0
je 0x14005b793
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
test al, al
je 0x14005b793
xor bl, bl
jmp 0x14005b795
mov bl, 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::destructor_void____ptr64]
movzx eax, bl
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14005e290
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
cmp qword [rcx + 0x40], 0
mov rdi, rcx
je 0x14005e2bf
mov al, 1
mov rdi, qword [rsp + 0x158]
add rsp, 0x130
pop rbp
ret
mov qword [rsp + 0x150], rsi
call fcn.14005e1a0
mov rsi, rax
test rax, rax
je 0x14005e422
mov qword [rsp + 0x148], rbx
mov ebx, dword [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm0, xmmword [rdi + 0x28]
mov dword [rbp - 0x6c], eax
lea r9, [rsp + 0x40]
lea rax, [rdi + 0x5c]
mov dword [rbp - 0x68], ebx
xor ebx, ebx
mov qword [rbp - 0x60], rax
lea rax, [rdi + 0x60]
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x70]
lea rax, [rdi + 0x68]
mov dword [rbp - 0x70], 1
mov qword [rbp - 0x50], rax
lea r8d, [rbx + 0x50]
lea rax, [rbp + 0x40]
mov qword [rbp - 0x38], rbx
movups xmmword [rbp - 0x48], xmm0
mov qword [rsp + 0x28], rax
mov rcx, rsi
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x50
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
movups xmmword [rsp + 0x68], xmm1
mov qword [rsp + 0x78], rbx
movdqa xmmword [rbp - 0x80], xmm0
mov dword [rbp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x14005e40e
cmp dword [rsp + 0x40], 2
jne 0x14005e40e
cmp dword [rsp + 0x44], ebx
je 0x14005e40e
cmp qword [rsp + 0x78], rbx
je 0x14005e40e
cmp qword [rbp - 0x80], rbx
je 0x14005e40e
cmp qword [rbp - 0x78], rbx
je 0x14005e40e
xorps xmm0, xmm0
mov qword [rbp - 0x1c], rbx
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm0
xor eax, eax
movaps xmmword [rbp], xmm1
lea r9, [rbp + 0x40]
mov qword [rbp + 0x10], rax
lea r8d, [rbx + 0x50]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp - 0x20]
mov qword [rbp + 0x18], rbx
mov rcx, rsi
mov dword [rbp - 0x20], 3
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14005e40e
mov rax, qword [rsp + 0x78]
mov bl, 1
mov qword [rdi + 0x40], rax
mov rax, qword [rbp - 0x80]
mov qword [rdi + 0x48], rax
mov rax, qword [rbp - 0x78]
mov qword [rdi + 0x50], rax
mov eax, dword [rsp + 0x44]
mov dword [rdi + 0x58], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rbx, qword [rsp + 0x148]
mov rsi, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x158]
add rsp, 0x130
pop rbp
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140014160]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140014170]
mov dword [rax], 1
mov rax, qword [0x140014180]
mov dword [rax], 1
mov rax, qword [0x140014100]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140014150]
mov dword [0x14001900c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140014240]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140014220]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x1400140a0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001fc2
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x140001fe1
mov rcx, rdx
call sym.strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sym.fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sym.fflush

Function at 0x140004ccb
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov qword [rsp + 0x28], rdx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sym.fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp sym.fflush

Function at 0x140004d0a
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp qword [0x1400190f0], 0
jne 0x140004d22
add rsp, 0x38
pop rbx
pop rsi
jmp sym.writeToStdErr__system_u3961
lea rsi, [rsp + 0x20]
mov rdx, rcx
mov rcx, rsi
call sym.cstrToNimstr
mov rbx, qword [rsp + 0x28]
mov rcx, rsi
call qword [0x1400190f0]
test rbx, rbx
je 0x140004d53
test byte [rbx + 7], 0x40
jne 0x140004d53
mov rcx, rbx
call sym.deallocImpl__system_u1765
lea rcx, [0x140012260]
call dbg.__emutls_get_address
cmp byte [rax], 0
je 0x140004d8b
lea rcx, [0x140012160]
mov byte [rax], 0
call dbg.__emutls_get_address
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x38
pop rbx
pop rsi
jmp sym.eqcopy___stdZtypedthreads_u171
add rsp, 0x38
pop rbx
pop rsi
ret
Function at 0x140005113
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r12, [0x1400190c0]
xor ebx, ebx
lea r14, [0x140012260]
lea r13, [rsp + 0x20]
mov rsi, rcx
mov rdi, rdx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rdi
mov ecx, 1
jl 0x140005199
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14001327b]
mov r9, rax
call sym.fwrite
mov ecx, 1
call rbp
mov rcx, rax
call sym.fflush
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rbp
xor r8d, r8d
mov rdx, r13
mov rcx, rax
mov rax, rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movaps xmmword [rsp + 0x20], xmm0
call sym.writeWindows__system_u8969
mov rcx, r14
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x1400051cb
inc rbx
jmp 0x14000514c
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x140005af0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140005b60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400191a4]
test esi, esi
mov rbx, rcx
jle 0x140005c90
mov rax, qword [0x1400191a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140005bab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140005c35
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140005b90
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x140005cb2
mov rax, qword [0x1400191a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400191a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140005c97
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140005c2e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140005c40
add dword [0x1400191a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x1400191a8]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140005c2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140005bb8
mov rax, qword [0x1400191a8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140006220
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140019200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400191e0]
test rbx, rbx
je 0x14000627c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140006273
test rsi, rsi
je 0x140006273
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140006258
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140006490
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop

Function at 0x1400064a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop