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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [rsp + 0x2b8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x2c8], 2
jne 0x1401e4170
mov rax, qword [rsp + 0x58]
sub rax, 0x10
mov qword [rsp + 0x178], rax
jmp 0x1401e4181
mov rax, qword [rsp + 0x58]
sub rax, 8
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0xf0]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x2a0]
cmp dword [rax + 0xfc], 5
jae 0x1401e424a
mov dword [rsp + 0xb4], 4
jmp 0x1401e4255
mov dword [rsp + 0xb4], 5
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x128], eax
mov r8d, 1
mov edx, dword [rsp + 0x2c8]
mov rcx, qword [rsp + 0x2a0]
call fcn.1401e8610
mov rax, qword [rax]
mov qword [rsp + 0x160], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x2b0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x40], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x2b0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x30], rax
jne 0x1401e42d5
mov qword [rsp + 0x180], 1
jmp 0x1401e42e1
mov qword [rsp + 0x180], 0
mov rax, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x2c8], 2
jne 0x1401e4374
mov rax, qword [rsp + 0x2a0]
cmp dword [rax + 0x100], 6
jae 0x1401e432b
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x100]
mov dword [rsp + 0xb8], eax
jmp 0x1401e4336
mov dword [rsp + 0xb8], 6
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xb8]
mov r8d, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x2a0]
call fcn.1401e7d80
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x30], rax
jae 0x1401e50b3
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 1
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
inc eax
mov r8d, dword [rsp + 0x88]
mov edx, eax
mov rcx, qword [rsp + 0x2a0]
call fcn.1401dc1f0
mov dword [rsp + 0x12c], eax
mov eax, dword [rsp + 0x3c]
inc eax
sub eax, dword [rsp + 0x40]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x78], eax
jae 0x1401e4408
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x188], rax
jmp 0x1401e4415
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x208], rax
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x198], rax
mov eax, dword [rsp + 0x38]
dec eax
sub eax, dword [rsp + 0x78]
cmp eax, 3
jb 0x1401e445b
mov dword [rsp + 0xc0], 1
jmp 0x1401e4466
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0x3c]
inc eax
sub eax, dword [rsp + 0x12c]
cmp dword [rsp + 0x40], eax
ja 0x1401e4486
mov dword [rsp + 0xbc], 1
jmp 0x1401e4491
mov dword [rsp + 0xbc], 0
mov eax, dword [rsp + 0xbc]
mov ecx, dword [rsp + 0xc0]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1401e4566
mov rax, qword [rsp + 0x30]
inc rax
mov rcx, rax
call fcn.1401bfb70
mov dword [rsp + 0x130], eax
mov rcx, qword [rsp + 0x198]
call fcn.1401bfb70
mov ecx, dword [rsp + 0x130]
cmp ecx, eax
jne 0x1401e4566
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x78], eax
jae 0x1401e44fa
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x190], rax
jmp 0x1401e4507
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x198]
add rax, 4
mov rcx, qword [rsp + 0x30]
add rcx, 5
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x210]
mov r8, qword [rsp + 0x58]
mov rdx, rax
call fcn.1401dbcf0
add rax, 4
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x2d0], 0
jne 0x1401e4566
jmp 0x1401e4def
mov qword [rsp + 0x1a8], 0x3b9ac9ff
lea r9, [rsp + 0x1a8]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
call qword [rsp + 0x160]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x1a0], rax
jbe 0x1401e45ce
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x48], 4
jae 0x1401e4601
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
sar rax, 8
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 1]
mov qword [rsp + 0x30], rax
jmp 0x1401e4374
cmp dword [rsp + 0x2d0], 1
jb 0x1401e4c9b
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x30], rax
jae 0x1401e4c9b
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp qword [rsp + 0x50], 0
je 0x1401e485b
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x2a0]
call fcn.1401dc1f0
mov dword [rsp + 0xf0], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x7c], eax
jae 0x1401e4691
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1b0], rax
jmp 0x1401e469e
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x218], rax
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x218]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1c0], rax
mov eax, dword [rsp + 0x38]
dec eax
sub eax, dword [rsp + 0x7c]
cmp eax, 3
jb 0x1401e46e4
mov dword [rsp + 0xc8], 1
jmp 0x1401e46ef
mov dword [rsp + 0xc8], 0
mov eax, dword [rsp + 0xf0]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x40], eax
ja 0x1401e4711
mov dword [rsp + 0xc4], 1
jmp 0x1401e471c
mov dword [rsp + 0xc4], 0
mov eax, dword [rsp + 0xc4]
mov ecx, dword [rsp + 0xc8]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1401e485b
mov rcx, qword [rsp + 0x30]
call fcn.1401bfb70
mov dword [rsp + 0xf4], eax
mov rcx, qword [rsp + 0x1c0]
call fcn.1401bfb70
mov ecx, dword [rsp + 0xf4]
cmp ecx, eax
jne 0x1401e485b
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x7c], eax
jae 0x1401e477f
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x1b8], rax
jmp 0x1401e478c
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x1c0]
add rax, 4
mov rcx, qword [rsp + 0x30]
add rcx, 4
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x220]
mov r8, qword [rsp + 0x58]
mov rdx, rax
call fcn.1401dbcf0
add rax, 4
mov qword [rsp + 0x140], rax
imul rax, qword [rsp + 0x140], 3
mov dword [rsp + 0xfc], eax
imul rax, qword [rsp + 0x48], 3
mov qword [rsp + 0x228], rax
mov ecx, dword [rsp + 0x50]
call fcn.1401bfc20
mov eax, eax
mov rcx, qword [rsp + 0x228]
sub rcx, rax
mov rax, rcx
inc rax
mov dword [rsp + 0xf8], eax
cmp qword [rsp + 0x140], 4
jb 0x1401e485b
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0xfc], eax
jle 0x1401e485b
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x150], 0x3b9ac9ff
lea r9, [rsp + 0x150]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
call qword [rsp + 0x160]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
shl rax, 2
mov qword [rsp + 0x230], rax
mov ecx, dword [rsp + 0x150]
call fcn.1401bfc20
mov eax, eax
mov rcx, qword [rsp + 0x230]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x104], eax
mov rax, qword [rsp + 0x48]
shl rax, 2
mov qword [rsp + 0x238], rax
mov ecx, dword [rsp + 0x50]
call fcn.1401bfc20
mov eax, eax
mov rcx, qword [rsp + 0x238]
sub rcx, rax
mov rax, rcx
add rax, 4
mov dword [rsp + 0x100], eax
cmp qword [rsp + 0x148], 4
jb 0x1401e4940
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0x104], eax
jle 0x1401e4940
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
jmp 0x1401e460f
cmp dword [rsp + 0x2d0], 2
jne 0x1401e4c94
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x30], rax
jae 0x1401e4c94
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp qword [rsp + 0x50], 0
je 0x1401e4baf
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x2a0]
call fcn.1401dc1f0
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x80], eax
jae 0x1401e49d6
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1c8], rax
jmp 0x1401e49e3
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x240], rax
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x240]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1d8], rax
mov eax, dword [rsp + 0x38]
dec eax
sub eax, dword [rsp + 0x80]
cmp eax, 3
jb 0x1401e4a2f
mov dword [rsp + 0xd0], 1
jmp 0x1401e4a3a
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0x108]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x40], eax
ja 0x1401e4a5c
mov dword [rsp + 0xcc], 1
jmp 0x1401e4a67
mov dword [rsp + 0xcc], 0
mov eax, dword [rsp + 0xcc]
mov ecx, dword [rsp + 0xd0]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1401e4baf
mov rcx, qword [rsp + 0x30]
call fcn.1401bfb70
mov dword [rsp + 0x10c], eax
mov rcx, qword [rsp + 0x1d8]
call fcn.1401bfb70
mov ecx, dword [rsp + 0x10c]
cmp ecx, eax
jne 0x1401e4baf
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x80], eax
jae 0x1401e4acd
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x1d0], rax
jmp 0x1401e4ada
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x1d8]
add rax, 4
mov rcx, qword [rsp + 0x30]
add rcx, 4
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x248]
mov r8, qword [rsp + 0x58]
mov rdx, rax
call fcn.1401dbcf0
add rax, 4
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
shl rax, 2
mov dword [rsp + 0x114], eax
mov rax, qword [rsp + 0x48]
shl rax, 2
mov qword [rsp + 0x250], rax
mov ecx, dword [rsp + 0x50]
call fcn.1401bfc20
mov eax, eax
mov rcx, qword [rsp + 0x250]
sub rcx, rax
mov rax, rcx
inc rax
mov dword [rsp + 0x110], eax
cmp qword [rsp + 0x158], 4
jb 0x1401e4baf
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x114], eax
jle 0x1401e4baf
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x170], 0x3b9ac9ff
lea r9, [rsp + 0x170]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
call qword [rsp + 0x160]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
shl rax, 2
mov qword [rsp + 0x258], rax
mov ecx, dword [rsp + 0x170]
call fcn.1401bfc20
mov eax, eax
mov rcx, qword [rsp + 0x258]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x124], eax
mov rax, qword [rsp + 0x48]
shl rax, 2
mov qword [rsp + 0x260], rax
mov ecx, dword [rsp + 0x50]
call fcn.1401bfc20
mov eax, eax
mov rcx, qword [rsp + 0x260]
sub rcx, rax
mov rax, rcx
add rax, 7
mov dword [rsp + 0x118], eax
cmp qword [rsp + 0x168], 4
jb 0x1401e4c94
mov eax, dword [rsp + 0x118]
cmp dword [rsp + 0x124], eax
jle 0x1401e4c94
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
jmp 0x1401e460f
jmp 0x1401e4c9b
cmp qword [rsp + 0x50], 3
jbe 0x1401e4def
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
sub rcx, 3
sub rax, rcx
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x84], eax
jae 0x1401e4cf6
mov eax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1e0], rax
jmp 0x1401e4d10
mov eax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x84], eax
jae 0x1401e4d3f
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x1e8], rax
jmp 0x1401e4d4f
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x68], rax
jbe 0x1401e4dda
mov rax, qword [rsp + 0x270]
cmp qword [rsp + 0xe0], rax
jbe 0x1401e4dda
mov eax, 1
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0xe0]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x1401e4dda
mov rax, qword [rsp + 0x68]
dec rax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xe0]
dec rax
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
jmp 0x1401e4d5f
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x50]
sub rax, 3
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x2a8]
call fcn.1401dc680
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x30], rax
ja 0x1401e50ae
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x98], eax
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x2a0]
call fcn.1401dc1f0
mov dword [rsp + 0x11c], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x98]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x8c], eax
jae 0x1401e4ee2
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1f0], rax
jmp 0x1401e4eef
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x280], rax
mov eax, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0x280]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x200], rax
mov eax, dword [rsp + 0x38]
dec eax
sub eax, dword [rsp + 0x8c]
cmp eax, 3
jb 0x1401e4f3b
mov dword [rsp + 0xb0], 1
jmp 0x1401e4f46
mov dword [rsp + 0xb0], 0
mov eax, dword [rsp + 0x11c]
mov ecx, dword [rsp + 0x98]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x60], eax
ja 0x1401e4f6b
mov dword [rsp + 0xd4], 1
jmp 0x1401e4f76
mov dword [rsp + 0xd4], 0
mov eax, dword [rsp + 0xd4]
mov ecx, dword [rsp + 0xb0]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1401e50a7
mov rcx, qword [rsp + 0x30]
call fcn.1401bfb70
mov dword [rsp + 0x120], eax
mov rcx, qword [rsp + 0x200]
call fcn.1401bfb70
mov ecx, dword [rsp + 0x120]
cmp ecx, eax
jne 0x1401e50a7
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x8c], eax
jae 0x1401e4fdc
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x1f8], rax
jmp 0x1401e4fe9
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x200]
add rax, 4
mov rcx, qword [rsp + 0x30]
add rcx, 4
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x288]
mov r8, qword [rsp + 0x58]
mov rdx, rax
call fcn.1401dbcf0
add rax, 4
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x90]
xor edx, edx
mov rcx, qword [rsp + 0x2a8]
call fcn.1401dc680
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
jmp 0x1401e4e60
jmp 0x1401e50ae
jmp 0x1401e4374
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x2b0]
mov edx, dword [rsp + 0x40]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x2b0]
mov edx, dword [rsp + 0x60]
mov dword [rcx + rax], edx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
add rsp, 0x298
ret