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

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov rax, qword [0x1401503a8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, qword [0x140150bc8]
mov eax, dword [rdi + 0x3f48]
cmp dword [rdi + 0x3f4c], eax
je 0x14001903d
mov qword [r11 + 8], rbx
mov edx, 2
mov qword [r11 + 0x10], rbp
mov rcx, rdi
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], r12
mov qword [r11 - 0x10], r14
mov qword [r11 - 0x18], r15
movaps xmmword [rsp + 0x70], xmm6
call fcn.14000e780
mov rbx, qword [0x140150bc8]
cmp dword [rbx + 0x3f98], 2
jl 0x140018975
nop dword [rax]
call fcn.140018150
cmp dword [rbx + 0x3f98], 1
jg 0x140018960
mov rbx, qword [0x140150bc8]
mov rbp, qword [rdi + 0xd0]
test rbp, rbp
je 0x1400189c7
mov rax, qword [rdi + 0x5500]
cmp rax, qword [rdi + 0x5510]
jne 0x1400189a1
mov rax, qword [rdi + 0x5508]
cmp rax, qword [rdi + 0x5518]
je 0x1400189c7
mov ecx, dword [rdi + 0x5520]
call fcn.14001a190
test rax, rax
jne 0x1400189bb
mov rax, qword [rbx + 0x41e8]
mov rax, qword [rax]
lea rdx, [rdi + 0x5500]
mov rcx, rax
call rbp
mov rax, qword [rdi + 0x3fc8]
mov byte [rdi + 0x3f59], 0
test rax, rax
je 0x1400189ea
cmp byte [rax + 0xcd], 0
jne 0x1400189ea
mov byte [rax + 0xcb], 0
call fcn.140018150
mov rcx, qword [0x140150bc8]
mov rbx, rcx
cmp qword [rcx + 0x43a8], 0
je 0x140018a0f
call fcn.1400214a0
mov rcx, qword [0x140150bc8]
cmp qword [rbx + 0x4240], 0
je 0x140018a4e
cmp byte [rcx + 0x429d], 0
je 0x140018a4e
cmp dword [rcx + 0x42f0], 0
jne 0x140018a4e
cmp dword [rcx + 0x4350], 0
jne 0x140018a4e
mov eax, dword [rbx + 0x42a0]
test al, 0xf
je 0x140018a4e
test al, al
js 0x140018a4e
call fcn.140020690
mov rcx, qword [0x140150bc8]
xor esi, esi
xorps xmm6, xmm6
mov r14d, esi
cmp dword [rdi + 0x5528], esi
jle 0x140018bdf
movaps xmmword [rsp + 0x60], xmm7
mov r15d, esi
movss xmm7, dword [0x1400ea3c0]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x5530]
mov rbp, qword [r15 + rax + 8]
test rbp, rbp
je 0x140018bc6
mov eax, dword [rdi + 0x3f48]
cmp dword [rbp + 0xb0], eax
jne 0x140018bc6
movzx eax, byte [rbp + 0xc8]
test al, 1
je 0x140018bc6
mov rdx, qword [rbp + 0x88]
test rdx, rdx
je 0x140018bc6
cmp qword [rbp + 0x20], rsi
jne 0x140018bc6
test al, 4
jne 0x140018bc6
movss xmm0, dword [rcx + 0x3930]
movss xmm3, dword [rbp + 0x48]
addss xmm0, xmm0
movss xmm1, dword [rbp + 0x4c]
movaps xmm4, xmm3
addss xmm4, dword [rbp + 0x50]
movaps xmm2, xmm1
addss xmm3, xmm6
addss xmm2, dword [rbp + 0x54]
addss xmm0, dword [rcx + 0x3d38]
lea rcx, [rsp + 0x40]
movss dword [rsp + 0x48], xmm4
movss dword [rsp + 0x40], xmm3
movss dword [rsp + 0x4c], xmm2
addss xmm0, xmm1
movss dword [rsp + 0x44], xmm0
movss xmm2, dword [rdx + 0x4c]
movss xmm0, dword [rdx + 0x48]
movaps xmm3, xmm2
addss xmm3, dword [rdx + 0x54]
movaps xmm1, xmm0
addss xmm1, dword [rdx + 0x50]
movss dword [rsp + 0x34], xmm2
lea rdx, [rsp + 0x30]
movaps xmm2, xmm7
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x3c], xmm3
movss dword [rsp + 0x38], xmm1
call fcn.1400331d0
mov rcx, qword [rbp + 0x88]
xor r8d, r8d
mov ebx, eax
mov rdx, qword [rcx + 0x2c0]
lea rcx, [rdx + 0xa8]
call fcn.140038720
mov rcx, qword [rbp + 0x88]
lea r8, [rsp + 0x48]
mov r9d, dword [rbp + 0x80]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x28], ebx
movss xmm0, dword [rcx + 0x80]
mov rcx, qword [rcx + 0x2c0]
movss dword [rsp + 0x20], xmm0
call fcn.140032750
mov rcx, qword [0x140150bc8]
inc r14d
add r15, 0x10
cmp r14d, dword [rdi + 0x5528]
jl 0x140018a80
movaps xmm7, xmmword [rsp + 0x60]
cmp qword [rcx + 0x41f8], rsi
je 0x140018c00
mov dword [rcx + 0x41f0], 0x3f800000
mov qword [rcx + 0x41f8], rsi
mov rcx, qword [0x140150bc8]
movzx eax, byte [rdi + 0x43e4]
test al, al
je 0x140018c89
mov eax, dword [rdi + 0x440c]
inc eax
cmp eax, dword [rdi + 0x3f48]
jge 0x140018c39
test byte [rdi + 0x43e8], 0x20
jne 0x140018c35
movsxd rax, dword [rdi + 0x43f0]
cmp byte [rax + rcx + 0xe0c], sil
jne 0x140018c39
mov al, 1
jmp 0x140018c3b
xor al, al
cmp byte [rdi + 0x4432], sil
jne 0x140018c48
test al, al
je 0x140018c58
call fcn.14000ebe0
movzx eax, byte [rdi + 0x43e4]
test al, al
je 0x140018c89
mov eax, dword [rdi + 0x3f48]
cmp dword [rdi + 0x43ec], eax
jge 0x140018c89
test byte [rdi + 0x43e8], 1
jne 0x140018c89
lea rcx, [0x1400e8e80]
mov byte [rdi + 0x43e5], 1
call fcn.140028c70
mov byte [rdi + 0x43e5], sil
mov eax, dword [rdi + 0x3f48]
mov dword [rdi + 0x3f4c], eax
mov byte [rdi + 0x3f58], sil
mov rbp, qword [0x140150bc8]
cmp dword [rbp + 0x4014], esi
jne 0x140018dd5
cmp dword [rbp + 0x4000], esi
jne 0x140018dd5
mov rbx, qword [rbp + 0x4240]
test rbx, rbx
je 0x140018cd4
cmp byte [rbx + 0xd1], sil
jne 0x140018dd5
cmp byte [rbp + 0x3748], sil
je 0x140018d97
mov r15, qword [rbp + 0x3fd0]
test r15, r15
je 0x140018d1e
mov r14, qword [r15 + 0x3a0]
test r14, r14
je 0x140018d81
test dword [r14 + 0xc], 0x4000000
je 0x140018d21
mov ecx, dword [r14 + 0xe4]
mov edx, 0x100
call fcn.14001d4a0
test al, al
jne 0x140018d21
jmp 0x140018d97
mov r14, rsi
test r14, r14
je 0x140018d81
mov rcx, r15
call fcn.140029ac0
cmp byte [rbp + 0x87], sil
je 0x140018d6f
test byte [r14 + 0xc], 1
je 0x140018d48
test byte [r14 + 0x401], 1
je 0x140018d6f
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140029de0
mov rcx, rax
lea rdx, [rbp + 0x36f4]
call fcn.14000f330
test al, al
jne 0x140018d6f
mov qword [rbp + 0x3fe0], rsi
cmp byte [rbp + 0x400b], sil
je 0x140018d97
mov qword [rbp + 0x3fe0], rsi
jmp 0x140018d97
test rbx, rbx
je 0x140018d97
call fcn.14001b560
test rax, rax
jne 0x140018d97
xor ecx, ecx
call fcn.14001a430
cmp byte [rbp + 0x3749], sil
je 0x140018dd5
call fcn.14001b560
mov rbx, qword [rbp + 0x3fd0]
mov r14, rax
test rbx, rbx
je 0x140018dc8
test rax, rax
je 0x140018dcb
mov rdx, rax
mov rcx, rbx
call fcn.14001d520
test al, al
jne 0x140018dcb
mov rbx, r14
mov dl, 1
mov rcx, rbx
call fcn.14000ef00
mov r15, qword [0x140150bc8]
lea r14, [r15 + 0x38c0]
mov ecx, dword [r14 + 4]
test ecx, ecx
jns 0x140018e03
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, r14
test eax, eax
cmovg edx, eax
call fcn.14002f390
mov dword [r14], esi
mov r12d, esi
cmp dword [r15 + 0x41e0], esi
jle 0x140018ec9
mov rbp, rsi
nop dword [rax]
mov rax, qword [r15 + 0x41e8]
mov rbx, qword [rax + rbp*8]
movsd xmm0, qword [rbx + 8]
movsd qword [rbx + 0x70], xmm0
mov eax, dword [r15 + 0x3f48]
cmp dword [rbx + 0x64], eax
jl 0x140018e4d
comiss xmm6, dword [rbx + 0x10]
jae 0x140018e4d
comiss xmm6, dword [rbx + 0x14]
jb 0x140018e52
test rbp, rbp
jg 0x140018eb6
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140018e70
cmp byte [rax + 0xcb], sil
je 0x140018eb6
cmp byte [rax + 0xd2], sil
jne 0x140018eb6
mov eax, dword [r14]
mov ecx, dword [r14 + 4]
cmp eax, ecx
jne 0x140018ea8
lea r8d, [rax + 1]
test ecx, ecx
je 0x140018e8e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140018e93
mov eax, 8
cmp eax, r8d
mov rcx, r14
cmovg r8d, eax
mov edx, r8d
call fcn.14002f390
mov eax, dword [r14]
movsxd rcx, eax
mov rax, qword [r14 + 8]
mov qword [rax + rcx*8], rbx
inc dword [r14]
inc r12d
inc rbp
cmp r12d, dword [r15 + 0x41e0]
jl 0x140018e20
mov rax, qword [r15 + 0x41e8]
lea rbx, [rdi + 0x3f88]
movaps xmm6, xmmword [rsp + 0x70]
mov r15, qword [rsp + 0x80]
mov r12, qword [rsp + 0xb8]
mov rcx, qword [rax]
mov word [rcx + 0x58], si
mov byte [rcx + 0x5a], sil
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140018f16
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.14002f390
mov dword [rbx], esi
mov rcx, rbx
mov edx, dword [rdi + 0x3f68]
call fcn.14002f390
mov ecx, dword [rdi + 0x3f68]
mov ebp, esi
test ecx, ecx
je 0x140018f6a
mov r14, rsi
mov rax, qword [rdi + 0x3f70]
mov rdx, qword [r14 + rax]
cmp byte [rdx + 0xcb], sil
je 0x140018f52
test dword [rdx + 0xc], 0x1000000
jne 0x140018f5a
mov rcx, rbx
call fcn.1400093d0
mov ecx, dword [rdi + 0x3f68]
inc ebp
add r14, 8
cmp ebp, ecx
jne 0x140018f35
mov eax, dword [rbx]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xa8]
mov dword [rdi + 0x3f68], eax
mov eax, dword [rdi + 0x3f6c]
mov dword [rbx], ecx
mov ecx, dword [rbx + 4]
mov dword [rbx + 4], eax
mov rax, qword [rdi + 0x3f70]
mov dword [rdi + 0x3f6c], ecx
mov rcx, qword [rbx + 8]
mov qword [rbx + 8], rax
mov eax, dword [rdi + 0x3fb8]
mov dword [rdi + 0xf8], eax
mov rax, qword [rdi + 0x58]
mov qword [rdi + 0x3f70], rcx
mov byte [rax + 0x18], sil
mov qword [rdi + 0xe14], rsi
mov ecx, dword [rdi + 0x37ec]
test ecx, ecx
jns 0x140018fed
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x37e8]
test eax, eax
cmovg edx, eax
call fcn.14002f250
mov dword [rdi + 0x37e8], esi
cmp dword [rdi + 0x55a8], esi
jle 0x14001902d
mov rbx, rsi
nop
mov rax, qword [rdi + 0x55b0]
cmp dword [rbx + rax + 4], 3
jne 0x14001901f
movsxd rdx, esi
mov rcx, rdi
shl rdx, 5
add rdx, rax
call qword [rbx + rax + reloc.WS2_32.dll_recv]
inc esi
add rbx, 0x20
cmp esi, dword [rdi + 0x55a8]
jl 0x140019000
mov rbx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400e2050
add rsp, 0x90
pop rdi
ret