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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x28
mov rdi, rdx
or rcx, 0xffffffffffffffff
add rdx, 0x38
call fcn.14000340c
movss xmm0, dword [rdi + 0x38]
lea rdx, [rsp + 0x40]
call fcn.1400033a8
xor ebx, ebx
test eax, eax
je 0x140003395
movss xmm0, dword [rdi + 0x44]
lea rdx, [rsp + 0x48]
call fcn.1400033a8
test eax, eax
je 0x140003395
movss xmm0, dword [rdi + 0x3c]
lea rdx, [rsp + 0x50]
call fcn.1400033a8
test eax, eax
je 0x140003395
movss xmm0, dword [rdi + 0x40]
lea rdx, [rsp + 0x58]
call fcn.1400033a8
test eax, eax
je 0x140003395
mov r8d, dword [rsp + 0x50]
mov eax, r8d
mov r9d, dword [rsp + 0x40]
neg eax
mov ecx, dword [rsp + 0x58]
mov edx, dword [rsp + 0x48]
mov dword [rdi + 0x54], eax
mov eax, ecx
neg eax
mov dword [rdi + 0x50], r9d
mov dword [rdi + 0x5c], eax
mov eax, r8d
or eax, r9d
mov dword [rdi + 0x60], edx
je 0x140003395
mov eax, ecx
or eax, r9d
je 0x140003395
mov eax, ecx
or eax, edx
je 0x140003395
mov eax, r8d
or eax, edx
je 0x140003395
mov dword [rdi + 0x70], 0x40000000
mov eax, ebx
mov dword [rdi + 0x58], ebx
mov qword [rdi + 0x64], rbx
mov dword [rdi + 0x6c], ebx
mov dword [rdi + 0x74], ebx
test r8d, r8d
jne 0x14000335a
test ecx, ecx
jne 0x14000335a
mov dword [rdi + 0x74], 1
lea eax, [rbx + 1]
test r9d, r9d
je 0x140003389
mov rcx, rdi
call fcn.140004904
or eax, 0xffffffff
mov dword [rdi + 0x20], 1
mov rcx, rdi
mov dword [rdi + 0x10], eax
mov dword [rdi + 0x14], eax
mov qword [rdi + 0x18], rbx
add rsp, 0x28
pop rdi
pop rbx
jmp 0x1400049d4
test edx, edx
jne 0x14000335f
or eax, 2
mov dword [rdi + 0x74], eax
jmp 0x14000335f
xor eax, eax
add rsp, 0x28
pop rdi
pop rbx
ret
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x1400c2d40]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rax, qword [rcx + 0xc0]
mov rdi, rcx
mov r9, qword [rcx + 8]
xor r12d, r12d
mov ecx, dword [rax + 0x10]
add rcx, qword [r9 + 0x40]
cmp dword [rax + 0x40], r12d
je 0x140034f22
mov edx, dword [rax + 0x40]
add rdx, qword [r9 + 0x40]
je 0x140034f22
test byte [rdi + 0x74], 3
je 0x140034f22
movzx eax, byte [rdx + 0x4c]
shl ax, 8
movsx esi, ax
movzx eax, byte [rdx + 0x4d]
or esi, eax
movzx eax, byte [rdx + 0x4a]
shl ax, 8
movsx r14d, ax
movzx eax, byte [rdx + 0x4b]
or r14d, eax
neg r14d
cmp r14d, esi
jge 0x140035089
movzx eax, byte [rcx + 0x24]
shl ax, 8
movsx ebx, ax
movzx eax, byte [rcx + 0x25]
or ebx, eax
movzx eax, byte [rcx + 0x28]
shl ax, 8
movsx r15d, ax
movzx eax, byte [rcx + 0x29]
or r15d, eax
test dword [rdi + 0x28], 0x4000
jne 0x140034f4a
cmp ebx, r15d
jge 0x140035089
mov rcx, r9
call fcn.1400034e0
mov ecx, 2
test rax, rax
jne 0x140034f68
mov r11d, dword [rdi + 0x74]
mov ecx, 1
mov eax, r11d
mov qword [rdi + 0x7c], r12
and al, 9
mov dword [rdi + 0x194], r12d
mov qword [rdi + 0x88], r12
cmp al, cl
jne 0x140004d92
mov eax, dword [rdi + 0x50]
mov edx, r14d
mov r13d, dword [rdi + 0x60]
mov ecx, r13d
mov dword [rbp - 0x29], eax
call fcn.1400051b4
mov ecx, r13d
mov edx, esi
mov r14d, eax
call fcn.1400051b4
mov esi, eax
test r13d, r13d
jle 0x140034fa7
mov rcx, rdi
call fcn.140002c90
mov r11d, dword [rdi + 0x74]
test r11b, 4
je 0x140004d31
mov eax, dword [rdi + 0xa0]
mov esi, dword [rdi + 0xa4]
neg eax
mov dword [rdi + 0x90], eax
mov dword [rdi + 0x94], esi
mov eax, dword [rdi + 0x7c]
test eax, eax
je 0x140004d6f
mov ecx, dword [rdi + 0x30]
shl eax, 0x10
cdqe
lea rdx, [rax + rax*8]
shl rdx, 3
call fcn.140009fc0
mov r12d, dword [rdi + 0xa4]
sub r12d, dword [rdi + 0xa0]
mov dword [rdi + 0x80], eax
mov eax, dword [rdi + 0x60]
cmp dword [rdi + 0x50], eax
jne 0x140004b93
test eax, eax
jle 0x140004b93
or r11d, 0x10
mov rcx, rdi
mov dword [rdi + 0x74], r11d
call fcn.140002ec8
mov edx, dword [rbp - 0x29]
shl ebx, 4
mov ecx, ebx
call fcn.1400051b4
shl r15d, 4
mov r9d, eax
mov ecx, r15d
call fcn.1400051b4
xor ebx, ebx
test edx, edx
js 0x140034fcc
or ecx, 0xffffffff
sar r9d, 4
sub r9d, 2
mov dword [rdi + 0xdc], ebx
lea r15d, [rax + 0xf]
mov dword [rdi + 0x98], r9d
sar r15d, 4
mov esi, 1
add r15d, esi
mov dword [rdi + 0x100], ebx
mov dword [rdi + 0x9c], r15d
mov eax, esi
sub r15d, r9d
mov dword [rdi + 0xc8], ebx
test edx, edx
cmovle eax, ecx
test r13d, r13d
cmovle ecx, esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0xd8], xmm0
movd xmm0, ecx
mov ecx, dword [rdi + 0x90]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x104], xmm0
test ecx, ecx
jle 0x140004d4d
cmp dword [rdi + 0x94], ebx
jle 0x140004d4d
mov eax, ebx
mov rcx, rdi
mov dword [rcx + 0xcc], eax
mov r9d, dword [rdi + 0x28]
mov r8d, r9d
and r8d, 0x2000
jne 0x140035058
movzx edx, bx
mov word [rdi + 0x190], dx
test r15d, r15d
je 0x140035089
test r12d, r12d
je 0x140035089
test r8d, r8d
jne 0x14003507b
add r15d, 7
mov ecx, 8
and r15d, 0xfffffff8
mov dword [rdi + 0xa8], r15d
lea eax, [r15 + 0x1f]
and eax, 0xffffffe0
cdq
idiv ecx
mov ecx, eax
mov eax, r12d
imul rcx, rax
mov eax, 0xffffffff
cmp rcx, rax
ja 0x140035089
mov rcx, rdi
bt r9d, 0x1c
jae 0x140004d43
call fcn.140001d78
mov r8, rdi
mov dword [rdi + 0x78], ebx
mov edx, r12d
mov ecx, r15d
call fcn.14000939c
mov r8d, dword [rdi + 0x74]
mov ecx, r8d
and ecx, 0x11
mov dword [rdi + 0xac], eax
cmp cl, 0x11
mov rcx, qword [rdi + 8]
sete dl
test byte [rcx + 0x184], 0x40
setne cl
test cl, dl
jne 0x140004d65
mov eax, esi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14002ddc0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rdi + 0xa0], r14d
mov dword [rdi + 0xa4], esi
jmp 0x140004b29
call fcn.140001b94
jmp 0x140004cc8
mov eax, dword [rdi + 0x94]
cmp dword [rdi + 0x60], ebx
jle 0x140034fd9
sub eax, ecx
sar eax, 1
jmp 0x140004c3e
or r8d, 0x40
mov dword [rdi + 0x74], r8d
jmp 0x140004d01
mov rax, qword [rdi + 8]
mov ecx, r13d
movsx edx, word [rax + 0x1f0]
call fcn.1400051b4
mov dword [rdi + 0x7c], eax
test eax, eax
jns 0x140004b4e
jmp 0x140034fc2
movzx eax, word [r9 + 0x18c]
lea rcx, [rdi + 0x38]
shr eax, 6
lea r8, [rbp - 0x11]
add esi, eax
mov dword [rbp - 0x11], ebx
sub r14d, eax
mov dword [rbp + 3], esi
lea rdx, [rbp + 0xf]
mov dword [rbp - 0xd], r14d
mov dword [rbp - 5], r14d
mov dword [rbp + 0xb], esi
mov dword [rbp - 9], r15d
mov dword [rbp - 1], ebx
mov dword [rbp + 7], r15d
call fcn.1400211e0
test eax, eax
je 0x140035089
mov r13d, dword [rbp + 0xf]
lea r8, [rbp + 0x1b]
mov edx, dword [rbp + 0x13]
mov r11d, 3
mov r9d, r13d
mov r10d, edx
lea ebx, [r11 + 5]
mov ecx, dword [r8 - 4]
cmp ecx, r13d
mov eax, ecx
cmovge eax, r13d
cmp ecx, r9d
mov r13d, eax
cmovle ecx, r9d
mov r9d, ecx
mov ecx, dword [r8]
cmp ecx, edx
mov eax, ecx
cmovge eax, edx
cmp ecx, r10d
mov edx, eax
cmovle ecx, r10d
add r8, rbx
mov r10d, ecx
sub r11, 1
jne 0x140004df2
movdqa xmm0, xmmword [0x1400a9a90]
lea eax, [rcx + 0xf]
sar edx, 4
lea ecx, [r9 + 0xf]
sar ecx, 4
lea r10, [rdi + 0xe0]
mov r15d, ecx
sar eax, 4
mov dword [rbp - 0x21], ecx
lea r9, [rdi + 0xd8]
mov ecx, dword [rdi + 0x28]
lea r8, [rdi + 0xd0]
mov dword [rbp - 0x1d], edx
mov r12d, eax
sub r12d, edx
sar r13d, 4
and ecx, 0x2000
mov dword [rbp - 0x19], eax
lea rax, [rdi + 0xe8]
mov qword [rsp + 0x28], r10
sub r15d, r13d
neg ecx
lea rcx, [rbp - 0x11]
sbb rdx, rdx
and rdx, rax
mov qword [rsp + 0x20], rdx
lea rdx, [rdi + 0x38]
movdqu xmmword [rbp - 0x11], xmm0
call fcn.1400210ec
mov ecx, dword [rdi + 0x28]
lea r8, [rdi + 0x110]
and ecx, 0x2000
lea r9, [rdi + 0x100]
neg ecx
lea rdx, [rdi + 0x38]
mov ebx, eax
lea rax, [rdi + 0x108]
sbb rcx, rcx
mov qword [rsp + 0x28], rax
and rcx, r8
lea r8, [rdi + 0xf8]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 9]
call fcn.1400210ec
test ebx, eax
je 0x140035089
and dword [rbp - 0x25], 0
lea rbx, [rdi + 0x108]
movd xmm0, r14d
lea rdx, [rbp - 0x25]
cvtdq2ps xmm0, xmm0
xor r8d, r8d
mulss xmm0, dword [rbx]
call fcn.140022d20
and dword [rbp - 0x29], r8d
lea rdx, [rbp - 0x29]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rbx]
call fcn.140022d20
movss xmm3, dword [rdi + 0x100]
mov r8d, 0xf
sub r8d, dword [rbp - 0x25]
movaps xmm0, xmm3
movss xmm2, dword [rdi + 0x104]
xor ebx, ebx
mov ecx, dword [rbp - 0x29]
sar r8d, 4
add ecx, 0xf
sar ecx, 4
mov eax, r8d
shl eax, 4
mov dword [rdi + 0x90], r8d
mov dword [rdi + 0x94], ecx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
cvttss2si eax, xmm0
movaps xmm0, xmm2
mov dword [rdi + 0x120], eax
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rdi + 0x124], eax
mov eax, ecx
shl eax, 4
neg eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm3, xmm0
mulss xmm2, xmm0
cvttss2si eax, xmm3
mov dword [rdi + 0x128], eax
cvttss2si eax, xmm2
mov dword [rdi + 0x12c], eax
test r14d, r14d
jns 0x140034fe2
test esi, esi
jle 0x140034fe2
lea eax, [r8 + rcx]
cmp eax, 3
jl 0x140034fe2
mov dword [rdi + 0xc8], ebx
lea esi, [rbx + 1]
mov eax, ebx
mov dword [rdi + 0xcc], eax
mov rcx, rdi
mov eax, dword [rbp - 0x21]
mov dword [rdi + 0x9c], eax
mov eax, dword [rbp - 0x1d]
mov dword [rdi + 0xa0], eax
mov eax, dword [rbp - 0x19]
mov dword [rdi + 0xa4], eax
mov dword [rdi + 0x98], r13d
call fcn.1400227e8
movsxd rdx, dword [rdi + 0x30]
mov ecx, 0x48
mov dword [rdi + 0x80], eax
cdqe
imul rdx, rax
call fcn.140009fc0
add eax, 0x8000
sar eax, 0x10
movzx eax, ax
mov dword [rdi + 0x7c], eax
jmp 0x140004c47
movzx eax, byte [rcx + 0x26]
shl ax, 8
movsx esi, ax
movzx eax, byte [rcx + 0x27]
or esi, eax
movzx eax, byte [rcx + 0x2a]
neg esi
shl ax, 8
movsx r14d, ax
movzx eax, byte [rcx + 0x2b]
jmp 0x140004a5f
mov edx, 0x5700
mov ecx, esi
call fcn.1400051b4
mov ecx, r14d
sub ebx, eax
call fcn.1400051b4
sub r15d, eax
jmp 0x140004a9f
mov eax, r15d
sub eax, ebx
cdq
idiv ecx
mov r8d, eax
mov eax, 0x7fffffff
mov ecx, eax
sub ecx, r8d
cmp ecx, r15d
jge 0x140034f87
mov r15d, eax
jmp 0x140034f8a
add r15d, r8d
lea eax, [r8 - 0x80000000]
cmp eax, ebx
jle 0x140034f9f
mov ebx, 0x80000000
jmp 0x140004abe
sub ebx, r8d
jmp 0x140004abe
mov dword [rdi + 0xa0], esi
neg esi
mov dword [rdi + 0x90], r14d
mov dword [rdi + 0xa4], r14d
jmp 0x140004b3d
neg eax
mov dword [rdi + 0x7c], eax
jmp 0x140004b4e
mov ecx, r9d
mov r9d, eax
mov eax, ecx
jmp 0x140004bb9
sub ecx, eax
mov eax, ecx
jmp 0x140004d5e
mov eax, 1
mov dword [rbp - 0x29], ebx
sub eax, esi
lea rdx, [rbp - 0x29]
sub eax, r14d
xor r8d, r8d
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, dword [rdi + 0xf8]
call fcn.140022d20
mov r8d, dword [rbp - 0x29]
lea rdx, [rbp - 0x29]
mulss xmm1, dword [rdi + 0xfc]
mov esi, 1
sar r8d, 3
add r8d, esi
mov dword [rbp - 0x29], ebx
sar r8d, 1
mov dword [rdi + 0xc8], r8d
movaps xmm0, xmm1
xor r8d, r8d
call fcn.140022d20
mov eax, dword [rbp - 0x29]
mov dword [rdi + 0xcc], eax
sar eax, 3
add eax, esi
sar eax, 1
jmp 0x140004fe6
mov eax, dword [rdi + 0x7c]
lea ecx, [rax*2 - 1]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add dx, si
jmp 0x140004c5e
movzx eax, dx
add r15d, eax
add r12d, eax
jmp 0x140004c80
xor eax, eax
jmp 0x140004d03