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

Disassembly:
push rbx
sub rsp, 0x20
mov r11, qword [0x140214df0]
movsxd rbx, ecx
mov dword [r11 + 0x1f44], ebx
test ecx, ecx
jne 0x140026efe
mov rcx, qword [r11 + 0x1ef8]
call fcn.140026e50
mov qword [r11 + 0x1ef8], rax
mov rcx, qword [r11 + 0x1ef8]
mov rdx, rbx
mov eax, dword [rcx + rbx*4 + 0x410]
test eax, eax
je 0x140026f5e
mov dword [r11 + 0x1f00], eax
add rdx, rdx
mov dword [r11 + 0x1f04], 0
mov dword [rcx + rbx*4 + 0x410], eax
mov rax, qword [r11 + 0x1ef8]
movups xmm0, xmmword [rcx + rdx*8 + 0x418]
movups xmmword [rax + rdx*8 + 0x418], xmm0
mov word [r11 + 0x1f4d], 1
mov byte [r11 + 0x1f4f], 1
add rsp, 0x20
pop rbx
ret
mov dl, 1
add rsp, 0x20
pop rbx
jmp fcn.140026fa0
mov rax, rsp
push rbx
push rsi
push rdi
push r15
sub rsp, 0x58
mov rbx, qword [0x140214df0]
xor r15d, r15d
mov qword [rax + 0x18], rbp
xor bpl, bpl
mov qword [rax + 0x20], r12
mov qword [rax - 0x28], r14
mov r14d, r15d
movaps xmmword [rax - 0x38], xmm6
mov eax, dword [rbx + 0x1ea0]
sub eax, 1
js 0x1400297b0
mov r8, qword [rbx + 0x1ea8]
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 0x1400297a6
test dword [r9 + 0xc], 0x8000000
jne 0x14002982e
sub r8, 0x30
sub rdx, 1
jns 0x140029790
mov r9, r15
xorps xmm6, xmm6
cmp qword [rbx + 0x2030], r15
je 0x140029802
cmp qword [rbx + 0x2028], r15
jne 0x140029802
comiss xmm6, dword [rbx + 0x2074]
movss xmm1, dword [rbx + 0x2044]
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x14014ee8c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x2044], xmm1
jb 0x140029802
comiss xmm6, xmm1
jb 0x140029802
mov qword [rbx + 0x2030], r15
mov r12d, 1
test r9, r9
jne 0x14002983a
cmp qword [rbx + 0x2028], r15
jne 0x14002983a
mov edx, r12d
lea ecx, [r12 + 2]
call fcn.140027190
comiss xmm0, xmm6
jbe 0x14002983a
movzx r8d, dl
jmp 0x14002984b
mov qword [rbx + 0x2028], r15
jmp 0x1400297b3
xor r8b, r8b
test r9, r9
jne 0x140029870
cmp qword [rbx + 0x2028], r15
jne 0x140029870
cmp byte [rbx + 0x154], bpl
je 0x140029870
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x140029870
call fcn.14001bbe0
test al, al
je 0x140029870
test byte [rbx + 8], r12b
je 0x140029870
movzx edi, r12b
jmp 0x140029873
xor dil, dil
mov esi, 0xffffffff
test r8b, r8b
jne 0x140029882
test dil, dil
je 0x1400298da
mov rax, qword [rbx + 0x1ef8]
test rax, rax
jne 0x1400298a8
mov ecx, dword [rbx + 0x1cd0]
mov r8d, esi
dec ecx
mov edx, 0x80000001
call fcn.140029560
test rax, rax
je 0x1400298da
mov rax, qword [rax + 0x3f0]
xor dil, r12b
mov qword [rbx + 0x2030], rax
mov qword [rbx + 0x2028], rax
movzx eax, dil
mov byte [rbx + 0x2048], al
add eax, 3
mov dword [rbx + 0x1f2c], eax
mov qword [rbx + 0x2040], r15
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x2040]
movss xmm5, dword [0x14014ed0c]
movss dword [rbx + 0x2040], xmm0
cmp qword [rbx + 0x2028], r15
je 0x140029a45
cmp dword [rbx + 0x1f2c], 4
jne 0x1400299c7
subss xmm0, dword [0x14014ecb0]
movaps xmmword [rsp + 0x30], xmm7
divss xmm0, dword [0x14014ec90]
comiss xmm6, xmm0
jbe 0x140029930
xorps xmm1, xmm1
jmp 0x140029937
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rbx + 0x2044]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rbx + 0x2044], xmm7
call fcn.140027190
comiss xmm0, xmm6
mov r9d, r15d
lea ecx, [rdx + 8]
seta r9b
call fcn.140027190
comiss xmm0, xmm6
mov ecx, r15d
seta cl
sub ecx, r9d
je 0x14002998a
call fcn.1400295f0
mov dword [rbx + 0x2044], 0x3f800000
movaps xmm7, xmm5
movss xmm0, dword [rbx + 0x364]
comiss xmm0, xmm6
ja 0x1400299c2
comiss xmm5, xmm7
seta al
and byte [rbx + 0x2048], al
je 0x1400299b4
cmp qword [rbx + 0x1ef8], r15
je 0x1400299bb
movzx ebp, r12b
jmp 0x1400299bb
mov r14, qword [rbx + 0x2028]
mov qword [rbx + 0x2028], r15
movaps xmm7, xmmword [rsp + 0x30]
cmp qword [rbx + 0x2028], r15
je 0x140029a45
cmp dword [rbx + 0x1f2c], 3
jne 0x140029a45
movss xmm0, dword [rbx + 0x2040]
subss xmm0, dword [0x14014ecb0]
divss xmm0, dword [0x14014ec90]
comiss xmm6, xmm0
jbe 0x1400299fb
xorps xmm5, xmm5
jmp 0x1400299ff
minss xmm5, xmm0
movss xmm0, dword [rbx + 0x2044]
maxss xmm0, xmm5
movss dword [rbx + 0x2044], xmm0
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x140029a35
call fcn.14001bbe0
test al, al
je 0x140029a35
cmp byte [rbx + 0x155], r15b
cmovne esi, r12d
mov ecx, esi
call fcn.1400295f0
cmp byte [rbx + 0x154], r15b
jne 0x140029a45
mov r14, qword [rbx + 0x2028]
mov edx, r12d
mov ecx, reloc.WS2_32.dll_recv
call fcn.140027190
comiss xmm0, xmm6
jbe 0x140029a5d
mov byte [rbx + 0x2048], dl
cmp dword [rbx + 0x1d70], r15d
je 0x140029a73
cmp byte [rbx + 0x1d7d], r15b
je 0x140029b00
cmp byte [rbx + 0x2048], r15b
je 0x140029b00
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.140027190
comiss xmm0, xmm6
jbe 0x140029b00
lea rax, [rbx + 0x138]
test rax, rax
jne 0x140029aa5
lea rax, [rbx + 0x138]
movss xmm0, dword [rax]
movss xmm1, dword [0x14014f040]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140029ac6
comiss xmm2, xmm1
jb 0x140029ac6
movzx ecx, r12b
jmp 0x140029ac8
xor cl, cl
lea rax, [rbx + 0x3d8]
test rax, rax
jne 0x140029adb
lea rax, [rbx + 0x138]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140029af4
comiss xmm2, xmm1
jb 0x140029af4
movzx eax, r12b
jmp 0x140029af6
xor al, al
cmp cl, al
movzx ebp, bpl
cmove ebp, r12d
mov rdi, qword [rbx + 0x2028]
test rdi, rdi
je 0x140029caf
test byte [rdi + 0xc], 4
jne 0x140029caf
mov eax, dword [rbx + 0x1f2c]
cmp eax, 3
jne 0x140029b3f
cmp byte [rbx + 0x155], r15b
jne 0x140029caf
mov edx, r12d
lea rcx, [rsp + 0x80]
jmp 0x140029b52
cmp eax, 4
jne 0x140029caf
mov edx, eax
lea rcx, [rsp + 0x88]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
call fcn.140027310
movss xmm4, dword [rax]
ucomiss xmm4, xmm6
movss xmm3, dword [rax + 4]
jp 0x140029b7e
jne 0x140029b7e
ucomiss xmm3, xmm6
jp 0x140029b7e
je 0x140029caf
mov rcx, qword [rdi + 0x3e8]
movss xmm1, dword [rbx + 0xc0]
movss xmm0, dword [rbx + 0x18]
minss xmm1, dword [rbx + 0xc4]
mulss xmm0, dword [0x14014efcc]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
mov eax, dword [rcx + 0xe4]
cvtdq2ps xmm2, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm2
addss xmm4, dword [rcx + 0x48]
addss xmm3, dword [rcx + 0x4c]
test r12b, al
je 0x140029c8d
movss xmm0, dword [rcx + 0x48]
and eax, 0xfffffff1
movss xmm1, dword [rcx + 0x4c]
mov dword [rcx + 0xe4], eax
mov dword [rcx + 0xf4], 0x7f7fffff
mov dword [rcx + 0xf8], 0x7f7fffff
cvttss2si eax, xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
cvttss2si eax, xmm3
movss dword [rcx + 0x48], xmm2
subss xmm2, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm2
movss dword [rcx + 0x4c], xmm3
subss xmm3, xmm1
addss xmm0, dword [rcx + 0x118]
movaps xmm1, xmm3
addss xmm1, dword [rcx + 0x11c]
movss dword [rcx + 0x118], xmm0
movaps xmm0, xmm2
addss xmm0, dword [rcx + 0x130]
addss xmm2, dword [rcx + 0x128]
movss dword [rcx + 0x11c], xmm1
movaps xmm1, xmm3
addss xmm1, dword [rcx + 0x134]
addss xmm3, dword [rcx + 0x12c]
movss dword [rcx + 0x130], xmm0
movss dword [rcx + 0x128], xmm2
movss dword [rcx + 0x134], xmm1
movss dword [rcx + 0x12c], xmm3
test dword [rcx + 0xc], 0x100
jne 0x140029ca8
comiss xmm6, dword [rbx + 0x3144]
jb 0x140029ca8
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x3144], eax
mov byte [rbx + 0x1f4f], r12b
movaps xmm6, xmmword [rsp + 0x40]
test r14, r14
je 0x140029d95
mov rax, qword [rbx + 0x1ef8]
test rax, rax
je 0x140029cdc
cmp r14, qword [rax + 0x3f0]
je 0x140029d8e
mov rsi, qword [rax + 0x30]
jmp 0x140029cdf
mov rsi, r15
mov ecx, dword [rbx + 0x1d70]
test ecx, ecx
setne al
mov byte [rbx + 0x1d7c], al
test ecx, ecx
je 0x140029d03
mov dword [rbx + 0x1d78], r15d
mov word [rbx + 0x1d7f], r15w
mov dword [rbx + 0x1d70], r15d
mov rcx, r14
mov word [rbx + 0x1d7d], r15w
mov qword [rbx + 0x1da0], r15
mov byte [rbx + 0x1d81], r15b
mov qword [rbx + 0x1d84], r15
mov qword [rbx + 0x1d90], r15
mov word [rbx + 0x1f4e], 0x100
call fcn.140026e50
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.140025410
mov rcx, rdi
call fcn.140022a80
cmp dword [rdi + 0x410], r15d
jne 0x140029d67
xor edx, edx
mov rcx, rdi
call fcn.140026fa0
cmp dword [rdi + 0x188], 2
jne 0x140029d77
mov dword [rbx + 0x1f44], r12d
mov rcx, qword [rdi + 0x30]
cmp rcx, rsi
je 0x140029d8e
mov rax, qword [rbx + 0x15a8]
test rax, rax
je 0x140029d8e
call rax
mov qword [rbx + 0x2028], r15
mov r14, qword [rsp + 0x50]
test bpl, bpl
mov rbp, qword [rsp + 0x90]
mov r12, qword [rsp + 0x98]
je 0x140029e5f
mov rdi, qword [rbx + 0x1ef8]
test rdi, rdi
je 0x140029e5f
lea rcx, [rdi + 0x3e0]
cmp qword [rcx], r15
je 0x140029df7
nop
test byte [rdi + 0x188], 2
jne 0x140029df7
mov eax, dword [rdi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140029df7
mov rdi, qword [rcx]
lea rcx, [rdi + 0x3e0]
cmp qword [rcx], r15
jne 0x140029dd0
mov rsi, qword [rbx + 0x1ef8]
cmp rdi, rsi
je 0x140029e12
mov rcx, rdi
call fcn.140022a80
mov qword [rdi + 0x408], rsi
mov rax, qword [rbx + 0x1ef8]
mov word [rbx + 0x1f4e], 0x100
test byte [rax + 0x188], 2
je 0x140029e57
mov ecx, dword [rbx + 0x1f44]
xor ecx, 1
cmp ecx, 1
jne 0x140029e5a
cmp qword [rdi + 0x450], r15
jne 0x140029e5a
mov dword [rax + 0x414], r15d
add rsp, 0x58
pop r15
pop rdi
pop rsi
pop rbx
jmp 0x140026ed0
mov ecx, r15d
call 0x140026ed0
add rsp, 0x58
pop r15
pop rdi
pop rsi
pop rbx
ret