Function at 0x1402e76a0
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 0x1402e76f6
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x128], eax
jmp 0x1402e7701
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 0x1402e7766
mov dword [rsp + 0x12c], 3
jmp 0x1402e7771
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.1402e6e90
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 0x1402e789e
mov dword [rsp + 0x130], 0
jmp 0x1402e78b1
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.1402d5fa0
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x1402e78f3
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x134], eax
jmp 0x1402e78fe
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 0x1402e79b2
mov rax, qword [rsp + 0x278]
mov rax, qword [rax + 0xe8]
mov qword [rsp + 0x1e0], rax
jmp 0x1402e79be
mov qword [rsp + 0x1e0], 0
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xb8], rax
cmp dword [rsp + 0x298], 2
jne 0x1402e79f0
mov rax, qword [rsp + 0xb8]
add rax, 0xf0
mov qword [rsp + 0x1e8], rax
jmp 0x1402e79fc
mov qword [rsp + 0x1e8], 0
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x200], rax
cmp dword [rsp + 0x298], 2
jne 0x1402e7a2c
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x1f0], rax
jmp 0x1402e7a38
mov qword [rsp + 0x1f0], 0
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1c8], rax
cmp dword [rsp + 0x298], 2
jne 0x1402e7a67
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov qword [rsp + 0x1f8], rax
jmp 0x1402e7a73
mov qword [rsp + 0x1f8], 0
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x1d0], rax
cmp dword [rsp + 0x298], 2
jne 0x1402e7aac
mov rax, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1d0]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x138], eax
jmp 0x1402e7ab7
mov dword [rsp + 0x138], 0
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x298], 2
jne 0x1402e7ae3
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x13c], eax
jmp 0x1402e7aee
mov dword [rsp + 0x13c], 0
mov eax, dword [rsp + 0x13c]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x298], 2
jne 0x1402e7b1b
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x6c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x140], eax
jmp 0x1402e7b26
mov dword [rsp + 0x140], 0
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x298], 2
jne 0x1402e7b52
mov rax, qword [rsp + 0x200]
mov eax, dword [rax + 8]
mov dword [rsp + 0x148], eax
jmp 0x1402e7b60
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 0x1402e7b8e
mov rax, qword [rsp + 0x200]
mov eax, dword [rax + 4]
dec eax
mov dword [rsp + 0xcc], eax
jmp 0x1402e7b9c
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 0x1402e7bde
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 0x1402e7be9
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x298], 2
jne 0x1402e7c34
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x98], eax
jae 0x1402e7c34
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xd4], eax
jmp 0x1402e7c3f
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 0x1402e7c88
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x198]
cmp dword [rsp + 0x64], eax
jae 0x1402e812a
cmp dword [rsp + 0x64], 3
jne 0x1402e7cbf
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 0x1402e7cd5
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 0x1402e7de8
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x70], eax
jb 0x1402e7d29
mov dword [rsp + 0xe0], 1
jmp 0x1402e7d34
mov dword [rsp + 0xe0], 0
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x288]
call fcn.1402e91b0
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.1402e91b0
mov ecx, dword [rsp + 0x19c]
cmp ecx, eax
jne 0x1402e7d7f
mov dword [rsp + 0xdc], 1
jmp 0x1402e7d8a
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 0x1402e7de3
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.1402c7040
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
jmp 0x1402e8051
cmp dword [rsp + 0x298], 2
jne 0x1402e7e18
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 0x1402e7e32
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 0x1402e7f44
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 0x1402e7e73
mov dword [rsp + 0xe8], 1
jmp 0x1402e7e7e
mov dword [rsp + 0xe8], 0
mov eax, dword [rsp + 0x48]
dec eax
sub eax, dword [rsp + 0x70]
cmp eax, 3
jb 0x1402e7e9a
mov dword [rsp + 0xe4], 1
jmp 0x1402e7ea5
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 0x1402e7f44
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x288]
call fcn.1402e91b0
mov dword [rsp + 0x1a0], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x168]
call fcn.1402e91b0
mov ecx, dword [rsp + 0x1a0]
cmp ecx, eax
jne 0x1402e7f44
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.1402d5aa0
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x298], 2
jne 0x1402e8051
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 0x1402e7f80
mov dword [rsp + 0xf0], 1
jmp 0x1402e7f8b
mov dword [rsp + 0xf0], 0
mov eax, dword [rsp + 0x48]
dec eax
sub eax, dword [rsp + 0x70]
cmp eax, 3
jb 0x1402e7fa7
mov dword [rsp + 0xec], 1
jmp 0x1402e7fb2
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 0x1402e8051
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x288]
call fcn.1402e91b0
mov dword [rsp + 0x1a4], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x168]
call fcn.1402e91b0
mov ecx, dword [rsp + 0x1a4]
cmp ecx, eax
jne 0x1402e8051
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.1402d5aa0
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
cmp rax, qword [rsp + 0x88]
jbe 0x1402e8125
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 0x1402e80c7
mov dword [rsp + 0xf8], 1
jmp 0x1402e80d2
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 0x1402e80fb
mov dword [rsp + 0xf4], 1
jmp 0x1402e8106
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 0x1402e8125
mov eax, dword [rsp + 0x3c]
jmp 0x1402e8af4
jmp 0x1402e7c7e
cmp dword [rsp + 0x2b8], 3
jne 0x1402e8389
mov eax, dword [rsp + 0x2b8]
cmp qword [rsp + 0x88], rax
jae 0x1402e8389
mov r8, qword [rsp + 0x288]
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x278]
call fcn.1402e6ff0
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x68], eax
jb 0x1402e8188
mov dword [rsp + 0x100], 1
jmp 0x1402e8193
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 0x1402e81b3
mov dword [rsp + 0xfc], 1
jmp 0x1402e81be
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 0x1402e8389
cmp dword [rsp + 0x298], 0
je 0x1402e81f6
cmp dword [rsp + 0x298], 2
je 0x1402e81f6
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x68], eax
jb 0x1402e8237
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.1402c7040
mov qword [rsp + 0xb0], rax
jmp 0x1402e828b
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.1402d5aa0
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x2b8]
cmp qword [rsp + 0xb0], rax
jb 0x1402e8389
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 0x1402e8315
mov dword [rsp + 0x10c], 1
jmp 0x1402e8320
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 0x1402e834d
mov dword [rsp + 0x108], 1
jmp 0x1402e8358
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 0x1402e8389
mov eax, dword [rsp + 0x34]
inc eax
mov rcx, qword [rsp + 0x278]
mov dword [rcx + 0x2c], eax
mov eax, 1
jmp 0x1402e8af4
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x218]
mov edx, dword [rsp + 0x34]
mov dword [rax + rcx*4], edx
jmp 0x1402e83ac
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1402e8765
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x30], eax
jb 0x1402e8765
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 0x1402e8410
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x220], rax
jmp 0x1402e8420
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 0x1402e8453
cmp dword [rsp + 0x298], 2
je 0x1402e8453
mov eax, dword [rsp + 0x30]
add rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
cmp rax, rcx
jb 0x1402e84bc
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.1402c7040
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1402e855d
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.1402d5aa0
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 0x1402e855d
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 0x1402e8663
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 0x1402e8595
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 0x1402e85f6
mov dword [rsp + 0x118], 1
jmp 0x1402e8601
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 0x1402e862b
mov dword [rsp + 0x114], 1
jmp 0x1402e8636
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 0x1402e8663
cmp dword [rsp + 0x298], 2
jne 0x1402e865e
mov dword [rsp + 0x54], 0
jmp 0x1402e8765
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 0x1402e86fe
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 0x1402e86d0
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x160], rax
jmp 0x1402e8765
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 0x1402e8760
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 0x1402e8738
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x180], rax
jmp 0x1402e8765
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 0x1402e83a2
mov rax, qword [rsp + 0x180]
mov dword [rax], 0
mov rax, qword [rsp + 0x160]
mov dword [rax], 0
cmp dword [rsp + 0x298], 2
jne 0x1402e8ade
cmp dword [rsp + 0x54], 0
je 0x1402e8ade
mov r8d, dword [rsp + 0x2b8]
mov edx, dword [rsp + 0x1ac]
mov rcx, qword [rsp + 0x288]
call fcn.1402e6e90
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 0x1402e8815
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1402e8ade
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x4c], eax
jbe 0x1402e8ade
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 0x1402e8879
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x228], rax
jmp 0x1402e8889
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.1402d5aa0
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 0x1402e8944
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 0x1402e8a4b
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 0x1402e898f
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 0x1402e89f0
mov dword [rsp + 0x124], 1
jmp 0x1402e89fb
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 0x1402e8a25
mov dword [rsp + 0x120], 1
jmp 0x1402e8a30
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 0x1402e8a4b
jmp 0x1402e8ade
mov eax, dword [rsp + 0x1b0]
cmp dword [rsp + 0x4c], eax
ja 0x1402e8a5d
jmp 0x1402e8ade
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 0x1402e8ab4
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 0x1402e8ad9
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 0x1402e880b
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