Function at 0x140218210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xd0
mov rax, qword [0x1402e6010]
xor rax, rsp
mov qword [rbp + 7], rax
mov r15, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rbp - 0x41], rcx
mov qword [rbp - 0x39], r9
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r12d, r12d
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
mov rdx, r9
add rcx, 0x40
call fcn.1401ff290
nop
mov qword [rsi + 0x80], rbx
mov qword [rsi + 0xb0], r12
mov qword [rsi + 0xb8], r12
mov qword [rsi + 0xc0], r12
mov qword [rsi + 0xc8], r12
mov qword [rsi + 0xe8], r12
mov qword [rsi + 0xf0], r12
mov qword [rsi + 0xf8], r12
movzx eax, byte [rbp + 0x7f]
mov byte [rsi + 0x100], al
mov qword [rsi + 0x128], r12
mov dword [rsi + reloc.WSOCK32.dll_sendto0], 0x14
mov byte [rsi + 0x158], r12b
mov qword [rsi + 0x198], r12
xorps xmm0, xmm0
movups xmmword [rsi + 0x1a0], xmm0
mov qword [rsi + 0x1b0], r12
mov r13d, reloc.WSOCK32.dll_ntohs
mov qword [rsi + 0x1b8], r13
mov byte [rsi + 0x1a0], r12b
mov qword [rsi + 0x1d8], r12
mov qword [rsi + 0x1f0], r12
mov rcx, qword [rsi + 0x80]
mov rax, qword [rcx + 0xa8]
mov qword [rsi + 0x90], rax
mov rax, qword [rcx + 0x98]
mov qword [rsi + 0x88], rax
mov rax, qword [rcx + 0xa0]
mov qword [rsi + 0x98], rax
mov rax, qword [rcx + 0xd0]
mov qword [rsi + 0xa0], rax
mov qword [rsi + 0x148], r12
mov qword [rsi + 0x138], r12
mov ecx, 0x100
call fcn.140241c38
mov rbx, rax
mov qword [rbp - 9], rax
mov rdx, rdi
mov rcx, rax
call fcn.140006f10
nop
movzx eax, byte [rdi + 0x20]
mov byte [rbx + 0x20], al
movzx eax, byte [rdi + 0x21]
mov byte [rbx + 0x21], al
mov eax, dword [rdi + 0x40]
mov dword [rbx + 0x40], eax
mov eax, dword [rdi + 0x44]
mov dword [rbx + 0x44], eax
mov eax, dword [rdi + 0x48]
mov dword [rbx + 0x48], eax
mov eax, dword [rdi + 0x4c]
mov dword [rbx + 0x4c], eax
mov eax, dword [rdi + 0x50]
mov dword [rbx + 0x50], eax
mov eax, dword [rdi + 0x54]
mov dword [rbx + 0x54], eax
lea rcx, [rbx + 0x60]
lea rdx, [rdi + 0x60]
call fcn.140006f10
nop
lea rcx, [rbx + 0x80]
lea rdx, [rdi + 0x80]
call fcn.140006f10
nop
lea rcx, [rbx + 0xa0]
lea rdx, [rdi + 0xa0]
call fcn.140006f10
movups xmm0, xmmword [rdi + 0xc0]
movups xmmword [rbx + 0xc0], xmm0
mov eax, dword [rdi + 0xd0]
mov dword [rbx + 0xd0], eax
mov eax, dword [rdi + 0xd4]
mov dword [rbx + 0xd4], eax
mov qword [rbx + 0xd8], r12
mov qword [rbx + 0xe0], r12
mov qword [rbx + 0xe8], r12
mov qword [rsi + 0x120], rbx
mov eax, dword [rdi + 0x28]
mov dword [rbx + 0x28], eax
mov rcx, qword [rsi + 0x120]
mov eax, dword [rdi + 0x2c]
mov dword [rcx + 0x2c], eax
mov rcx, qword [rsi + 0x120]
mov eax, dword [rdi + 0xf0]
mov dword [rcx + 0xf0], eax
mov rcx, qword [rsi + 0x120]
mov eax, dword [rdi + 0xf4]
mov dword [rcx + 0xf4], eax
lea r8, [rdi + 0xd8]
mov rcx, qword [rsi + 0x120]
add rcx, 0xd8
cmp rcx, r8
je 0x14021849b
mov r9, qword [r8]
mov r8, qword [r8 + 8]
sub r8, r9
movabs rax, 0x2aaaaaaaaaaaaaab
imul r8
sar rdx, 3
mov r8, rdx
shr r8, 0x3f
add r8, rdx
mov rdx, r9
call fcn.14021eea0
mov rcx, qword [rsi + 0x120]
mov eax, dword [rdi + 0x30]
mov dword [rcx + 0x30], eax
mov rcx, qword [rsi + 0x120]
mov eax, dword [rdi + 0x34]
mov dword [rcx + 0x34], eax
mov rcx, qword [rsi + 0x120]
mov eax, dword [rdi + 0x38]
mov dword [rcx + 0x38], eax
mov rcx, qword [rsi + 0x120]
mov eax, dword [rdi + 0x3c]
mov dword [rcx + 0x3c], eax
mov rcx, qword [rsi + 0x90]
mov rax, qword [rcx]
mov rdx, qword [rsi + 0x120]
call qword [rax]
mov rcx, rax
mov qword [rsi + 0x190], rax
mov rax, qword [rax]
movss xmm1, dword [0x1402978b4]
call qword [rax + 0x488]
mov rcx, qword [rsi + 0x90]
mov rax, qword [rcx]
mov rdx, qword [rsi + 0x190]
call qword [rax + 0x18]
mov rcx, qword [rsi + 0x190]
mov rax, qword [rcx]
call qword [rax + 0x3e8]
mov rdi, rax
mov qword [rsi + 0x110], rax
mov rax, qword [rax]
mov rbx, qword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], r13
mov ecx, 0x20
call fcn.140241c38
mov rdx, rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], socket
mov qword [rbp - 0x11], 0x1f
movups xmm0, xmmword [str.InstanceRenderingGroup]
movups xmmword [rax], xmm0
mov eax, dword [0x140294928]
mov dword [rdx + 0x10], eax
movzx eax, word [0x14029492c]
mov word [rdx + 0x14], ax
mov byte [rdx + 0x16], 0
lea rdx, [rbp - 0x29]
mov rcx, rdi
call rbx
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1402185cc
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402185c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402185c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140241c74
mov rcx, qword [rsi + 0x110]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x30]
mov rcx, qword [rsi + 0x110]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x40]
mov rcx, qword [rsi + 0x190]
mov rax, qword [rcx]
call qword [rax + 0x3f8]
mov rdi, rax
mov qword [rsi + 0x160], rax
mov rax, qword [rax]
mov rbx, qword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], r13
mov ecx, 0x20
call fcn.140241c38
mov rcx, rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], reloc.WSOCK32.dll_sendto
mov qword [rbp - 0x11], 0x1f
movups xmm0, xmmword [str.WeaponRenderingGroup]
movups xmmword [rax], xmm0
mov eax, dword [0x140294978]
mov dword [rcx + 0x10], eax
mov byte [rcx + 0x14], 0
lea rdx, [rbp - 0x29]
mov rcx, rdi
call rbx
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14021869a
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140218695
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140218695
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140241c74
mov rcx, qword [rsi + 0x160]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x20]
mov rcx, qword [rsi + 0x160]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
mov rcx, qword [rsi + 0x190]
mov rax, qword [rcx]
call qword [rax + 0x3f8]
mov rdi, rax
mov qword [rsi + 0x168], rax
mov rax, qword [rax]
mov rbx, qword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], r13
mov ecx, 0x20
call fcn.140241c38
mov rdx, rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], reloc.WSOCK32.dll_setsockopt
mov qword [rbp - 0x11], 0x1f
movups xmm0, xmmword [str.OverlayRenderingGroup]
movups xmmword [rax], xmm0
mov eax, dword [0x140294990]
mov dword [rdx + 0x10], eax
movzx eax, byte [0x140294994]
mov byte [rdx + 0x14], al
mov byte [rdx + 0x15], 0
lea rdx, [rbp - 0x29]
mov rcx, rdi
call rbx
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140218772
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14021876d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14021876d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140241c74
mov rcx, qword [rsi + 0x168]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x20]
mov rcx, qword [rsi + 0x168]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
mov dword [rsi + 0x104], 0x3e7
mov rcx, qword [rsi + 0x98]
mov rax, qword [rcx]
mov r8, qword [rax + 0x478]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], 0xa
mov qword [rbp - 0x11], r13
movsd xmm0, qword [str.SceneCache]
movsd qword [rbp - 0x29], xmm0
movzx eax, word [0x140294960]
mov word [rbp - 0x21], ax
mov byte [rbp - 0x1f], 0
lea rdx, [rbp - 0x29]
call r8
mov qword [rsi + 0x1c0], rax
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140218826
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140218821
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140218821
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140241c74
mov rcx, qword [rsi + 0x98]
mov rax, qword [rcx]
mov rdx, qword [rsi + 0x1c0]
call qword [rax + 0x468]
mov rcx, qword [rsi + 0x98]
mov rax, qword [rcx]
mov r8, qword [rax + 0x3b8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], 0xa
mov qword [rbp - 0x11], r13
movsd xmm0, qword [str.SceneCache]
movsd qword [rbp - 0x29], xmm0
movzx eax, word [0x140294960]
mov word [rbp - 0x21], ax
mov byte [rbp - 0x1f], 0
lea rdx, [rbp - 0x29]
call r8
mov qword [rsi + 0x1c8], rax
lea rcx, [rbp - 0x29]
call fcn.140007550
mov rcx, qword [rsi + 0x98]
mov rax, qword [rcx]
mov rdx, qword [rsi + 0x1c8]
call qword [rax + 0x3a8]
mov eax, dword [rbp + 0x77]
mov dword [rsi + 0x20], eax
mov rdx, r15
lea rcx, [rbp - 0x29]
call qword [sym.imp.Hedgine_x64.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_hedgine::Widen_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
mov rdx, rax
mov rcx, rsi
call fcn.140062940
lea rcx, [rbp - 0x29]
call fcn.1400073b0
mov qword [rsi + 0x2c], r12
mov qword [rsi + 0x24], r12
mov ebx, r12d
mov edi, 0x4c8
mov rax, qword [rsi + 0x80]
movss xmm2, dword [rdi + rax]
mov edx, ebx
mov rcx, rsi
call fcn.1402194c0
inc ebx
lea rdi, [rdi + 4]
cmp ebx, 6
jl 0x1402188e2
mov rax, qword [rsi + 0x80]
mov rcx, qword [rax + 0x90]
mov rax, qword [rcx]
lea rdx, [rbp - 9]
call qword [rax + 0xe8]
mov ecx, dword [rax]
mov dword [rsi + 0x198], ecx
mov eax, dword [rax + 4]
mov dword [rsi + 0x19c], eax
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
mov eax, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm1, xmm0
movss dword [rsi + 0x130], xmm1
movsxd rax, dword [rsi + 0x78]
cmp eax, 4
jne 0x14021895b
mov rdi, r12
jmp 0x140218966
mov rcx, rax
mov rax, qword [rsi + 0x60]
mov rdi, qword [rax + rcx*8]
mov rcx, qword [rsi + 0x80]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], recv
mov qword [rbp - 0x11], r13
movsd xmm0, qword [str.DDR_Compass]
movsd qword [rbp - 0x29], xmm0
movzx eax, word [0x140290148]
mov word [rbp - 0x21], ax
movzx eax, byte [reloc.WSOCK32.dll_WSAStartup]
mov byte [rbp - 0x1f], al
mov byte [rbp - 0x1e], 0
lea rdx, [rbp - 0x29]
mov rcx, qword [rcx + 0x130]
call fcn.1400da190
mov rbx, rax
mov rdx, qword [rdi + 0x1e0]
test rdx, rdx
je 0x1402189df
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
add dword [rcx + 8], 0xffffffff
jne 0x1402189df
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rdx, rbx
mov rcx, rdi
call fcn.140113c80
mov qword [rdi + 0x1e0], rax
mov ecx, 0x350
call fcn.140241c38
mov rbx, rax
mov qword [rbp - 0x49], rax
movaps xmm0, xmmword [0x140298600]
movaps xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movaps xmmword [rbp - 9], xmm1
xorps xmm0, xmm0
movaps xmmword [rbp - 0x29], xmm0
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x29]
mov r8, qword [rsi + 0x190]
xor edx, edx
mov rcx, rbx
call fcn.1400037f0
nop
lea rax, vtable.CDebugController.0
mov qword [rbx], rax
mov qword [rbx + 0x310], rsi
mov dword [rbx + 0x320], 0x3f800000
mov dword [rbx + 0x324], 0x3f800000
mov qword [rbx + 0x330], r12
mov qword [rbx + 0x338], r12
mov byte [rbx + 0x340], 0
mov ecx, 0x180
call fcn.140241c38
mov qword [rbp - 0x59], rax
movss xmm2, dword [rsi + 0x130]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x29], xmm0
movss xmm1, dword [0x14029739c]
movss dword [rbp - 9], xmm1
movss xmm0, dword [0x1402973bc]
movss dword [rbp - 5], xmm0
movss xmm1, dword [0x14029752c]
movss dword [rsp + 0x48], xmm1
movss xmm0, dword [0x140297908]
movss dword [rsp + 0x40], xmm0
movss xmm1, dword [0x14029720c]
movss dword [rsp + 0x38], xmm1
movss dword [rsp + 0x30], xmm2
movss xmm0, dword [0x140297480]
movss dword [rsp + 0x28], xmm0
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 9]
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
mov rcx, rax
call fcn.1400c6b80
nop
mov qword [rbx + 0x318], rax
mov byte [rax + 0x8c], 0
mov rcx, qword [rax + 0xd8]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x2d8]
mov rax, qword [rbx + 0x318]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x20]
mov rax, qword [rbx + 0x318]
mov byte [rax + 0x8e], 1
mov qword [rsi + 0x150], rbx
mov rcx, qword [rsi + 0x190]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x390]
mov ecx, 0x910
call fcn.140241c38
mov qword [rbp - 0x59], rax
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.14020fd40
mov rcx, rax
mov qword [rsi + 0xc0], rax
mov rax, qword [rsi + 0x80]
mov rcx, qword [rcx + 0x430]
mov rdi, qword [rcx + 0xd8]
mov rcx, qword [rdi]
mov rbx, qword [rcx + 0x278]
mov dword [rbp - 0x49], 0x43160000
movss xmm0, dword [0x1402973c0]
movss dword [rbp - 9], xmm0
movss xmm2, dword [rax + 0x3b8]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call qword [sym.imp.Hedgine_x64.dll_float___cdecl_hedgine::lerp_float__float_const____ptr64__float_const____ptr64__float_]
movaps xmm1, xmm0
mov rcx, rdi
call rbx
mov rdx, qword [rsi + 0xc0]
mov rax, qword [rsi + 0x120]
movsxd rcx, dword [rax + 0x28]
mov qword [rdx + 0x588], rcx
mov rbx, qword [rsi + 0xc0]
mov byte [rbx + 0x560], 0
mov rax, qword [rbx + 0x430]
mov rcx, qword [rax + 0xd8]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x2d8]
mov qword [rbx + 0x5f8], 0
mov qword [rbx + 0x600], 0
mov qword [rbx + 0x608], 0
mov qword [rbx + 0x610], 0
mov qword [rbx + 0x618], 0
mov qword [rbx + 0x620], 0
mov qword [rbx + 0x628], 0
mov dword [rbx + 0x630], 0
mov word [rbx + 0x634], 0
xorps xmm0, xmm0
movups xmmword [rbx + 0x6b0], xmm0
mov ecx, 0x350
call fcn.140241c38
mov qword [rbp - 0x59], rax
mov r8, qword [rsi + 0x120]
mov rdx, rsi
mov rcx, rax
call fcn.1400fd030
nop
mov qword [rsi + 0xb0], rax
mov rcx, qword [rsi + 0x190]
mov rax, qword [rcx]
mov rdx, qword [rsi + 0xc0]
call qword [rax + 0x390]
mov ecx, 0x68
call fcn.140241c38
mov qword [rbp - 0x59], rax
mov rdx, qword [rsi + 0xb0]
mov rcx, rax
call fcn.140217090
nop
mov qword [rsi + 0x1d0], rax
mov rcx, qword [rsi + 0x190]
mov rax, qword [rcx]
mov qword [rbp - 0x59], 0
mov qword [rbp - 9], 0
mov qword [rbp - 0x51], 0
mov qword [rbp - 1], 0
lea r9, [rbp - 0x59]
lea r8, [rbp - 9]
xor edx, edx
call qword [rax + 0x208]
mov rcx, rax
mov qword [rsi + 0xc8], rax
mov rax, qword [rax]
movss xmm1, dword [rsi + 0x130]
call qword [rax + 0x218]
mov rcx, qword [rsi + 0xc8]
mov rax, qword [rcx]
movss xmm1, dword [0x140297348]
call qword [rax + 0x1e8]
mov rcx, qword [rsi + 0xc8]
mov rax, qword [rcx]
mov rdx, qword [rax + 0x1f8]
mov rax, qword [rsi + 0x80]
movss xmm1, dword [rax + 0x4c8]
call rdx
mov rcx, qword [rsi + 0x190]
mov rax, qword [rcx]
mov qword [rbp - 0x59], 0
mov qword [rbp - 9], 0
mov qword [rbp - 0x51], 0
mov qword [rbp - 1], 0
lea r9, [rbp - 0x59]
lea r8, [rbp - 9]
xor edx, edx
call qword [rax + 0x208]
mov rcx, rax
mov qword [rsi + 0xd0], rax
mov rax, qword [rax]
movss xmm1, dword [rsi + 0x130]
call qword [rax + 0x218]
mov qword [rsi + 0xd8], r12
mov qword [rsi + 0xe0], r12
mov byte [rsi + 0x101], 1
mov byte [rsi + 0x208], 1
mov dword [rsi + 0x118], 1
mov qword [rsi + 0x170], r12
mov qword [rsi + 0x178], r12
mov qword [rsi + 0x180], r12
mov qword [rsi + 0x188], 0x1f4
lea rcx, [r15 + 0x20]
call fcn.140009190
mov rcx, r15
call fcn.140007550
mov rax, rsi
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140241980
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret