Function at 0x1400ba550
Capabilities:
Create thread
Execute command
Log keystrokes via polling
Set console window title
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x1b0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rax - 0x88], xmm12
mov rax, qword [0x140194d38]
xor rax, rsp
mov qword [rsp + 0x138], rax
xor edi, edi
lea rcx, str.Color_0A
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.Premium_Spare_Proxy_1.9.42
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
nop
lea r8, str.LOCALAPPDATA
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov rdx, qword [rsp + 0xc0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400ba600
lea rcx, [rsp + 0x58]
call fcn.14000ff90
nop
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1a
jb 0x1400ba666
lea rax, [rcx + 0x1a]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8d, reloc.WLDAP32.dll_Ordinal_26
lea rdx, str.Growtopiacacheitems.dat
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1a], 0
lea rax, [rsp + 0x58]
jmp 0x1400ba68b
mov qword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_26
lea r9, str.Growtopiacacheitems.dat
movzx r8d, byte [rsp + 0x40]
mov edx, reloc.WLDAP32.dll_Ordinal_26
lea rcx, [rsp + 0x58]
call fcn.140004520
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xf0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400ba6f1
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ba6ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ba6ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140126e48
movdqa xmm0, xmmword [0x14014be20]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x78]
call fcn.140021b20
mov rdx, rax
lea rcx, [0x14019e080]
call fcn.140030660
nop
mov rdx, qword [rsp + 0xf8]
cmp rdx, 0x10
jb 0x1400ba76d
inc rdx
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ba767
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ba767
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140126e48
nop
jmp 0x1400ba771
lea rcx, [0x14019d420]
call fcn.1400d13e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x100], xmm0
movdqa xmm1, xmmword [0x14014be20]
movdqu xmmword [rsp + 0x110], xmm1
mov byte [rsp + 0x100], 0
xor ecx, ecx
call fcn.1400419f0
lea rcx, str.Enter_username:
call fcn.1400bb170
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
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, [rsp + 0x100]
mov rcx, rbx
call fcn.140019350
lea rax, [rsp + 0x58]
mov qword [rsp + 0xc0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
mov r8d, 2
lea rdx, [0x14014f26c]
lea rcx, [rsp + 0x58]
call fcn.14000ff90
nop
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x78]
call fcn.140021b20
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [0x14019d420]
call fcn.1400d2eb0
cmp byte [0x14019d618], 0
jne 0x1400ba86d
mov edx, 4
lea rcx, str.Username_Not_Found
call fcn.1400bb360
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, 1
call fcn.1400419f0
lea rcx, str.License_role:_Premium_Proxy_User__n
call fcn.1400bb170
mov edx, 1
lea rcx, [0x140047b00]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
call fcn.1400a6810
mov ecx, 8
call fcn.140126e0c
test rax, rax
je 0x1400ba8ce
lea rcx, [0x1400a7c50]
mov qword [rax], rcx
jmp 0x1400ba8d1
mov rax, rdi
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0xd8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140013d80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0xd0], rax
test rax, rax
je 0x1400bb0d2
cmp dword [rsp + 0xd8], 0
je 0x1400bb158
movaps xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0xc0], xmm0
lea rcx, [rsp + 0xc0]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400bb158
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xd0], xmm0
cmp byte [0x14019d281], al
jne 0x1400ba97d
lea edx, [rax + 4]
lea rcx, str.Failed_to_edit_Hosts_File_n
call fcn.1400bb360
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov edx, 0xa
lea rcx, str.Successfully_edited_Hosts_file_n
call fcn.1400bb360
call fcn.14008d380
call fcn.14000e180
mov rcx, qword [0x14019d398]
call fcn.1400bfb00
test al, al
je 0x1400bb012
mov edx, 0xa
lea rcx, str.Server__client_proxy_is_running._n
call fcn.1400bb360
mov edx, 0xa
lea rcx, str.You_can_now_connect_to_Growtopia_n_n
call fcn.1400bb360
mov edx, ntohl
lea rcx, str.If_Proxy_doesnt_connect_restart_Growtopia_n
call fcn.1400bb360
mov esi, edi
mov dword [rsp + 0x48], edi
mov ecx, dword [0x1401d3ca0]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0xc0], rax
movabs r14, 0x7fffffffffffffff
movsd xmm9, qword [0x14015ee00]
movsd xmm11, qword [0x14015edd0]
movss xmm10, dword [0x14015edc0]
movss xmm8, dword [0x14015ee10]
movzx ebx, byte [rsp + 0x40]
movsd xmm12, qword [0x14015edc8]
mov edx, 4
mov eax, dword [rax + rdx]
cmp dword [0x14019d918], eax
jg 0x1400bb0e4
mov rax, qword [0x14019d398]
cmp byte [rax + 0x1a0], 0
je 0x1400bab88
cmp byte [0x14019d282], 0
je 0x1400bab88
call sub.MSVCP140.dll__Xtime_get_ticks
mov rcx, rax
sub rcx, qword [0x14019d910]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm0, xmm9
comisd xmm0, xmm11
jb 0x1400bab88
mov qword [0x14019d910], rax
mov rcx, qword [0x14019d398]
movss xmm6, dword [rcx + 0x188]
mulss xmm6, xmm10
movss xmm7, dword [rcx + 0x18c]
mulss xmm7, xmm10
mov eax, dword [reloc.WS2_32.dll_ioctlsocket]
lea esi, [rax + rax]
mov eax, esi
neg eax
mov dword [rsp + 0x50], eax
mov r12d, eax
cmp eax, esi
jg 0x1400bab84
mov ebx, eax
shl ebx, 4
mov r13d, ebx
mov edi, eax
mov eax, r12d
cdq
mov r15d, eax
xor r15d, edx
sub r15d, edx
mov r14d, ebx
cmp r15d, esi
je 0x1400bab06
mov eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, esi
jne 0x1400bab55
movd xmm0, r13d
cvtdq2ps xmm0, xmm0
movd xmm1, r14d
cvtdq2ps xmm1, xmm1
movaps xmm4, xmm6
mulss xmm4, xmm8
addss xmm4, xmm0
movaps xmm2, xmm7
mulss xmm2, xmm8
addss xmm2, xmm1
mov dword [rsp + 0x20], 0
xorps xmm3, xmm3
movaps xmm0, xmm4
unpcklps xmm0, xmm2
movq r8, xmm0
mov edx, 0xdf
call fcn.1400be410
mov rcx, qword [0x14019d398]
inc edi
add r14d, 0x10
cmp edi, esi
jle 0x1400baaf6
inc r12d
add r13d, 0x10
cmp r12d, esi
mov eax, dword [rsp + 0x50]
jle 0x1400baae4
movzx ebx, byte [rsp + 0x40]
xor edi, edi
movabs r14, 0x7fffffffffffffff
mov esi, dword [rsp + 0x48]
call fcn.14003de10
call fcn.14008bab0
call fcn.14008c400
call fcn.14008bf30
call fcn.140089430
call fcn.140089900
call fcn.140089dd0
call fcn.14008a2a0
call fcn.14008a770
call fcn.14008ac40
call fcn.14008b110
call fcn.14008b5e0
call fcn.1400a5550
call fcn.14002f7a0
call fcn.14002e5d0
call fcn.1400a74e0
mov rax, qword [rsp + 0xc0]
mov ecx, 4
mov eax, dword [rax + rcx]
cmp dword [0x14019d8f8], eax
jg 0x1400bb11b
movdqa xmm0, xmmword [0x14015ef40]
movdqu xmmword [rsp + 0xe0], xmm0
movdqa xmm1, xmmword [0x14015ef60]
movdqu xmmword [rsp + 0xf0], xmm1
mov rax, qword [0x14019d398]
cmp byte [rax + 0x1a0], 0
je 0x1400bad3d
cmp byte [0x14019d376], 0
je 0x1400bad3d
call sub.MSVCP140.dll__Xtime_get_ticks
mov rcx, rax
sub rcx, qword [0x14019d8f0]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm0, xmm9
comisd xmm0, xmm12
jb 0x1400bad3d
mov qword [0x14019d8f0], rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x80000007
jge 0x1400bac79
dec eax
or eax, 0xfffffff8
inc eax
movsxd rdx, eax
mov edx, dword [rsp + rdx*4 + 0xe0]
lea rcx, [rsp + 0x58]
call fcn.1400080c0
nop
mov rax, r14
mov rcx, qword [rsp + 0x68]
sub rax, rcx
cmp rax, 0x15
jb 0x1400bb152
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_setsockopt
lea r9, str.actionsetSkin_ncolor
lea r8, [rsp + 0x58]
movzx edx, bl
lea rcx, [rsp + 0xe0]
call fcn.140004850
mov r9d, 2
lea r8, [rsp + 0xe0]
xor edx, edx
mov rcx, qword [0x14019d398]
call fcn.1400bf450
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400bad3d
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bad38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bb00b
call fcn.140126e48
cmp byte [0x14019d375], 0
je 0x1400badab
cmp byte [0x14019d36d], 0
je 0x1400badab
mov qword [rsp + 0x50], reloc.WLDAP32.dll_Ordinal_200
lea rcx, [rsp + 0x50]
call fcn.14001f5a0
movss xmm1, dword [0x14019d6ec]
movd xmm3, dword [0x14019d370]
cvtdq2ps xmm3, xmm3
mov dword [rsp + 0x20], 1
movss xmm0, dword [0x14019d6e8]
unpcklps xmm0, xmm1
movq r8, xmm0
mov edx, 0xb5
mov rcx, qword [0x14019d398]
call fcn.1400be410
mov byte [0x14019d375], 0
mov dword [0x14019d370], edi
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400bafc6
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400baec1
test esi, esi
jne 0x1400baec1
mov esi, 1
mov dword [rsp + 0x48], esi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x7c], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x8c], xmm1
movdqu xmmword [rsp + 0x9c], xmm0
mov qword [rsp + 0xac], rdi
mov byte [rsp + 0x78], reloc.WS2_32.dll_sendto
mov word [rsp + 0x7a], 0xffff
cmp byte [0x14019d2d8], 0
je 0x1400bae21
movzx eax, byte [0x140190134]
jmp 0x1400bae2c
mov ecx, dword [0x14019d340]
call fcn.140085190
mov byte [rsp + 0x79], al
mov rcx, qword [0x14019d398]
mov eax, dword [rcx + 0x160]
mov dword [rsp + 0x7c], eax
movd xmm0, dword [rcx + 0x174]
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x90], xmm0
movd xmm1, dword [rcx + 0x178]
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x94], xmm1
movd xmm0, dword [rcx + 0x17c]
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x98], xmm0
movd xmm1, dword [rcx + 0x180]
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x9c], xmm1
movd xmm0, dword [rcx + 0x16c]
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x88], xmm0
mov dword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_60
lea r9, [rsp + 0x78]
mov r8d, 4
movzx edx, sil
call fcn.1400bf380
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400bafc6
cmp esi, 1
jne 0x1400bafc6
mov esi, edi
mov dword [rsp + 0x48], edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x7c], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x8c], xmm1
movdqu xmmword [rsp + 0x9c], xmm0
mov qword [rsp + 0xac], rdi
mov byte [rsp + 0x78], reloc.WS2_32.dll_sendto
mov word [rsp + 0x7a], 0x8080
cmp byte [0x14019d2d8], 0
je 0x1400baf28
movzx eax, byte [0x140190134]
jmp 0x1400baf33
mov ecx, dword [0x14019d340]
call fcn.140085190
mov byte [rsp + 0x79], al
mov rcx, qword [0x14019d398]
mov eax, dword [rcx + 0x160]
mov dword [rsp + 0x7c], eax
movd xmm0, dword [rcx + 0x174]
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x90], xmm0
movd xmm1, dword [rcx + 0x178]
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x94], xmm1
movd xmm0, dword [rcx + 0x17c]
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x98], xmm0
movd xmm1, dword [rcx + 0x180]
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x9c], xmm1
movd xmm0, dword [rcx + 0x16c]
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x88], xmm0
mov dword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_60
lea r9, [rsp + 0x78]
mov r8d, 4
mov dl, 1
call fcn.1400bf380
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [0x14019d398]
call fcn.1400beab0
mov qword [rsp + 0x50], 1
lea rcx, [rsp + 0x50]
call fcn.14001f5a0
mov rax, qword [rsp + 0xc0]
jmp 0x1400baa3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edx, 4
lea rcx, str.Failed_to_start_server_or_proxy._n
call fcn.1400bb360
nop
cmp dword [rsp + 0xd8], 0
je 0x1400bb035
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rsp + 0x118]
cmp rdx, 0x10
jb 0x1400bb07b
inc rdx
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bb076
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bb076
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140126e48
xor eax, eax
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.140126f60
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
ret
mov dword [rsp + 0xd8], edi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [0x14019d918]
call fcn.1401273ec
cmp dword [0x14019d918], 0xffffffff
jne 0x1400baa50
call sub.MSVCP140.dll__Xtime_get_ticks
mov qword [0x14019d910], rax
lea rcx, [0x14019d918]
call fcn.140127380
nop
jmp 0x1400baa50
lea rcx, [0x14019d8f8]
call fcn.1401273ec
cmp dword [0x14019d8f8], 0xffffffff
jne 0x1400babf4
call sub.MSVCP140.dll__Xtime_get_ticks
mov qword [0x14019d8f0], rax
lea rcx, [0x14019d8f8]
call fcn.140127380
nop
jmp 0x1400babf4
call fcn.1400049d0
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3