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

Disassembly:
push rbp
push r15
sub rsp, 0x68
mov r15, qword [rcx]
mov r9, rcx
mov ebp, edx
test r15, r15
jne 0x14009057f
xor al, al
add rsp, 0x68
pop r15
pop rbp
ret
mov eax, dword [rcx + 0x1c]
xor r11d, r11d
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x50], r14
mov r14d, dword [rcx + 0x18]
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x3c], eax
test r14d, r14d
jle 0x140090981
mov rbx, qword [rsp + 0x38]
mov r10d, r11d
shr r10, 0x20
shr rbx, 0x20
cmp r10d, ebx
jge 0x140090981
mov eax, dword [r8]
mov ecx, dword [r8 + 8]
cmp eax, ecx
jge 0x140090981
mov edx, dword [r8 + 4]
mov r8d, dword [r8 + 0xc]
cmp edx, r8d
jge 0x140090981
test ecx, ecx
jle 0x140090981
cmp eax, r14d
jge 0x140090981
cmp r10d, r8d
jge 0x140090981
cmp edx, ebx
jge 0x140090981
test eax, eax
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rdi
mov edi, ebp
cmovg r11d, eax
mov qword [rsp + 0x60], r12
movsxd r12, dword [r9 + 8]
cmp r10d, edx
mov eax, ebp
mov qword [rsp + 0x58], r13
mov r13d, dword [r9 + 0x20]
cmovl r10d, edx
cmp r14d, ecx
mov dword [rsp + 0x20], r11d
mov dword [rsp + 0x24], r10d
cmovg r14d, ecx
cmp ebx, r8d
mov dword [rsp + 0x28], r14d
cmovg ebx, r8d
shr eax, 0x10
movzx edx, al
sub r14d, r11d
mov eax, ebp
mov dword [rsp + 0x2c], ebx
shr eax, 8
sub ebx, r10d
movzx esi, al
lea eax, [r13 - 1]
shr edi, 0x18
movzx r8d, bpl
cmp eax, 6
ja case.default.0x140090697
lea rbp, [0x140000000]
cdqe
mov ecx, dword [rbp + rax*4 + 0x90988]
add rcx, rbp
jmp rcx
cmp edi, 0xff
je 0x1400906d7
imul edx, edi
imul esi, edi
imul r8d, edi
sub edx, 0xffffff80
sub esi, 0xffffff80
mov eax, edx
sub r8d, 0xffffff80
shr edx, 8
add edx, eax
mov eax, esi
shr esi, 8
add esi, eax
shr edx, 8
mov eax, r8d
shr esi, 8
shr r8d, 8
add r8d, eax
shr r8d, 8
imul esi, esi, 0xb7
imul eax, edx, 0x36
movsxd rdi, r11d
add esi, eax
imul eax, r8d, 0x13
add esi, eax
movsxd rax, r10d
imul rax, qword [r9 + 8]
shr esi, 8
add rax, r15
add rdi, rax
sub ebx, 1
js 0x14009094c
movsxd rbp, r14d
nop dword [rax + rax]
mov r8, rbp
mov edx, esi
mov rcx, rdi
call fcn.1402e2e70
add rdi, r12
sub ebx, 1
jns 0x140090710
jmp 0x14009094c
movsxd rax, r10d
imul rax, qword [r9 + 8]
movsxd rsi, r11d
add rax, r15
add rsi, rax
sub ebx, 1
js 0x14009094c
movsxd rbp, r14d
nop word [rax + rax]
mov r8, rbp
mov edx, edi
mov rcx, rsi
call fcn.1402e2e70
add rsi, r12
sub ebx, 1
jns 0x140090750
jmp 0x14009094c
lea eax, [r11 + r11]
movsxd rcx, r10d
imul rcx, qword [r9 + 8]
movsxd rbp, eax
lea rax, [r15 + rcx]
add rbp, rax
cmp edi, 0xff
je 0x1400907be
imul edx, edi
imul esi, edi
imul r8d, edi
sub edx, 0xffffff80
sub esi, 0xffffff80
mov eax, edx
sub r8d, 0xffffff80
shr edx, 8
add edx, eax
mov eax, esi
shr esi, 8
add esi, eax
shr edx, 8
mov eax, r8d
shr esi, 8
shr r8d, 8
add r8d, eax
shr r8d, 8
cmp r13d, 3
jne 0x1400907e9
mov eax, 0xfff0
shr edi, 4
and si, ax
and dx, ax
shl si, 4
or si, r8w
shl dx, 8
and si, ax
or si, dx
or si, di
jmp 0x14009080c
mov eax, 0xfff8
shr r8d, 3
and dx, ax
mov eax, 0xfffc
shl dx, 5
or si, dx
and si, ax
shl si, 3
or si, r8w
sub ebx, 1
js 0x14009094c
nop word [rax + rax]
mov r8d, r14d
movzx edx, si
mov rcx, rbp
call qword [case.0x1401a5381.5]
add rbp, r12
sub ebx, 1
jns 0x140090820
jmp 0x14009094c
lea eax, [r11*4]
movsxd rcx, r10d
imul rcx, qword [r9 + 8]
movsxd rbp, eax
lea rax, [r15 + rcx]
add rbp, rax
cmp edi, 0xff
je 0x14009089b
cmp dword [r9 + 0x24], 2
jne 0x14009089b
imul edx, edi
imul esi, edi
imul r8d, edi
sub edx, 0xffffff80
sub esi, 0xffffff80
mov eax, edx
sub r8d, 0xffffff80
shr edx, 8
add edx, eax
mov eax, esi
shr esi, 8
add esi, eax
shr edx, 8
mov eax, r8d
shr esi, 8
shr r8d, 8
add r8d, eax
shr r8d, 8
shl edi, 8
cmp r13d, 4
jne 0x1400908b3
or edi, r8d
shl edi, 8
or edi, esi
shl edi, 8
or edi, edx
jmp 0x1400908c0
or edi, edx
shl edi, 8
or edi, esi
shl edi, 8
or edi, r8d
sub ebx, 1
js 0x14009094c
nop dword [rax]
mov r8d, r14d
mov edx, edi
mov rcx, rbp
call qword [case.0x1401a538b.0]
add rbp, r12
sub ebx, 1
jns 0x1400908d0
jmp 0x14009094c
movss xmm2, dword [0x1403bcb5c]
xorps xmm0, xmm0
cvtsi2ss xmm0, rdx
mov eax, edi
lea rdx, [rsp + 0x30]
mov rcx, r9
xorps xmm1, xmm1
cvtsi2ss xmm1, r8
lea r8, [rsp + 0x20]
mulss xmm0, xmm2
mulss xmm1, xmm2
movss dword [rsp + 0x30], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rsi
movss dword [rsp + 0x38], xmm1
mulss xmm0, xmm2
movss dword [rsp + 0x34], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm2
movss dword [rsp + 0x3c], xmm0
call fcn.1400903d0
mov al, 1
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov r14, qword [rsp + 0x50]
add rsp, 0x68
pop r15
pop rbp
ret
xor al, al
jmp 0x14009094e
xor al, al
jmp 0x140090968