Function at 0x1402ece40
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 0x1402ecec0
mov rax, qword [rsp + 0x58]
sub rax, 0x10
mov qword [rsp + 0x178], rax
jmp 0x1402eced1
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 0x1402ecf9a
mov dword [rsp + 0xb4], 4
jmp 0x1402ecfa5
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.1402f1360
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 0x1402ed025
mov qword [rsp + 0x180], 1
jmp 0x1402ed031
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 0x1402ed0c4
mov rax, qword [rsp + 0x2a0]
cmp dword [rax + 0x100], 6
jae 0x1402ed07b
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x100]
mov dword [rsp + 0xb8], eax
jmp 0x1402ed086
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.1402f0ad0
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x30], rax
jae 0x1402ede03
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.1402e4f40
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 0x1402ed158
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x188], rax
jmp 0x1402ed165
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 0x1402ed1ab
mov dword [rsp + 0xc0], 1
jmp 0x1402ed1b6
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0x3c]
inc eax
sub eax, dword [rsp + 0x12c]
cmp dword [rsp + 0x40], eax
ja 0x1402ed1d6
mov dword [rsp + 0xbc], 1
jmp 0x1402ed1e1
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 0x1402ed2b6
mov rax, qword [rsp + 0x30]
inc rax
mov rcx, rax
call fcn.1400524b0
mov dword [rsp + 0x130], eax
mov rcx, qword [rsp + 0x198]
call fcn.1400524b0
mov ecx, dword [rsp + 0x130]
cmp ecx, eax
jne 0x1402ed2b6
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x78], eax
jae 0x1402ed24a
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x190], rax
jmp 0x1402ed257
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.1402e4a40
add rax, 4
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x2d0], 0
jne 0x1402ed2b6
jmp 0x1402edb3f
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 0x1402ed31e
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 0x1402ed351
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 0x1402ed0c4
cmp dword [rsp + 0x2d0], 1
jb 0x1402ed9eb
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x30], rax
jae 0x1402ed9eb
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 0x1402ed5ab
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x2a0]
call fcn.1402e4f40
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 0x1402ed3e1
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1b0], rax
jmp 0x1402ed3ee
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 0x1402ed434
mov dword [rsp + 0xc8], 1
jmp 0x1402ed43f
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 0x1402ed461
mov dword [rsp + 0xc4], 1
jmp 0x1402ed46c
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 0x1402ed5ab
mov rcx, qword [rsp + 0x30]
call fcn.1400524b0
mov dword [rsp + 0xf4], eax
mov rcx, qword [rsp + 0x1c0]
call fcn.1400524b0
mov ecx, dword [rsp + 0xf4]
cmp ecx, eax
jne 0x1402ed5ab
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x7c], eax
jae 0x1402ed4cf
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x1b8], rax
jmp 0x1402ed4dc
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.1402e4a40
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.1402c8a00
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 0x1402ed5ab
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0xfc], eax
jle 0x1402ed5ab
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.1402c8a00
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.1402c8a00
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 0x1402ed690
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0x104], eax
jle 0x1402ed690
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 0x1402ed35f
cmp dword [rsp + 0x2d0], 2
jne 0x1402ed9e4
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x30], rax
jae 0x1402ed9e4
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 0x1402ed8ff
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x2a0]
call fcn.1402e4f40
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 0x1402ed726
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1c8], rax
jmp 0x1402ed733
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 0x1402ed77f
mov dword [rsp + 0xd0], 1
jmp 0x1402ed78a
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 0x1402ed7ac
mov dword [rsp + 0xcc], 1
jmp 0x1402ed7b7
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 0x1402ed8ff
mov rcx, qword [rsp + 0x30]
call fcn.1400524b0
mov dword [rsp + 0x10c], eax
mov rcx, qword [rsp + 0x1d8]
call fcn.1400524b0
mov ecx, dword [rsp + 0x10c]
cmp ecx, eax
jne 0x1402ed8ff
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x80], eax
jae 0x1402ed81d
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x1d0], rax
jmp 0x1402ed82a
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.1402e4a40
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.1402c8a00
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 0x1402ed8ff
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x114], eax
jle 0x1402ed8ff
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.1402c8a00
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.1402c8a00
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 0x1402ed9e4
mov eax, dword [rsp + 0x118]
cmp dword [rsp + 0x124], eax
jle 0x1402ed9e4
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 0x1402ed35f
jmp 0x1402ed9eb
cmp qword [rsp + 0x50], 3
jbe 0x1402edb3f
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 0x1402eda46
mov eax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1e0], rax
jmp 0x1402eda60
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 0x1402eda8f
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x1e8], rax
jmp 0x1402eda9f
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 0x1402edb2a
mov rax, qword [rsp + 0x270]
cmp qword [rsp + 0xe0], rax
jbe 0x1402edb2a
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 0x1402edb2a
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 0x1402edaaf
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.1402e53d0
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 0x1402eddfe
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.1402e4f40
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 0x1402edc32
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1f0], rax
jmp 0x1402edc3f
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 0x1402edc8b
mov dword [rsp + 0xb0], 1
jmp 0x1402edc96
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 0x1402edcbb
mov dword [rsp + 0xd4], 1
jmp 0x1402edcc6
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 0x1402eddf7
mov rcx, qword [rsp + 0x30]
call fcn.1400524b0
mov dword [rsp + 0x120], eax
mov rcx, qword [rsp + 0x200]
call fcn.1400524b0
mov ecx, dword [rsp + 0x120]
cmp ecx, eax
jne 0x1402eddf7
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x8c], eax
jae 0x1402edd2c
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x1f8], rax
jmp 0x1402edd39
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.1402e4a40
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.1402e53d0
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 0x1402edbb0
jmp 0x1402eddfe
jmp 0x1402ed0c4
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