Function at 0x1401fca40
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, 0x268
mov rax, qword [rsp + 0x278]
add rax, 0xf0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
cmp dword [rax + 0x14], 0xfff
jae 0x1401fca96
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x128], eax
jmp 0x1401fcaa1
mov dword [rsp + 0x128], 0xfff
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x104], eax
mov rax, qword [rsp + 0x278]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x288]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 8]
mov dword [rsp + 0x144], eax
cmp dword [rsp + 0x2b8], 3
jne 0x1401fcb06
mov dword [rsp + 0x12c], 3
jmp 0x1401fcb11
mov dword [rsp + 0x12c], 4
mov eax, dword [rsp + 0x12c]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x278]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x210], rax
mov r8d, dword [rsp + 0x2b8]
mov edx, dword [rsp + 0x144]
mov rcx, qword [rsp + 0x288]
call fcn.1401fc230
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x218]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x278]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 4]
dec eax
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0xc8]
mov ecx, 1
mov dword [rsp + 0x188], ecx
movzx ecx, al
mov eax, dword [rsp + 0x188]
shl eax, cl
dec eax
mov dword [rsp + 0x74], eax
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x278]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x278]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1c0], rax
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x158], rax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x74], eax
jb 0x1401fcc3e
mov dword [rsp + 0x130], 0
jmp 0x1401fcc51
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x130], eax
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x11c], eax
mov rax, qword [rsp + 0xa8]
mov r8d, dword [rax]
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x278]
call fcn.1401eb340
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x1401fcc93
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x134], eax
jmp 0x1401fcc9e
mov dword [rsp + 0x134], 1
mov eax, dword [rsp + 0x134]
mov dword [rsp + 0x110], eax
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x34]
and ecx, eax
mov eax, ecx
shl eax, 1
mov eax, eax
mov rcx, qword [rsp + 0x1b8]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x160], rax
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x34]
and ecx, eax
mov eax, ecx
shl eax, 1
mov eax, eax
mov rcx, qword [rsp + 0x1b8]
lea rax, [rcx + rax*4 + 4]
mov qword [rsp + 0x180], rax
mov eax, dword [rsp + 0x34]
add eax, 9
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0xc]
mov ecx, 1
mov dword [rsp + 0x18c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x18c]
shl eax, cl
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x298], 2
jne 0x1401fcd52
mov rax, qword [rsp + 0x278]
mov rax, qword [rax + 0xe8]
mov qword [rsp + 0x1e0], rax
jmp 0x1401fcd5e
mov qword [rsp + 0x1e0], 0
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xb8], rax
cmp dword [rsp + 0x298], 2
jne 0x1401fcd90
mov rax, qword [rsp + 0xb8]
add rax, 0xf0
mov qword [rsp + 0x1e8], rax
jmp 0x1401fcd9c
mov qword [rsp + 0x1e8], 0
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x200], rax
cmp dword [rsp + 0x298], 2
jne 0x1401fcdcc
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x1f0], rax
jmp 0x1401fcdd8
mov qword [rsp + 0x1f0], 0
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1c8], rax
cmp dword [rsp + 0x298], 2
jne 0x1401fce07
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov qword [rsp + 0x1f8], rax
jmp 0x1401fce13
mov qword [rsp + 0x1f8], 0
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x1d0], rax
cmp dword [rsp + 0x298], 2
jne 0x1401fce4c
mov rax, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1d0]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x138], eax
jmp 0x1401fce57
mov dword [rsp + 0x138], 0
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x298], 2
jne 0x1401fce83
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x13c], eax
jmp 0x1401fce8e
mov dword [rsp + 0x13c], 0
mov eax, dword [rsp + 0x13c]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x298], 2
jne 0x1401fcebb
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x6c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x140], eax
jmp 0x1401fcec6
mov dword [rsp + 0x140], 0
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x298], 2
jne 0x1401fcef2
mov rax, qword [rsp + 0x200]
mov eax, dword [rax + 8]
mov dword [rsp + 0x148], eax
jmp 0x1401fcf00
mov eax, dword [rsp + 0x144]
mov dword [rsp + 0x148], eax
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x1ac], eax
cmp dword [rsp + 0x298], 2
jne 0x1401fcf2e
mov rax, qword [rsp + 0x200]
mov eax, dword [rax + 4]
dec eax
mov dword [rsp + 0xcc], eax
jmp 0x1401fcf3c
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0x190], eax
cmp dword [rsp + 0x298], 2
jne 0x1401fcf7e
mov eax, dword [rsp + 0x190]
mov ecx, 1
mov dword [rsp + 0x194], ecx
movzx ecx, al
mov eax, dword [rsp + 0x194]
shl eax, cl
dec eax
mov dword [rsp + 0xd0], eax
jmp 0x1401fcf89
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x298], 2
jne 0x1401fcfd4
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x98], eax
jae 0x1401fcfd4
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xd4], eax
jmp 0x1401fcfdf
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0xd4], eax
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0x1b0], eax
mov eax, dword [rsp + 0x2b0]
dec eax
mov eax, eax
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x2a8]
add eax, 3
mov dword [rsp + 0x198], eax
mov eax, dword [rsp + 0x2a8]
mov dword [rsp + 0x64], eax
jmp 0x1401fd028
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x198]
cmp dword [rsp + 0x64], eax
jae 0x1401fd4ca
cmp dword [rsp + 0x64], 3
jne 0x1401fd05f
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax]
dec eax
mov dword [rsp + 0xd8], eax
jmp 0x1401fd075
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x60]
dec eax
mov ecx, dword [rsp + 0x48]
mov edx, dword [rsp + 0x34]
sub edx, ecx
mov ecx, edx
cmp eax, ecx
jae 0x1401fd188
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x70], eax
jb 0x1401fd0c9
mov dword [rsp + 0xe0], 1
jmp 0x1401fd0d4
mov dword [rsp + 0xe0], 0
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x288]
call fcn.1401fe550
mov dword [rsp + 0x19c], eax
mov ecx, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x288]
sub rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x38]
call fcn.1401fe550
mov ecx, dword [rsp + 0x19c]
cmp ecx, eax
jne 0x1401fd11f
mov dword [rsp + 0xdc], 1
jmp 0x1401fd12a
mov dword [rsp + 0xdc], 0
mov eax, dword [rsp + 0xdc]
mov ecx, dword [rsp + 0xe0]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1401fd183
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x60]
sub rax, rcx
mov ecx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x288]
add rdx, rcx
mov rcx, rdx
mov r8, qword [rsp + 0x290]
mov rdx, rax
call fcn.1401dc3d0
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
jmp 0x1401fd3f1
cmp dword [rsp + 0x298], 2
jne 0x1401fd1b8
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x1c8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x84]
sub rax, rcx
mov qword [rsp + 0x208], rax
jmp 0x1401fd1d2
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x168], rax
cmp dword [rsp + 0x298], 1
jne 0x1401fd2e4
mov eax, dword [rsp + 0x60]
dec eax
mov ecx, dword [rsp + 0x6c]
mov edx, dword [rsp + 0x34]
sub edx, ecx
mov ecx, edx
cmp eax, ecx
jae 0x1401fd213
mov dword [rsp + 0xe8], 1
jmp 0x1401fd21e
mov dword [rsp + 0xe8], 0
mov eax, dword [rsp + 0x48]
dec eax
sub eax, dword [rsp + 0x70]
cmp eax, 3
jb 0x1401fd23a
mov dword [rsp + 0xe4], 1
jmp 0x1401fd245
mov dword [rsp + 0xe4], 0
mov eax, dword [rsp + 0xe4]
mov ecx, dword [rsp + 0xe8]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1401fd2e4
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x288]
call fcn.1401fe550
mov dword [rsp + 0x1a0], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x168]
call fcn.1401fe550
mov ecx, dword [rsp + 0x1a0]
cmp ecx, eax
jne 0x1401fd2e4
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x168]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x288]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x158]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x1c0]
mov r8, qword [rsp + 0x290]
mov rdx, rax
call fcn.1401eae40
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x298], 2
jne 0x1401fd3f1
mov eax, dword [rsp + 0x60]
dec eax
mov ecx, dword [rsp + 0x84]
mov edx, dword [rsp + 0x7c]
add edx, ecx
mov ecx, edx
mov edx, dword [rsp + 0x34]
sub edx, ecx
mov ecx, edx
cmp eax, ecx
jae 0x1401fd320
mov dword [rsp + 0xf0], 1
jmp 0x1401fd32b
mov dword [rsp + 0xf0], 0
mov eax, dword [rsp + 0x48]
dec eax
sub eax, dword [rsp + 0x70]
cmp eax, 3
jb 0x1401fd347
mov dword [rsp + 0xec], 1
jmp 0x1401fd352
mov dword [rsp + 0xec], 0
mov eax, dword [rsp + 0xec]
mov ecx, dword [rsp + 0xf0]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1401fd3f1
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x288]
call fcn.1401fe550
mov dword [rsp + 0x1a4], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x168]
call fcn.1401fe550
mov ecx, dword [rsp + 0x1a4]
cmp ecx, eax
jne 0x1401fd3f1
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x168]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x288]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x158]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x1d0]
mov r8, qword [rsp + 0x290]
mov rdx, rax
call fcn.1401eae40
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
cmp rax, qword [rsp + 0x88]
jbe 0x1401fd4c5
mov eax, dword [rsp + 0x50]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x2a8]
mov ecx, dword [rsp + 0x64]
sub ecx, eax
mov eax, ecx
inc eax
mov ecx, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x270]
mov dword [rdx + rcx*8], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x270]
mov edx, dword [rsp + 0x50]
mov dword [rcx + rax*8 + 4], edx
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x104]
cmp dword [rsp + 0x50], eax
jbe 0x1401fd467
mov dword [rsp + 0xf8], 1
jmp 0x1401fd472
mov dword [rsp + 0xf8], 0
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x290]
jne 0x1401fd49b
mov dword [rsp + 0xf4], 1
jmp 0x1401fd4a6
mov dword [rsp + 0xf4], 0
mov eax, dword [rsp + 0xf4]
mov ecx, dword [rsp + 0xf8]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x1401fd4c5
mov eax, dword [rsp + 0x3c]
jmp 0x1401fde94
jmp 0x1401fd01e
cmp dword [rsp + 0x2b8], 3
jne 0x1401fd729
mov eax, dword [rsp + 0x2b8]
cmp qword [rsp + 0x88], rax
jae 0x1401fd729
mov r8, qword [rsp + 0x288]
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x278]
call fcn.1401fc390
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x68], eax
jb 0x1401fd528
mov dword [rsp + 0x100], 1
jmp 0x1401fd533
mov dword [rsp + 0x100], 0
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cmp eax, 0x40000
jae 0x1401fd553
mov dword [rsp + 0xfc], 1
jmp 0x1401fd55e
mov dword [rsp + 0xfc], 0
mov eax, dword [rsp + 0xfc]
mov ecx, dword [rsp + 0x100]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1401fd729
cmp dword [rsp + 0x298], 0
je 0x1401fd596
cmp dword [rsp + 0x298], 2
je 0x1401fd596
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x68], eax
jb 0x1401fd5d7
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x238], rax
mov r8, qword [rsp + 0x290]
mov rdx, qword [rsp + 0x238]
mov rcx, qword [rsp + 0x288]
call fcn.1401dc3d0
mov qword [rsp + 0xb0], rax
jmp 0x1401fd62b
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1c0]
mov r8, qword [rsp + 0x290]
mov rdx, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x288]
call fcn.1401eae40
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x2b8]
cmp qword [rsp + 0xb0], rax
jb 0x1401fd729
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
add eax, 3
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x270]
mov dword [rdx + rcx], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x270]
mov edx, dword [rsp + 0xb0]
mov dword [rcx + rax + 4], edx
mov dword [rsp + 0x3c], 1
mov eax, dword [rsp + 0x104]
cmp qword [rsp + 0xb0], rax
jbe 0x1401fd6b5
mov dword [rsp + 0x10c], 1
jmp 0x1401fd6c0
mov dword [rsp + 0x10c], 0
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x290]
jne 0x1401fd6ed
mov dword [rsp + 0x108], 1
jmp 0x1401fd6f8
mov dword [rsp + 0x108], 0
mov eax, dword [rsp + 0x108]
mov ecx, dword [rsp + 0x10c]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x1401fd729
mov eax, dword [rsp + 0x34]
inc eax
mov rcx, qword [rsp + 0x278]
mov dword [rcx + 0x2c], eax
mov eax, 1
jmp 0x1401fde94
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x218]
mov edx, dword [rsp + 0x34]
mov dword [rax + rcx*4], edx
jmp 0x1401fd74c
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1401fdb05
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x30], eax
jb 0x1401fdb05
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x30]
and ecx, eax
mov eax, ecx
shl eax, 1
mov eax, eax
mov rcx, qword [rsp + 0x1b8]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0xa0], rax
jae 0x1401fd7b0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x220], rax
jmp 0x1401fd7c0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x298], 0
je 0x1401fd7f3
cmp dword [rsp + 0x298], 2
je 0x1401fd7f3
mov eax, dword [rsp + 0x30]
add rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
cmp rax, rcx
jb 0x1401fd85c
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x150], rax
mov eax, dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x288]
add rdx, rcx
mov rcx, rdx
mov r8, qword [rsp + 0x290]
mov rdx, rax
call fcn.1401dc3d0
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1401fd8fd
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x288]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x158]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x1c0]
mov r8, qword [rsp + 0x290]
mov rdx, rax
call fcn.1401eae40
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x30]
add rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
cmp rax, rcx
jb 0x1401fd8fd
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x40], rax
jbe 0x1401fda03
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
mov eax, eax
cmp qword [rsp + 0x40], rax
jbe 0x1401fd935
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
add eax, 3
mov ecx, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x270]
mov dword [rdx + rcx*8], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x270]
mov edx, dword [rsp + 0x40]
mov dword [rcx + rax*8 + 4], edx
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp qword [rsp + 0x40], 0x1000
jbe 0x1401fd996
mov dword [rsp + 0x118], 1
jmp 0x1401fd9a1
mov dword [rsp + 0x118], 0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x290]
jne 0x1401fd9cb
mov dword [rsp + 0x114], 1
jmp 0x1401fd9d6
mov dword [rsp + 0x114], 0
mov eax, dword [rsp + 0x114]
mov ecx, dword [rsp + 0x118]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x1401fda03
cmp dword [rsp + 0x298], 2
jne 0x1401fd9fe
mov dword [rsp + 0x54], 0
jmp 0x1401fdb05
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x288]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
cmp eax, ecx
jge 0x1401fda9e
mov rax, qword [rsp + 0x160]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x11c]
cmp dword [rsp + 0x30], eax
ja 0x1401fda70
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x160], rax
jmp 0x1401fdb05
mov rax, qword [rsp + 0x178]
add rax, 4
mov qword [rsp + 0x160], rax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x178]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x30], eax
jmp 0x1401fdb00
mov rax, qword [rsp + 0x180]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x11c]
cmp dword [rsp + 0x30], eax
ja 0x1401fdad8
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x180], rax
jmp 0x1401fdb05
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x178]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x30], eax
jmp 0x1401fd742
mov rax, qword [rsp + 0x180]
mov dword [rax], 0
mov rax, qword [rsp + 0x160]
mov dword [rax], 0
cmp dword [rsp + 0x298], 2
jne 0x1401fde7e
cmp dword [rsp + 0x54], 0
je 0x1401fde7e
mov r8d, dword [rsp + 0x2b8]
mov edx, dword [rsp + 0x1ac]
mov rcx, qword [rsp + 0x288]
call fcn.1401fc230
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x60]
mov rcx, qword [rsp + 0x248]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
jmp 0x1401fdbb5
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1401fde7e
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x4c], eax
jbe 0x1401fde7e
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x4c]
and ecx, eax
mov eax, ecx
shl eax, 1
mov eax, eax
mov rcx, qword [rsp + 0x250]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0xa0], rax
jae 0x1401fdc19
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x228], rax
jmp 0x1401fdc29
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x1c8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1d8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x288]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x158]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x1d0]
mov r8, qword [rsp + 0x290]
mov rdx, rax
call fcn.1401eae40
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x80]
cmp rax, rcx
jb 0x1401fdce4
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x84]
add rax, rcx
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x58], rax
jbe 0x1401fddeb
mov eax, dword [rsp + 0x84]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
mov eax, eax
cmp qword [rsp + 0x58], rax
jbe 0x1401fdd2f
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
add eax, 3
mov ecx, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x270]
mov dword [rdx + rcx*8], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x270]
mov edx, dword [rsp + 0x58]
mov dword [rcx + rax*8 + 4], edx
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp qword [rsp + 0x58], 0x1000
jbe 0x1401fdd90
mov dword [rsp + 0x124], 1
jmp 0x1401fdd9b
mov dword [rsp + 0x124], 0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x290]
jne 0x1401fddc5
mov dword [rsp + 0x120], 1
jmp 0x1401fddd0
mov dword [rsp + 0x120], 0
mov eax, dword [rsp + 0x120]
mov ecx, dword [rsp + 0x124]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x1401fddeb
jmp 0x1401fde7e
mov eax, dword [rsp + 0x1b0]
cmp dword [rsp + 0x4c], eax
ja 0x1401fddfd
jmp 0x1401fde7e
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1d8]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x288]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
cmp eax, ecx
jge 0x1401fde54
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa0], rax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x230]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x4c], eax
jmp 0x1401fde79
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x90], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x230]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x4c], eax
jmp 0x1401fdbab
mov eax, dword [rsp + 0x78]
sub eax, 8
mov rcx, qword [rsp + 0x278]
mov dword [rcx + 0x2c], eax
mov eax, dword [rsp + 0x3c]
add rsp, 0x268
ret