Function at 0x1400295c0
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 [0x140071010]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor r15d, r15d
mov r14, qword [0x14007a6e0]
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.140009b40
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.140009b40
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.1400373b0
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 0x140029977
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.14003c790
lea rdx, [0x14003c960]
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.140037340
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, 0x10
jb 0x140029763
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002975e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029a3d
call fcn.1400541a4
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, 0x10
jb 0x1400297b9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400297b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029aa2
call fcn.1400541a4
mov ecx, reloc.WS2_32.dll_recv
call fcn.140053e40
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 0x1400297f1
lea rcx, [rsp + 0x30]
call fcn.140009b40
mov r8d, edi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140026300
mov rbx, rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.140053e40
mov qword [rax], rbx
lea rcx, [0x1400285e0]
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, [0x14004c250]
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 0x14002a152
cmp dword [rsp + 0x58], 0
je 0x14002a146
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 0x14002a146
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.140009b40
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.140025110
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140029aae
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029aa9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029aa9
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], 0x10
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400457b0
lea rcx, [rbp - 0x28]
call fcn.14003a340
test rax, rax
jne 0x1400299c1
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.140037340
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, 0x10
jb 0x140029a49
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029a44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029a44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400541a4
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, 0x10
jb 0x1400297b9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400297b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400297b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400541a4
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, 0x10
jb 0x140029b06
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029b00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029b00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400541a4
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x140029b4a
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029b45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029b45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400541a4
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 + 0x130], xmm0
movups xmmword [rbp + 0x140], 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.140053e40
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 + 0x130]
mov rcx, rbx
call fcn.140023870
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140041450
nop
mov edx, dword [rbp + 0x138]
test edx, edx
jne 0x140029ead
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rax
mov rdx, qword [rbp + 0x130]
add rdx, 0x58
lea rcx, [rsp + 0x68]
call fcn.1400388c0
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.14000a6b0
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.140009b40
nop
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xe0]
call fcn.14000ab00
test rax, rax
je 0x140029cb1
lea rdx, [rax + 0x38]
lea rcx, [rbp + 0x150]
call fcn.1400388c0
movups xmm0, xmmword [rbp + 0x150]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbp + 0x160]
movups xmmword [rsp + 0x40], xmm1
jmp 0x140029cd7
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
xor r8d, r8d
lea rdx, [0x14005b5c9]
lea rcx, [rsp + 0x30]
call fcn.140009b40
lea rcx, [r14 + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140038720
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 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.1400541a4
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x140029d67
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029d62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e92
call fcn.1400541a4
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.140009b40
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xe0]
call fcn.14000ab00
test rax, rax
je 0x140029dbd
lea rcx, [rax + 0x38]
cmp qword [rcx + 0x18], 0x10
jb 0x140029db5
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
jmp 0x140029dc0
mov eax, r15d
mov dword [r14 + 0x68], eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140029e01
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029dfc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e92
call fcn.1400541a4
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.140009b40
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xe0]
call fcn.14000ab00
test rax, rax
je 0x140029e57
lea rcx, [rax + 0x38]
cmp qword [rcx + 0x18], 0x10
jb 0x140029e4f
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
jmp 0x140029e5a
mov eax, r15d
mov dword [r14 + 0x6c], eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140029e9f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029e99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029e99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400541a4
nop
lea rcx, [rbp + 0xe0]
call fcn.1400366d0
jmp 0x140029f18
lea rcx, [rbp + 0x150]
call fcn.14000db70
nop
cmp qword [rax + 0x18], 0x10
jb 0x140029ec4
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.Requested_Failed_Error_:__s
call fcn.140025b50
nop
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x140029f18
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029f13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029f13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400541a4
mov rsi, qword [r14 + 0x10]
mov rdi, qword [rsi + 0x10]
test rdi, rdi
je 0x140029f99
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x140029f34
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 0x140029f68
mov rcx, rbx
call fcn.140003790
add rbx, 0x1d8
imul rax, qword [rdi + 0x30], 0x1d8
add rax, qword [rdi + 0x28]
cmp rbx, rax
jb 0x140029f48
mov rcx, qword [rdi + 0xa98]
test rcx, rcx
je 0x140029f82
mov rax, qword [rdi + 0xab0]
test rax, rax
je 0x140029f82
call rax
mov rcx, qword [rdi + 0x28]
call qword [0x140071110]
mov rcx, rdi
call qword [0x140071110]
mov qword [rsi + 0x10], r15
mov edx, 2
xor ecx, ecx
mov r8d, edx
call fcn.140002520
mov qword [rsi + 0x10], rax
mov qword [rax + 0x2b10], 1
mov rax, qword [rsi + 0x10]
lea r12, [0x140003140]
mov qword [rax + 0xa90], r12
mov rcx, qword [rsi + 0x10]
call fcn.140002480
mov rsi, qword [r14 + 0x10]
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x14002a053
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x140029fee
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 0x14002a022
mov rcx, rbx
call fcn.140003790
add rbx, 0x1d8
imul rax, qword [rdi + 0x30], 0x1d8
add rax, qword [rdi + 0x28]
cmp rbx, rax
jb 0x14002a002
mov rcx, qword [rdi + 0xa98]
test rcx, rcx
je 0x14002a03c
mov rax, qword [rdi + 0xab0]
test rax, rax
je 0x14002a03c
call rax
mov rcx, qword [rdi + 0x28]
call qword [0x140071110]
mov rcx, rdi
call qword [0x140071110]
mov qword [rsi + 8], r15
lea rcx, str.0.0.0.0
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x14002a07b
cmp word [rax + 0x10], 2
jne 0x14002a07b
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [rsp + 0x60], eax
jmp 0x14002a08c
lea rdx, str.0.0.0.0
lea rcx, [rsp + 0x60]
call fcn.1400072d0
mov eax, 0x4328
mov word [rsp + 0x64], ax
mov edx, 0xfff
mov r8d, 0xa
lea rcx, [rsp + 0x60]
call fcn.140002520
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.140002480
nop
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.140041450
mov rbx, qword [rbp + 0x130]
test rbx, rbx
je 0x14002a100
mov rcx, rbx
call fcn.14000d110
mov edx, 0x128
mov rcx, rbx
call fcn.1400541a4
nop
mov rcx, qword [rbp + 0x120]
test rcx, rcx
je 0x14002a116
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140053d00
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