Function at 0x1400ec3f0
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 [0x1404b3028]
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:LibrarieswxWidgets3.2.4_srcmsw_app.cpp
cmp qword [rcx + 0x10], 0xffffffffffffffff
jne 0x1400ec47d
cmp qword [0x1404b3060], rsi
je 0x1400ec47d
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.140042050
cmp byte [0x1404c47a8], sil
je 0x1400ec47d
mov byte [0x1404c47a8], sil
int3
lea rdx, [rbp + 0x50]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x1400ec97c
lea r13, str.format_specifier_doesnt_match_argument_type
mov r12d, 0xffff
lea rdi, [0x14033a5f8]
test al, al
jne 0x1400ec4fa
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140044710
mov rbx, rax
or esi, 1
mov dword [rsp + 0x48], esi
cmp dword [0x1404c4ab8], 0
je 0x1400ec4de
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x1404c4ab8]
je 0x1400ec4de
call fcn.140051d10
jmp 0x1400ec4e5
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1400ec4fa
mov rcx, rbx
call fcn.1400518b0
cmp eax, 6
jb 0x1400ec4fa
mov bl, 1
jmp 0x1400ec4fc
xor bl, bl
test sil, 1
je 0x1400ec518
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.1400119a0
test bl, bl
je 0x1400ed27e
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
call fcn.140044e20
mov qword [rbp - 0x68], rax
call fcn.140044e20
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.14003ee50
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140052f00
mov r14, rax
mov qword [rsp + 0x60], rax
mov dword [rbp - 0x30], 6
lea rbx, str.C:LibrarieswxWidgets3.2.4_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
mov qword [rbp + 0x10], r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], 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.14003d170
mov rbx, rax
mov qword [rsp + 0x58], r14
mov edx, 5
lea rcx, [rbp - 0x68]
call fcn.1400559f0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x1400ec64d
cmp qword [0x1404b3060], 0
je 0x1400ec64d
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:LibrarieswxWidgets3.2.4includewx_strvararg.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x1400ec64d
mov byte [0x1404c47a8], 0
int3
mov edx, 4
lea rcx, [rbp - 0x68]
call fcn.1400559f0
mov ecx, eax
and ecx, 9
cmp ecx, eax
je 0x1400ec6a3
cmp qword [0x1404b3060], 0
je 0x1400ec6a3
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:LibrarieswxWidgets3.2.4includewx_strvararg.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x1400ec6a3
mov byte [0x1404c47a8], 0
int3
mov edx, 3
lea rcx, [rbp - 0x68]
call fcn.1400559f0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x1400ec6f9
cmp qword [0x1404b3060], 0
je 0x1400ec6f9
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:LibrarieswxWidgets3.2.4includewx_strvararg.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x1400ec6f9
mov byte [0x1404c47a8], 0
int3
mov edx, 2
lea rcx, [rbp - 0x68]
call fcn.1400559f0
mov ecx, eax
and ecx, 9
cmp ecx, eax
je 0x1400ec74f
cmp qword [0x1404b3060], 0
je 0x1400ec74f
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:LibrarieswxWidgets3.2.4includewx_strvararg.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x1400ec74f
mov byte [0x1404c47a8], 0
int3
mov rax, qword [rbx]
mov rdi, qword [rax]
lea rcx, [rbp - 0x68]
call fcn.140055070
mov rbx, rax
lea rcx, [rsp + 0x58]
call fcn.140056960
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
lea rax, [0x1403708f0]
mov qword [rsp + 0x20], rax
mov r9d, 0x221
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14003f190
nop
call fcn.140044e20
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x1400ec7dd
add word [rcx + 0x10], r12w
jne 0x1400ec7d3
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1400ec7d3
cmp byte [rbx + 0x12], 0
je 0x1400ec7c6
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.14003b258
call fcn.140044e20
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.1400119a0
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 0x1400ec83a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec835
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ec975
call fcn.14003b258
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 0x1400ec8a8
lea r8, [0x14003f090]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.140059540
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, [0x14003f050]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.140059540
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.14003b258
nop
call fcn.140044e20
mov rcx, qword [rbp - 0x58]
cmp rcx, rax
je 0x1400ec8eb
add word [rcx + 0x10], r12w
jne 0x1400ec8e2
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x1400ec8e2
cmp byte [rbx + 0x12], 0
je 0x1400ec8d5
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.14003b258
call fcn.140044e20
mov qword [rbp - 0x58], rax
call fcn.140044e20
mov rcx, qword [rbp - 0x60]
cmp rcx, rax
je 0x1400ec92e
add word [rcx + 0x10], r12w
jne 0x1400ec925
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x1400ec925
cmp byte [rbx + 0x12], 0
je 0x1400ec918
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.14003b258
call fcn.140044e20
mov qword [rbp - 0x60], rax
call fcn.140044e20
mov rcx, qword [rbp - 0x68]
cmp rcx, rax
je 0x1400ec96e
add word [rcx + 0x10], r12w
jne 0x1400ec968
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x1400ec968
cmp byte [rbx + 0x12], 0
je 0x1400ec95b
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.14003b258
call fcn.140044e20
nop
mov al, 1
jmp 0x1400ec4a0
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 0x1400ece87
lea r13, str.format_specifier_doesnt_match_argument_type
mov r12d, 0xffff
lea rdi, [0x14033a5f8]
test al, al
jne 0x1400eca05
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140044710
mov rbx, rax
or esi, 2
mov dword [rsp + 0x48], esi
cmp dword [0x1404c4ab8], 0
je 0x1400ec9e9
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x1404c4ab8]
je 0x1400ec9e9
call fcn.140051d10
jmp 0x1400ec9f0
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1400eca05
mov rcx, rbx
call fcn.1400518b0
cmp eax, 6
jb 0x1400eca05
mov bl, 1
jmp 0x1400eca07
xor bl, bl
test sil, 2
je 0x1400eca23
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.1400119a0
test bl, bl
je 0x1400ed27e
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
call fcn.140044e20
mov qword [rbp - 0x68], rax
call fcn.140044e20
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.14003ee50
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140052f00
mov r14, rax
mov qword [rsp + 0x48], rax
mov dword [rbp - 0x30], 6
lea rbx, str.C:LibrarieswxWidgets3.2.4_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
mov qword [rbp + 0x10], r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], 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.14003d170
mov rbx, rax
mov qword [rsp + 0x58], r14
mov edx, 5
lea rcx, [rbp - 0x68]
call fcn.1400559f0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x1400ecb58
cmp qword [0x1404b3060], 0
je 0x1400ecb58
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:LibrarieswxWidgets3.2.4includewx_strvararg.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x1400ecb58
mov byte [0x1404c47a8], 0
int3
mov edx, 4
lea rcx, [rbp - 0x68]
call fcn.1400559f0
mov ecx, eax
and ecx, 9
cmp ecx, eax
je 0x1400ecbae
cmp qword [0x1404b3060], 0
je 0x1400ecbae
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:LibrarieswxWidgets3.2.4includewx_strvararg.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x1400ecbae
mov byte [0x1404c47a8], 0
int3
mov edx, 3
lea rcx, [rbp - 0x68]
call fcn.1400559f0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x1400ecc04
cmp qword [0x1404b3060], 0
je 0x1400ecc04
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:LibrarieswxWidgets3.2.4includewx_strvararg.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x1400ecc04
mov byte [0x1404c47a8], 0
int3
mov edx, 2
lea rcx, [rbp - 0x68]
call fcn.1400559f0
mov ecx, eax
and ecx, 9
cmp ecx, eax
je 0x1400ecc5a
cmp qword [0x1404b3060], 0
je 0x1400ecc5a
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:LibrarieswxWidgets3.2.4includewx_strvararg.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x1400ecc5a
mov byte [0x1404c47a8], 0
int3
mov rax, qword [rbx]
mov rdi, qword [rax]
lea rcx, [rbp - 0x68]
call fcn.140055070
mov rbx, rax
lea rcx, [rsp + 0x58]
call fcn.140056960
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
lea rax, [0x140370b48]
mov qword [rsp + 0x20], rax
mov r9d, 0x22b
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14003f190
nop
call fcn.140044e20
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x1400ecce8
add word [rcx + 0x10], r12w
jne 0x1400eccde
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1400eccde
cmp byte [rbx + 0x12], 0
je 0x1400eccd1
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.14003b258
call fcn.140044e20
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.1400119a0
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 0x1400ecd45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ecd40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ece80
call fcn.14003b258
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 0x1400ecdb3
lea r8, [0x14003f090]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.140059540
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, [0x14003f050]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.140059540
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.14003b258
nop
call fcn.140044e20
mov rcx, qword [rbp - 0x58]
cmp rcx, rax
je 0x1400ecdf6
add word [rcx + 0x10], r12w
jne 0x1400ecded
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x1400ecded
cmp byte [rbx + 0x12], 0
je 0x1400ecde0
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.14003b258
call fcn.140044e20
mov qword [rbp - 0x58], rax
call fcn.140044e20
mov rcx, qword [rbp - 0x60]
cmp rcx, rax
je 0x1400ece39
add word [rcx + 0x10], r12w
jne 0x1400ece30
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x1400ece30
cmp byte [rbx + 0x12], 0
je 0x1400ece23
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.14003b258
call fcn.140044e20
mov qword [rbp - 0x60], rax
call fcn.140044e20
mov rcx, qword [rbp - 0x68]
cmp rcx, rax
je 0x1400ece79
add word [rcx + 0x10], r12w
jne 0x1400ece73
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x1400ece73
cmp byte [rbx + 0x12], 0
je 0x1400ece66
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.14003b258
call fcn.140044e20
nop
mov al, 1
jmp 0x1400ec9ab
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 0x1400ed02e
lea rdi, [0x14033a5f8]
lea r14, str.FillConsoleOutputCharacter
nop
test al, al
jne 0x1400ecf13
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140044710
mov rbx, rax
or esi, 4
mov dword [rsp + 0x48], esi
cmp dword [0x1404c4ab8], 0
je 0x1400ecef7
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x1404c4ab8]
je 0x1400ecef7
call fcn.140051d10
jmp 0x1400ecefe
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1400ecf13
mov rcx, rbx
call fcn.1400518b0
cmp eax, 6
jb 0x1400ecf13
mov bl, 1
jmp 0x1400ecf15
xor bl, bl
test sil, 4
je 0x1400ecf31
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.1400119a0
test bl, bl
je 0x1400ed27e
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
call fcn.140044e20
mov qword [rbp - 0x68], rax
call fcn.140044e20
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.14003ee50
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140052f00
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
mov qword [rbp + 0x10], r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], 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.14005a4a0
nop
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0x18]
call fcn.1400119a0
lea rcx, [rbp - 0x28]
call fcn.14003dce0
nop
lea rcx, [rbp - 0x68]
call fcn.14003dbf0
mov al, 1
jmp 0x1400ecec0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400ed03b
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 0x1400ed282
lea rdi, [0x14033a5f8]
lea r14, str.WriteConsole
nop dword [rax]
test al, al
jne 0x1400ed0c3
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140044710
mov rbx, rax
or esi, 8
mov dword [rsp + 0x48], esi
cmp dword [0x1404c4ab8], 0
je 0x1400ed0a7
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x1404c4ab8]
je 0x1400ed0a7
call fcn.140051d10
jmp 0x1400ed0ae
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1400ed0c3
mov rcx, rbx
call fcn.1400518b0
cmp eax, 6
jb 0x1400ed0c3
mov bl, 1
jmp 0x1400ed0c5
xor bl, bl
test sil, 8
je 0x1400ed0e1
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.1400119a0
test bl, bl
je 0x1400ed27e
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
call fcn.140044e20
mov qword [rbp - 0x68], rax
call fcn.140044e20
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.14003ee50
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140052f00
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
mov qword [rbp + 0x10], r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], 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.14005a4a0
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 0x1400ed1fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ed1f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ed277
call fcn.14003b258
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x1400ed267
lea r8, [0x14003f090]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.140059540
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, [0x14003f050]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.140059540
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.14003b258
nop
lea rcx, [rbp - 0x68]
call fcn.14003dbf0
mov al, 1
jmp 0x1400ed070
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor al, al
jmp 0x1400ed2a3
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.14003b100
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret