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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x288
mov rax, qword [0x1802ae740]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [0x1802e4d90]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 0x1a8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x2a0]
movsx eax, byte [rax + 0x1f2]
test eax, eax
jle 0x18018a3bd
mov byte [rsp + 0x31], 1
jmp 0x18018a3c2
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x2a0]
movsx eax, byte [rax + 0x1f4]
test eax, eax
jle 0x18018a3e5
mov byte [rsp + 0x32], 1
jmp 0x18018a3ea
mov byte [rsp + 0x32], 0
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x34], al
mov dword [rsp + 0x7c], 0
lea r9, [0x18018ee80]
mov r8d, 4
mov edx, 0x28
lea rcx, [rsp + 0x1d0]
call fcn.18009a490
mov dword [rsp + 0x3c], 0
jmp 0x18018a42e
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x74]
cmp dword [rsp + 0x3c], eax
jge 0x18018a7bc
mov eax, dword [rsp + 0x3c]
mov ecx, 1
shlx rax, rcx, rax
mov rcx, qword [rsp + 0x2a0]
mov rcx, qword [rcx + 0x58]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x18018a46a
jmp 0x18018a424
mov rax, qword [rsp + 0x2a0]
add rax, 0x18
mov qword [rsp + 0xe8], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xe8]
call fcn.1801217f0
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x18018a4aa
mov dword [rsp + 0x88], 2
jmp 0x18018a4b5
mov dword [rsp + 0x88], 1
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0xc8], eax
mov dword [rsp + 0x40], 0
jmp 0x18018a4d7
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xc8]
cmp dword [rsp + 0x40], eax
jge 0x18018a7ae
cmp dword [rsp + 0x40], 0
jne 0x18018a4fe
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x58]
mov byte [rsp + 0x33], al
jmp 0x18018a50b
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x59]
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0xf0], rax
mov edx, dword [rsp + 0x94]
mov rcx, qword [rsp + 0xf0]
call fcn.1801218a0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
cmp dword [rax], 0
jle 0x18018a577
mov rax, qword [rsp + 0xa0]
mov rcx, rax
call fcn.180123800
cmp dword [rax + 0x20], 0
jne 0x18018a577
mov rax, qword [rsp + 0xa0]
mov rcx, rax
call fcn.180124220
mov rax, qword [rsp + 0xa0]
cmp dword [rax], 1
je 0x18018a589
jmp 0x18018a4cd
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
and eax, 0x100
test eax, eax
jne 0x18018a612
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x18018a5c3
mov rax, qword [rsp + 0x60]
vmovss xmm1, dword [rax + 0x48]
mov rax, qword [rsp + 0x60]
vmovss xmm0, dword [rax + 0x44]
call fcn.180184060
vmovss dword [rsp + 0x78], xmm0
jmp 0x18018a5fb
cmp dword [rsp + 0x40], 0
jne 0x18018a5eb
mov rax, qword [rsp + 0x60]
vmovss xmm1, dword [rax + 0x48]
mov rax, qword [rsp + 0x60]
vmovss xmm0, dword [rax + 0x40]
call fcn.180184060
vmovss dword [rsp + 0x78], xmm0
jmp 0x18018a5fb
mov rax, qword [rsp + 0x60]
vmovss xmm0, dword [rax + 0x44]
vmovss dword [rsp + 0x78], xmm0
mov rax, qword [rsp + 0x60]
vmovss xmm0, dword [rsp + 0x78]
vcomiss xmm0, dword [rax + 0x28]
jbe 0x18018a612
jmp 0x18018a4cd
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x18018a63d
mov rax, qword [rsp + 0x2a0]
movsx eax, byte [rax + 0x1f4]
cmp dword [rsp + 0x3c], eax
jge 0x18018a63d
mov dword [rsp + 0x90], 0
jmp 0x18018a648
mov dword [rsp + 0x90], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x18018a665
cmp dword [rsp + 0x40], 0
jne 0x18018a665
mov dword [rsp + 0x8c], 0
jmp 0x18018a670
mov dword [rsp + 0x8c], 2
mov eax, dword [rsp + 0x8c]
mov ecx, dword [rsp + 0x90]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x98], eax
movsxd rax, dword [rsp + 0x98]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x1d0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x10], 0
jne 0x18018a6f8
vmovss xmm0, dword [0x1801e044c]
vmovss dword [rsp + 0x20], xmm0
vmovss xmm3, dword [0x1801e044c]
vmovss xmm2, dword [0x180278eb0]
vmovss xmm1, dword [0x180278eb0]
lea rcx, [rsp + 0x190]
call fcn.180120f60
mov rdi, qword [rsp + 0x80]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x80]
add rax, 0x14
mov qword [rsp + 0xf8], rax
mov edx, dword [rsp + 0x94]
mov rcx, qword [rsp + 0xf8]
call fcn.180190910
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x100], rax
xor edx, edx
mov rcx, qword [rsp + 0x100]
call fcn.180145c30
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.180120ef0
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x108]
call fcn.180121ce0
mov eax, 1
mov ecx, dword [rsp + 0x98]
shlx eax, eax, ecx
mov ecx, dword [rsp + 0x7c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x7c], eax
jmp 0x18018a4cd
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x57], 0xff
jmp 0x18018a424
cmp dword [rsp + 0x7c], 0
je 0x18018ad0e
mov dword [rsp + 0x160], 2
mov rax, qword [rsp + 0xc0]
add rax, 0x20c0
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
sub eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x110]
call fcn.1801467d0
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x20c8]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x1b0]
call fcn.18018fdc0
mov rax, qword [rsp + 0x58]
mov r8d, dword [rax + 4]
mov edx, 2
lea rcx, [rsp + 0x1b0]
call fcn.180190940
mov rax, qword [rsp + 0x2a0]
movzx eax, byte [rax + 0x1f8]
mov edx, eax
lea rcx, [rsp + 0x1b0]
call fcn.180190470
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x18018a872
mov dword [rsp + 0x9c], 3
jmp 0x18018a87d
mov dword [rsp + 0x9c], 2
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x9c]
mov eax, dword [rax + 4]
sub eax, ecx
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0xd8]
mov rcx, qword [rsp + 0x2a0]
mov rdi, rax
lea rsi, [rcx + 0x164]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x38], 0
jmp 0x18018a8c7
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 4
jge 0x18018ac1f
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x28
mov eax, dword [rsp + rax + 0x1e0]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x18018abaa
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x1d0]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0xb0]
mov rdi, rax
mov rsi, qword [rsp + 0xa8]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x18018a938
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x18018a958
vmovss xmm1, dword [rsp + 0xd8]
vmovss xmm0, dword [rsp + 0xb0]
call fcn.180184010
vmovss dword [rsp + 0xb0], xmm0
mov eax, dword [rsp + 0x38]
and eax, 2
test eax, eax
je 0x18018a96c
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x18018a98c
vmovss xmm1, dword [rsp + 0xdc]
vmovss xmm0, dword [rsp + 0xb4]
call fcn.180184010
vmovss dword [rsp + 0xb4], xmm0
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x18018a9b7
vmovss xmm1, dword [rsp + 0xe0]
vmovss xmm0, dword [rsp + 0xb8]
call fcn.180184060
vmovss dword [rsp + 0xb8], xmm0
mov eax, dword [rsp + 0x38]
and eax, 2
test eax, eax
je 0x18018a9f6
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 4]
and eax, 0x20000
test eax, eax
jne 0x18018a9f6
vmovss xmm1, dword [rsp + 0xe4]
vmovss xmm0, dword [rsp + 0xbc]
call fcn.180184060
vmovss dword [rsp + 0xbc], xmm0
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x10]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x44], 0
jmp 0x18018aa21
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 5
jge 0x18018aa59
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx + rax*4 + 0x14]
not eax
movsxd rcx, dword [rsp + 0x44]
mov ecx, dword [rsp + rcx*4 + 0x1b0]
and ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x44]
mov dword [rsp + rcx*4 + 0x1b0], eax
jmp 0x18018aa17
mov dword [rsp + 0x48], 0
jmp 0x18018aa6d
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x48], eax
jge 0x18018abaa
cmp dword [rsp + 0x68], 0
je 0x18018abaa
mov rax, qword [rsp + 0xa8]
add rax, 0x14
mov qword [rsp + 0x118], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x118]
call fcn.180190a70
movzx eax, al
test eax, eax
jne 0x18018aab8
jmp 0x18018aa63
mov rax, qword [rsp + 0xa8]
add rax, 0x14
mov qword [rsp + 0x120], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x120]
call fcn.180190470
mov eax, dword [rsp + 0x68]
dec eax
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x128], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x128]
call fcn.1801218a0
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0xb0]
call fcn.180123310
lea rcx, [rsp + 0x180]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x130], rax
xor edx, edx
mov rcx, qword [rsp + 0x130]
call fcn.180145c30
lea rcx, [rsp + 0x180]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x70]
add rax, 0x20
mov qword [rsp + 0x70], rax
mov r8d, 0x20
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x138]
call fcn.1801ca540
jmp 0x18018aa63
cmp dword [rsp + 0x38], 1
jne 0x18018ac1a
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x18018ac1a
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x70]
add rax, 0x20
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x2a0]
movzx eax, byte [rax + 0x1f8]
mov edx, eax
mov rcx, qword [rsp + 0x168]
call fcn.1801218a0
mov r8d, 0x20
mov rdx, rax
mov rcx, qword [rsp + 0x140]
call fcn.1801ca540
jmp 0x18018a8bd
mov dword [rsp + 0x4c], 0
jmp 0x18018ac33
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x4c], eax
jge 0x18018acd9
cmp dword [rsp + 0x50], 0
je 0x18018acd9
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x1b0]
call fcn.180190a70
movzx eax, al
test eax, eax
jne 0x18018ac6a
jmp 0x18018ac29
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x148], rax
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x148]
call fcn.1801218a0
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x70]
add rax, 0x20
mov qword [rsp + 0x70], rax
mov r8d, 0x20
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x158]
call fcn.1801ca540
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
jmp 0x18018ac29
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
sub eax, 2
cdqe
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x10]
add rcx, 0x40
mov r8, rax
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 0x20c8]
call fcn.1801ca540
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1801942d0
add rsp, 0x288
pop rdi
pop rsi
ret