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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
call fcn.14001c4bc
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x110]
mov ecx, dword [rsp + 0x108]
add ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cdqe
mov rcx, qword [rsp + 0x100]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jg 0x14001cb54
mov qword [rsp + 0xb8], 1
jmp 0x14001cb60
mov qword [rsp + 0xb8], 0
cvtsi2sd xmm0, qword [rsp + 0xb8]
call fcn.14001b480
mov dword [rsp + 0x38], eax
mov cl, byte [0x14003bb6c]
movsx ecx, cl
mov dword [rsp + 0x2c], ecx
call fcn.140017500
movsx eax, al
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
call fcn.1400174f4
movsx eax, al
imul eax, eax, 3
mov dword [rsp + 0x30], eax
call fcn.1400174f0
movsx eax, al
mov ecx, dword [rsp + 0x30]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov cl, byte [0x14003bb6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x14003bb68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x38]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x14001cef5
xor eax, eax
cmp eax, 8
je 0x14001cef5
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x100]
mov edx, dword [rsp + 0x28]
cmp dword [rcx + rax*4], edx
jge 0x14001cc14
mov qword [rsp + 0xc0], 1
jmp 0x14001cc20
mov qword [rsp + 0xc0], 0
cvtsi2sd xmm0, qword [rsp + 0xc0]
call fcn.14001b480
mov dword [rsp + 0x48], eax
mov cl, byte [0x14003bb6c]
movsx ecx, cl
mov dword [rsp + 0x3c], ecx
call fcn.140017500
movsx eax, al
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
call fcn.1400174f4
movsx eax, al
imul eax, eax, 9
mov dword [rsp + 0x40], eax
call fcn.1400174f0
movsx eax, al
mov ecx, dword [rsp + 0x40]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov cl, byte [0x14003bb6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x14003bb68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x48]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x14001ccb7
xor eax, eax
cmp eax, 4
je 0x14001ccb7
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x14001cbf0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x100]
mov edx, dword [rsp + 0x28]
cmp dword [rcx + rax*4], edx
jle 0x14001ccdb
mov qword [rsp + 0xc8], 1
jmp 0x14001cce7
mov qword [rsp + 0xc8], 0
cvtsi2sd xmm0, qword [rsp + 0xc8]
call fcn.14001b480
mov dword [rsp + 0x58], eax
mov cl, byte [0x14003bb6c]
movsx ecx, cl
mov dword [rsp + 0x4c], ecx
call fcn.140017500
movsx eax, al
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
call fcn.1400174f4
movsx eax, al
imul eax, eax, 9
mov dword [rsp + 0x50], eax
call fcn.1400174f0
movsx eax, al
mov ecx, dword [rsp + 0x50]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov cl, byte [0x14003bb6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x14003bb68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x58]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x14001cd7e
xor eax, eax
cmp eax, 0xa
je 0x14001cd7e
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
jmp 0x14001ccb7
mov al, byte [0x14003bb6c]
movsx eax, al
mov dword [rsp + 0x5c], eax
call fcn.140017500
movsx eax, al
mov ecx, dword [rsp + 0x5c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
call fcn.1400174f4
movsx eax, al
imul eax, eax, 5
mov dword [rsp + 0x60], eax
call fcn.1400174f0
movsx eax, al
mov ecx, dword [rsp + 0x60]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
mov cl, byte [0x14003bb6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x14003bb68]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x14001cef0
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jg 0x14001cdff
mov qword [rsp + 0xd0], 1
jmp 0x14001ce0b
mov qword [rsp + 0xd0], 0
cvtsi2sd xmm0, qword [rsp + 0xd0]
call fcn.14001b480
mov dword [rsp + 0x74], eax
mov cl, byte [0x14003bb6c]
movsx ecx, cl
mov dword [rsp + 0x68], ecx
call fcn.140017500
movsx eax, al
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
call fcn.1400174f4
movsx eax, al
imul eax, eax, 6
mov dword [rsp + 0x6c], eax
call fcn.1400174f0
movsx eax, al
mov ecx, dword [rsp + 0x6c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
mov cl, byte [0x14003bb6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x14003bb68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x74]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x14001cef0
xor eax, eax
cmp eax, 1
je 0x14001cef0
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x100]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x78], eax
movsxd rax, dword [rsp + 0x20]
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x100]
mov r8, qword [rsp + 0x100]
mov eax, dword [r8 + rax*4]
mov dword [rdx + rcx*4], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x100]
mov edx, dword [rsp + 0x78]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
jmp 0x14001cb3c
mov al, byte [0x14003bb6c]
movsx eax, al
mov dword [rsp + 0x7c], eax
call fcn.140017500
movsx eax, al
mov ecx, dword [rsp + 0x7c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
call fcn.1400174f4
movsx eax, al
imul eax, eax, 6
mov dword [rsp + 0x80], eax
call fcn.1400174f0
movsx eax, al
mov ecx, dword [rsp + 0x80]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
mov cl, byte [0x14003bb6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x14003bb68]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x14001d04a
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x108], eax
jge 0x14001cf85
mov qword [rsp + 0xd8], 1
jmp 0x14001cf91
mov qword [rsp + 0xd8], 0
cvtsi2sd xmm0, qword [rsp + 0xd8]
call fcn.14001b480
mov dword [rsp + 0x94], eax
mov cl, byte [0x14003bb6c]
movsx ecx, cl
mov dword [rsp + 0x88], ecx
call fcn.140017500
movsx eax, al
mov ecx, dword [rsp + 0x88]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x90], eax
call fcn.1400174f4
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x8c], eax
call fcn.1400174f0
movsx eax, al
mov ecx, dword [rsp + 0x8c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x90]
add ecx, eax
mov eax, ecx
mov cl, byte [0x14003bb6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x14003bb68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x94]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x14001d04a
xor eax, eax
cmp eax, 2
je 0x14001d04a
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.14001cae4
mov al, byte [0x14003bb6c]
movsx eax, al
mov dword [rsp + 0x98], eax
call fcn.140017500
movsx eax, al
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xa0], eax
call fcn.1400174f4
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x9c], eax
call fcn.1400174f0
movsx eax, al
mov ecx, dword [rsp + 0x9c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xa0]
add ecx, eax
mov eax, ecx
mov cl, byte [0x14003bb6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x14003bb68]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x14001d1a5
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x24], eax
jge 0x14001d0e0
mov qword [rsp + 0xe0], 1
jmp 0x14001d0ec
mov qword [rsp + 0xe0], 0
cvtsi2sd xmm0, qword [rsp + 0xe0]
call fcn.14001b480
mov dword [rsp + 0xb0], eax
mov cl, byte [0x14003bb6c]
movsx ecx, cl
mov dword [rsp + 0xa4], ecx
call fcn.140017500
movsx eax, al
mov ecx, dword [rsp + 0xa4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xac], eax
call fcn.1400174f4
movsx eax, al
shl eax, 3
mov dword [rsp + 0xa8], eax
call fcn.1400174f0
movsx eax, al
mov ecx, dword [rsp + 0xa8]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xac]
add ecx, eax
mov eax, ecx
mov cl, byte [0x14003bb6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x14003bb68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0xb0]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x14001d1a5
xor eax, eax
cmp eax, 3
je 0x14001d1a5
mov r8d, dword [rsp + 0x110]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x100]
call fcn.14001cae4
add rsp, 0xf8
ret