Function at 0x1401dbc80
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 0x1401dbcd6
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x128], eax
jmp 0x1401dbce1
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 0x1401dbd46
mov dword [rsp + 0x12c], 3
jmp 0x1401dbd51
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.1401db470
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 0x1401dbe7e
mov dword [rsp + 0x130], 0
jmp 0x1401dbe91
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.1401ca580
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x1401dbed3
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x134], eax
jmp 0x1401dbede
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 0x1401dbf92
mov rax, qword [rsp + 0x278]
mov rax, qword [rax + 0xe8]
mov qword [rsp + 0x1e0], rax
jmp 0x1401dbf9e
mov qword [rsp + 0x1e0], 0
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xb8], rax
cmp dword [rsp + 0x298], 2
jne 0x1401dbfd0
mov rax, qword [rsp + 0xb8]
add rax, 0xf0
mov qword [rsp + 0x1e8], rax
jmp 0x1401dbfdc
mov qword [rsp + 0x1e8], 0
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x200], rax
cmp dword [rsp + 0x298], 2
jne 0x1401dc00c
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x1f0], rax
jmp 0x1401dc018
mov qword [rsp + 0x1f0], 0
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1c8], rax
cmp dword [rsp + 0x298], 2
jne 0x1401dc047
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov qword [rsp + 0x1f8], rax
jmp 0x1401dc053
mov qword [rsp + 0x1f8], 0
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x1d0], rax
cmp dword [rsp + 0x298], 2
jne 0x1401dc08c
mov rax, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1d0]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x138], eax
jmp 0x1401dc097
mov dword [rsp + 0x138], 0
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x298], 2
jne 0x1401dc0c3
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x13c], eax
jmp 0x1401dc0ce
mov dword [rsp + 0x13c], 0
mov eax, dword [rsp + 0x13c]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x298], 2
jne 0x1401dc0fb
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x6c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x140], eax
jmp 0x1401dc106
mov dword [rsp + 0x140], 0
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x298], 2
jne 0x1401dc132
mov rax, qword [rsp + 0x200]
mov eax, dword [rax + 8]
mov dword [rsp + 0x148], eax
jmp 0x1401dc140
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 0x1401dc16e
mov rax, qword [rsp + 0x200]
mov eax, dword [rax + 4]
dec eax
mov dword [rsp + 0xcc], eax
jmp 0x1401dc17c
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 0x1401dc1be
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 0x1401dc1c9
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x298], 2
jne 0x1401dc214
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x98], eax
jae 0x1401dc214
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xd4], eax
jmp 0x1401dc21f
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 0x1401dc268
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x198]
cmp dword [rsp + 0x64], eax
jae 0x1401dc70a
cmp dword [rsp + 0x64], 3
jne 0x1401dc29f
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 0x1401dc2b5
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 0x1401dc3c8
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x70], eax
jb 0x1401dc309
mov dword [rsp + 0xe0], 1
jmp 0x1401dc314
mov dword [rsp + 0xe0], 0
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x288]
call fcn.1401dd790
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.1401dd790
mov ecx, dword [rsp + 0x19c]
cmp ecx, eax
jne 0x1401dc35f
mov dword [rsp + 0xdc], 1
jmp 0x1401dc36a
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 0x1401dc3c3
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.1401bb610
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
jmp 0x1401dc631
cmp dword [rsp + 0x298], 2
jne 0x1401dc3f8
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 0x1401dc412
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 0x1401dc524
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 0x1401dc453
mov dword [rsp + 0xe8], 1
jmp 0x1401dc45e
mov dword [rsp + 0xe8], 0
mov eax, dword [rsp + 0x48]
dec eax
sub eax, dword [rsp + 0x70]
cmp eax, 3
jb 0x1401dc47a
mov dword [rsp + 0xe4], 1
jmp 0x1401dc485
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 0x1401dc524
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x288]
call fcn.1401dd790
mov dword [rsp + 0x1a0], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x168]
call fcn.1401dd790
mov ecx, dword [rsp + 0x1a0]
cmp ecx, eax
jne 0x1401dc524
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.1401ca080
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x298], 2
jne 0x1401dc631
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 0x1401dc560
mov dword [rsp + 0xf0], 1
jmp 0x1401dc56b
mov dword [rsp + 0xf0], 0
mov eax, dword [rsp + 0x48]
dec eax
sub eax, dword [rsp + 0x70]
cmp eax, 3
jb 0x1401dc587
mov dword [rsp + 0xec], 1
jmp 0x1401dc592
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 0x1401dc631
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x288]
call fcn.1401dd790
mov dword [rsp + 0x1a4], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x168]
call fcn.1401dd790
mov ecx, dword [rsp + 0x1a4]
cmp ecx, eax
jne 0x1401dc631
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.1401ca080
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
cmp rax, qword [rsp + 0x88]
jbe 0x1401dc705
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 0x1401dc6a7
mov dword [rsp + 0xf8], 1
jmp 0x1401dc6b2
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 0x1401dc6db
mov dword [rsp + 0xf4], 1
jmp 0x1401dc6e6
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 0x1401dc705
mov eax, dword [rsp + 0x3c]
jmp 0x1401dd0d4
jmp 0x1401dc25e
cmp dword [rsp + 0x2b8], 3
jne 0x1401dc969
mov eax, dword [rsp + 0x2b8]
cmp qword [rsp + 0x88], rax
jae 0x1401dc969
mov r8, qword [rsp + 0x288]
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x278]
call fcn.1401db5d0
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x68], eax
jb 0x1401dc768
mov dword [rsp + 0x100], 1
jmp 0x1401dc773
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 0x1401dc793
mov dword [rsp + 0xfc], 1
jmp 0x1401dc79e
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 0x1401dc969
cmp dword [rsp + 0x298], 0
je 0x1401dc7d6
cmp dword [rsp + 0x298], 2
je 0x1401dc7d6
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x68], eax
jb 0x1401dc817
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.1401bb610
mov qword [rsp + 0xb0], rax
jmp 0x1401dc86b
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.1401ca080
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x2b8]
cmp qword [rsp + 0xb0], rax
jb 0x1401dc969
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 0x1401dc8f5
mov dword [rsp + 0x10c], 1
jmp 0x1401dc900
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 0x1401dc92d
mov dword [rsp + 0x108], 1
jmp 0x1401dc938
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 0x1401dc969
mov eax, dword [rsp + 0x34]
inc eax
mov rcx, qword [rsp + 0x278]
mov dword [rcx + 0x2c], eax
mov eax, 1
jmp 0x1401dd0d4
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x218]
mov edx, dword [rsp + 0x34]
mov dword [rax + rcx*4], edx
jmp 0x1401dc98c
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1401dcd45
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x30], eax
jb 0x1401dcd45
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 0x1401dc9f0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x220], rax
jmp 0x1401dca00
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 0x1401dca33
cmp dword [rsp + 0x298], 2
je 0x1401dca33
mov eax, dword [rsp + 0x30]
add rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
cmp rax, rcx
jb 0x1401dca9c
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.1401bb610
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1401dcb3d
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.1401ca080
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 0x1401dcb3d
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 0x1401dcc43
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 0x1401dcb75
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 0x1401dcbd6
mov dword [rsp + 0x118], 1
jmp 0x1401dcbe1
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 0x1401dcc0b
mov dword [rsp + 0x114], 1
jmp 0x1401dcc16
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 0x1401dcc43
cmp dword [rsp + 0x298], 2
jne 0x1401dcc3e
mov dword [rsp + 0x54], 0
jmp 0x1401dcd45
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 0x1401dccde
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 0x1401dccb0
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x160], rax
jmp 0x1401dcd45
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 0x1401dcd40
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 0x1401dcd18
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x180], rax
jmp 0x1401dcd45
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 0x1401dc982
mov rax, qword [rsp + 0x180]
mov dword [rax], 0
mov rax, qword [rsp + 0x160]
mov dword [rax], 0
cmp dword [rsp + 0x298], 2
jne 0x1401dd0be
cmp dword [rsp + 0x54], 0
je 0x1401dd0be
mov r8d, dword [rsp + 0x2b8]
mov edx, dword [rsp + 0x1ac]
mov rcx, qword [rsp + 0x288]
call fcn.1401db470
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 0x1401dcdf5
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1401dd0be
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x4c], eax
jbe 0x1401dd0be
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 0x1401dce59
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x228], rax
jmp 0x1401dce69
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.1401ca080
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 0x1401dcf24
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 0x1401dd02b
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 0x1401dcf6f
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 0x1401dcfd0
mov dword [rsp + 0x124], 1
jmp 0x1401dcfdb
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 0x1401dd005
mov dword [rsp + 0x120], 1
jmp 0x1401dd010
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 0x1401dd02b
jmp 0x1401dd0be
mov eax, dword [rsp + 0x1b0]
cmp dword [rsp + 0x4c], eax
ja 0x1401dd03d
jmp 0x1401dd0be
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 0x1401dd094
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 0x1401dd0b9
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 0x1401dcdeb
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