Function at 0x140029280
Capabilities:
Create thread
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14006f040]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor r15d, r15d
mov r14, qword [0x140078eb0]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea r8d, [r15 + 0x39]
lea rdx, str.127.0.0.1_www.growtopia1.com_n127.0.0.1_www.growtopia2.com
lea rcx, [rsp + 0x30]
call fcn.140013060
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], r15
mov qword [rbp + 0xf8], r15
lea r8d, [r15 + 0x25]
lea rdx, str.C:WindowsSystem32driversetchosts
lea rcx, [rbp + 0xe0]
call fcn.140013060
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x100], rax
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x30]
call fcn.140039cf0
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x140029637
lea rdx, str.Error:_file_could_not_be_opened
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14003cf00
lea rdx, [0x14003d0d0]
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]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x28]
call fcn.140039c80
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x140029423
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002941e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400296fd
call fcn.140052c54
mov qword [rbp + 0xf0], r15
mov qword [rbp + reloc.WS2_32.dll_ntohs8], 0xf
mov byte [rbp + 0xe0], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140029479
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029474
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029762
call fcn.140052c54
mov ecx, reloc.WS2_32.dll_recv
call fcn.140052900
mov rbx, rax
mov qword [rbp + 0x100], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov edi, dword [r14 + 0x20]
mov rdx, qword [r14 + 0x18]
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400294b1
lea rcx, [rsp + 0x30]
call fcn.140013060
mov r8d, edi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140025e20
mov rbx, rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.140052900
mov qword [rax], rbx
lea rcx, [0x140028180]
mov qword [rax + 8], rcx
mov qword [rbp + 0x100], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14004ab90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140029fe0
cmp dword [rsp + 0x58], 0
je 0x140029fd4
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x100], xmm0
lea rcx, [rbp + 0x100]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140029fd4
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x100], xmm1
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], r15
lea r8d, [rax + 0x1c]
lea rdx, str.https:__api.surferwallet.net
lea rcx, [rbp + 0x100]
call fcn.140013060
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], r15
mov qword [rbp + reloc.WS2_32.dll_ntohs8], 0xf
mov byte [rbp + 0xe0], 0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
lea r9, [rbp + 0xe0]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x120]
call fcn.140024c40
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14002976e
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029769
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029769
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.140044dc0
lea rcx, [rbp - 0x28]
call fcn.14003bdc0
test rax, rax
jne 0x140029681
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
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
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x28]
call fcn.140039c80
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x140029709
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029704
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029704
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052c54
mov qword [rbp + 0xf0], r15
mov qword [rbp + reloc.WS2_32.dll_ntohs8], 0xf
mov byte [rbp + 0xe0], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140029479
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029474
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029474
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140052c54
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x1400297c6
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400297c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400297c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052c54
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0xf
jbe 0x14002980a
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029805
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029805
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052c54
mov rax, qword [rbp + 0x120]
mov byte [rax + 0x3c8], 0
mov rax, qword [rbp + 0x120]
mov qword [rax + 0x170], 3
mov qword [rax + 0x178], r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
mov rbx, qword [rbp + 0x120]
lea rax, [rbp - 0x78]
mov qword [rbp + 0x100], rax
mov qword [rbp - 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov ecx, 0x60
call fcn.140052900
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, str._Growtopia
lea rdx, [rbp + 0x150]
mov rcx, rbx
call fcn.140023030
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140041c70
nop
mov edx, dword [rbp + 0x158]
test edx, edx
jne 0x140029d34
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rax
mov rdx, qword [rbp + 0x150]
add rdx, 0x58
lea rcx, [rsp + 0x68]
call fcn.14003b020
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.140009890
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], r15
mov r8d, 6
lea rdx, str.server
lea rcx, [rbp + 0x100]
call fcn.140013060
nop
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xe0]
call fcn.140009d20
test rax, rax
je 0x140029971
lea rdx, [rax + 0x38]
lea rcx, [rbp + 0x130]
call fcn.14003b020
movups xmm0, xmmword [rbp + 0x130]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbp + 0x140]
movups xmmword [rsp + 0x40], xmm1
jmp 0x140029997
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
xor r8d, r8d
lea rdx, [0x140059e61]
lea rcx, [rsp + 0x30]
call fcn.140013060
lea rcx, [r14 + 0x28]
lea rdx, [rsp + 0x30]
call fcn.14003ae50
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400299e6
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400299e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400299e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052c54
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0xf
jbe 0x140029a27
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029a22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029d19
call fcn.140052c54
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov r8d, 4
lea rdx, str.port
lea rcx, [rsp + 0x30]
call fcn.140013060
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xe0]
call fcn.140009d20
test rax, rax
je 0x140029a7d
lea rcx, [rax + 0x38]
cmp qword [rcx + 0x18], 0xf
jbe 0x140029a75
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
jmp 0x140029a80
mov eax, r15d
mov dword [r14 + 0x68], eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140029ac1
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029abc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029d19
call fcn.140052c54
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov r8d, 5
lea rdx, str.type2
lea rcx, [rsp + 0x30]
call fcn.140013060
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xe0]
call fcn.140009d20
test rax, rax
je 0x140029b17
lea rcx, [rax + 0x38]
cmp qword [rcx + 0x18], 0xf
jbe 0x140029b0f
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
jmp 0x140029b1a
mov eax, r15d
mov dword [r14 + 0x6c], eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140029b5b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029b56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029d19
call fcn.140052c54
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], r15
mov r8d, 6
lea rdx, str.server
lea rcx, [rbp + 0x100]
call fcn.140013060
nop
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xe0]
call fcn.140009d20
test rax, rax
je 0x140029bcf
lea rdx, [rax + 0x38]
lea rcx, [rbp + 0x130]
call fcn.14003b020
movups xmm0, xmmword [rbp + 0x130]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbp + 0x140]
movups xmmword [rsp + 0x40], xmm1
jmp 0x140029bf5
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
xor r8d, r8d
lea rdx, [0x140059e61]
lea rcx, [rsp + 0x30]
call fcn.140013060
lea rcx, [r14 + 0x70]
lea rdx, [rsp + 0x30]
call fcn.14003ae50
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140029c44
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029c3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029c3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052c54
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0xf
jbe 0x140029c85
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029c80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029d19
call fcn.140052c54
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov r8d, 4
lea rdx, str.port
lea rcx, [rsp + 0x30]
call fcn.140013060
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xe0]
call fcn.140009d20
test rax, rax
je 0x140029cdb
lea rcx, [rax + 0x38]
cmp qword [rcx + 0x18], 0xf
jbe 0x140029cd3
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
jmp 0x140029cde
mov eax, r15d
mov dword [r14 + 0x90], eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140029d26
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029d20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029d20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052c54
nop
lea rcx, [rbp + 0xe0]
call fcn.140038fe0
jmp 0x140029d9f
lea rcx, [rbp + 0x130]
call fcn.14000d010
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140029d4b
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.Requested_Failed_Error_:__s
call fcn.140025680
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0xf
jbe 0x140029d9f
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029d9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029d9a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052c54
mov rsi, qword [r14 + 0x10]
mov rdi, qword [rsi + 0x10]
test rdi, rdi
je 0x140029e21
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x140029dbb
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rdi + 0x28]
imul rax, qword [rdi + 0x30], 0x1d8
add rax, rbx
cmp rbx, rax
jae 0x140029df0
nop
mov rcx, rbx
call fcn.140003740
add rbx, 0x1d8
imul rax, qword [rdi + 0x30], 0x1d8
add rax, qword [rdi + 0x28]
cmp rbx, rax
jb 0x140029dd0
mov rcx, qword [rdi + 0xa98]
test rcx, rcx
je 0x140029e0a
mov rax, qword [rdi + 0xab0]
test rax, rax
je 0x140029e0a
call rax
mov rcx, qword [rdi + 0x28]
call qword [0x14006f180]
mov rcx, rdi
call qword [0x14006f180]
mov qword [rsi + 0x10], r15
mov edx, 2
xor ecx, ecx
mov r8d, edx
call fcn.140002510
mov qword [rsi + 0x10], rax
mov qword [rax + 0x2b10], 1
mov rax, qword [rsi + 0x10]
lea r12, [0x1400030f0]
mov qword [rax + 0xa90], r12
mov rcx, qword [rsi + 0x10]
call fcn.140002470
mov rsi, qword [r14 + 0x10]
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x140029ee1
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x140029e76
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rdi + 0x28]
imul rax, qword [rdi + 0x30], 0x1d8
add rax, rbx
cmp rbx, rax
jae 0x140029eb0
nop word [rax + rax]
mov rcx, rbx
call fcn.140003740
add rbx, 0x1d8
imul rax, qword [rdi + 0x30], 0x1d8
add rax, qword [rdi + 0x28]
cmp rbx, rax
jb 0x140029e90
mov rcx, qword [rdi + 0xa98]
test rcx, rcx
je 0x140029eca
mov rax, qword [rdi + 0xab0]
test rax, rax
je 0x140029eca
call rax
mov rcx, qword [rdi + 0x28]
call qword [0x14006f180]
mov rcx, rdi
call qword [0x14006f180]
mov qword [rsi + 8], r15
lea rcx, str.0.0.0.0
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x140029f09
cmp word [rax + 0x10], 2
jne 0x140029f09
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [rsp + 0x60], eax
jmp 0x140029f1a
lea rdx, str.0.0.0.0
lea rcx, [rsp + 0x60]
call fcn.140007240
mov eax, 0x4328
mov word [rsp + 0x64], ax
mov edx, 0xfff
mov r8d, 0xa
lea rcx, [rsp + 0x60]
call fcn.140002510
mov qword [rsi + 8], rax
mov qword [rax + 0x2b10], r15
mov rax, qword [rsi + 8]
mov qword [rax + 0xa90], r12
mov rcx, qword [rsi + 8]
call fcn.140002470
nop
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x160]
call fcn.140041c70
mov rbx, qword [rbp + 0x150]
test rbx, rbx
je 0x140029f8e
mov rcx, rbx
call fcn.14000c5b0
mov edx, 0x128
mov rcx, rbx
call fcn.140052c54
nop
mov rcx, qword [rbp + 0x120]
test rcx, rcx
je 0x140029fa4
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400527c0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x58], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3