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

Disassembly:
mov r11, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1400ec448]
xor rax, rsp
mov qword [rbp - 0x60], rax
test byte [rcx + 0xc], 0x42
mov r13d, r9d
mov r15, qword [rbp + 0xb0]
mov rdi, rcx
mov r14, qword [0x1400ece10]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x50], rdx
jne 0x14003a386
cmp byte [rcx + 0xe8], 0
jg 0x14003a386
cmp byte [rcx + 0xe9], 0
jg 0x14003a386
cmp byte [rcx + 0xd0], 0
je 0x14003a386
movss xmm1, dword [r14 + 0x1a80]
movss xmm0, dword [rcx + 0x88]
movaps xmm2, xmm1
mulss xmm1, dword [0x1400c4a84]
mov qword [r11 + 0x20], rbx
mulss xmm2, dword [0x1400c4ad4]
mov qword [r11 - 0x30], rsi
movzx esi, byte [r14 + 0xd3]
movaps xmmword [r11 - 0x48], xmm6
movaps xmmword [r11 - 0x58], xmm7
movaps xmmword [r11 - 0x68], xmm8
xorps xmm8, xmm8
movaps xmmword [r11 - 0x88], xmm10
movaps xmmword [r11 - 0x98], xmm11
movaps xmmword [r11 - 0xa8], xmm12
movss xmm12, dword [0x1400c4ac4]
movaps xmmword [r11 - 0xb8], xmm13
addss xmm0, xmm12
movaps xmmword [r11 - 0xc8], xmm14
movaps xmmword [r11 - 0xd8], xmm15
xorps xmm15, xmm15
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x72], sil
addss xmm0, xmm1
maxss xmm2, xmm0
xorps xmm0, xmm0
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x1400c4ab0]
cvttss2si eax, xmm0
cvtsi2ss xmm8, eax
movss dword [rsp + 0x48], xmm8
test sil, sil
je 0x1400399d6
movss xmm0, dword [0x1400c4afc]
jmp 0x1400399d9
xorps xmm0, xmm0
test dword [r14 + 0xc], 0x800
movss xmm11, dword [0x1400c4b38]
movaps xmm6, xmm11
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x44], xmm6
movaps xmm13, xmm11
movss dword [rsp + 0x78], xmm11
movaps xmm14, xmm11
movss dword [rsp + 0x7c], xmm11
movaps xmm10, xmm11
movss dword [rsp + 0x40], xmm11
je 0x140039a33
mov eax, dword [rcx + 0x40]
cmp dword [r14 + 0x138], eax
jne 0x140039a33
mov rax, qword [rcx + 0x38]
test byte [rax + 4], 8
jne 0x140039a78
mov rax, qword [rcx + 0x38]
movss xmm3, dword [rax + 8]
movss xmm0, dword [rax + 0xc]
movaps xmm1, xmm3
addss xmm1, dword [rax + 0x10]
shufps xmm3, xmm3, 0xe1
movaps xmm2, xmm0
addss xmm2, dword [rax + 0x14]
movss xmm3, xmm0
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm2
shufps xmm3, xmm3, 0x39
movups xmmword [rbp - 0x80], xmm3
movups xmmword [rcx + 0x290], xmm3
mov dword [rcx + 0x18c], 1
lea rcx, str.RESIZE
mov qword [rsp + 0x150], r12
movaps xmmword [rsp + 0x110], xmm9
call fcn.140032570
movss xmm7, dword [0x1400c4b48]
xor ebx, ebx
test r13d, r13d
jle 0x140039e3e
movss xmm14, dword [0x1400c4b80]
lea rsi, [0x1400ec014]
movss xmm13, dword [rsp + 0x38]
mov r12, r15
nop dword [rax]
movss xmm0, dword [rdi + 0x50]
movss xmm1, dword [rdi + 0x54]
movaps xmm3, xmm0
addss xmm3, dword [rdi + 0x58]
movaps xmm2, xmm1
addss xmm2, dword [rdi + 0x5c]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [rsi - 4]
mulss xmm2, dword [rsi]
addss xmm3, xmm0
movss xmm0, dword [rsi + 4]
movaps xmm5, xmm0
mulss xmm0, xmm13
addss xmm2, xmm1
mulss xmm5, xmm8
movss xmm1, dword [rsi + 8]
movaps xmm4, xmm1
mulss xmm1, xmm13
addss xmm5, xmm3
mulss xmm4, xmm8
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [rbp - 0x78], xmm5
comiss xmm3, xmm5
movss dword [rbp - 0x80], xmm3
movss dword [rbp - 0x7c], xmm2
movss dword [rbp - 0x74], xmm4
jbe 0x140039b5a
movss dword [rbp - 0x80], xmm5
movss dword [rbp - 0x78], xmm3
comiss xmm2, xmm4
jbe 0x140039b69
movss dword [rbp - 0x7c], xmm4
movss dword [rbp - 0x74], xmm2
mov edx, ebx
mov rcx, rdi
call fcn.140029f10
lea r9, [rsp + 0x71]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140051f90
movzx edx, byte [rsp + 0x70]
movzx ecx, byte [rsp + 0x71]
test dl, dl
jne 0x140039ba6
test cl, cl
je 0x140039dc5
mov eax, ebx
not eax
and eax, 1
add eax, 5
mov dword [r14 + 0x20d0], eax
test cl, cl
je 0x140039dc5
cmp byte [r14 + 0x41d], 0
je 0x140039c85
test ebx, ebx
jne 0x140039c85
mov r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
mov rdx, rdi
call fcn.14001ecc0
mov rdx, qword [0x1400ece10]
mov byte [rsp + 0x30], 1
movss xmm10, dword [rax]
movss xmm6, dword [rax + 4]
mov ecx, dword [rdx + 0x1d6c]
test ecx, ecx
movss dword [rsp + 0x40], xmm10
setne al
movss dword [rsp + 0x44], xmm6
mov byte [rdx + 0x1d78], al
xor eax, eax
test ecx, ecx
je 0x140039c38
mov dword [rdx + 0x1d74], eax
mov word [rdx + 0x1d7b], ax
mov dword [rdx + 0x1da4], 0xffffffff
mov dword [rdx + 0x1d6c], eax
mov word [rdx + 0x1d79], 0
mov qword [rdx + 0x1d98], rax
mov word [rdx + 0x1d7d], 0
mov qword [rdx + 0x1d80], 0
mov qword [rdx + 0x1d88], rax
movzx ecx, byte [rsp + 0x71]
movzx edx, byte [rsp + 0x70]
test cl, cl
je 0x140039dd9
mov ecx, reloc.WLDAP32.dll_Ordinal_32
jmp 0x140039de4
movss xmm10, dword [rsi]
ucomiss xmm10, xmm12
jp 0x140039ca0
jne 0x140039ca0
mov rax, qword [rbp + 0xb8]
movss xmm6, dword [rax + 4]
jmp 0x140039caa
mov rax, qword [rbp + 0xb8]
movaps xmm6, xmm7
movss xmm9, dword [rsi - 4]
ucomiss xmm9, xmm12
jp 0x140039cbe
jne 0x140039cbe
movss xmm5, dword [rax]
jmp 0x140039cc1
movaps xmm5, xmm7
ucomiss xmm10, xmm15
jp 0x140039cd1
jne 0x140039cd1
movss xmm8, dword [rax + 0xc]
jmp 0x140039cd5
movaps xmm8, xmm11
ucomiss xmm9, xmm15
jp 0x140039ce4
jne 0x140039ce4
movss xmm7, dword [rax + 8]
jmp 0x140039ce8
movaps xmm7, xmm11
movss xmm4, dword [rsi + 4]
movss xmm3, dword [rsi + 8]
movaps xmm0, xmm4
movss xmm2, dword [rsp + 0x48]
movaps xmm1, xmm3
mulss xmm0, xmm13
xorps xmm2, xmm14
mulss xmm4, xmm2
mulss xmm3, xmm2
subss xmm4, xmm0
mulss xmm1, xmm13
subss xmm3, xmm1
mulss xmm4, xmm9
addss xmm4, xmm0
mulss xmm3, xmm10
movss xmm0, dword [r14 + 0x120]
subss xmm0, dword [r14 + 0x1d90]
addss xmm3, xmm1
addss xmm4, xmm0
movss xmm0, dword [r14 + 0x124]
subss xmm0, dword [r14 + 0x1d94]
addss xmm0, xmm3
comiss xmm6, xmm0
ja 0x140039d67
movaps xmm6, xmm8
minss xmm6, xmm0
comiss xmm5, xmm4
ja 0x140039d73
movaps xmm5, xmm7
minss xmm5, xmm4
lea rax, [rsp + 0x40]
movss dword [rsp + 0x38], xmm5
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r8, [rsi - 4]
movss dword [rsp + 0x3c], xmm6
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14001e5a0
movzx ecx, byte [rsp + 0x71]
movzx edx, byte [rsp + 0x70]
movss xmm6, dword [rsp + 0x44]
movss xmm10, dword [rsp + 0x40]
movss xmm7, dword [0x1400c4b48]
movss xmm8, dword [rsp + 0x48]
test ebx, ebx
je 0x140039c73
test cl, cl
jne 0x140039c7b
test dl, dl
je 0x140039e18
xor ecx, ecx
test dl, dl
setne cl
add rcx, 0x1e
mov rax, qword [0x1400ece10]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x16fc]
lea rcx, [rbp - 0x70]
movups xmmword [rbp - 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rbp - 0x64], xmm0
call fcn.14001f7f0
mov dword [r12], eax
inc ebx
add rsi, 0x18
add r12, 4
cmp ebx, r13d
jl 0x140039ad0
movss xmm14, dword [rsp + 0x7c]
movss xmm13, dword [rsp + 0x78]
movzx esi, byte [rsp + 0x72]
xor ebx, ebx
neg sil
sbb rax, rax
and eax, 4
mov qword [rsp + 0x50], rax
jbe 0x14003a0d6
movss xmm12, dword [0x1400c4a70]
lea rax, [0x1400ec084]
mov qword [rsp + 0x40], rax
nop dword [rax]
cmp ebx, 1
jbe 0x140039e8d
mov esi, 3
lea r13, [rsp + 0x7c]
mov r15d, 0x124
mov r12d, 0x1d94
jmp 0x140039ea3
mov esi, 4
lea r13, [rsp + 0x78]
mov r15d, 0x120
mov r12d, 0x1d90
movss xmm9, dword [0x1400c4afc]
lea rcx, [rbp - 0x70]
movaps xmm3, xmm8
movss dword [rsp + 0x20], xmm9
mov r8d, ebx
mov rdx, rdi
call fcn.14002a730
lea edx, [rbx + 4]
mov rcx, rdi
call fcn.140029f10
lea r9, [rsp + 0x72]
mov dword [rsp + 0x20], 0x800
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140051f90
cmp byte [rsp + 0x70], 0
movzx eax, byte [rsp + 0x72]
je 0x140039f09
movss xmm0, dword [r14 + 0x1d64]
comiss xmm0, xmm12
ja 0x140039f11
test al, al
je 0x14003a0b2
mov dword [r14 + 0x20d0], esi
test al, al
je 0x14003a0b2
mov rax, qword [rsp + 0x60]
mov dword [rax], ebx
cmp ebx, 3
jne 0x14003a066
mov rax, qword [rbp + 0xb8]
movss xmm8, dword [rax + 4]
movaps xmm2, xmm11
movaps xmm3, xmm11
movsd xmm0, qword [rdi + 0x50]
movss xmm1, dword [r15 + r14]
subss xmm1, dword [r12 + r14]
movsd qword [rsp + 0x78], xmm0
addss xmm1, xmm9
movss dword [r13], xmm1
movss xmm0, dword [rsp + 0x7c]
comiss xmm8, xmm0
ja 0x140039f7c
movaps xmm8, xmm2
minss xmm8, xmm0
movss xmm0, dword [rsp + 0x78]
comiss xmm7, xmm0
ja 0x140039f8e
movaps xmm7, xmm3
minss xmm7, xmm0
mov rsi, qword [rsp + 0x40]
lea r8, [rsp + 0x38]
movss xmm0, dword [rdi + 0x50]
lea rcx, [rsp + 0x58]
movss xmm1, dword [rdi + 0x54]
movaps xmm13, xmm0
addss xmm0, dword [rdi + 0x58]
movss xmm9, dword [rsi - 8]
subss xmm13, xmm7
minss xmm9, dword [rsi]
movss xmm6, dword [rsi - 0xc]
movaps xmm14, xmm1
minss xmm6, dword [rsi - 4]
addss xmm1, dword [rdi + 0x5c]
subss xmm14, xmm8
mov rdx, rdi
mulss xmm13, xmm6
mulss xmm14, xmm9
addss xmm13, xmm7
subss xmm7, xmm0
addss xmm14, xmm8
subss xmm8, xmm1
mulss xmm7, xmm6
mulss xmm8, xmm9
addss xmm7, xmm0
addss xmm8, xmm1
subss xmm7, xmm13
subss xmm8, xmm14
movss dword [rsp + 0x38], xmm7
movss dword [rsp + 0x3c], xmm8
call fcn.14001ecc0
ucomiss xmm6, xmm15
movss xmm10, dword [rsp + 0x58]
jp 0x14003a042
jne 0x14003a042
movaps xmm0, xmm10
subss xmm0, xmm7
subss xmm13, xmm0
ucomiss xmm9, xmm15
movss xmm6, dword [rsp + 0x5c]
jp 0x14003a05d
jne 0x14003a05d
movaps xmm0, xmm6
subss xmm0, xmm8
subss xmm14, xmm0
movss xmm8, dword [rsp + 0x48]
jmp 0x14003a0b7
movaps xmm8, xmm7
cmp ebx, 1
jne 0x14003a07f
mov rax, qword [rbp + 0xb8]
movss xmm7, dword [rax]
jmp 0x140039f3d
cmp ebx, 2
jne 0x14003a095
mov rax, qword [rbp + 0xb8]
movss xmm2, dword [rax + 0xc]
jmp 0x140039f41
movaps xmm2, xmm11
test ebx, ebx
jne 0x140039f41
mov rax, qword [rbp + 0xb8]
movss xmm3, dword [rax + 8]
jmp 0x140039f45
mov rsi, qword [rsp + 0x40]
movss xmm7, dword [0x1400c4b48]
add rsi, 0x1c
inc ebx
mov qword [rsp + 0x40], rsi
sub qword [rsp + 0x50], 1
jne 0x140039e70
mov rax, qword [0x1400ece10]
mov r12, qword [rsp + 0x150]
mov rsi, qword [rsp + 0x158]
mov rbx, qword [rsp + 0x1a8]
mov rcx, qword [rax + 0x1d18]
dec dword [rcx + 0x108]
mov dword [rdi + 0x18c], 0
mov rax, qword [r14 + 0x2080]
test rax, rax
je 0x14003a299
cmp qword [rax + 0x3d8], rdi
jne 0x14003a299
mov eax, dword [r14 + 0x1f84]
cmp eax, 2
jne 0x14003a148
cmp byte [r14 + 0x13d], 0
je 0x14003a299
lea edx, [rax - 1]
jmp 0x14003a154
cmp eax, 3
jne 0x14003a299
lea edx, [rax - 1]
movaps xmm3, xmm15
movss dword [rsp + 0x20], xmm15
xor r8d, r8d
lea rcx, [rsp + 0x60]
call fcn.14002a3c0
xorps xmm2, xmm2
movss xmm15, dword [rax]
ucomiss xmm15, xmm2
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x38], xmm0
jp 0x14003a192
jne 0x14003a192
ucomiss xmm0, xmm2
jp 0x14003a192
je 0x14003a29c
movss xmm0, dword [r14 + 0x18]
lea rcx, [rbp - 0x70]
mulss xmm0, dword [0x1400c4b2c]
movss xmm1, dword [r14 + 0xc0]
minss xmm1, dword [r14 + 0xc4]
movss xmm7, dword [rdi + 0x50]
movss xmm9, dword [rdi + 0x54]
movss xmm10, dword [rdi + 0x5c]
movss xmm6, dword [rdi + 0x58]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm11, eax
mov rax, qword [rbp + 0xb8]
cvtdq2ps xmm11, xmm11
movss xmm8, dword [rax]
movss xmm12, dword [rax + 4]
mov byte [r14 + 0x20a0], 0
mov byte [r14 + 0x1fa7], 1
mov rax, qword [0x1400ece10]
movups xmm0, xmmword [rax + 0x18fc]
movups xmmword [rbp - 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rbp - 0x64], xmm0
call fcn.14001f7f0
mov rcx, qword [rsp + 0x68]
subss xmm8, xmm7
movss xmm0, dword [rsp + 0x38]
subss xmm12, xmm9
mulss xmm0, xmm11
lea r8, [rsp + 0x50]
mov rdx, rdi
mulss xmm15, xmm11
mov dword [rcx], eax
lea rcx, [rsp + 0x68]
subss xmm8, xmm6
subss xmm12, xmm10
maxss xmm15, xmm8
maxss xmm0, xmm12
addss xmm15, dword [rdi + 0x60]
addss xmm0, dword [rdi + 0x64]
movss dword [rsp + 0x50], xmm15
movss dword [rsp + 0x54], xmm0
call fcn.14001ecc0
movss xmm11, dword [0x1400c4b38]
movss xmm10, dword [rax]
movss xmm6, dword [rax + 4]
xorps xmm2, xmm2
ucomiss xmm10, xmm11
movaps xmm15, xmmword [rsp + 0xb0]
movaps xmm12, xmmword [rsp + 0xe0]
movaps xmm9, xmmword [rsp + 0x110]
movaps xmm8, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
jp 0x14003a2d0
je 0x14003a2fd
test dword [rdi + 0xc], 0x100
movss dword [rdi + 0x60], xmm10
movss dword [rdi + 0x64], xmm6
mov rcx, qword [0x1400ece10]
jne 0x14003a2fd
comiss xmm2, dword [rcx + 0x31fc]
jb 0x14003a2fd
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x31fc], eax
movaps xmm10, xmmword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0x140]
ucomiss xmm13, xmm11
movaps xmm11, xmmword [rsp + 0xf0]
jp 0x14003a31f
je 0x14003a363
test dword [rdi + 0xc], 0x100
cvttss2si eax, xmm13
movd xmm1, eax
cvttss2si eax, xmm14
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm1
movss dword [rdi + 0x54], xmm0
mov rdx, qword [0x1400ece10]
jne 0x14003a363
comiss xmm2, dword [rdx + 0x31fc]
jb 0x14003a363
mov ecx, dword [rdx + 0x1c]
mov dword [rdx + 0x31fc], ecx
movsd xmm0, qword [rdi + 0x60]
movzx eax, byte [rsp + 0x30]
movaps xmm14, xmmword [rsp + 0xc0]
movaps xmm13, xmmword [rsp + 0xd0]
movsd qword [rdi + 0x58], xmm0
jmp 0x14003a388
xor al, al
mov rcx, qword [rbp - 0x60]
xor rcx, rsp
call fcn.1400be800
add rsp, 0x160
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret