Function at 0x140039c70
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x1402e8018]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov rdi, rcx
mov qword [rbp + 0x50], rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r15d, r15d
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
xor r8d, r8d
lea rdx, [0x1402a4c98]
call fcn.140034050
nop
mov byte [rdi + 0x20], r15b
xorps xmm0, xmm0
movups xmmword [rdi + 0x28], xmm0
mov qword [rdi + 0x38], r15
mov qword [rdi + 0x40], r15
xor r8d, r8d
lea rdx, [0x1402a4c98]
lea rcx, [rdi + 0x28]
call fcn.140034050
nop
xorps xmm0, xmm0
movups xmmword [rdi + 0x48], xmm0
mov qword [rdi + 0x58], r15
mov qword [rdi + 0x60], r15
xor r8d, r8d
lea rdx, [0x1402a4c98]
lea rcx, [rdi + 0x48]
call fcn.140034050
nop
mov word [rdi + 0x68], r15w
mov ebx, r15d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x2b0]
call sub.VCRUNTIME140.dll_memset
movabs rax, 0x635996f30a16c540
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x28bac478e1a22b9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs r13, 0xa2df8966e73b723
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x3c0], rax
movabs r12, 0x2ffd433a0694ed8
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x3c8], rax
movdqa xmm0, xmmword [rbp - 0x80]
pxor xmm0, xmmword [rbp + 0x3c0]
movdqa xmmword [rbp - 0x80], xmm0
lea r8d, [r15 + 1]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x2b0]
call fcn.14003eb30
nop
cmp qword [rbp + 0x340], r15
je 0x14003a285
xorps xmm0, xmm0
movups xmmword [rbp + 0x250], xmm0
movdqa xmm1, xmmword [0x1402b8960]
movdqu xmmword [rbp + 0x260], xmm1
mov byte [rbp + 0x250], r15b
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x2b0]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x2b0]
call fcn.14003f9c0
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x14003a244
movabs rax, 0x4d62b4c92127e262
movabs rdx, 0x2ffd433a0540091
movabs rcx, 0x2ffd433a0694ee5
movabs r8, 0x4f60b9d83c36e476
movabs r9, 0x4e7fb7c13d20f673
test ebx, ebx
jne 0x140039fff
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x3d0], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x3d8], rax
movdqa xmm0, xmmword [rsp + 0x40]
pxor xmm0, xmmword [rbp + 0x3d0]
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140039ef0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.140034050
nop
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x80]
call fcn.140033740
lea r8, [rbp + 0x30]
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.1401c0fe0
nop
lea rcx, [rbp + 0x30]
call fcn.1400341f0
movabs rax, 0xa2df8960b06c557
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x3e0], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x3e8], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0x3e0]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140039fa3
lea rcx, [rbp + 0x270]
cmp qword [rbp + 0x288], 0x10
cmovae rcx, qword [rbp + 0x270]
mov r8, qword [rbp + 0x280]
cmp r8, rax
jne 0x140039fee
lea rdx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140039fee
mov al, 1
mov byte [rdi + 0x20], al
lea rcx, [rbp + 0x270]
jmp 0x14003a1bc
xor al, al
mov byte [rdi + 0x20], al
lea rcx, [rbp + 0x270]
jmp 0x14003a1bc
cmp ebx, 1
jne 0x14003a0e1
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x420], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x428], rax
movdqa xmm0, xmmword [rsp + 0x60]
pxor xmm0, xmmword [rbp + 0x420]
movdqa xmmword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r15
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14003a080
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.140034050
nop
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0xa0]
call fcn.140033740
lea r8, [rbp + 0x10]
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.1401c0fe0
mov rdx, rax
lea rcx, [rdi + 0x28]
call fcn.1400405f0
lea rcx, [rbp + 0xc0]
call fcn.1400341f0
nop
lea rcx, [rbp + 0x10]
jmp 0x14003a1bc
cmp ebx, 2
jne 0x14003a1c1
mov qword [rsp + 0x30], r9
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x410], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x418], rax
movdqa xmm0, xmmword [rsp + 0x70]
pxor xmm0, xmmword [rbp + 0x410]
movdqa xmmword [rsp + 0x70], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r15
mov qword [rbp + 8], r15
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14003a160
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.140034050
nop
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0xe0]
call fcn.140033740
lea r8, [rbp - 0x10]
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.1401c0fe0
mov rdx, rax
lea rcx, [rdi + 0x48]
call fcn.1400405f0
lea rcx, [rbp + 0x100]
call fcn.1400341f0
nop
lea rcx, [rbp - 0x10]
call fcn.1400341f0
inc ebx
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x2b0]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x2b0]
call fcn.14003f9c0
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
movabs rcx, 0x2ffd433a0694ee5
movabs rax, 0x4d62b4c92127e262
movabs rdx, 0x2ffd433a0540091
movabs r8, 0x4f60b9d83c36e476
movabs r9, 0x4e7fb7c13d20f673
jne 0x140039e72
lea rcx, [rbp + 0x2c0]
call fcn.14003eef0
test rax, rax
jne 0x14003a278
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x2b0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rbp + 0x250]
call fcn.1400341f0
nop
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x2b0], rbx
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2ac], edx
lea rcx, [rbp + 0x2c0]
call fcn.14003eac0
lea rcx, [rbp + 0x2c8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x360]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll_memset
lea rdx, [0x1402e84b0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1402e84b0]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rbp + 0x140]
call fcn.14003eb30
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x140], rbx
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x13c], edx
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x140]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x14003a4e4
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
movabs rax, 0x2a70aad93c21f278
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0x46ba987ae12f6ef5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
movabs rax, 0xaac58b701c18a9bd
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
movabs rax, 0xb818e859a67e1b42
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
movabs rax, 0x1f3423d245886ea2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x30], rax
movabs rdx, 0x3a66770ff59fab8c
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x28], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x430], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x438], rax
movabs rax, 0xed8bc2345251ef9d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x440], rax
movabs rax, 0xf451ae79e8295462
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x448], rax
movabs rax, 0x1f3423d245886ee7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x450], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x458], rax
movdqa xmm0, xmmword [rbp - 0x50]
pxor xmm0, xmmword [rbp + 0x430]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [rbp - 0x40]
pxor xmm1, xmmword [rbp + 0x440]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [rbp - 0x30]
pxor xmm0, xmmword [rbp + 0x450]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x50]
call fcn.14003f200
lea rdx, [0x14003f3d0]
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]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov qword [rbp - 0x20], r15
mov word [rbp - 0x18], 1
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x188]
mov qword [rsp + 0x30], rax
test rax, rax
sete byte [rsp + 0x38]
mov byte [rsp + 0x39], 0
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp + 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x60], xmm1
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x290]
call fcn.14003f410
nop
lea rcx, [rbp + 0x150]
call fcn.14003eef0
test rax, rax
jne 0x14003a56e
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x140]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x120]
call fcn.1401c06d0
mov rdx, rax
mov rcx, rdi
call fcn.1400405f0
lea rcx, [rbp + 0x120]
call fcn.1400341f0
nop
lea rcx, [rbp + 0x290]
call fcn.1400341f0
nop
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x140], rbx
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x13c], edx
lea rcx, [rbp + 0x150]
call fcn.14003eac0
lea rcx, [rbp + 0x158]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rax, qword [0x1402f0b10]
test rax, rax
jne 0x14003a61c
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1402f0b10], rax
cmp byte [0x1402e847e], 0
jne 0x14003a63e
cmp byte [0x1402e847f], 0
jne 0x14003a647
movzx edx, word [reloc.WS2_32.dll_getpeername]
mov word [reloc.WS2_32.dll_ntohs], dx
jmp 0x14003a665
cmp byte [0x1402e847f], 0
je 0x14003a65e
movzx edx, word [reloc.WS2_32.dll_ntohs]
or dx, word [reloc.WS2_32.dll_getpeername]
mov word [reloc.WS2_32.dll_ntohs], dx
jmp 0x14003a665
movzx edx, word [reloc.WS2_32.dll_ntohs]
cmp byte [0x1402e847c], 0
je 0x14003a679
or dx, 8
mov word [reloc.WS2_32.dll_ntohs], dx
mov esi, 0x8000
cmp byte [0x1402e847d], 0
je 0x14003a691
or dx, si
mov word [reloc.WS2_32.dll_ntohs], dx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rax, qword [0x1402f0b10]
test rax, rax
jne 0x14003a6b8
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1402f0b10], rax
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x14003a6da
cmp byte [0x1402e84a7], 0
jne 0x14003a6e3
movzx edx, word [reloc.WS2_32.dll_ntohs]
mov word [reloc.WS2_32.dll_ntohs], dx
jmp 0x14003a701
cmp byte [0x1402e84a7], 0
je 0x14003a6fa
movzx edx, word [reloc.WS2_32.dll_ntohs]
or dx, word [reloc.WS2_32.dll_ntohs]
mov word [reloc.WS2_32.dll_ntohs], dx
jmp 0x14003a701
movzx edx, word [reloc.WS2_32.dll_ntohs]
cmp byte [0x1402e84a4], 0
je 0x14003a715
or dx, 8
mov word [reloc.WS2_32.dll_ntohs], dx
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14003a728
or dx, si
mov word [reloc.WS2_32.dll_ntohs], dx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movabs rax, 0x7e4e9df8001cf403
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0x2f5fa1d8e0e20b1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x400], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x408], rax
movdqa xmm0, xmmword [rbp - 0x70]
pxor xmm0, xmmword [rbp + 0x400]
movdqa xmmword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.14003f200
mov rbx, rax
mov rax, qword [0x1402f0b10]
test rax, rax
jne 0x14003a7c2
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1402f0b10], rax
cmp byte [0x1402e8456], 0
jne 0x14003a7e4
cmp byte [0x1402e8457], 0
jne 0x14003a7ed
movzx edx, word [reloc.WS2_32.dll_getsockopt]
mov word [reloc.WS2_32.dll_ntohs], dx
jmp 0x14003a80b
cmp byte [0x1402e8457], 0
je 0x14003a804
movzx edx, word [reloc.WS2_32.dll_ntohs]
or dx, word [reloc.WS2_32.dll_getsockopt]
mov word [reloc.WS2_32.dll_ntohs], dx
jmp 0x14003a80b
movzx edx, word [reloc.WS2_32.dll_ntohs]
cmp byte [0x1402e8454], 0
je 0x14003a81f
or dx, 8
mov word [reloc.WS2_32.dll_ntohs], dx
cmp byte [0x1402e8455], 0
je 0x14003a832
or dx, si
mov word [reloc.WS2_32.dll_ntohs], dx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rax, qword [0x1402f0b10]
test rax, rax
jne 0x14003a859
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1402f0b10], rax
cmp byte [0x1402e847e], 0
jne 0x14003a87b
cmp byte [0x1402e847f], 0
jne 0x14003a884
movzx edx, word [reloc.WS2_32.dll_getpeername]
mov word [reloc.WS2_32.dll_ntohs], dx
jmp 0x14003a8a2
cmp byte [0x1402e847f], 0
je 0x14003a89b
movzx edx, word [reloc.WS2_32.dll_ntohs]
or dx, word [reloc.WS2_32.dll_getpeername]
mov word [reloc.WS2_32.dll_ntohs], dx
jmp 0x14003a8a2
movzx edx, word [reloc.WS2_32.dll_ntohs]
cmp byte [0x1402e847c], 0
je 0x14003a8b6
or dx, 8
mov word [reloc.WS2_32.dll_ntohs], dx
cmp byte [0x1402e847d], 0
je 0x14003a8c9
or dx, si
mov word [reloc.WS2_32.dll_ntohs], dx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rax, qword [0x1402f0b10]
test rax, rax
jne 0x14003a8f0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1402f0b10], rax
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x14003a912
cmp byte [0x1402e84af], 0
jne 0x14003a91b
movzx edx, word [reloc.WS2_32.dll_ntohs]
mov word [reloc.WS2_32.dll_ntohs], dx
jmp 0x14003a939
cmp byte [0x1402e84af], 0
je 0x14003a932
movzx edx, word [reloc.WS2_32.dll_ntohs]
or dx, word [reloc.WS2_32.dll_ntohs]
mov word [reloc.WS2_32.dll_ntohs], dx
jmp 0x14003a939
movzx edx, word [reloc.WS2_32.dll_ntohs]
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14003a94d
or dx, 8
mov word [reloc.WS2_32.dll_ntohs], dx
cmp byte [0x1402e84ad], 0
je 0x14003a960
or dx, si
mov word [reloc.WS2_32.dll_ntohs], dx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x14003f3d0]
mov rcx, rbx
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]
call fcn.1400392e0
mov rax, qword [0x1402f0b10]
test rax, rax
jne 0x14003a99c
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1402f0b10], rax
cmp byte [0x1402e8456], 0
jne 0x14003a9be
cmp byte [0x1402e8457], 0
jne 0x14003a9c7
movzx edx, word [reloc.WS2_32.dll_getsockopt]
mov word [reloc.WS2_32.dll_ntohs], dx
jmp 0x14003a9e5
cmp byte [0x1402e8457], 0
je 0x14003a9de
movzx edx, word [reloc.WS2_32.dll_ntohs]
or dx, word [reloc.WS2_32.dll_getsockopt]
mov word [reloc.WS2_32.dll_ntohs], dx
jmp 0x14003a9e5
movzx edx, word [reloc.WS2_32.dll_ntohs]
cmp byte [0x1402e8454], 0
je 0x14003a9f9
or dx, 8
mov word [reloc.WS2_32.dll_ntohs], dx
cmp byte [0x1402e8455], 0
je 0x14003aa0c
or dx, si
mov word [reloc.WS2_32.dll_ntohs], dx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x1402f0d80]
call fcn.14022c680
movabs rax, 0xa2df8966e00db40
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x30], r13
mov rcx, qword [rsp + 0x30]
mov qword [rbp + 0x3f0], rcx
mov qword [rsp + 0x30], r12
mov rcx, qword [rsp + 0x30]
mov qword [rbp + 0x3f8], rcx
movdqa xmm0, xmmword [rbp - 0x60]
pxor xmm0, xmmword [rbp + 0x3f0]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rax, rdi
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.140220090
lea r11, [rsp + 0x570]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret