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

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rdi, qword [0x1400b6a60]
xor r15d, r15d
xor r14b, r14b
mov rbx, rdi
mov esi, r15d
mov eax, dword [rdi + 0x1b08]
sub eax, 1
js 0x140034695
mov r8, qword [rdi + 0x1b10]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x14003468b
test dword [rax + 0x134], 0x8000000
jne 0x140034722
sub r8, 0x30
sub rdx, 1
jns 0x140034673
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], r12
movaps xmmword [rsp + 0x40], xmm6
xorps xmm6, xmm6
cmp qword [rdi + 0x1bf0], rsi
je 0x1400346f9
cmp qword [rdi + 0x1be8], rsi
jne 0x1400346f9
comiss xmm6, dword [rdi + 0x1d58]
movss xmm1, dword [rdi + 0x1c04]
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x14009cd94]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1c04], xmm1
jb 0x1400346f9
comiss xmm6, xmm1
jb 0x1400346f9
mov qword [rdi + 0x1bf0], r15
mov r9, qword [rdi + 0x1be8]
mov r12d, 1
test r9, r9
jne 0x140034735
mov edx, r12d
lea ecx, [r9 + 3]
call fcn.1400329f0
comiss xmm0, xmm6
jbe 0x140034735
movzx r8d, dl
jmp 0x14003473d
mov qword [rdi + 0x1be8], r15
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
xor r8b, r8b
test r9, r9
jne 0x140034762
cmp byte [rdi + 0x138], sil
je 0x140034762
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x140034762
call fcn.14001bd60
test al, al
je 0x140034762
test byte [rdi + 8], r12b
je 0x140034762
movzx r9d, r12b
jmp 0x140034765
xor r9b, r9b
test r8b, r8b
jne 0x140034773
test r9b, r9b
je 0x14003480d
mov rax, qword [rdi + 0x1ba0]
test rax, rax
jne 0x1400347e2
movsxd rcx, dword [rdi + 0x1a08]
lea edx, [rcx - 1]
test edx, edx
js 0x14003480d
movsxd rax, edx
mov r10, rcx
cmp rax, r10
jge 0x14003480d
cmp rax, 0xffffffff80000001
je 0x14003480d
mov r8, qword [rdi + 0x1a10]
mov rcx, qword [r8 + rax*8]
cmp byte [rcx + 0x1a6], sil
je 0x1400347cd
cmp rcx, qword [rcx + 0x368]
jne 0x1400347cd
test dword [rcx + 0x134], 0x80000
je 0x1400347d6
dec edx
sub rax, r12
jns 0x140034797
jmp 0x14003480d
movsxd rax, edx
mov rax, qword [r8 + rax*8]
test rax, rax
je 0x14003480d
xor r9b, r12b
mov qword [rdi + 0x1bf0], rax
mov qword [rdi + 0x1be8], rax
movzx eax, r9b
mov byte [rdi + 0x1c08], al
add eax, 3
mov dword [rdi + 0x1bcc], eax
mov qword [rdi + 0x1c00], r15
mov r10, qword [rdi + 0x1be8]
movss xmm0, dword [rdi + 0x18]
mov r8, r10
movss xmm5, dword [0x14009ccb8]
movaps xmmword [rsp + 0x30], xmm7
addss xmm0, dword [rdi + 0x1c00]
movss dword [rdi + 0x1c00], xmm0
test r10, r10
je 0x140034910
cmp dword [rdi + 0x1bcc], 4
jne 0x140034910
subss xmm0, dword [0x14009cc74]
divss xmm0, dword [0x14009cc5c]
comiss xmm6, xmm0
jbe 0x140034869
movaps xmm1, xmm6
jmp 0x140034870
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rdi + 0x1c04]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rdi + 0x1c04], xmm7
call fcn.1400329f0
comiss xmm0, xmm6
mov r9d, r15d
lea ecx, [rdx + 8]
seta r9b
call fcn.1400329f0
comiss xmm0, xmm6
mov ecx, r15d
mov r8, r10
seta cl
sub ecx, r9d
je 0x1400348cd
call fcn.1400344d0
mov r8, qword [rdi + 0x1be8]
movaps xmm7, xmm5
mov dword [rdi + 0x1c04], 0x3f800000
movss xmm0, dword [rdi + 0x348]
comiss xmm0, xmm6
ja 0x140034910
comiss xmm5, xmm7
seta al
and byte [rdi + 0x1c08], al
je 0x140034901
cmp qword [rdi + 0x1ba0], rsi
je 0x140034904
movzx r14d, r12b
mov qword [rdi + 0x1be8], r15
jmp 0x14003498f
mov rsi, r8
mov qword [rdi + 0x1be8], r15
jmp 0x14003498f
test r8, r8
je 0x14003498f
cmp dword [rdi + 0x1bcc], 3
jne 0x14003498f
movss xmm0, dword [rdi + 0x1c00]
subss xmm0, dword [0x14009cc74]
divss xmm0, dword [0x14009cc5c]
comiss xmm6, xmm0
jbe 0x140034940
movaps xmm5, xmm6
jmp 0x140034944
minss xmm5, xmm0
movss xmm0, dword [rdi + 0x1c04]
maxss xmm0, xmm5
movss dword [rdi + 0x1c04], xmm0
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x140034984
call fcn.14001bd60
test al, al
je 0x140034984
cmp byte [rdi + 0x139], sil
mov ecx, 0xffffffff
cmovne ecx, r12d
call fcn.1400344d0
mov r8, qword [rdi + 0x1be8]
cmp byte [rdi + 0x138], sil
cmove rsi, r8
mov edx, r12d
mov ecx, 0x10
call fcn.1400329f0
comiss xmm0, xmm6
movaps xmm7, xmmword [rsp + 0x30]
jbe 0x1400349ac
mov byte [rdi + 0x1c08], dl
cmp dword [rdi + 0x1a7c], r15d
je 0x1400349c2
cmp byte [rdi + 0x1a8d], r15b
je 0x140034a4f
cmp byte [rdi + 0x1c08], r15b
je 0x140034a4f
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.1400329f0
comiss xmm0, xmm6
jbe 0x140034a4f
lea rax, [rdi + 0x3bc]
test rax, rax
jne 0x1400349f4
lea rax, [rdi + 0x120]
movss xmm0, dword [rax]
movss xmm1, dword [0x14009ce88]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140034a15
comiss xmm2, xmm1
jb 0x140034a15
movzx ecx, r12b
jmp 0x140034a17
xor cl, cl
lea rax, [rdi + 0x120]
test rax, rax
jne 0x140034a2a
lea rax, [rdi + 0x120]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140034a43
comiss xmm2, xmm1
jb 0x140034a43
movzx eax, r12b
jmp 0x140034a45
xor al, al
cmp al, cl
movzx r14d, r14b
cmove r14d, r12d
mov rbp, qword [rdi + 0x1be8]
test rbp, rbp
je 0x140034b57
test byte [rbp + 0x134], 4
jne 0x140034b57
mov eax, dword [rdi + 0x1bcc]
cmp eax, 3
jne 0x140034a91
cmp byte [rdi + 0x139], r15b
jne 0x140034b57
mov edx, r12d
lea rcx, [rsp + 0x80]
jmp 0x140034aa4
cmp eax, 4
jne 0x140034b57
mov edx, eax
lea rcx, [rsp + 0x88]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
call fcn.140032b80
movss xmm4, dword [rax]
ucomiss xmm4, xmm6
movss xmm3, dword [rax + 4]
jp 0x140034ad0
jne 0x140034ad0
ucomiss xmm3, xmm6
jp 0x140034ad0
je 0x140034b57
movss xmm1, dword [rdi + 0xb8]
movss xmm0, dword [rdi + 0x18]
minss xmm1, dword [rdi + 0xbc]
mulss xmm0, dword [0x14009ce44]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
mov rax, qword [rbp + 0x368]
cvtdq2ps xmm2, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm2
addss xmm4, dword [rax + 0x138]
addss xmm3, dword [rax + 0x13c]
movss dword [rax + 0x138], xmm4
movss dword [rax + 0x13c], xmm3
mov rax, qword [rdi + 0x1be8]
mov byte [rdi + 0x1c17], r12b
test dword [rax + 0x134], 0x100
jne 0x140034b57
comiss xmm6, dword [rdi + 0x2ef0]
jb 0x140034b57
mov eax, dword [rdi + 0x1c]
mov dword [rdi + 0x2ef0], eax
movaps xmm6, xmmword [rsp + 0x40]
test rsi, rsi
je 0x140034c13
mov rax, qword [rdi + 0x1ba0]
test rax, rax
je 0x140034b7e
cmp rsi, qword [rax + 0x368]
je 0x140034c0c
mov word [rdi + 0x1c16], 0x100
mov rax, qword [rsi + 0x380]
test rax, rax
cmovne rsi, rax
mov rcx, rsi
call fcn.1400313c0
mov rdi, qword [0x1400b6a60]
mov ecx, dword [rdi + 0x1a7c]
test ecx, ecx
setne al
mov byte [rdi + 0x1a8c], al
test ecx, ecx
je 0x140034bc8
mov dword [rdi + 0x1a88], r15d
mov word [rdi + 0x1a8e], r15w
mov rcx, rsi
mov dword [rdi + 0x1a7c], r15d
mov qword [rdi + 0x1a94], r15
mov byte [rdi + 0x1a8d], r15b
mov qword [rdi + 0x1aa8], r15
call fcn.14002fef0
cmp dword [rsi + 0x388], r15d
jne 0x140034bff
xor edx, edx
mov rcx, rsi
call fcn.140032800
cmp dword [rsi + 0x7c], 2
jne 0x140034c0c
mov dword [rbx + 0x1c0c], r12d
mov qword [rbx + 0x1be8], r15
mov r12, qword [rsp + 0x98]
test r14b, r14b
je 0x140034cb7
mov rsi, qword [rbx + 0x1ba0]
test rsi, rsi
je 0x140034cb7
lea rcx, [rsi + 0x360]
cmp qword [rcx], r15
je 0x140034c67
test byte [rsi + 0x7c], 2
jne 0x140034c67
mov eax, dword [rsi + 0x134]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140034c67
mov rsi, qword [rcx]
lea rcx, [rsi + 0x360]
cmp qword [rcx], r15
jne 0x140034c40
mov rbp, qword [rbx + 0x1ba0]
cmp rsi, rbp
je 0x140034c82
mov rcx, rsi
call fcn.14002fef0
mov qword [rsi + 0x380], rbp
mov rax, qword [rbx + 0x1ba0]
mov word [rbx + 0x1c16], 0x100
test byte [rax + 0x7c], 2
je 0x140034ccb
mov eax, dword [rbx + 0x1c0c]
xor eax, 1
mov dword [rdi + 0x1c0c], eax
je 0x140034cd2
mov rcx, qword [rdi + 0x1ba0]
mov dl, 1
call fcn.140032800
mov rbp, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov dword [rdi + 0x1c0c], r15d
mov rcx, qword [rdi + 0x1ba0]
mov rax, qword [rcx + 0x380]
test rax, rax
cmovne rcx, rax
mov qword [rdi + 0x1ba0], rcx
mov eax, dword [rcx + 0x388]
test eax, eax
je 0x140034ca9
mov dword [rdi + 0x1ba8], eax
mov dword [rcx + 0x388], eax
movups xmm0, xmmword [rcx + 0x390]
mov rax, qword [rdi + 0x1ba0]
movups xmmword [rax + 0x390], xmm0
mov word [rdi + 0x1c15], 1
mov byte [rdi + 0x1c17], 1
jmp 0x140034cb7