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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x60]
sub rsp, 0x160
test byte [rcx + 0xc], 0x42
mov r12d, r9d
mov rsi, qword [0x140317818]
mov r13, rdx
mov qword [rsp + 0x58], rsi
mov rdi, rcx
jne 0x1400c54a2
cmp byte [rcx + 0xe8], 0
jg 0x1400c54a2
cmp byte [rcx + 0xe9], 0
jg 0x1400c54a2
cmp byte [rcx + 0xd0], 0
je 0x1400c54a2
vmovss xmm2, dword [rsi + 0x1a80]
vmulss xmm0, xmm2, dword [0x1401e1f9c]
vmulss xmm3, xmm2, dword [0x1401e1fec]
mov qword [rax + 0x10], rbx
xor ebx, ebx
test dword [rsi + 0xc], 0x800
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
movzx r15d, byte [rsi + 0xd3]
vmovaps xmmword [rax - 0x48], xmm6
vmovss xmm6, dword [0x1401e2014]
vmovaps xmmword [rax - 0x58], xmm7
vmovaps xmmword [rax - 0x68], xmm8
vmovaps xmmword [rax - 0x78], xmm9
vmovss xmm9, dword [0x1401e2050]
vmovaps xmmword [rax - 0x88], xmm10
vmovaps xmmword [rax - 0x98], xmm11
vmovss xmm11, dword [0x1401e1fdc]
vaddss xmm1, xmm11, dword [rcx + 0x88]
vaddss xmm1, xmm1, xmm0
vmovaps xmmword [rax - 0xa8], xmm12
vmovaps xmmword [rax - 0xb8], xmm13
vmovaps xmmword [rax - 0xc8], xmm14
vmaxss xmm2, xmm3, xmm1
vmovaps xmmword [rax - 0xd8], xmm15
vcvttss2si eax, xmm2
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vmulss xmm0, xmm0, dword [0x1401e1fc8]
vcvttss2si eax, xmm0
vxorps xmm14, xmm14, xmm14
vmovd xmm0, r15d
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vxorps xmm7, xmm7, xmm7
vblendvps xmm13, xmm6, xmm14, xmm2
vcvtsi2ss xmm7, xmm7, eax
vmovss dword [rsp + 0x48], xmm13
vmovss dword [rsp + 0x38], xmm7
vmovss dword [rsp + 0x34], xmm14
vmovss dword [rsp + 0x50], xmm6
vmovss dword [rsp + 0x3c], xmm9
mov byte [rsp + 0x31], 0
mov dword [rsp + 0x40], r15d
vmovaps xmm15, xmm9
vmovaps xmm12, xmm9
vmovaps xmm10, xmm9
je 0x1400c4af7
mov eax, dword [rcx + 0x40]
cmp dword [rsi + 0x138], eax
jne 0x1400c4af7
mov rax, qword [rcx + 0x38]
test byte [rax + 4], 8
jne 0x1400c4b37
mov rax, qword [rcx + 0x38]
vmovss xmm2, dword [rax + 8]
vmovss xmm0, dword [rax + 0x10]
vmovss xmm3, dword [rax + 0xc]
vmovss xmm1, dword [rax + 0x14]
vmovss dword [rcx + 0x290], xmm2
vmovss dword [rcx + 0x294], xmm3
vaddss xmm0, xmm2, xmm0
vaddss xmm1, xmm3, xmm1
vmovss dword [rcx + 0x298], xmm0
vmovss dword [rcx + 0x29c], xmm1
mov dword [rcx + 0x18c], 1
lea rcx, str.RESIZE
call fcn.1400bd180
mov r14d, ebx
vmovss xmm8, dword [0x1401e2060]
test r12d, r12d
jle 0x1400c4f5e
mov r15, qword [rbp + 0xb0]
lea rbx, [0x14022e818]
nop
vmovss xmm3, dword [rdi + 0x50]
vaddss xmm0, xmm3, dword [rdi + 0x58]
vmovss xmm4, dword [rdi + 0x54]
vsubss xmm1, xmm0, xmm3
vmulss xmm2, xmm1, dword [rbx - 8]
vaddss xmm0, xmm4, dword [rdi + 0x5c]
vsubss xmm1, xmm0, xmm4
vmulss xmm0, xmm7, dword [rbx]
vaddss xmm5, xmm2, xmm3
vmulss xmm2, xmm1, dword [rbx - 4]
vaddss xmm7, xmm0, xmm5
vmulss xmm0, xmm13, dword [rbx]
vaddss xmm4, xmm2, xmm4
vmovss xmm2, dword [rbx + 4]
vmulss xmm1, xmm2, dword [rsp + 0x38]
vaddss xmm6, xmm1, xmm4
vsubss xmm0, xmm5, xmm0
vcomiss xmm0, xmm7
vmulss xmm1, xmm2, xmm13
vsubss xmm3, xmm4, xmm1
vmovss dword [rsp + 0x74], xmm3
vmovss dword [rsp + 0x70], xmm0
vmovss dword [rsp + 0x78], xmm7
vmovss dword [rsp + 0x7c], xmm6
jbe 0x1400c4bf0
vmovss dword [rsp + 0x70], xmm7
vmovss dword [rsp + 0x78], xmm0
vcomiss xmm3, xmm6
jbe 0x1400c4c02
vmovss dword [rsp + 0x74], xmm6
vmovss dword [rsp + 0x7c], xmm3
mov edx, r14d
mov rcx, rdi
call fcn.1400b51b0
lea r9, [rbp + 0x90]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1400dd080
movzx edx, byte [rsp + 0x30]
movzx ecx, byte [rbp + 0x90]
test dl, dl
jne 0x1400c4c45
test cl, cl
je 0x1400c4ee1
mov eax, r14d
not eax
and eax, 1
add eax, 5
mov dword [rsi + 0x20d0], eax
test cl, cl
je 0x1400c4ee1
cmp byte [rsi + 0x41d], 0
je 0x1400c4d15
test r14d, r14d
jne 0x1400c4d15
mov r8, r13
lea rcx, [rbp - 0x68]
mov rdx, rdi
call fcn.1400a9e80
mov rdx, qword [0x140317818]
mov byte [rsp + 0x31], 1
vmovss xmm12, dword [rax]
vmovss xmm10, dword [rax + 4]
mov ecx, dword [rdx + 0x1d6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1d78], al
xor eax, eax
test ecx, ecx
je 0x1400c4cc6
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 [rbp + 0x90]
movzx edx, byte [rsp + 0x30]
test cl, cl
je 0x1400c4ef6
mov ecx, reloc.WLDAP32.dll_Ordinal_32
jmp 0x1400c4f01
vmovss xmm14, dword [rbx - 4]
vucomiss xmm14, xmm11
jp 0x1400c4d31
jne 0x1400c4d31
mov rax, qword [rbp + 0xb8]
vmovss xmm13, dword [rax + 4]
jmp 0x1400c4d3d
mov rax, qword [rbp + 0xb8]
vmovaps xmm13, xmm8
vmovss xmm12, dword [rbx - 8]
vucomiss xmm12, xmm11
jp 0x1400c4d4f
jne 0x1400c4d4f
vmovss xmm8, dword [rax]
vmovss xmm0, dword [rsp + 0x34]
vucomiss xmm14, xmm0
jp 0x1400c4d64
jne 0x1400c4d64
vmovss xmm10, dword [rax + 0xc]
jmp 0x1400c4d69
vmovaps xmm10, xmm9
vucomiss xmm12, xmm0
jp 0x1400c4d76
jne 0x1400c4d76
vmovss xmm9, dword [rax + 8]
vmovss xmm0, dword [rsp + 0x38]
vxorps xmm7, xmm0, xmmword [0x1401e20a0]
vmovss xmm0, dword [rbx]
vmulss xmm3, xmm0, dword [rsp + 0x48]
vmovss xmm5, dword [rbx + 4]
vmulss xmm6, xmm5, dword [rsp + 0x48]
vmulss xmm0, xmm7, xmm0
vsubss xmm1, xmm0, xmm3
vmovss xmm0, dword [rsi + 0x120]
vmulss xmm2, xmm1, xmm12
vsubss xmm1, xmm0, dword [rsi + 0x1d90]
vaddss xmm3, xmm2, xmm3
vmovss xmm2, dword [rsi + 0x124]
vsubss xmm4, xmm2, dword [rsi + 0x1d94]
vmulss xmm0, xmm7, xmm5
vaddss xmm11, xmm3, xmm1
vsubss xmm1, xmm0, xmm6
vmulss xmm2, xmm1, xmm14
vaddss xmm3, xmm2, xmm6
vaddss xmm0, xmm4, xmm3
vcomiss xmm13, xmm0
ja 0x1400c4ded
vminss xmm13, xmm10, xmm0
vcomiss xmm8, xmm11
ja 0x1400c4df9
vminss xmm8, xmm9, xmm11
vmovss xmm2, dword [rdi + 0x50]
vmovss xmm3, dword [rdi + 0x54]
vaddss xmm4, xmm3, dword [rdi + 0x5c]
vsubss xmm0, xmm2, xmm8
vaddss xmm2, xmm2, dword [rdi + 0x58]
vmulss xmm1, xmm0, xmm12
vaddss xmm15, xmm1, xmm8
vsubss xmm0, xmm3, xmm13
vmulss xmm1, xmm0, xmm14
vsubss xmm0, xmm8, xmm2
vaddss xmm11, xmm1, xmm13
vmulss xmm1, xmm0, xmm12
vaddss xmm2, xmm1, xmm2
vsubss xmm6, xmm2, xmm15
vsubss xmm0, xmm13, xmm4
vmulss xmm1, xmm0, xmm14
vaddss xmm2, xmm1, xmm4
vsubss xmm7, xmm2, xmm11
lea r8, [rsp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x68]
vmovss dword [rsp + 0x64], xmm7
vmovss dword [rsp + 0x3c], xmm11
vmovss dword [rsp + 0x60], xmm6
call fcn.1400a9e80
vmovss xmm0, dword [rbx - 8]
vmovss xmm14, dword [rsp + 0x34]
vucomiss xmm0, xmm14
vmovss xmm12, dword [rsp + 0x68]
jp 0x1400c4e95
jne 0x1400c4e95
vsubss xmm0, xmm12, xmm6
vsubss xmm15, xmm15, xmm0
vmovss xmm0, dword [rbx - 4]
vucomiss xmm0, xmm14
vmovss xmm10, dword [rsp + 0x6c]
jp 0x1400c4eb7
jne 0x1400c4eb7
vsubss xmm0, xmm10, xmm7
vsubss xmm11, xmm11, xmm0
vmovss dword [rsp + 0x3c], xmm11
movzx ecx, byte [rbp + 0x90]
movzx edx, byte [rsp + 0x30]
vmovss xmm9, dword [0x1401e2050]
vmovss xmm8, dword [0x1401e2060]
vmovss xmm11, dword [0x1401e1fdc]
vmovss xmm13, dword [rsp + 0x48]
test r14d, r14d
je 0x1400c4d03
test cl, cl
jne 0x1400c4d0b
test dl, dl
je 0x1400c4f37
xor ecx, ecx
test dl, dl
setne cl
add rcx, 0x1e
mov rax, qword [0x140317818]
add rcx, rcx
vmovups xmm0, xmmword [rax + rcx*8 + 0x16fc]
vmovups xmmword [rbp - 0x80], xmm0
vshufps xmm0, xmm0, xmm0, 0xff
vmulss xmm0, xmm0, dword [rax + 0x1638]
lea rcx, [rbp - 0x80]
vmovss dword [rbp - 0x74], xmm0
call fcn.1400aa9d0
mov dword [r15], eax
vmovss xmm7, dword [rsp + 0x38]
inc r14d
add rbx, 0x18
add r15, 4
cmp r14d, r12d
jl 0x1400c4b70
vmovss xmm6, dword [rsp + 0x50]
mov r15d, dword [rsp + 0x40]
xor ebx, ebx
neg r15b
sbb rax, rax
and eax, 4
mov qword [rsp + 0x48], rax
jbe 0x1400c51eb
vmovss xmm13, dword [0x1401e1f88]
lea r13, [0x14022e884]
cmp ebx, 1
jbe 0x1400c4f9e
mov esi, 3
lea r12, [rsp + 0x44]
mov r14d, 0x124
mov r15d, 0x1d94
jmp 0x1400c4fb4
mov esi, 4
lea r12, [rsp + 0x40]
mov r14d, 0x120
mov r15d, 0x1d90
vmovaps xmm3, xmm7
mov r8d, ebx
lea rcx, [rbp - 0x80]
mov rdx, rdi
vmovss dword [rsp + 0x20], xmm6
call fcn.1400b5940
lea edx, [rbx + 4]
mov rcx, rdi
call fcn.1400b51b0
lea r9, [rbp + 0x90]
mov dword [rsp + 0x20], 0x800
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.1400dd080
cmp byte [rsp + 0x30], 0
movzx eax, byte [rbp + 0x90]
mov rcx, qword [rsp + 0x58]
je 0x1400c5019
vmovss xmm0, dword [rcx + 0x1d64]
vcomiss xmm0, xmm13
ja 0x1400c5021
test al, al
je 0x1400c51c4
mov dword [rcx + 0x20d0], esi
test al, al
je 0x1400c51c4
mov rax, qword [rbp + 0xa0]
mov dword [rax], ebx
cmp ebx, 3
jne 0x1400c5171
mov rax, qword [rbp + 0xb8]
vmovaps xmm7, xmm8
vmovss xmm5, dword [rax + 4]
vmovaps xmm3, xmm9
vmovaps xmm4, xmm9
mov rsi, qword [rsp + 0x58]
vmovsd xmm0, qword [rdi + 0x50]
vmovsd qword [rsp + 0x40], xmm0
vmovss xmm1, dword [r14 + rsi]
vsubss xmm2, xmm1, dword [r15 + rsi]
vaddss xmm0, xmm2, xmm6
vmovss dword [r12], xmm0
vmovss xmm1, dword [rsp + 0x44]
vcomiss xmm5, xmm1
ja 0x1400c5092
vminss xmm5, xmm3, xmm1
vmovss xmm0, dword [rsp + 0x40]
vcomiss xmm7, xmm0
ja 0x1400c50a2
vminss xmm7, xmm4, xmm0
vmovss xmm2, dword [rdi + 0x50]
vmovss xmm0, dword [r13 - 8]
vminss xmm8, xmm0, dword [r13]
vmovss xmm1, dword [r13 - 0xc]
vminss xmm6, xmm1, dword [r13 - 4]
vmovss xmm3, dword [rdi + 0x54]
vaddss xmm4, xmm3, dword [rdi + 0x5c]
vsubss xmm0, xmm2, xmm7
vaddss xmm2, xmm2, dword [rdi + 0x58]
vmulss xmm1, xmm0, xmm6
vaddss xmm15, xmm1, xmm7
vsubss xmm0, xmm3, xmm5
vmulss xmm1, xmm0, xmm8
vsubss xmm0, xmm7, xmm2
vaddss xmm11, xmm1, xmm5
vmulss xmm1, xmm0, xmm6
vaddss xmm2, xmm1, xmm2
vsubss xmm7, xmm2, xmm15
vsubss xmm0, xmm5, xmm4
vmulss xmm1, xmm0, xmm8
vaddss xmm2, xmm1, xmm4
vsubss xmm9, xmm2, xmm11
lea r8, [rsp + 0x68]
mov rdx, rdi
lea rcx, [rsp + 0x60]
vmovss dword [rsp + 0x6c], xmm9
vmovss dword [rsp + 0x3c], xmm11
vmovss dword [rsp + 0x68], xmm7
call fcn.1400a9e80
vucomiss xmm6, xmm14
vmovss xmm12, dword [rsp + 0x60]
jp 0x1400c5145
jne 0x1400c5145
vsubss xmm0, xmm12, xmm7
vsubss xmm15, xmm15, xmm0
vucomiss xmm8, xmm14
vmovss xmm10, dword [rsp + 0x64]
jp 0x1400c5163
jne 0x1400c5163
vsubss xmm0, xmm10, xmm9
vsubss xmm11, xmm11, xmm0
vmovss dword [rsp + 0x3c], xmm11
vmovss xmm6, dword [rsp + 0x50]
vmovss xmm7, dword [rsp + 0x38]
jmp 0x1400c51c9
vmovaps xmm5, xmm8
cmp ebx, 1
jne 0x1400c518b
mov rax, qword [rbp + 0xb8]
vmovss xmm7, dword [rax]
jmp 0x1400c5052
vmovaps xmm7, xmm8
cmp ebx, 2
jne 0x1400c51a6
mov rax, qword [rbp + 0xb8]
vmovss xmm3, dword [rax + 0xc]
jmp 0x1400c5057
vmovaps xmm3, xmm9
test ebx, ebx
jne 0x1400c5057
mov rax, qword [rbp + 0xb8]
vmovss xmm4, dword [rax + 8]
jmp 0x1400c505c
mov rsi, qword [rsp + 0x58]
vmovss xmm9, dword [0x1401e2050]
vmovss xmm8, dword [0x1401e2060]
inc ebx
add r13, 0x1c
sub qword [rsp + 0x48], 1
jne 0x1400c4f81
mov rax, qword [0x140317818]
mov r15, qword [rsp + 0x150]
mov r14, qword [rsp + 0x158]
mov rbx, qword [rsp + 0x198]
mov rcx, qword [rax + 0x1d18]
dec dword [rcx + 0x108]
mov dword [rdi + 0x18c], 0
mov rax, qword [rsi + 0x2080]
test rax, rax
je 0x1400c5397
cmp qword [rax + 0x3d8], rdi
jne 0x1400c5397
mov eax, dword [rsi + 0x1f84]
cmp eax, 2
jne 0x1400c525f
cmp byte [rsi + 0x13d], 0
je 0x1400c5397
lea edx, [rax - 1]
lea rcx, [rbp - 0x60]
jmp 0x1400c526f
cmp eax, 3
jne 0x1400c5397
lea edx, [rax - 1]
lea rcx, [rbp - 0x70]
vmovaps xmm3, xmm14
xor r8d, r8d
vmovss dword [rsp + 0x20], xmm14
call fcn.1400b55e0
vmovss xmm2, dword [rsp + 0x34]
vmovss xmm14, dword [rax]
vucomiss xmm14, xmm2
vmovss xmm13, dword [rax + 4]
jp 0x1400c52a5
jne 0x1400c52a5
vucomiss xmm13, xmm2
jp 0x1400c52a5
je 0x1400c539d
vmovss xmm0, dword [rsi + 0xc0]
vminss xmm2, xmm0, dword [rsi + 0xc4]
vmovss xmm1, dword [rsi + 0x18]
vmulss xmm0, xmm1, dword [0x1401e2044]
vmovss xmm7, dword [rdi + 0x50]
vmovss xmm10, dword [rdi + 0x54]
vmovss xmm9, dword [rdi + 0x5c]
vmovss xmm6, dword [rdi + 0x58]
vmulss xmm1, xmm2, xmm0
vcvttss2si eax, xmm1
vxorps xmm12, xmm12, xmm12
vcvtsi2ss xmm12, xmm12, eax
mov rax, qword [rbp + 0xb8]
lea rcx, [rbp - 0x80]
vmovss xmm8, dword [rax]
vmovss xmm11, dword [rax + 4]
mov byte [rsi + 0x20a0], 0
mov byte [rsi + 0x1fa7], 1
mov rax, qword [0x140317818]
vmovups xmm0, xmmword [rax + 0x18fc]
vmovups xmmword [rbp - 0x80], xmm0
vshufps xmm0, xmm0, xmm0, 0xff
vmulss xmm0, xmm0, dword [rax + 0x1638]
vmovss dword [rbp - 0x74], xmm0
call fcn.1400aa9d0
mov rcx, qword [rbp + 0xb0]
lea r8, [rbp + 0x90]
vsubss xmm0, xmm8, xmm7
vsubss xmm1, xmm0, xmm6
vmulss xmm2, xmm14, xmm12
vmaxss xmm2, xmm2, xmm1
mov dword [rcx], eax
mov rdx, rdi
vaddss xmm3, xmm2, dword [rdi + 0x60]
vsubss xmm0, xmm11, xmm10
vsubss xmm1, xmm0, xmm9
vmulss xmm4, xmm13, xmm12
vmaxss xmm2, xmm4, xmm1
vmovss dword [rbp + 0x90], xmm3
vaddss xmm3, xmm2, dword [rdi + 0x64]
lea rcx, [rbp - 0x70]
vmovss dword [rbp + 0x94], xmm3
call fcn.1400a9e80
vmovss xmm12, dword [rax]
vmovss xmm10, dword [rax + 4]
vmovss xmm2, dword [rsp + 0x34]
vmovss xmm0, dword [0x1401e2050]
vucomiss xmm12, xmm0
vmovaps xmm14, xmmword [rsp + 0xc0]
vmovaps xmm13, xmmword [rsp + 0xd0]
vmovaps xmm11, xmmword [rsp + 0xf0]
vmovaps xmm9, xmmword [rsp + 0x110]
vmovaps xmm8, xmmword [rsp + 0x120]
vmovaps xmm7, xmmword [rsp + 0x130]
vmovaps xmm6, xmmword [rsp + 0x140]
jp 0x1400c53ec
je 0x1400c5419
test dword [rdi + 0xc], 0x100
vmovss dword [rdi + 0x60], xmm12
vmovss dword [rdi + 0x64], xmm10
mov rcx, qword [0x140317818]
jne 0x1400c5419
vcomiss xmm2, dword [rcx + 0x31fc]
jb 0x1400c5419
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x31fc], eax
vucomiss xmm15, xmm0
vmovaps xmm12, xmmword [rsp + 0xe0]
vmovaps xmm10, xmmword [rsp + 0x100]
jp 0x1400c5433
je 0x1400c547b
test dword [rdi + 0xc], 0x100
vcvttss2si eax, xmm15
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, eax
vcvttss2si eax, dword [rsp + 0x3c]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vmovss dword [rdi + 0x54], xmm0
vmovss dword [rdi + 0x50], xmm1
mov rdx, qword [0x140317818]
jne 0x1400c547b
vcomiss xmm2, dword [rdx + 0x31fc]
jb 0x1400c547b
mov ecx, dword [rdx + 0x1c]
mov dword [rdx + 0x31fc], ecx
vmovsd xmm0, qword [rdi + 0x60]
movzx eax, byte [rsp + 0x31]
vmovaps xmm15, xmmword [rsp + 0xb0]
vmovsd qword [rdi + 0x58], xmm0
add rsp, 0x160
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor al, al
add rsp, 0x160
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret