Function at 0x140204fd0
Capabilities:
Manipulate console buffer

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov rdi, rdx
mov rbx, rcx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x48], r15d
lea r13, str._anonymous_namespace::wxConsoleStderr::Write
lea r12, str.C:ProjectwxWidgets_3.2.2.1_srcmsw_app.cpp
cmp qword [rcx + 0x10], 0xffffffffffffffff
jne 0x14020505d
cmp qword [0x14055a4b8], rsi
je 0x14020505d
lea rax, str.should_only_be_called_if_Init___returned_true
mov qword [rsp + 0x20], rax
lea r9, str.m_hStderr_____HANDLE__LONG_PTR__1_
mov r8, r13
mov edx, 0x21b
mov rcx, r12
call fcn.1401190f0
cmp byte [0x1405750a8], sil
je 0x14020505d
mov byte [0x1405750a8], sil
int3
lea rdx, [rbp + 0x50]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x140205559
lea r13, str.format_specifier_doesnt_match_argument_type
mov r12d, 0xffff
lea rdi, [0x1403c8f48]
test al, al
jne 0x1402050da
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.14010a1d0
mov rbx, rax
or esi, 1
mov dword [rsp + 0x48], esi
cmp dword [0x140575068], 0
je 0x1402050be
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x140575068]
je 0x1402050be
call fcn.140136fe0
jmp 0x1402050c5
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1402050da
mov rcx, rbx
call fcn.140136b60
cmp eax, 6
jb 0x1402050da
mov bl, 1
jmp 0x1402050dc
xor bl, bl
test sil, 1
je 0x1402050f8
and esi, 0xfffffffe
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x68]
call fcn.14000e160
test bl, bl
je 0x140205eeb
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
call fcn.14010aa30
mov qword [rbp - 0x68], rax
call fcn.14010aa30
mov qword [rbp - 0x60], rax
mov r8, 0xffffffffffffffff
lea rdx, str._s__d_:__s_failed_with_error_0x_08lx___s_.
lea rcx, [rbp - 0x58]
call fcn.14010f8e0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140138150
mov r14, rax
mov qword [rsp + 0x60], rax
mov dword [rbp - 0x30], 6
lea rbx, str.C:ProjectwxWidgets_3.2.2.1_srcmsw_app.cpp
mov qword [rbp - 0x28], rbx
lea rax, str._anonymous_namespace::wxConsoleStderr::Write
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x20], 0x221
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], r15
mov qword [rbp], r15
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 8], eax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], r15
call sub.KERNEL32.dll_GetLastError
mov r15d, eax
mov r9d, 1
lea r8, [rbp - 0x68]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14010d0f0
mov rbx, rax
mov qword [rsp + 0x58], r14
mov edx, 5
lea rcx, [rbp - 0x68]
call fcn.1401448b0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x14020522a
cmp qword [0x14055a4b8], 0
je 0x14020522a
mov qword [rsp + 0x20], r13
lea r9, str._argtype___wxFormatString::Arg_String____argtype
lea r8, str.wxArgNormalizerWchar_class_wxString_const__::wxArgNormalizerWchar
mov edx, 0x230
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewx_strvararg.h
call fcn.140118ee0
cmp byte [0x1405750a8], 0
je 0x14020522a
mov byte [0x1405750a8], 0
int3
mov edx, 4
lea rcx, [rbp - 0x68]
call fcn.1401448b0
mov ecx, eax
and ecx, 9
cmp ecx, eax
je 0x140205280
cmp qword [0x14055a4b8], 0
je 0x140205280
mov qword [rsp + 0x20], r13
lea r9, str._argtype___wxFormatStringSpecifier_T_::value____argtype
lea r8, str.wxArgNormalizer_long_::wxArgNormalizer
mov edx, 0x1e4
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewx_strvararg.h
call fcn.140118ee0
cmp byte [0x1405750a8], 0
je 0x140205280
mov byte [0x1405750a8], 0
int3
mov edx, 3
lea rcx, [rbp - 0x68]
call fcn.1401448b0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x1402052d6
cmp qword [0x14055a4b8], 0
je 0x1402052d6
mov qword [rsp + 0x20], r13
lea r9, str._argtype___wxFormatStringSpecifier_T_::value____argtype
lea r8, str.wxArgNormalizer_wchar_t_const__::wxArgNormalizer
mov edx, 0x1e4
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewx_strvararg.h
call fcn.140118ee0
cmp byte [0x1405750a8], 0
je 0x1402052d6
mov byte [0x1405750a8], 0
int3
mov edx, 2
lea rcx, [rbp - 0x68]
call fcn.1401448b0
mov ecx, eax
and ecx, 9
cmp ecx, eax
je 0x14020532c
cmp qword [0x14055a4b8], 0
je 0x14020532c
mov qword [rsp + 0x20], r13
lea r9, str._argtype___wxFormatStringSpecifier_T_::value____argtype
lea r8, str.wxArgNormalizer_int_::wxArgNormalizer
mov edx, 0x1e4
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewx_strvararg.h
call fcn.140118ee0
cmp byte [0x1405750a8], 0
je 0x14020532c
mov byte [0x1405750a8], 0
int3
mov rax, qword [rbx]
mov rdi, qword [rax]
lea rcx, [rbp - 0x68]
call fcn.140143f20
mov rbx, rax
lea rcx, [rsp + 0x58]
call fcn.140145820
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
lea rax, [0x140415e00]
mov qword [rsp + 0x20], rax
mov r9d, 0x221
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140011670
nop
call fcn.14010aa30
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x1402053ba
add word [rcx + 0x10], r12w
jne 0x1402053b0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1402053b0
cmp byte [rbx + 0x12], 0
je 0x1402053a3
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x40], rax
mov rcx, qword [r14 + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
call fcn.14000e160
nop
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x140205417
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140205412
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140205552
call fcn.14036c454
xor r15d, r15d
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x140205485
lea r8, [0x1400110e0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.14011b9f0
mov qword [rbx + 0x30], r15
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea r8, [0x140011220]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.14011b9f0
mov qword [rbx + 0x10], r15
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea edx, [r15 + 0x40]
mov rcx, rbx
call fcn.14036c454
nop
call fcn.14010aa30
mov rcx, qword [rbp - 0x58]
cmp rcx, rax
je 0x1402054c8
add word [rcx + 0x10], r12w
jne 0x1402054bf
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x1402054bf
cmp byte [rbx + 0x12], 0
je 0x1402054b2
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rbp - 0x58], rax
call fcn.14010aa30
mov rcx, qword [rbp - 0x60]
cmp rcx, rax
je 0x14020550b
add word [rcx + 0x10], r12w
jne 0x140205502
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x140205502
cmp byte [rbx + 0x12], 0
je 0x1402054f5
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rbp - 0x60], rax
call fcn.14010aa30
mov rcx, qword [rbp - 0x68]
cmp rcx, rax
je 0x14020554b
add word [rcx + 0x10], r12w
jne 0x140205545
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x140205545
cmp byte [rbx + 0x12], 0
je 0x140205538
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
nop
mov al, 1
jmp 0x140205080
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov word [rbp + 0x54], r15w
movzx eax, word [rbx + 0x34]
sub word [rbp + 0x56], ax
mov edx, dword [rbp + 0x54]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
jne 0x140205a61
lea r13, str.format_specifier_doesnt_match_argument_type
mov r12d, 0xffff
lea rdi, [0x1403c8f48]
test al, al
jne 0x1402055e2
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.14010a1d0
mov rbx, rax
or esi, 2
mov dword [rsp + 0x48], esi
cmp dword [0x140575068], 0
je 0x1402055c6
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x140575068]
je 0x1402055c6
call fcn.140136fe0
jmp 0x1402055cd
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1402055e2
mov rcx, rbx
call fcn.140136b60
cmp eax, 6
jb 0x1402055e2
mov bl, 1
jmp 0x1402055e4
xor bl, bl
test sil, 2
je 0x140205600
and esi, 0xfffffffd
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x68]
call fcn.14000e160
test bl, bl
je 0x140205eeb
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
call fcn.14010aa30
mov qword [rbp - 0x68], rax
call fcn.14010aa30
mov qword [rbp - 0x60], rax
mov r8, 0xffffffffffffffff
lea rdx, str._s__d_:__s_failed_with_error_0x_08lx___s_.
lea rcx, [rbp - 0x58]
call fcn.14010f8e0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140138150
mov r14, rax
mov qword [rsp + 0x48], rax
mov dword [rbp - 0x30], 6
lea rbx, str.C:ProjectwxWidgets_3.2.2.1_srcmsw_app.cpp
mov qword [rbp - 0x28], rbx
lea rax, str._anonymous_namespace::wxConsoleStderr::Write
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x20], 0x22b
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], r15
mov qword [rbp], r15
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 8], eax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], r15
call sub.KERNEL32.dll_GetLastError
mov r15d, eax
mov r9d, 1
lea r8, [rbp - 0x68]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14010d0f0
mov rbx, rax
mov qword [rsp + 0x58], r14
mov edx, 5
lea rcx, [rbp - 0x68]
call fcn.1401448b0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x140205732
cmp qword [0x14055a4b8], 0
je 0x140205732
mov qword [rsp + 0x20], r13
lea r9, str._argtype___wxFormatString::Arg_String____argtype
lea r8, str.wxArgNormalizerWchar_class_wxString_const__::wxArgNormalizerWchar
mov edx, 0x230
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewx_strvararg.h
call fcn.140118ee0
cmp byte [0x1405750a8], 0
je 0x140205732
mov byte [0x1405750a8], 0
int3
mov edx, 4
lea rcx, [rbp - 0x68]
call fcn.1401448b0
mov ecx, eax
and ecx, 9
cmp ecx, eax
je 0x140205788
cmp qword [0x14055a4b8], 0
je 0x140205788
mov qword [rsp + 0x20], r13
lea r9, str._argtype___wxFormatStringSpecifier_T_::value____argtype
lea r8, str.wxArgNormalizer_long_::wxArgNormalizer
mov edx, 0x1e4
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewx_strvararg.h
call fcn.140118ee0
cmp byte [0x1405750a8], 0
je 0x140205788
mov byte [0x1405750a8], 0
int3
mov edx, 3
lea rcx, [rbp - 0x68]
call fcn.1401448b0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x1402057de
cmp qword [0x14055a4b8], 0
je 0x1402057de
mov qword [rsp + 0x20], r13
lea r9, str._argtype___wxFormatStringSpecifier_T_::value____argtype
lea r8, str.wxArgNormalizer_wchar_t_const__::wxArgNormalizer
mov edx, 0x1e4
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewx_strvararg.h
call fcn.140118ee0
cmp byte [0x1405750a8], 0
je 0x1402057de
mov byte [0x1405750a8], 0
int3
mov edx, 2
lea rcx, [rbp - 0x68]
call fcn.1401448b0
mov ecx, eax
and ecx, 9
cmp ecx, eax
je 0x140205834
cmp qword [0x14055a4b8], 0
je 0x140205834
mov qword [rsp + 0x20], r13
lea r9, str._argtype___wxFormatStringSpecifier_T_::value____argtype
lea r8, str.wxArgNormalizer_int_::wxArgNormalizer
mov edx, 0x1e4
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewx_strvararg.h
call fcn.140118ee0
cmp byte [0x1405750a8], 0
je 0x140205834
mov byte [0x1405750a8], 0
int3
mov rax, qword [rbx]
mov rdi, qword [rax]
lea rcx, [rbp - 0x68]
call fcn.140143f20
mov rbx, rax
lea rcx, [rsp + 0x58]
call fcn.140145820
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
lea rax, [0x140416058]
mov qword [rsp + 0x20], rax
mov r9d, 0x22b
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140011670
nop
call fcn.14010aa30
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x1402058c2
add word [rcx + 0x10], r12w
jne 0x1402058b8
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1402058b8
cmp byte [rbx + 0x12], 0
je 0x1402058ab
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x40], rax
mov rcx, qword [r14 + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
call fcn.14000e160
nop
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14020591f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020591a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140205a5a
call fcn.14036c454
xor r15d, r15d
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x14020598d
lea r8, [0x1400110e0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.14011b9f0
mov qword [rbx + 0x30], r15
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea r8, [0x140011220]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.14011b9f0
mov qword [rbx + 0x10], r15
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea edx, [r15 + 0x40]
mov rcx, rbx
call fcn.14036c454
nop
call fcn.14010aa30
mov rcx, qword [rbp - 0x58]
cmp rcx, rax
je 0x1402059d0
add word [rcx + 0x10], r12w
jne 0x1402059c7
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x1402059c7
cmp byte [rbx + 0x12], 0
je 0x1402059ba
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rbp - 0x58], rax
call fcn.14010aa30
mov rcx, qword [rbp - 0x60]
cmp rcx, rax
je 0x140205a13
add word [rcx + 0x10], r12w
jne 0x140205a0a
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x140205a0a
cmp byte [rbx + 0x12], 0
je 0x1402059fd
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rbp - 0x60], rax
call fcn.14010aa30
mov rcx, qword [rbp - 0x68]
cmp rcx, rax
je 0x140205a53
add word [rcx + 0x10], r12w
jne 0x140205a4d
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x140205a4d
cmp byte [rbx + 0x12], 0
je 0x140205a40
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
nop
mov al, 1
jmp 0x140205588
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x54]
mov r8d, dword [rbx + 0x30]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
test eax, eax
jne 0x140205ca3
lea rdi, [0x1403c8f48]
lea r14, str.FillConsoleOutputCharacter
test al, al
jne 0x140205aeb
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.14010a1d0
mov rbx, rax
or esi, 4
mov dword [rsp + 0x48], esi
cmp dword [0x140575068], 0
je 0x140205acf
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x140575068]
je 0x140205acf
call fcn.140136fe0
jmp 0x140205ad6
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x140205aeb
mov rcx, rbx
call fcn.140136b60
cmp eax, 6
jb 0x140205aeb
mov bl, 1
jmp 0x140205aed
xor bl, bl
test sil, 4
je 0x140205b09
and esi, 0xfffffffb
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x68]
call fcn.14000e160
test bl, bl
je 0x140205eeb
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
call fcn.14010aa30
mov qword [rbp - 0x68], rax
call fcn.14010aa30
mov qword [rbp - 0x60], rax
mov r8, 0xffffffffffffffff
lea rdx, str._s__d_:__s_failed_with_error_0x_08lx___s_.
lea rcx, [rbp - 0x58]
call fcn.14010f8e0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140138150
mov rbx, rax
mov dword [rbp - 0x30], 6
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x20], 0x233
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], r15
mov qword [rbp], r15
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 8], eax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], r15
call sub.KERNEL32.dll_GetLastError
nop
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9d, 0x233
mov r8, r12
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x30]
call fcn.14010ce50
nop
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x140205c20
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140205c1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140205c9c
call fcn.14036c454
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x140205c8c
lea r8, [0x1400110e0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.14011b9f0
mov qword [rbx + 0x30], r15
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea r8, [0x140011220]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.14011b9f0
mov qword [rbx + 0x10], r15
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov edx, 0x40
mov rcx, rbx
call fcn.14036c454
nop
lea rcx, [rbp - 0x68]
call fcn.140010cb0
mov al, 1
jmp 0x140205a98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140205cb0
mov rdx, qword [rdi]
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
mov r8d, dword [rdi + 0x10]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x140205eef
lea rdi, [0x1403c8f48]
lea r14, str.WriteConsole
nop
test al, al
jne 0x140205d33
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.14010a1d0
mov rbx, rax
or esi, 8
mov dword [rsp + 0x48], esi
cmp dword [0x140575068], 0
je 0x140205d17
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x140575068]
je 0x140205d17
call fcn.140136fe0
jmp 0x140205d1e
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x140205d33
mov rcx, rbx
call fcn.140136b60
cmp eax, 6
jb 0x140205d33
mov bl, 1
jmp 0x140205d35
xor bl, bl
test sil, 8
je 0x140205d51
and esi, 0xfffffff7
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x68]
call fcn.14000e160
test bl, bl
je 0x140205eeb
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
call fcn.14010aa30
mov qword [rbp - 0x68], rax
call fcn.14010aa30
mov qword [rbp - 0x60], rax
mov r8, 0xffffffffffffffff
lea rdx, str._s__d_:__s_failed_with_error_0x_08lx___s_.
lea rcx, [rbp - 0x58]
call fcn.14010f8e0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140138150
mov rbx, rax
mov dword [rbp - 0x30], 6
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x20], 0x239
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], r15
mov qword [rbp], r15
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 8], eax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], r15
call sub.KERNEL32.dll_GetLastError
nop
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9d, 0x239
mov r8, r12
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x30]
call fcn.14010ce50
nop
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x140205e68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140205e63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140205ee4
call fcn.14036c454
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x140205ed4
lea r8, [0x1400110e0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.14011b9f0
mov qword [rbx + 0x30], r15
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea r8, [0x140011220]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.14011b9f0
mov qword [rbx + 0x10], r15
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov edx, 0x40
mov rcx, rbx
call fcn.14036c454
nop
lea rcx, [rbp - 0x68]
call fcn.140010cb0
mov al, 1
jmp 0x140205ce0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor al, al
jmp 0x140205f10
mov rdx, qword [rbx + 0x28]
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
mov r8d, dword [rbx + 0x30]
mov rdx, qword [rdx]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov al, 1
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.14036c0d0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret