joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017720
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140016430
mov ecx, dword [0x1400375b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140017798
test byte [rbx + 0x40], 0xc
jne 0x14001774f
mov eax, dword [0x140044c98]
test eax, eax
jne 0x140017760
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140015690
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140017783
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140017783
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x1400177ac
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140015980
call fcn.1400164e0
mov rbx, rax
test rax, rax
jne 0x14001773f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x1400177ca
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140015980
call fcn.140017640
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140017850
call fcn.140018900
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140017888
call fcn.140016430
mov ecx, dword [0x1400375b8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400178e0
test esi, esi
je 0x140017866
call fcn.140017720
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400178c0
mov edx, edi
call fcn.1400189b0
call fcn.140017720
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140016430
mov ecx, dword [0x1400375b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400178d0
call fcn.140017720
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140017720
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140016430
mov ecx, dword [0x1400375b8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x140017825
call fcn.1400164e0
mov rbx, rax
jmp 0x140017825
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001783e
call fcn.1400164e0
jmp 0x140017866
call fcn.1400164e0
mov rbx, rax
jmp 0x140017821
Function at 0x1400177e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140016430
mov ecx, dword [0x1400375b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140017798
test byte [rbx + 0x40], 0xc
jne 0x14001774f
mov eax, dword [0x140044c98]
test eax, eax
jne 0x140017760
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140015690
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140017783
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140017783
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x1400177ac
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140015980
call fcn.1400164e0
mov rbx, rax
test rax, rax
jne 0x14001773f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x1400177ca
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140015980
call fcn.140017640
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140017850
call fcn.140018900
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140017888
call fcn.140016430
mov ecx, dword [0x1400375b8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400178e0
test esi, esi
je 0x140017866
call fcn.140017720
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400178c0
mov edx, edi
call fcn.1400189b0
call fcn.140017720
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140016430
mov ecx, dword [0x1400375b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400178d0
call fcn.140017720
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140017720
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140016430
mov ecx, dword [0x1400375b8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x140017825
call fcn.1400164e0
mov rbx, rax
jmp 0x140017825
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001783e
call fcn.1400164e0
jmp 0x140017866
call fcn.1400164e0
mov rbx, rax
jmp 0x140017821

Function at 0x1400178f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.140016430
mov ecx, dword [0x1400375b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140017960
test esi, esi
je 0x140017940
call fcn.140017720
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140017970
mov edx, esi
call fcn.1400189b0
call fcn.140017720
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140017720
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140017720
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1400164e0
mov rbx, rax
jmp 0x140017911
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001792a
Function at 0x14001c7e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x90]
movabs rsi, 0x657220677562206c
movabs rbx, 0x6c75662074696d62
movabs r9, 0x756f6e6520746f6e
movabs r10, 0x6563617073206867
movabs r11, 0x726f6620726f6620
movabs r12, 0x617078652074616d
movabs r14, 0x5028206e6f69736e
movabs r15, 0x757320657361656c
mov qword [rbp - 0x38], rsi
sub rdx, rcx
movabs rsi, 0x2f2f3a7370747468
mov qword [rbp - 0x40], rbx
lea rax, [rdx + 0x78]
movabs rbx, 0x2074612074726f70
mov qword [rbp - 0x28], rsi
and rax, 0xfffffffffffffff0
movabs rsi, 0x736775622f67726f
mov qword [rbp - 0x18], rsi
movabs rsi, 0x202020200a3a29
mov qword [rbp - 0x30], rbx
movabs rbx, 0x2e756e672e636367
mov qword [rbp - 0x20], rbx
movabs rbx, 0x2f736775622f6772
mov qword [rbp - 0xf], rsi
mov rsi, rdx
mov qword [rbp - 0x70], r9
mov qword [rbp - 0x68], r10
mov qword [rbp - 0x60], r11
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x17], rbx
call fcn.14000f470
movabs rdx, 0x657220677562206c
movdqa xmm0, xmmword [rbp - 0x20]
sub rsp, rax
mov r8, rsi
movabs rax, 0x6c75662074696d62
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x20]
movabs rax, 0x2074612074726f70
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x58], rdx
movabs rdx, 0x2f2f3a7370747468
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x68], rdx
mov rdx, rcx
mov rcx, rax
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
movaps xmmword [rsp + 0x70], xmm0
call sub.msvcrt.dll_memcpy
mov rcx, rbx
mov byte [rsp + rsi + 0x88], 0
call fcn.140027ea0
nop
nop
nop
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x140037680], 0
jne 0x14001c8e3
mov byte [0x140037680], 1
call fcn.140027670
test rax, rax
je 0x14001c8b8
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call fcn.14000e280
mov ecx, 2
mov rsi, qword [fcn.140014e50]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sub.msvcrt.dll_fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x14001c8a9
call rsi
mov rcx, rbx
mov rdx, rax
call sub.msvcrt.dll_fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x140038491]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140027aa7
jmp 0x140027a9f
call rsi
mov rcx, rdi
mov rdx, rax
call sub.msvcrt.dll_fputs
jmp 0x14001c877
mov ecx, 2
call qword [fcn.140014e50]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sub.msvcrt.dll_fwrite
nop
jmp 0x140027a9a
mov ecx, 2
call qword [fcn.140014e50]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop
nop
Function at 0x140027a30
Capabilities:
Write file on windows

Disassembly:
call fcn.140027570
call fcn.1400277c0
mov rbx, qword [rax]
test byte [rbx + 0x50], 1
je 0x1400279d7
mov rbx, qword [rbx]
lea r12, [rsp + 0x20]
mov rdx, rbp
xor ecx, ecx
mov r8, r12
call fcn.14001b700
mov rdx, qword [rbx - 0x90]
mov r9, rsi
mov r8, rbx
mov rcx, r12
call fcn.14001b7f0
test al, al
jne 0x1400279f5
lea rbx, [0x14003b4b0]
mov r9, rsi
xor r8d, r8d
mov rcx, r12
mov rdx, rbx
call fcn.14001b7f0
test al, al
je 0x1400279fa
mov ecx, 8
call fcn.140027500
lea r8, [0x140022a70]
mov rdx, rbx
mov rcx, rax
mov rax, qword [0x14003b0e0]
add rax, 0x10
mov qword [rcx], rax
call fcn.140027880
add rbx, 0x90
jmp 0x140027966
call fcn.140027830
mov rcx, rdi
call fcn.14001bb10
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.msvcrt.dll_abort
mov rcx, rax
call fcn.140027570
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x140027aac
call fcn.140027570
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sub.msvcrt.dll_fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sub.msvcrt.dll_fputc
call fcn.1400276a0
call sub.msvcrt.dll_abort
mov rcx, rdi
call fcn.140015420
call fcn.140027830
call fcn.140027570
call fcn.1400276a0
jmp 0x140027a9a
Function at 0x1400075b0
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 0x1400075e7
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 0x140007608
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000760a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140007663
test ecx, ecx
jle 0x14000763e
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r14, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140007663
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140007663
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

Function at 0x140007690
Capabilities:
Read 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 rdi, r8
mov r14, rdx
mov rbx, rcx
je 0x1400076c7
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__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbp
mov rbp, rdi
mov qword [rsp + 0x38], rsi
mov rdx, qword [rax]
test rdx, rdx
je 0x1400076e8
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400076ea
xor ecx, ecx
movsxd rsi, ecx
test rdi, rdi
jle 0x14000777b
test ecx, ecx
jle 0x140007722
cmp rdi, rsi
mov rcx, r14
cmovl rsi, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbx + 0x50]
add r14, rsi
sub rdi, rsi
sub dword [rax], esi
mov rcx, qword [rbx + 0x38]
movsxd rax, esi
add qword [rcx], rax
test rdi, rdi
jle 0x14000777b
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x14000777b
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140007767
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 r9, qword [rbx + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
mov rsi, qword [rsp + 0x38]
sub rbp, rdi
mov rbx, qword [rsp + 0x40]
mov rax, rbp
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140007bc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14020c050]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140007bed
xor eax, eax
jmp 0x140007d42
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140007c18
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140007c18
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140007d42
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140007d35
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140007c5b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x140007c86
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 0x140007d3a
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
js 0x140007d35
cmp eax, 1
jle 0x140007cf5
cmp eax, 3
jne 0x140007d35
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 0x140007d3a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140007d23
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 0x140007d35
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140007d3a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14014a6d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140008a90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14020c050]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140008b3c
cmp byte [rcx + 0x71], 0
je 0x140008b3c
mov rax, qword [rcx]
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140008afd
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 0x140008b01
sub eax, 1
je 0x140008b05
sub eax, 2
je 0x140008b3c
xor al, al
jmp 0x140008b3e
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140008b33
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 0x140008afd
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140008b3e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014a6d0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140021750
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
movdqa xmm0, xmmword [0x1401c48f0]
mov rbx, rdx
mov qword [rdx], 0
lea rdi, [rcx + 0xc8]
mov byte [rsp + 0x20], 0
movdqu xmmword [rsp + 0x30], xmm0
cmp r8d, 0xa
jge 0x1400217ac
movsxd rax, r8d
mov r8, 0xffffffffffffffff
imul rdx, rax, 7
lea rax, [0x14016ced0]
add rdx, rax
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400217a0
jmp 0x1400217b6
xor r8d, r8d
lea rdx, [0x14016a949]
lea rcx, [rsp + 0x20]
call fcn.140008870
lea r8, [rsp + 0x20]
mov rcx, rdi
lea rdx, [rsp + 0x50]
call fcn.140006c50
mov rcx, qword [rax]
mov qword [rbx], rcx
lea rcx, [rsp + 0x20]
call fcn.1400087f0
mov rax, qword [rdi]
cmp qword [rbx], rax
jne 0x140021809
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Single_doesnt_exist_n
call fcn.1400092d0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140021820
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
movsxd rbp, r9d
lea rcx, [rsp + 0x28]
call fcn.140020eb0
mov r8, rax
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0xa0]
call fcn.140006c50
lea rcx, [rsp + 0x28]
mov rbx, qword [rax]
call fcn.1400087f0
cmp rbx, qword [rsi + 0xa0]
jne 0x140021885
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Couple_doesnt_exist_n
call fcn.1400092d0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movzx ecx, word [rbx + 0x40]
mov rax, qword [rsi + 0xb0]
mov rbx, qword [rsp + 0x88]
mov rax, qword [rax + rcx*8]
mov rax, qword [rax + 0x28]
mov eax, dword [rax + rbp*4]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400218b0
Capabilities:
Terminate process

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov r14, qword [rsp + 0xb0]
mov rsi, rcx
mov r15, qword [rsp + 0xb8]
lea rcx, [rsp + 0x28]
call fcn.140021070
mov r8, rax
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0xa0]
call fcn.140006c50
lea rcx, [rsp + 0x28]
mov rbx, qword [rax]
call fcn.1400087f0
cmp rbx, qword [rsi + 0xa0]
jne 0x140021922
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Triple_doesnt_exist_n
call fcn.1400092d0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movzx ecx, word [rbx + 0x40]
mov rax, qword [rsi + 0xb0]
mov r9, qword [rax + rcx*8]
movsxd rax, dword [rsp + 0xa0]
lea rcx, [rax + rax*2]
movsxd rax, dword [rsp + 0xa8]
lea r8, [rcx*8]
lea rdx, [rax*4]
mov rax, qword [r9 + 0x70]
mov rcx, qword [rax + r8]
mov eax, dword [rcx + rdx]
lea rcx, [rax + rax*2]
mov rax, qword [r9 + 0x58]
mov rcx, qword [rax + rcx*8]
mov qword [r14], rcx
mov rax, qword [r9 + 0x70]
mov rcx, qword [rax + r8]
mov eax, dword [rcx + rdx]
lea rcx, [rax + rax*2]
mov rax, qword [r9 + 0x58]
mov rcx, qword [rax + rcx*8 + 8]
mov qword [r15], rcx
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400219a0
Capabilities:
Terminate process

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
lea rcx, [rsp + 0x28]
call fcn.140021070
mov r8, rax
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0xa0]
call fcn.140006c50
lea rcx, [rsp + 0x28]
mov rbx, qword [rax]
call fcn.1400087f0
cmp rbx, qword [rsi + 0xa0]
jne 0x1400219fe
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Triple_doesnt_exist_n
call fcn.1400092d0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movzx ecx, word [rbx + 0x40]
mov rax, qword [rsi + 0xb0]
mov r8, qword [rax + rcx*8]
movsxd rax, dword [rsp + 0x90]
movsxd rcx, dword [rsp + 0x98]
lea rdx, [rax + rax*2]
mov rax, qword [r8 + 0x70]
mov rax, qword [rax + rdx*8]
mov edx, dword [rax + rcx*4]
mov rax, qword [r8 + 0x28]
mov eax, dword [rax + rdx*4]
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140021a40
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [rcx + 0x20]
mov edx, 1
mov r14, rcx
lea rcx, [rsp + 0x28]
mov rbp, qword [rax + 0x20]
lea r9d, [rdx + 2]
mov rsi, qword [rax + 0x38]
lea r8d, [rdx + 1]
sub rbp, qword [rax + 0x18]
sub rsi, qword [rax + 0x30]
sar rbp, 3
sar rsi, 3
call fcn.140021070
mov r8, rax
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 0xa0]
call fcn.140006c50
lea rcx, [rsp + 0x28]
mov rbx, qword [rax]
call fcn.1400087f0
cmp rbx, qword [r14 + 0xa0]
jne 0x140021ad1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Triple_doesnt_exist_n
call fcn.1400092d0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movzx ecx, word [rbx + 0x40]
mov rax, qword [r14 + 0xb0]
mov r8, qword [rax + rcx*8]
xor eax, eax
movzx r10d, ax
mov ecx, dword [r8 + 4]
cmp dword [rsp + 0x98], ecx
jne 0x140021b4f
mov r9d, eax
test esi, esi
jle 0x140021ba3
movzx ecx, word [rsp + 0x90]
mov rbx, qword [r8 + 0x28]
lea rdx, [rcx + rcx*2]
mov rcx, qword [r8 + 0x70]
mov r11, qword [rcx + rdx*8]
nop word [rax + rax]
mov ecx, dword [r11]
lea r11, [r11 + 4]
mov r8d, eax
mov edx, dword [rbx + rcx*4]
cmp edx, eax
movzx ecx, r9w
mov eax, edx
cmovbe cx, r10w
inc r9d
cmp edx, r8d
movzx r10d, cx
cmovbe eax, r8d
cmp r9d, esi
jl 0x140021b20
jmp 0x140021ba3
mov r11d, eax
test ebp, ebp
jle 0x140021ba3
movzx ecx, word [rsp + 0x90]
mov rbx, qword [r8 + 0x70]
mov rdi, qword [r8 + 0x28]
lea rsi, [rcx*4]
nop
mov rcx, qword [rbx]
lea rbx, [rbx + 0x18]
mov r9d, eax
mov edx, dword [rsi + rcx]
movzx ecx, r11w
mov r8d, dword [rdi + rdx*4]
cmp r8d, eax
mov eax, r8d
cmovbe cx, r10w
inc r11d
cmp r8d, r9d
movzx r10d, cx
cmovbe eax, r9d
cmp r11d, ebp
jl 0x140021b70
mov rbx, qword [rsp + 0x78]
movzx eax, r10w
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret