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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0xd0
mov rbx, rcx
test rcx, rcx
jne 0x14000f641
lea eax, [rcx + 0x14]
add rsp, 0xd0
pop rbx
ret
mov eax, edx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [rsp + 0x48], eax
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x44], eax
test ecx, ecx
jne 0x14000f666
test eax, eax
je 0x14000faf8
mov rcx, rbx
call fcn.14000fbc0
mov dword [rsp + 0x40], eax
cmp eax, 2
jne 0x14000f68f
cmp word [rbx], 0
je 0x14000faf8
mov eax, 6
add rsp, 0xd0
pop rbx
ret
mov rcx, qword [rbx + 8]
mov qword [rsp + 0xe8], rbp
mov qword [rsp + 0xc0], rdi
xor edi, edi
mov ebp, edi
mov qword [rsp + 0xb8], r12
mov r12d, edi
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x58], edi
cmp di, word [rbx]
jge 0x14000fae0
mov qword [rsp + 0xc8], rsi
mov edx, edi
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0x80], rdx
mov rax, qword [rbx + 0x18]
mov r10d, edi
mov dword [rsp + 0x54], edi
mov r9d, edi
mov dword [rsp + 0xf8], edi
mov r11d, edi
mov qword [rsp + 0x70], 0
mov r13d, r12d
movsx r8d, word [rax + rdx]
mov eax, 0xffffffff
mov dword [rsp + 0x30], eax
mov r14d, r8d
mov dword [rsp + 0x50], r8d
mov qword [rsp + 0x20], 0
cmp r12d, r8d
je 0x14000fa9a
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x70]
movsxd rdx, r12d
mov qword [rsp + 0x90], rdx
mov r15, rdx
nop word [rax + rax]
mov dword [rsp + 0x60], eax
mov edx, eax
mov dword [rsp + 0x3c], r10d
mov dword [rsp + 0x38], eax
cmp r14d, eax
je 0x14000fa84
movsxd rbp, r14d
cmp r13d, eax
je 0x14000f7cd
mov eax, dword [rcx + r15*8]
sub eax, dword [rcx + rbp*8]
mov dword [rsp + 0x28], eax
mov eax, dword [rcx + r15*8 + 4]
sub eax, dword [rcx + rbp*8 + 4]
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x2c], eax
call fcn.1400121c0
mov r9d, dword [rsp + 0xf8]
mov r10d, eax
mov dword [rsp + 0x4c], eax
test eax, eax
je 0x14000fa49
mov rbx, qword [rsp + 0x28]
mov eax, dword [rsp + 0x30]
mov r11d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x60]
jmp 0x14000f7da
mov rbx, rsi
mov dword [rsp + 0x4c], r10d
mov qword [rsp + 0x28], rbx
test r9d, r9d
je 0x14000fa31
movsxd r12, dword [rsp + 0x20]
test eax, eax
mov eax, r14d
movsxd r11, r11d
cmovs rsi, rdi
mov r8, rbx
test edx, edx
mov qword [rsp + 0x98], rsi
mov rdi, r11
mov qword [rsp + 0x70], rsi
cmovns eax, edx
mov rcx, r12
cmp dword [rsp + 0x38], 0
mov dword [rsp + 0x30], eax
mov eax, r9d
cmovge eax, dword [rsp + 0x3c]
mov dword [rsp + 0x54], eax
movsxd rax, dword [rsp + 0x28]
imul rcx, rax
shr r8, 0x20
movsxd rdx, r8d
imul rdi, rdx
mov rax, rdi
shr rax, 0x3f
sub rdi, rax
mov rax, rcx
add rdi, 0x8000
shr rax, 0x3f
sub rcx, rax
sar rdi, 0x10
add rcx, 0x8000
sar rcx, 0x10
add edi, ecx
cmp edi, 0xffff1000
jle 0x14000f9c1
mov ecx, dword [rsp + 0x24]
add edi, 0x10000
add ecx, r8d
mov r8d, dword [rsp + 0x28]
add r8d, r12d
mov eax, r8d
neg eax
cmp dword [rsp + 0x40], 0
cmovne r8d, eax
mov eax, ecx
neg eax
mov dword [rsp + 0x38], r8d
mov r8d, dword [rsp + 0x40]
test r8d, r8d
cmovne eax, ecx
mov dword [rsp + 0xf8], eax
movsxd rax, dword [rsp + 0x28]
imul r11, rax
imul rdx, r12
mov rax, r11
shr rax, 0x3f
sub r11, rax
add r11, 0x8000
sar r11, 0x10
mov rax, rdx
shr rax, 0x3f
sub rdx, rax
mov eax, r11d
add rdx, 0x8000
sar rdx, 0x10
sub eax, edx
sub edx, r11d
test r8d, r8d
mov r8d, r10d
cmovne edx, eax
cmp r9d, r10d
movsxd rax, edx
cmovl r8d, r9d
mov qword [rsp + 0x20], rax
movsxd r9, dword [rsp + 0x48]
mov rcx, r9
movsxd r10, r8d
imul rcx, rax
movsxd rax, edi
imul r10, rax
mov qword [rsp + 0x88], rdx
mov rax, r10
mov dword [rsp + 0x3c], r8d
shr rax, 0x3f
sub r10, rax
mov rax, rcx
shr rax, 0x3f
add r10, 0x8000
sub rcx, rax
sar r10, 0x10
add rcx, 0x8000
mov qword [rsp + 0x60], r10
sar rcx, 0x10
cmp ecx, r10d
jg 0x14000f963
mov eax, r9d
mov edx, edi
jmp 0x14000f966
mov eax, r8d
mov ecx, dword [rsp + 0xf8]
mov r8d, edx
mov edx, eax
call fcn.14000ed70
mov r12d, eax
movsxd rax, dword [rsp + 0x44]
mov rdx, rax
imul rdx, qword [rsp + 0x20]
mov rcx, rdx
shr rcx, 0x3f
sub rdx, rcx
add rdx, 0x8000
sar rdx, 0x10
cmp edx, dword [rsp + 0x60]
jle 0x14000f9ae
mov edi, dword [rsp + 0x88]
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
mov r8d, edi
mov edx, eax
call fcn.14000ed70
mov r8d, eax
jmp 0x14000f9c7
xor r8d, r8d
xor r12d, r12d
cmp rbp, r15
je 0x14000fa2a
movsxd rdx, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x34]
mov ebx, dword [rsp + 0x44]
mov r10, qword [rsp + 0x78]
mov r11, qword [rsp + 0x90]
mov esi, dword [rsp + 0x48]
nop dword [rax + rax]
mov rcx, rbp
lea eax, [r12 + rsi]
add dword [r10 + rbp*8], eax
lea eax, [r8 + rbx]
add dword [r10 + rbp*8 + 4], eax
inc rbp
cmp rcx, rdx
cmovge rbp, r11
inc r14d
cmp rcx, rdx
cmovge r14d, r9d
cmp rbp, r15
jne 0x14000f9f0
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x98]
mov r12d, dword [rsp + 0x34]
jmp 0x14000fa34
mov r14d, r13d
mov r9d, dword [rsp + 0x4c]
mov rdi, rbx
mov dword [rsp + 0xf8], r9d
mov qword [rsp + 0x20], rbx
mov r8d, dword [rsp + 0x50]
mov eax, r13d
mov rcx, qword [rsp + 0x78]
inc r13d
mov r11d, dword [rsp + 0x24]
cmp eax, r8d
mov r10d, dword [rsp + 0x54]
cmovge r13d, r12d
inc r15
cmp eax, r8d
movsxd rax, r12d
cmovge r15, rax
mov eax, dword [rsp + 0x30]
cmp r13d, r14d
jne 0x14000f760
mov rbx, qword [rsp + 0xe0]
xor edi, edi
mov ebp, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x80]
movsx eax, word [rbx]
lea r12d, [r8 + 1]
inc ebp
mov dword [rsp + 0x34], r12d
add rdx, 2
mov dword [rsp + 0x58], ebp
mov qword [rsp + 0x80], rdx
cmp ebp, eax
jl 0x14000f6f2
mov r15, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xb8]
xor eax, eax
add rsp, 0xd0
pop rbx
ret