Function at 0x1401f3240
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 0x1401f32c0
mov rax, qword [rsp + 0x58]
sub rax, 0x10
mov qword [rsp + 0x178], rax
jmp 0x1401f32d1
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 0x1401f339a
mov dword [rsp + 0xb4], 4
jmp 0x1401f33a5
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.1401f7760
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 0x1401f3425
mov qword [rsp + 0x180], 1
jmp 0x1401f3431
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 0x1401f34c4
mov rax, qword [rsp + 0x2a0]
cmp dword [rax + 0x100], 6
jae 0x1401f347b
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x100]
mov dword [rsp + 0xb8], eax
jmp 0x1401f3486
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.1401f6ed0
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x30], rax
jae 0x1401f4203
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.1401eb340
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 0x1401f3558
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x188], rax
jmp 0x1401f3565
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 0x1401f35ab
mov dword [rsp + 0xc0], 1
jmp 0x1401f35b6
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0x3c]
inc eax
sub eax, dword [rsp + 0x12c]
cmp dword [rsp + 0x40], eax
ja 0x1401f35d6
mov dword [rsp + 0xbc], 1
jmp 0x1401f35e1
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 0x1401f36b6
mov rax, qword [rsp + 0x30]
inc rax
mov rcx, rax
call fcn.14002aea0
mov dword [rsp + 0x130], eax
mov rcx, qword [rsp + 0x198]
call fcn.14002aea0
mov ecx, dword [rsp + 0x130]
cmp ecx, eax
jne 0x1401f36b6
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x78], eax
jae 0x1401f364a
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x190], rax
jmp 0x1401f3657
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.1401eae40
add rax, 4
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x2d0], 0
jne 0x1401f36b6
jmp 0x1401f3f3f
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 0x1401f371e
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 0x1401f3751
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 0x1401f34c4
cmp dword [rsp + 0x2d0], 1
jb 0x1401f3deb
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x30], rax
jae 0x1401f3deb
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 0x1401f39ab
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x2a0]
call fcn.1401eb340
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 0x1401f37e1
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1b0], rax
jmp 0x1401f37ee
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 0x1401f3834
mov dword [rsp + 0xc8], 1
jmp 0x1401f383f
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 0x1401f3861
mov dword [rsp + 0xc4], 1
jmp 0x1401f386c
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 0x1401f39ab
mov rcx, qword [rsp + 0x30]
call fcn.14002aea0
mov dword [rsp + 0xf4], eax
mov rcx, qword [rsp + 0x1c0]
call fcn.14002aea0
mov ecx, dword [rsp + 0xf4]
cmp ecx, eax
jne 0x1401f39ab
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x7c], eax
jae 0x1401f38cf
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x1b8], rax
jmp 0x1401f38dc
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.1401eae40
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.1401cedf0
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 0x1401f39ab
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0xfc], eax
jle 0x1401f39ab
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.1401cedf0
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.1401cedf0
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 0x1401f3a90
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0x104], eax
jle 0x1401f3a90
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 0x1401f375f
cmp dword [rsp + 0x2d0], 2
jne 0x1401f3de4
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x30], rax
jae 0x1401f3de4
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 0x1401f3cff
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x2a0]
call fcn.1401eb340
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 0x1401f3b26
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1c8], rax
jmp 0x1401f3b33
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 0x1401f3b7f
mov dword [rsp + 0xd0], 1
jmp 0x1401f3b8a
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 0x1401f3bac
mov dword [rsp + 0xcc], 1
jmp 0x1401f3bb7
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 0x1401f3cff
mov rcx, qword [rsp + 0x30]
call fcn.14002aea0
mov dword [rsp + 0x10c], eax
mov rcx, qword [rsp + 0x1d8]
call fcn.14002aea0
mov ecx, dword [rsp + 0x10c]
cmp ecx, eax
jne 0x1401f3cff
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x80], eax
jae 0x1401f3c1d
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x1d0], rax
jmp 0x1401f3c2a
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.1401eae40
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.1401cedf0
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 0x1401f3cff
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x114], eax
jle 0x1401f3cff
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.1401cedf0
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.1401cedf0
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 0x1401f3de4
mov eax, dword [rsp + 0x118]
cmp dword [rsp + 0x124], eax
jle 0x1401f3de4
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 0x1401f375f
jmp 0x1401f3deb
cmp qword [rsp + 0x50], 3
jbe 0x1401f3f3f
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 0x1401f3e46
mov eax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1e0], rax
jmp 0x1401f3e60
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 0x1401f3e8f
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x1e8], rax
jmp 0x1401f3e9f
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 0x1401f3f2a
mov rax, qword [rsp + 0x270]
cmp qword [rsp + 0xe0], rax
jbe 0x1401f3f2a
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 0x1401f3f2a
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 0x1401f3eaf
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.1401eb7d0
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 0x1401f41fe
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.1401eb340
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 0x1401f4032
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1f0], rax
jmp 0x1401f403f
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 0x1401f408b
mov dword [rsp + 0xb0], 1
jmp 0x1401f4096
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 0x1401f40bb
mov dword [rsp + 0xd4], 1
jmp 0x1401f40c6
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 0x1401f41f7
mov rcx, qword [rsp + 0x30]
call fcn.14002aea0
mov dword [rsp + 0x120], eax
mov rcx, qword [rsp + 0x200]
call fcn.14002aea0
mov ecx, dword [rsp + 0x120]
cmp ecx, eax
jne 0x1401f41f7
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x8c], eax
jae 0x1401f412c
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x1f8], rax
jmp 0x1401f4139
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.1401eae40
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.1401eb7d0
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 0x1401f3fb0
jmp 0x1401f41fe
jmp 0x1401f34c4
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