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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [0x1803a2950]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x180]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xd0]
add rax, 0x10
mov rcx, qword [rsp + 0xd8]
add rcx, 8
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x80]
call fcn.180151d30
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xd0]
add rax, 0x10
mov rcx, qword [rsp + 0xd8]
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x88]
call fcn.180151d30
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1801513c0
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x1bf9]
test eax, eax
je 0x180161ea3
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0xd0]
mov ecx, dword [rcx + 0x138]
cmp dword [rax + 0x1bec], ecx
jne 0x180161ea3
mov eax, dword [rsp + 0x38]
and eax, 0x10
test eax, eax
je 0x180161e5a
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x1bfc], 0
jne 0x180161e87
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0xe0]
mov dword [rax + 0x1bfc], ecx
mov rax, qword [rsp + 0x20]
lea rcx, [rsp + 0x50]
lea rdi, [rax + 0x1c00]
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x38]
and eax, 0x10
test eax, eax
jne 0x180161ea3
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x1bf9], 0
call fcn.180164160
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0xe0]
cmp dword [rax + 0x1b88], ecx
jne 0x180161ecd
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x1c14]
and eax, 0x10
test eax, eax
je 0x180162159
mov eax, dword [rsp + 0x38]
and eax, 0xc
test eax, eax
jne 0x180162159
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1b80]
cmp qword [rsp + 0xd0], rax
jne 0x180161f04
mov rax, qword [rsp + 0x20]
add rax, 0x1c28
mov qword [rsp + 0x48], rax
jmp 0x180161f14
mov rax, qword [rsp + 0x20]
add rax, 0x1c88
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x1c11]
test eax, eax
je 0x180161f6b
lea rax, [rsp + 0x90]
mov rdi, rax
mov rsi, qword [rsp + 0xd8]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
call fcn.1801623a0
movzx eax, al
test eax, eax
je 0x180161f6b
mov dword [rsp + 0x3c], 1
jmp 0x180161f73
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x180161fcf
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0xe0]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x2ee0]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
lea rdi, [rax + 0x1c]
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
vmovss xmm0, dword [0x18026f444]
vmovss dword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x1c14]
and eax, 0x20
test eax, eax
je 0x180162159
mov rax, qword [rsp + 0xd0]
add rax, 0x230
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x78]
call fcn.180166900
movzx eax, al
test eax, eax
je 0x180162159
mov rax, qword [rsp + 0xd0]
vmovss xmm2, dword [rax + 0x23c]
mov rax, qword [rsp + 0xd0]
vmovss xmm1, dword [rax + 0x234]
mov rax, qword [rsp + 0xd8]
vmovss xmm0, dword [rax + 0xc]
call fcn.18014e690
vmovss dword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0xd0]
vmovss xmm2, dword [rax + 0x23c]
mov rax, qword [rsp + 0xd0]
vmovss xmm1, dword [rax + 0x234]
mov rax, qword [rsp + 0xd8]
vmovss xmm0, dword [rax + 4]
call fcn.18014e690
vmovss xmm1, dword [rsp + 0x40]
vsubss xmm0, xmm1, xmm0
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd8]
vmovss xmm1, dword [rax + 0xc]
vsubss xmm1, xmm1, dword [rcx + 4]
vmulss xmm1, xmm1, dword [0x18026f444]
vcomiss xmm0, xmm1
jb 0x180162159
lea rax, [rsp + 0xa0]
mov rdi, rax
mov rsi, qword [rsp + 0xd8]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x20]
add rax, 0x1c58
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.1801623a0
movzx eax, al
test eax, eax
je 0x180162159
mov rax, qword [rsp + 0x20]
add rax, 0x1c58
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0xe0]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x2ee0]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
lea rdi, [rax + 0x1c]
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0xe0]
cmp dword [rax + 0x1b88], ecx
jne 0x1801621f5
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0xd0]
mov qword [rax + 0x1b80], rcx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0xd0]
mov ecx, dword [rcx + 0x138]
mov dword [rax + 0x1bec], ecx
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x1bf4], 1
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0xd0]
mov ecx, dword [rcx + 0x17c]
mov dword [rax + 0x1bf0], ecx
mov rax, qword [rsp + 0xd0]
movsxd rax, dword [rax + 0x138]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xd0]
lea rdx, [rsp + 0x50]
lea rdi, [rcx + rax + 0x388]
mov rsi, rdx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
add rsp, 0xb8
pop rdi
pop rsi
ret