Function at 0x14006d1c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140396c80]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rsi, r9
mov rdi, r8
movsx rbx, dx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea r12, [0x140000000]
lea rax, [r12 + 0x29a2d0]
mov qword [rsp + 0x30], rax
lea rax, [0x14029a2d8]
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x30], r13
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x48], r15d
lea rdx, [0x140296138]
lea rcx, [rsp + 0x40]
call fcn.140006d80
mov r14, rax
cmp ebx, 5
ja case.default.0x14006d2b2
mov edx, dword [r12 + rbx*4 + 0x6d58c]
add rdx, r12
jmp rdx
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], 7
mov rax, qword [str.verbose]
mov dword [rbp + 0x30], eax
movzx eax, word [0x1402991d4]
mov word [rbp + 0x34], ax
movzx eax, byte [0x1402991d6]
mov byte [rbp + 0x36], al
mov byte [rbp + 0x37], 0
jmp 0x14006d3d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
mov r8d, 7
lea rdx, str.notice
lea rcx, [rbp + 0x30]
call fcn.1400043c0
jmp 0x14006d3d8
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], 7
mov rax, qword [str.warning]
mov dword [rbp + 0x30], eax
movzx eax, word [0x1402991e4]
mov word [rbp + 0x34], ax
movzx eax, byte [0x1402991e6]
mov byte [rbp + 0x36], al
mov byte [rbp + 0x37], 0
jmp 0x14006d3d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
mov r8d, 7
lea rdx, str._error
lea rcx, [rbp + 0x30]
call fcn.1400043c0
jmp 0x14006d3d8
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
mov r8d, 7
lea rdx, str._fatal
lea rcx, [rbp + 0x30]
call fcn.1400043c0
jmp 0x14006d3d8
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
mov r8d, 7
lea rdx, str.silent
lea rcx, [rbp + 0x30]
call fcn.1400043c0
jmp 0x14006d3d8
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov byte [rbp + 0x30], 0
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
mov rdx, qword [rbp + 0x30]
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmovbe rdx, rax
mov r8, qword [rbp + 0x40]
mov rcx, r14
call fcn.1400072b0
mov rcx, rax
lea rdx, [0x14029bf58]
call fcn.140006d80
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14006d443
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d43e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d43e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be46c
mov rbx, qword [rdi + 0x10]
mov rcx, rdi
mov r14, qword [rdi + 0x18]
cmp r14, 0xf
jbe 0x14006d457
mov rcx, qword [rdi]
test rbx, rbx
jne 0x14006d46f
mov r8, rbx
lea rdx, [0x140295489]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14006d497
cmp r14, 0xf
jbe 0x14006d478
mov rdi, qword [rdi]
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400072b0
mov rcx, rax
lea rdx, [0x140295dc8]
call fcn.140006d80
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x14006d4a5
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400072b0
lea rdx, [fcn.140037ba0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14006d5b0
cmp qword [rax + 0x18], 0xf
jbe 0x14006d4da
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14006d522
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d51c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d51c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be46c
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], r13
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x48]
call fcn.1400082d0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400be7c0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret