Function at 0x140028af0
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 [0x140066010]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor r15d, r15d
mov r14, qword [0x14006f370]
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.140012d40
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.140012d40
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x100], rax
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x30]
call fcn.1400336e0
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 0x140028ea7
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.140036590
lea rdx, [0x140036760]
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.140033670
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 0x140028c93
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028c8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028f6d
call fcn.14004bc44
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 0x140028ce9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028ce4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028fd2
call fcn.14004bc44
mov ecx, reloc.WS2_32.dll_recv
call fcn.14004b8e0
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 0x140028d21
lea rcx, [rsp + 0x30]
call fcn.140012d40
mov r8d, edi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400256b0
mov rbx, rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14004b8e0
mov qword [rax], rbx
lea rcx, [0x140027b10]
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, [0x140044170]
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 0x140029682
cmp dword [rsp + 0x58], 0
je 0x140029676
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 0x140029676
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.140012d40
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.1400244c0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140028fde
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028fd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028fd9
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.14003e200
lea rcx, [rbp - 0x28]
call fcn.140035410
test rax, rax
jne 0x140028ef1
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.140033670
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 0x140028f79
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028f74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028f74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bc44
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 0x140028ce9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028ce4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028ce4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14004bc44
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 0x140029036
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029030
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029030
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bc44
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x14002907a
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029075
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029075
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bc44
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.14004b8e0
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.140022c20
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14003b170
nop
mov edx, dword [rbp + 0x138]
test edx, edx
jne 0x1400293dd
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.140034670
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.140009780
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.140012d40
nop
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xe0]
call fcn.140009bd0
test rax, rax
je 0x1400291e1
lea rdx, [rax + 0x38]
lea rcx, [rbp + 0x150]
call fcn.140034670
movups xmm0, xmmword [rbp + 0x150]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbp + 0x160]
movups xmmword [rsp + 0x40], xmm1
jmp 0x140029207
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
xor r8d, r8d
lea rdx, [0x140051e29]
lea rcx, [rsp + 0x30]
call fcn.140012d40
lea rcx, [r14 + 0x28]
lea rdx, [rsp + 0x30]
call fcn.1400344d0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140029256
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029250
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029250
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bc44
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x140029297
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029292
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400293c2
call fcn.14004bc44
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.140012d40
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xe0]
call fcn.140009bd0
test rax, rax
je 0x1400292ed
lea rcx, [rax + 0x38]
cmp qword [rcx + 0x18], 0x10
jb 0x1400292e5
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
jmp 0x1400292f0
mov eax, r15d
mov dword [r14 + 0x68], eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140029331
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002932c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400293c2
call fcn.14004bc44
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.140012d40
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xe0]
call fcn.140009bd0
test rax, rax
je 0x140029387
lea rcx, [rax + 0x38]
cmp qword [rcx + 0x18], 0x10
jb 0x14002937f
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
jmp 0x14002938a
mov eax, r15d
mov dword [r14 + 0x6c], eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400293cf
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400293c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400293c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bc44
nop
lea rcx, [rbp + 0xe0]
call fcn.140032a00
jmp 0x140029448
lea rcx, [rbp + 0x150]
call fcn.14000ccc0
nop
cmp qword [rax + 0x18], 0x10
jb 0x1400293f4
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.Requested_Failed_Error_:__s
call fcn.140024f00
nop
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x140029448
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029443
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029443
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bc44
mov rsi, qword [r14 + 0x10]
mov rdi, qword [rsi + 0x10]
test rdi, rdi
je 0x1400294c9
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x140029464
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 0x140029498
mov rcx, rbx
call fcn.140003760
add rbx, 0x1d8
imul rax, qword [rdi + 0x30], 0x1d8
add rax, qword [rdi + 0x28]
cmp rbx, rax
jb 0x140029478
mov rcx, qword [rdi + 0xa98]
test rcx, rcx
je 0x1400294b2
mov rax, qword [rdi + 0xab0]
test rax, rax
je 0x1400294b2
call rax
mov rcx, qword [rdi + 0x28]
call qword [0x140066110]
mov rcx, rdi
call qword [0x140066110]
mov qword [rsi + 0x10], r15
mov edx, 2
xor ecx, ecx
mov r8d, edx
call fcn.1400024f0
mov qword [rsi + 0x10], rax
mov qword [rax + 0x2b10], 1
mov rax, qword [rsi + 0x10]
lea r12, [0x140003110]
mov qword [rax + 0xa90], r12
mov rcx, qword [rsi + 0x10]
call fcn.140002450
mov rsi, qword [r14 + 0x10]
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x140029583
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x14002951e
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 0x140029552
mov rcx, rbx
call fcn.140003760
add rbx, 0x1d8
imul rax, qword [rdi + 0x30], 0x1d8
add rax, qword [rdi + 0x28]
cmp rbx, rax
jb 0x140029532
mov rcx, qword [rdi + 0xa98]
test rcx, rcx
je 0x14002956c
mov rax, qword [rdi + 0xab0]
test rax, rax
je 0x14002956c
call rax
mov rcx, qword [rdi + 0x28]
call qword [0x140066110]
mov rcx, rdi
call qword [0x140066110]
mov qword [rsi + 8], r15
lea rcx, str.0.0.0.0
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x1400295ab
cmp word [rax + 0x10], 2
jne 0x1400295ab
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [rsp + 0x60], eax
jmp 0x1400295bc
lea rdx, str.0.0.0.0
lea rcx, [rsp + 0x60]
call fcn.1400072a0
mov eax, 0x4328
mov word [rsp + 0x64], ax
mov edx, 0xfff
mov r8d, 0xa
lea rcx, [rsp + 0x60]
call fcn.1400024f0
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.140002450
nop
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.14003b170
mov rbx, qword [rbp + 0x130]
test rbx, rbx
je 0x140029630
mov rcx, rbx
call fcn.14000c260
mov edx, 0x128
mov rcx, rbx
call fcn.14004bc44
nop
mov rcx, qword [rbp + 0x120]
test rcx, rcx
je 0x140029646
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14004b7a0
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