Function at 0x180158320
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 [0x1802e4d90]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1c20]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x93]
test eax, eax
je 0x18015836c
xor al, al
jmp 0x180158756
mov eax, dword [rsp + 0xe0]
and eax, 0x100000
test eax, eax
jne 0x18015838c
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax + 0x14]
call fcn.180109590
mov rax, qword [rsp + 0x30]
add rax, 0x2100
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x98]
call fcn.18016e420
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.1801246e0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
mov qword [rax + 0x20d0], rcx
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0xd8]
mov rcx, qword [rsp + 0xd0]
mov qword [rcx + 0x80], rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x1ba0]
cmp dword [rax + 0x24], ecx
jne 0x180158469
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd0]
vmovss xmm0, dword [rax + 0x38]
vaddss xmm0, xmm0, dword [rcx + 0x74]
vmovups xmm2, xmm0
mov rax, qword [rsp + 0xd0]
vmovss xmm1, dword [rax + 0x2c]
lea rcx, [rsp + 0x78]
call fcn.1800867a0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0xd8], rax
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x6a]
inc al
mov rcx, qword [rsp + 0xd0]
mov byte [rcx + 0x6a], al
mov al, 1
jmp 0x180158756
mov eax, dword [rsp + 0xe0]
and eax, 1
mov rcx, qword [rsp + 0xd0]
mov ecx, dword [rcx + 0x10]
and ecx, 1
cmp eax, ecx
jne 0x1801584a3
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x6d]
test eax, eax
je 0x1801584dc
mov eax, dword [rsp + 0xe0]
and eax, 1
test eax, eax
jne 0x1801584dc
mov rax, qword [rsp + 0xd0]
cmp dword [rax], 1
jle 0x1801584dc
mov rax, qword [rsp + 0xd0]
movsxd rax, dword [rax]
lea r9, [0x18016e370]
mov r8d, 0x28
mov rdx, rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 8]
call fcn.1801aa6b0
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0x6d], 0
mov eax, dword [rsp + 0xe0]
and eax, 0xc0
test eax, eax
jne 0x180158509
mov eax, dword [rsp + 0xe0]
or eax, 0x40
mov dword [rsp + 0xe0], eax
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0xe0]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xd0]
lea rdi, [rax + 0x2c]
mov rsi, qword [rsp + 0xd8]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0x6b], 1
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd0]
mov ecx, dword [rcx + 0x24]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x1ba0]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd0]
vmovss xmm0, dword [rcx + 0x3c]
vmovss dword [rax + 0x40], xmm0
mov rax, qword [rsp + 0xd0]
vxorps xmm0, xmm0, xmm0
vmovss dword [rax + 0x3c], xmm0
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x30]
vmovss xmm0, dword [rcx + 0x15c0]
vmovss dword [rax + 0x74], xmm0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x15ac]
mov rcx, qword [rsp + 0xd0]
mov qword [rcx + 0x78], rax
xor eax, eax
mov rcx, qword [rsp + 0xd0]
mov word [rcx + 0x6e], ax
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0x6a], 1
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd0]
vmovss xmm0, dword [rax + 0x38]
vaddss xmm0, xmm0, dword [rcx + 0x74]
vmovups xmm2, xmm0
mov rax, qword [rsp + 0xd0]
vmovss xmm1, dword [rax + 0x2c]
lea rcx, [rsp + 0x80]
call fcn.1800867a0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0xd8], rax
mov eax, dword [rsp + 0xe0]
and eax, 0x200000
test eax, eax
je 0x180158646
mov dword [rsp + 0x40], 0x23
jmp 0x18015864e
mov dword [rsp + 0x40], 0x25
vmovss xmm1, dword [0x180278d3c]
mov ecx, dword [rsp + 0x40]
call fcn.1800fa500
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xd0]
vmovss xmm0, dword [rax + 0x38]
vsubss xmm0, xmm0, dword [0x180278d3c]
vmovss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x38]
vmovss xmm0, dword [rax + 0x40]
vmulss xmm0, xmm0, dword [0x180278ccc]
vcvttss2si eax, xmm0
vcvtsi2ss xmm0, xmm0, eax
mov rax, qword [rsp + 0xd0]
vmovss xmm1, dword [rax + 0x2c]
vsubss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x4c], xmm0
mov rax, qword [rsp + 0x38]
vmovss xmm0, dword [rax + 0x40]
vmulss xmm0, xmm0, dword [0x180278ccc]
vcvttss2si eax, xmm0
vcvtsi2ss xmm0, xmm0, eax
mov rax, qword [rsp + 0xd0]
vmovss xmm1, dword [rax + 0x34]
vaddss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x48], xmm0
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x268]
mov qword [rsp + 0x70], rax
vmovss xmm2, dword [rsp + 0x44]
vmovss xmm1, dword [rsp + 0x48]
lea rcx, [rsp + 0x88]
call fcn.1800867a0
mov qword [rsp + 0x60], rax
vmovss xmm2, dword [rsp + 0x44]
vmovss xmm1, dword [rsp + 0x4c]
lea rcx, [rsp + 0x90]
call fcn.1800867a0
mov qword [rsp + 0x68], rax
vmovss xmm0, dword [0x180278d3c]
vmovss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.180129420
mov al, 1
add rsp, 0xb8
pop rdi
pop rsi
ret