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

Disassembly:
mov r8, qword [0x1407dc0d0]
movsxd r9, ecx
test ecx, ecx
jne 0x140052964
mov rcx, qword [r8 + 0x1de8]
mov rdx, qword [rcx + 0x3b8]
test rdx, rdx
je 0x14005295a
cmp byte [rdx + 0x9f], 0
jne 0x14005295d
mov rdx, rcx
mov qword [r8 + 0x1de8], rdx
mov rcx, qword [r8 + 0x1de8]
mov rdx, r9
mov r10d, dword [rcx + r9*4 + 0x3c0]
mov dword [r8 + 0x1e34], r9d
test r10d, r10d
je 0x1400529c9
mov dword [r8 + 0x1df0], r10d
add rdx, rdx
mov dword [r8 + 0x1df4], 0
mov dword [rcx + r9*4 + 0x3c0], r10d
mov rax, qword [r8 + 0x1de8]
movups xmm0, xmmword [rcx + rdx*8 + 0x3c8]
movups xmmword [rax + rdx*8 + 0x3c8], xmm0
mov word [r8 + 0x1e3d], 1
mov byte [r8 + 0x1e3f], 1
ret
mov dl, 1
jmp fcn.1400529d0
push rbx
push rsi
push rdi
push r14
sub rsp, 0x58
mov rbx, qword [0x1407dc0d0]
xor r14d, r14d
mov qword [rsp + 0x98], rbp
mov edi, r14d
xor bpl, bpl
mov qword [rsp + 0x50], r15
movaps xmmword [rsp + 0x40], xmm6
mov eax, dword [rbx + 0x1db8]
sub eax, 1
js 0x1400550c0
mov r8, qword [rbx + 0x1dc0]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov r9, qword [r8]
test r9, r9
je 0x1400550b6
test dword [r9 + 0x1c], 0x8000000
jne 0x14005513d
sub r8, 0x30
sub rdx, 1
jns 0x1400550a0
mov r9, r14
xorps xmm6, xmm6
cmp qword [rbx + 0x1f20], rdi
je 0x140055112
cmp qword [rbx + 0x1f18], rdi
jne 0x140055112
comiss xmm6, dword [rbx + 0x1f64]
movss xmm1, dword [rbx + 0x1f34]
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x14074bc38]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1f34], xmm1
jb 0x140055112
comiss xmm6, xmm1
jb 0x140055112
mov qword [rbx + 0x1f20], r14
mov r15d, 1
test r9, r9
jne 0x140055149
cmp qword [rbx + 0x1f18], rdi
jne 0x140055149
mov edx, r15d
lea ecx, [r15 + 2]
call fcn.140052c10
comiss xmm0, xmm6
jbe 0x140055149
movzx r8d, dl
jmp 0x14005515a
mov qword [rbx + 0x1f18], r14
jmp 0x1400550c3
xor r8b, r8b
test r9, r9
jne 0x14005517f
cmp qword [rbx + 0x1f18], rdi
jne 0x14005517f
cmp byte [rbx + 0x140], dil
je 0x14005517f
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x14005517f
call fcn.14004a610
test al, al
je 0x14005517f
test byte [rbx + 8], r15b
je 0x14005517f
movzx r9d, r15b
jmp 0x140055182
xor r9b, r9b
test r8b, r8b
jne 0x140055190
test r9b, r9b
je 0x14005522e
mov rax, qword [rbx + 0x1de8]
test rax, rax
jne 0x1400551fc
movsxd rcx, dword [rbx + 0x1be0]
lea edx, [rcx - 1]
test edx, edx
js 0x14005522e
movsxd rax, edx
mov r10, rcx
cmp rax, r10
jge 0x14005522e
cmp rax, 0xffffffff80000001
je 0x14005522e
mov r8, qword [rbx + 0x1be8]
mov rcx, qword [r8 + rax*8]
cmp byte [rcx + 0x9f], dil
je 0x1400551e7
cmp rcx, qword [rcx + 0x3a0]
jne 0x1400551e7
test dword [rcx + 0x1c], 0x80000
je 0x1400551f0
dec edx
sub rax, r15
jns 0x1400551b4
jmp 0x14005522e
movsxd rax, edx
mov rax, qword [r8 + rax*8]
test rax, rax
je 0x14005522e
mov rax, qword [rax + 0x3a0]
xor r9b, r15b
mov qword [rbx + 0x1f20], rax
mov qword [rbx + 0x1f18], rax
movzx eax, r9b
mov byte [rbx + 0x1f38], al
add eax, 2
mov dword [rbx + 0x1e1c], eax
mov qword [rbx + 0x1f30], r14
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1f30]
movss xmm5, dword [0x14074bb64]
movss dword [rbx + 0x1f30], xmm0
cmp qword [rbx + 0x1f18], rdi
je 0x14005531b
cmp dword [rbx + 0x1e1c], 3
jne 0x14005531b
subss xmm0, dword [0x14074ba30]
movaps xmmword [rsp + 0x30], xmm7
divss xmm0, dword [0x14074b9e4]
comiss xmm6, xmm0
jbe 0x140055284
movaps xmm1, xmm6
jmp 0x14005528b
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rbx + 0x1f34]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rbx + 0x1f34], xmm7
call fcn.140052c10
comiss xmm0, xmm6
mov r9d, r14d
lea ecx, [rdx + 8]
seta r9b
call fcn.140052c10
comiss xmm0, xmm6
mov ecx, r14d
seta cl
sub ecx, r9d
je 0x1400552de
call fcn.140054f00
mov dword [rbx + 0x1f34], 0x3f800000
movaps xmm7, xmm5
movss xmm0, dword [rbx + 0x350]
comiss xmm0, xmm6
ja 0x140055316
comiss xmm5, xmm7
seta al
and byte [rbx + 0x1f38], al
je 0x140055308
cmp qword [rbx + 0x1de8], rdi
je 0x14005530f
movzx ebp, r15b
jmp 0x14005530f
mov rdi, qword [rbx + 0x1f18]
mov qword [rbx + 0x1f18], r14
movaps xmm7, xmmword [rsp + 0x30]
cmp qword [rbx + 0x1f18], r14
je 0x14005539c
cmp dword [rbx + 0x1e1c], 2
jne 0x14005539c
movss xmm0, dword [rbx + 0x1f30]
subss xmm0, dword [0x14074ba30]
divss xmm0, dword [0x14074b9e4]
comiss xmm6, xmm0
jbe 0x14005534f
movaps xmm5, xmm6
jmp 0x140055353
minss xmm5, xmm0
movss xmm0, dword [rbx + 0x1f34]
maxss xmm0, xmm5
movss dword [rbx + 0x1f34], xmm0
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x14005538c
call fcn.14004a610
test al, al
je 0x14005538c
cmp byte [rbx + 0x141], r14b
mov ecx, 0xffffffff
cmovne ecx, r15d
call fcn.140054f00
cmp byte [rbx + 0x140], r14b
jne 0x14005539c
mov rdi, qword [rbx + 0x1f18]
mov edx, r15d
mov ecx, reloc.WS2_32.dll_recv
call fcn.140052c10
comiss xmm0, xmm6
jbe 0x1400553b4
mov byte [rbx + 0x1f38], dl
cmp dword [rbx + 0x1c78], r14d
je 0x1400553ca
cmp byte [rbx + 0x1c85], r14b
je 0x140055457
cmp byte [rbx + 0x1f38], r14b
je 0x140055457
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.140052c10
comiss xmm0, xmm6
jbe 0x140055457
lea rax, [rbx + 0x3c4]
test rax, rax
jne 0x1400553fc
lea rax, [rbx + 0x128]
movss xmm0, dword [rax]
movss xmm1, dword [0x14074bda4]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14005541d
comiss xmm2, xmm1
jb 0x14005541d
movzx ecx, r15b
jmp 0x14005541f
xor cl, cl
lea rax, [rbx + 0x128]
test rax, rax
jne 0x140055432
lea rax, [rbx + 0x128]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14005544b
comiss xmm2, xmm1
jb 0x14005544b
movzx eax, r15b
jmp 0x14005544d
xor al, al
cmp al, cl
movzx ebp, bpl
cmove ebp, r15d
mov rsi, qword [rbx + 0x1f18]
test rsi, rsi
je 0x140055565
test byte [rsi + 0x1c], 4
jne 0x140055565
mov eax, dword [rbx + 0x1e1c]
cmp eax, 2
jne 0x140055496
cmp byte [rbx + 0x141], r14b
jne 0x140055565
mov edx, r15d
lea rcx, [rsp + 0x88]
jmp 0x1400554aa
cmp eax, 3
jne 0x140055565
lea edx, [rax + 1]
lea rcx, [rsp + 0x90]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
call fcn.140052d90
movss xmm4, dword [rax]
ucomiss xmm4, xmm6
movss xmm3, dword [rax + 4]
jp 0x1400554d6
jne 0x1400554d6
ucomiss xmm3, xmm6
jp 0x1400554d6
je 0x140055565
mov r9, qword [rsi + 0x3a0]
lea rdx, [rsp + 0x80]
movss xmm1, dword [rbx + 0xc0]
mov r8d, r15d
movss xmm0, dword [rbx + 0x18]
mov rcx, r9
minss xmm1, dword [rbx + 0xc4]
mulss xmm0, dword [0x14074bd04]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm2
addss xmm4, dword [r9 + 0x20]
addss xmm3, dword [r9 + 0x24]
movss dword [rsp + 0x80], xmm4
movss dword [rsp + 0x84], xmm3
call fcn.14004fbb0
test dword [r9 + 0x1c], 0x100
jne 0x14005555e
comiss xmm6, dword [rbx + 0x304c]
jb 0x14005555e
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x304c], eax
mov byte [rbx + 0x1e3f], r8b
movaps xmm6, xmmword [rsp + 0x40]
test rdi, rdi
je 0x140055642
mov rax, qword [rbx + 0x1de8]
test rax, rax
je 0x14005558c
cmp rdi, qword [rax + 0x3a0]
je 0x14005563b
mov ecx, dword [rbx + 0x1c78]
test ecx, ecx
setne al
mov byte [rbx + 0x1c84], al
test ecx, ecx
je 0x1400555ba
mov dword [rbx + 0x1c80], r14d
mov word [rbx + 0x1c87], r14w
mov dword [rbx + 0x1cb4], 0xffffffff
mov dword [rbx + 0x1c78], r14d
mov word [rbx + 0x1c85], r14w
mov qword [rbx + 0x1ca8], r14
mov word [rbx + 0x1c89], r14w
mov qword [rbx + 0x1c8c], r14
mov qword [rbx + 0x1c98], r14
mov word [rbx + 0x1e3e], 0x100
mov rax, qword [rdi + 0x3b8]
test rax, rax
je 0x140055606
cmp byte [rax + 0x9f], r14b
cmovne rdi, rax
xor edx, edx
mov rcx, rdi
call fcn.1400514a0
mov rcx, rdi
call fcn.14004f630
cmp dword [rdi + 0x3c0], r14d
jne 0x14005562b
xor edx, edx
mov rcx, rdi
call fcn.1400529d0
cmp dword [rdi + 0x160], 2
jne 0x14005563b
mov dword [rbx + 0x1e34], r15d
mov qword [rbx + 0x1f18], r14
mov r15, qword [rsp + 0x50]
test bpl, bpl
mov rbp, qword [rsp + 0x98]
je 0x1400556fa
mov rdi, qword [rbx + 0x1de8]
test rdi, rdi
je 0x1400556fa
lea rcx, [rdi + 0x398]
cmp qword [rcx], r14
je 0x14005569b
test byte [rdi + 0x160], 2
jne 0x14005569b
mov eax, dword [rdi + 0x1c]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x14005569b
mov rdi, qword [rcx]
lea rcx, [rdi + 0x398]
cmp qword [rcx], r14
jne 0x140055674
mov rsi, qword [rbx + 0x1de8]
cmp rdi, rsi
je 0x1400556b6
mov rcx, rdi
call fcn.14004f630
mov qword [rdi + 0x3b8], rsi
mov rax, qword [rbx + 0x1de8]
mov word [rbx + 0x1e3e], 0x100
test byte [rax + 0x160], 2
je 0x1400556f2
mov ecx, dword [rbx + 0x1e34]
xor ecx, 1
cmp ecx, 1
jne 0x1400556f5
mov dword [rax + 0x3c4], r14d
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
jmp 0x140052930
mov ecx, r14d
call 0x140052930
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
ret