Function at 0x1402f6640
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 0x1402f6696
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x128], eax
jmp 0x1402f66a1
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 0x1402f6706
mov dword [rsp + 0x12c], 3
jmp 0x1402f6711
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.1402f5e30
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 0x1402f683e
mov dword [rsp + 0x130], 0
jmp 0x1402f6851
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.1402e4f40
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x1402f6893
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x134], eax
jmp 0x1402f689e
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 0x1402f6952
mov rax, qword [rsp + 0x278]
mov rax, qword [rax + 0xe8]
mov qword [rsp + 0x1e0], rax
jmp 0x1402f695e
mov qword [rsp + 0x1e0], 0
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xb8], rax
cmp dword [rsp + 0x298], 2
jne 0x1402f6990
mov rax, qword [rsp + 0xb8]
add rax, 0xf0
mov qword [rsp + 0x1e8], rax
jmp 0x1402f699c
mov qword [rsp + 0x1e8], 0
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x200], rax
cmp dword [rsp + 0x298], 2
jne 0x1402f69cc
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x1f0], rax
jmp 0x1402f69d8
mov qword [rsp + 0x1f0], 0
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1c8], rax
cmp dword [rsp + 0x298], 2
jne 0x1402f6a07
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov qword [rsp + 0x1f8], rax
jmp 0x1402f6a13
mov qword [rsp + 0x1f8], 0
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x1d0], rax
cmp dword [rsp + 0x298], 2
jne 0x1402f6a4c
mov rax, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1d0]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x138], eax
jmp 0x1402f6a57
mov dword [rsp + 0x138], 0
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x298], 2
jne 0x1402f6a83
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x13c], eax
jmp 0x1402f6a8e
mov dword [rsp + 0x13c], 0
mov eax, dword [rsp + 0x13c]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x298], 2
jne 0x1402f6abb
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x6c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x140], eax
jmp 0x1402f6ac6
mov dword [rsp + 0x140], 0
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x298], 2
jne 0x1402f6af2
mov rax, qword [rsp + 0x200]
mov eax, dword [rax + 8]
mov dword [rsp + 0x148], eax
jmp 0x1402f6b00
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 0x1402f6b2e
mov rax, qword [rsp + 0x200]
mov eax, dword [rax + 4]
dec eax
mov dword [rsp + 0xcc], eax
jmp 0x1402f6b3c
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 0x1402f6b7e
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 0x1402f6b89
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x298], 2
jne 0x1402f6bd4
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x98], eax
jae 0x1402f6bd4
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xd4], eax
jmp 0x1402f6bdf
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 0x1402f6c28
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x198]
cmp dword [rsp + 0x64], eax
jae 0x1402f70ca
cmp dword [rsp + 0x64], 3
jne 0x1402f6c5f
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 0x1402f6c75
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 0x1402f6d88
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x70], eax
jb 0x1402f6cc9
mov dword [rsp + 0xe0], 1
jmp 0x1402f6cd4
mov dword [rsp + 0xe0], 0
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x288]
call fcn.1402f8150
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.1402f8150
mov ecx, dword [rsp + 0x19c]
cmp ecx, eax
jne 0x1402f6d1f
mov dword [rsp + 0xdc], 1
jmp 0x1402f6d2a
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 0x1402f6d83
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.1402d5fe0
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
jmp 0x1402f6ff1
cmp dword [rsp + 0x298], 2
jne 0x1402f6db8
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 0x1402f6dd2
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 0x1402f6ee4
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 0x1402f6e13
mov dword [rsp + 0xe8], 1
jmp 0x1402f6e1e
mov dword [rsp + 0xe8], 0
mov eax, dword [rsp + 0x48]
dec eax
sub eax, dword [rsp + 0x70]
cmp eax, 3
jb 0x1402f6e3a
mov dword [rsp + 0xe4], 1
jmp 0x1402f6e45
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 0x1402f6ee4
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x288]
call fcn.1402f8150
mov dword [rsp + 0x1a0], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x168]
call fcn.1402f8150
mov ecx, dword [rsp + 0x1a0]
cmp ecx, eax
jne 0x1402f6ee4
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.1402e4a40
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x298], 2
jne 0x1402f6ff1
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 0x1402f6f20
mov dword [rsp + 0xf0], 1
jmp 0x1402f6f2b
mov dword [rsp + 0xf0], 0
mov eax, dword [rsp + 0x48]
dec eax
sub eax, dword [rsp + 0x70]
cmp eax, 3
jb 0x1402f6f47
mov dword [rsp + 0xec], 1
jmp 0x1402f6f52
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 0x1402f6ff1
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x288]
call fcn.1402f8150
mov dword [rsp + 0x1a4], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x168]
call fcn.1402f8150
mov ecx, dword [rsp + 0x1a4]
cmp ecx, eax
jne 0x1402f6ff1
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.1402e4a40
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
cmp rax, qword [rsp + 0x88]
jbe 0x1402f70c5
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 0x1402f7067
mov dword [rsp + 0xf8], 1
jmp 0x1402f7072
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 0x1402f709b
mov dword [rsp + 0xf4], 1
jmp 0x1402f70a6
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 0x1402f70c5
mov eax, dword [rsp + 0x3c]
jmp 0x1402f7a94
jmp 0x1402f6c1e
cmp dword [rsp + 0x2b8], 3
jne 0x1402f7329
mov eax, dword [rsp + 0x2b8]
cmp qword [rsp + 0x88], rax
jae 0x1402f7329
mov r8, qword [rsp + 0x288]
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x278]
call fcn.1402f5f90
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x68], eax
jb 0x1402f7128
mov dword [rsp + 0x100], 1
jmp 0x1402f7133
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 0x1402f7153
mov dword [rsp + 0xfc], 1
jmp 0x1402f715e
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 0x1402f7329
cmp dword [rsp + 0x298], 0
je 0x1402f7196
cmp dword [rsp + 0x298], 2
je 0x1402f7196
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x68], eax
jb 0x1402f71d7
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.1402d5fe0
mov qword [rsp + 0xb0], rax
jmp 0x1402f722b
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.1402e4a40
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x2b8]
cmp qword [rsp + 0xb0], rax
jb 0x1402f7329
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 0x1402f72b5
mov dword [rsp + 0x10c], 1
jmp 0x1402f72c0
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 0x1402f72ed
mov dword [rsp + 0x108], 1
jmp 0x1402f72f8
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 0x1402f7329
mov eax, dword [rsp + 0x34]
inc eax
mov rcx, qword [rsp + 0x278]
mov dword [rcx + 0x2c], eax
mov eax, 1
jmp 0x1402f7a94
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x218]
mov edx, dword [rsp + 0x34]
mov dword [rax + rcx*4], edx
jmp 0x1402f734c
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1402f7705
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x30], eax
jb 0x1402f7705
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 0x1402f73b0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x220], rax
jmp 0x1402f73c0
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 0x1402f73f3
cmp dword [rsp + 0x298], 2
je 0x1402f73f3
mov eax, dword [rsp + 0x30]
add rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
cmp rax, rcx
jb 0x1402f745c
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.1402d5fe0
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1402f74fd
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.1402e4a40
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 0x1402f74fd
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 0x1402f7603
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 0x1402f7535
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 0x1402f7596
mov dword [rsp + 0x118], 1
jmp 0x1402f75a1
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 0x1402f75cb
mov dword [rsp + 0x114], 1
jmp 0x1402f75d6
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 0x1402f7603
cmp dword [rsp + 0x298], 2
jne 0x1402f75fe
mov dword [rsp + 0x54], 0
jmp 0x1402f7705
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 0x1402f769e
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 0x1402f7670
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x160], rax
jmp 0x1402f7705
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 0x1402f7700
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 0x1402f76d8
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x180], rax
jmp 0x1402f7705
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 0x1402f7342
mov rax, qword [rsp + 0x180]
mov dword [rax], 0
mov rax, qword [rsp + 0x160]
mov dword [rax], 0
cmp dword [rsp + 0x298], 2
jne 0x1402f7a7e
cmp dword [rsp + 0x54], 0
je 0x1402f7a7e
mov r8d, dword [rsp + 0x2b8]
mov edx, dword [rsp + 0x1ac]
mov rcx, qword [rsp + 0x288]
call fcn.1402f5e30
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 0x1402f77b5
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1402f7a7e
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x4c], eax
jbe 0x1402f7a7e
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 0x1402f7819
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x228], rax
jmp 0x1402f7829
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.1402e4a40
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 0x1402f78e4
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 0x1402f79eb
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 0x1402f792f
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 0x1402f7990
mov dword [rsp + 0x124], 1
jmp 0x1402f799b
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 0x1402f79c5
mov dword [rsp + 0x120], 1
jmp 0x1402f79d0
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 0x1402f79eb
jmp 0x1402f7a7e
mov eax, dword [rsp + 0x1b0]
cmp dword [rsp + 0x4c], eax
ja 0x1402f79fd
jmp 0x1402f7a7e
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 0x1402f7a54
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 0x1402f7a79
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 0x1402f77ab
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