Function at 0x1400d7350
Capabilities:
Create thread
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1401f4040]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor esi, esi
mov dword [rsp + 0x30], 0x42c80000
mov dword [rsp + 0x34], 0x41d80000
mov rax, qword [0x1401fbc40]
mov rdx, qword [rax + 0x3fe0]
movsd xmm0, qword [rdx + 0x270]
movsd qword [rsp + 0x50], xmm0
cmp qword [rdx + 0x1c8], rsi
jne 0x1400d73c8
cmp qword [rax + 0x44b8], rsi
jne 0x1400d73c8
movss xmm2, dword [rsp + 0x50]
jmp 0x1400d73d0
movss xmm2, dword [rdx + 0x240]
subss xmm2, dword [rdx + 0x118]
movss xmm1, dword [rax + 0x3954]
mulss xmm2, dword [0x1401d1fec]
subss xmm2, dword [0x1401d21ac]
addss xmm1, xmm1
mulss xmm1, dword [0x1401d1fec]
subss xmm2, xmm1
mov byte [rdx + 0xcd], 1
mov rax, qword [rax + 0x3fe0]
movss xmm1, dword [rax + 0x48]
subss xmm1, dword [rax + 0x98]
addss xmm1, xmm2
movss dword [rax + 0x118], xmm1
movss xmm0, dword [rax + 0x130]
maxss xmm0, xmm1
movss dword [rax + 0x130], xmm0
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, str._Run_Script
call fcn.140062bf0
test al, al
je 0x1400d75f8
mov r8d, 4
lea rdx, [0x140156544]
lea rcx, [0x1401f41b0]
call fcn.1400069b0
mov dword [0x1401f40a0], 0xffffffff
mov dword [0x1401f4098], 0xffffffff
mov rax, qword [0x1401fc998]
test rax, rax
je 0x1400d75f1
mov dword [rax + 0xde0], 0xffffffff
mov rax, qword [0x1401fc998]
cmp qword [rax + 0x18], rsi
jne 0x1400d74d6
nop dword [rax + rax]
call qword [sym.imp.lua54.dll_luaL_newstate]
mov rcx, qword [0x1401fc998]
mov qword [rcx + 0x18], rax
mov rcx, rax
call fcn.1400919c0
mov rax, qword [0x1401fc998]
cmp qword [rax + 0x18], rsi
je 0x1400d74b0
mov rcx, qword [0x1401fbf60]
sub rcx, qword [0x1401fbf58]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], esi
mov qword [rsp + 0x50], rsi
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
call fcn.140113f90
nop
mov rdi, qword [0x1401fc998]
lea rbx, [rdi + 0x10]
mov ecx, 0x38
call fcn.14012adc0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rax + 0x10], xmm1
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov qword [rax + 0x20], rbx
mov rcx, qword [rdi + 0x18]
mov qword [rax + 0x28], rcx
lea rcx, [0x140091eb0]
mov qword [rax + 0x30], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400ee0f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400d75e1
lea rcx, [rsp + 0x70]
call fcn.140006950
cmp dword [rsp + 0x48], 0
je 0x1400d75d5
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400d75d5
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
jmp 0x1400d75f8
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov byte [0x1401fbc5c], 1
movss xmm1, dword [0x1401d221c]
xorps xmm0, xmm0
call fcn.140031af0
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, str._Stop_Script
call fcn.140062bf0
test al, al
je 0x1400d76ba
mov r8d, 4
lea rdx, [0x140156544]
lea rcx, [0x1401f41b0]
call fcn.1400069b0
mov dword [0x1401f40a0], 0xffffffff
mov dword [0x1401f4098], 0xffffffff
mov rax, qword [0x1401fc998]
test rax, rax
je 0x1400d76b3
mov dword [rax + 0xde0], 0xffffffff
mov rax, qword [0x1401fc998]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400d76ba
cmp byte [rax + 0x10], 0
je 0x1400d76a0
xor r9d, r9d
mov r8d, 4
lea rdx, [0x140091e90]
call qword [sym.imp.lua54.dll_lua_sethook]
mov rax, qword [0x1401fc998]
mov qword [rax + 0x18], rsi
jmp 0x1400d76ba
call qword [sym.imp.lua54.dll_lua_close]
mov rax, qword [0x1401fc998]
mov qword [rax + 0x18], rsi
jmp 0x1400d76ba
mov byte [0x1401fbc5c], 1
movss xmm1, dword [0x1401d221c]
xorps xmm0, xmm0
call fcn.140031af0
xor r8d, r8d
lea rdx, [rsp + 0x30]
cmp byte [0x1401fbcb3], r8b
je 0x1400d76fc
lea rcx, [0x1401c98f0]
call fcn.140062bf0
test al, al
je 0x1400d7727
mov byte [0x1401fbcb3], 0
call qword [sym.imp.KERNEL32.DLL_GetConsoleWindow]
xor edx, edx
jmp 0x1400d771e
lea rcx, str._Console
call fcn.140062bf0
test al, al
je 0x1400d7727
mov byte [0x1401fbcb3], 1
call qword [sym.imp.KERNEL32.DLL_GetConsoleWindow]
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edi, esi
lea rbx, str.sleep
mov rdx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400d7750
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov rax, qword [0x1401f4420]
mov qword [rbp - 0x70], rax
lea rdx, [0x1401f4428]
lea rcx, [rbp - 0x68]
call fcn.140006830
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [0x1401fc300]
call fcn.1400ea700
nop
lea rcx, [rbp - 0x68]
call fcn.140006950
lea rcx, [rsp + 0x70]
call fcn.140006950
nop
lea rcx, [rsp + 0x50]
call fcn.140006950
inc edi
add rbx, 8
cmp edi, 0x22
jb 0x1400d7730
lea rax, [0x1401c4ff4]
mov qword [rbp - 0x40], rax
lea rax, str.amount
mov qword [rbp - 0x38], rax
lea rax, str.name
mov qword [rbp - 0x30], rax
lea rax, str.rarity
mov qword [rbp - 0x28], rax
lea rax, str.growtime
mov qword [rbp - 0x20], rax
lea rax, str.breakhit
mov qword [rbp - 0x18], rax
lea rax, str.clothingtype
mov qword [rbp - 0x10], rax
lea rax, str.collisiontype
mov qword [rbp - 8], rax
lea rax, str.type
mov qword [rbp], rax
lea rax, [0x1401c4eac]
mov qword [rbp + 8], rax
lea rax, [0x1401c4f00]
mov qword [rbp + 0x10], rax
lea rax, str.pos.x
mov qword [rbp + 0x18], rax
lea rax, str.pos.y
mov qword [rbp + 0x20], rax
lea rax, str.flags
mov qword [rbp + 0x28], rax
lea rax, [0x1401c5098]
mov qword [rbp + 0x30], rax
lea rax, str.netid
mov qword [rbp + 0x38], rax
lea rax, str.userid
mov qword [rbp + 0x40], rax
lea rax, str.country
mov qword [rbp + 0x48], rax
lea rax, str.width
mov qword [rbp + 0x50], rax
lea rax, str.height
mov qword [rbp + 0x58], rax
lea rax, str.tilecount
mov qword [rbp + 0x60], rax
lea rax, str.objectcount
mov qword [rbp + 0x68], rax
lea rax, str.lastoid
mov qword [rbp + 0x70], rax
lea rax, str.objtype
mov qword [rbp + 0x78], rax
lea rax, str.count1
mov qword [rbp + 0x80], rax
lea rax, str.count2
mov qword [rbp + 0x88], rax
lea rax, str.secondnetid
mov qword [rbp + 0x90], rax
lea rax, str.characterstate
mov qword [rbp + 0x98], rax
lea rax, str.float1
mov qword [rbp + 0xa0], rax
lea rax, str.idata
mov qword [rbp + 0xa8], rax
lea rax, [0x1401c4f08]
mov qword [rbp + 0xb0], rax
lea rax, [0x1401c4f04]
mov qword [rbp + 0xb8], rax
lea rax, str.vec2x
mov qword [rbp + 0xc0], rax
lea rax, str.vec2y
mov qword [rbp + 0xc8], rax
lea rax, str.part
mov qword [rbp + 0xd0], rax
lea rax, [0x1401c9998]
mov qword [rbp + 0xd8], rax
lea rax, [0x1401c99bc]
mov qword [rbp + 0xe0], rax
lea rax, str.extrasize
mov qword [rbp + 0xe8], rax
lea rax, str.isReady
mov qword [rbp + 0xf0], rax
lea rax, [0x1401c4ff8]
mov qword [rbp + 0xf8], rax
lea rax, [0x1401c4fe8]
mov qword [rbp + 0x100], rax
lea rax, str.hasExtra
mov qword [rbp + 0x108], rax
lea rbx, [rbp - 0x40]
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400d7a20
lea rcx, [rsp + 0x70]
call fcn.140013b60
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [0x1401fc2c0]
call fcn.1400e7630
nop
lea rcx, [rsp + 0x70]
call fcn.140006950
add rbx, 8
lea rax, [rbp + 0x110]
cmp rbx, rax
jne 0x1400d7a00
lea rdx, [0x1401fc2a0]
call fcn.140113ae0
cmp dword [0x1401f40a0], 0xffffffff
je 0x1400d7b62
lea rcx, [0x1401f41b0]
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rcx, qword [0x1401f41b0]
mov r8, qword [reloc.WS2_32.dll_connect]
cmp r8, 4
jne 0x1400d7ab7
lea rdx, [0x140156544]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400d7b62
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov ecx, 0x48
call fcn.14012adc0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x50], rax
mov eax, dword [0x1401f4098]
lea rdx, [0x1401f41b0]
lea rcx, [rsp + 0x78]
cmp eax, 0xffffffff
jne 0x1400d7b27
mov eax, dword [0x1401f40a0]
mov dword [rsp + 0x70], eax
call fcn.140006830
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400e6c00
nop
jmp 0x1400d7b46
mov dword [rsp + 0x70], eax
call fcn.140006830
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400e6c00
nop
lea rcx, [rsp + 0x78]
call fcn.140006950
lea rdx, [rsp + 0x50]
call fcn.14009b570
nop
lea rcx, [rsp + 0x50]
jmp 0x1400d7ba4
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov ecx, 0x48
call fcn.14012adc0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
call fcn.14009b570
nop
lea rcx, [rsp + 0x40]
call fcn.1400e26d0
mov rax, qword [0x1401fc998]
test rax, rax
je 0x1400d7ccb
xorps xmm0, xmm0
mov ecx, 0x18
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x80], rsi
cmp dword [rax + 0xde0], 0xffffffff
je 0x1400d7c68
movups xmmword [rbp - 0x70], xmm0
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x78], rsi
call fcn.14012adc0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x58], 8
mov dword [rsp + 0x70], 0x3f800000
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x78]
call fcn.1400e37b0
nop
mov r8, qword [0x1401fc998]
add r8, 0xde0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400e73f0
lea rdx, [rsp + 0x70]
lea rcx, [0x1401fc208]
call fcn.1400e3490
nop
jmp 0x1400d7cc1
call fcn.14012adc0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x58], 8
mov dword [rsp + 0x70], 0x3f800000
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x78]
call fcn.1400e37b0
nop
lea rdx, [rsp + 0x70]
lea rcx, [0x1401fc208]
call fcn.1400e3490
nop
lea rcx, [rsp + 0x70]
call fcn.1400d7d50
mov qword [rsp + 0x50], 0
lea r8, [rsp + 0x50]
call fcn.140118b40
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14012ada0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret