Function at 0x1400397d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x338
mov rax, qword [0x140138010]
xor rax, rsp
mov qword [rsp + 0x328], rax
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x2c0], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0xf0], 0
lea rax, [rsp + 0x320]
mov rdi, rax
xor eax, eax
mov ecx, 5
rep stosb byte [rdi], al
lea rax, [rsp + 0x250]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x350]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x360], 0
jne 0x14003987d
mov eax, 7
jmp 0x14003b811
mov rax, qword [rsp + 0x350]
movzx eax, byte [rax + 0xc]
mov rcx, qword [rsp + 0x350]
movzx ecx, word [rcx + 0x18]
add eax, ecx
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 2
jge 0x1400398ac
mov dword [rsp + 0x50], 0
jmp 0x1400398ff
cmp dword [rsp + 0x358], 0
jne 0x1400398c0
mov dword [rsp + 0x50], 0
jmp 0x1400398ef
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x358], eax
jne 0x1400398e2
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x370]
lea eax, [rax + rcx - 2]
mov dword [rsp + 0x50], eax
jmp 0x1400398ef
mov eax, dword [rsp + 0x358]
dec eax
mov dword [rsp + 0x50], eax
mov eax, 2
sub eax, dword [rsp + 0x370]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x350]
movzx ecx, byte [rcx + 0xc]
sub eax, ecx
mov rcx, qword [rsp + 0x350]
movzx ecx, word [rcx + 0x18]
cmp eax, ecx
jne 0x140039960
mov rax, qword [rsp + 0x350]
movzx eax, byte [rax + 9]
add eax, 8
cdqe
mov rcx, qword [rsp + 0x350]
mov rcx, qword [rcx + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1a0], rax
jmp 0x1400399ba
mov rax, qword [rsp + 0x350]
movzx eax, word [rax + 0x1a]
mov ecx, dword [rsp + 0x50]
mov edx, dword [rsp + 0x30]
add edx, ecx
mov ecx, edx
mov rdx, qword [rsp + 0x350]
movzx edx, byte [rdx + 0xc]
sub ecx, edx
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x350]
mov rdx, qword [rdx + 0x60]
movzx ecx, word [rdx + rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x350]
add rax, qword [rcx + 0x50]
mov qword [rsp + 0x1a0], rax
mov rcx, qword [rsp + 0x1a0]
call fcn.140011d60
mov dword [rsp + 0x2c4], eax
xor eax, eax
cmp eax, 1
je 0x140039d59
cmp dword [rsp + 0x2c0], 0
jne 0x140039a11
movsxd rax, dword [rsp + 0x30]
lea rax, [rsp + rax*8 + 0x308]
xor r9d, r9d
mov r8, rax
mov edx, dword [rsp + 0x2c4]
mov rcx, qword [rsp + 0x80]
call fcn.14002fbd0
mov dword [rsp + 0x2c0], eax
cmp dword [rsp + 0x2c0], 0
je 0x140039a4b
mov eax, dword [rsp + 0x30]
inc eax
cdqe
shl rax, 3
mov qword [rsp + 0x1f8], rax
lea rcx, [rsp + 0x308]
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0x1f8]
rep stosb byte [rdi], al
jmp 0x14003b797
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x308]
cmp dword [rax + 0x14], 0
jge 0x140039aae
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + rax*8 + 0x308]
call fcn.14002f280
mov dword [rsp + 0x2c0], eax
cmp dword [rsp + 0x2c0], 0
je 0x140039aae
movsxd rax, dword [rsp + 0x30]
shl rax, 3
mov qword [rsp + 0x200], rax
lea rcx, [rsp + 0x308]
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0x200]
rep stosb byte [rdi], al
jmp 0x14003b797
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x308]
movzx eax, word [rax + 0x18]
mov ecx, dword [rsp + 0x58]
lea eax, [rcx + rax + 4]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x1b0], eax
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x1b0], 0
jne 0x140039aef
jmp 0x140039d59
mov rax, qword [rsp + 0x350]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x140039ba5
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x350]
movzx ecx, word [rdx + rcx + 0x1c]
cmp eax, ecx
jne 0x140039ba5
mov eax, 8
imul rax, rax, 0
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x350]
mov rax, qword [rdx + rax + 0x28]
mov qword [rsp + rcx*8 + 0x170], rax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + rax*8 + 0x170]
call fcn.140011d60
mov dword [rsp + 0x2c4], eax
movsxd rax, dword [rsp + 0x30]
mov rdx, qword [rsp + rax*8 + 0x170]
mov rcx, qword [rsp + 0x350]
mov rax, qword [rsp + 0x350]
call qword [rax + 0x78]
movsxd rcx, dword [rsp + 0x30]
movzx eax, ax
mov dword [rsp + rcx*4 + 0xd0], eax
mov rax, qword [rsp + 0x350]
mov byte [rax + 0xc], 0
jmp 0x140039d54
mov rax, qword [rsp + 0x350]
movzx eax, word [rax + 0x1a]
mov ecx, dword [rsp + 0x50]
mov edx, dword [rsp + 0x30]
add edx, ecx
mov ecx, edx
mov rdx, qword [rsp + 0x350]
movzx edx, byte [rdx + 0xc]
sub ecx, edx
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x350]
mov rdx, qword [rdx + 0x60]
movzx ecx, word [rdx + rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x350]
add rax, qword [rcx + 0x50]
movsxd rcx, dword [rsp + 0x30]
mov qword [rsp + rcx*8 + 0x170], rax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + rax*8 + 0x170]
call fcn.140011d60
mov dword [rsp + 0x2c4], eax
movsxd rax, dword [rsp + 0x30]
mov rdx, qword [rsp + rax*8 + 0x170]
mov rcx, qword [rsp + 0x350]
mov rax, qword [rsp + 0x350]
call qword [rax + 0x78]
movsxd rcx, dword [rsp + 0x30]
movzx eax, ax
mov dword [rsp + rcx*4 + 0xd0], eax
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x28]
and eax, 0xc
test eax, eax
je 0x140039d16
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x350]
mov ecx, dword [rcx + 0x50]
mov eax, dword [rsp + rax*8 + 0x170]
sub eax, ecx
mov dword [rsp + 0x148], eax
movsxd rax, dword [rsp + 0x30]
mov eax, dword [rsp + rax*4 + 0xd0]
mov ecx, dword [rsp + 0x148]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0x38]
jg 0x140039d16
movsxd rax, dword [rsp + 0x30]
movsxd rax, dword [rsp + rax*4 + 0xd0]
movsxd rcx, dword [rsp + 0x30]
movsxd rdx, dword [rsp + 0x148]
mov rdi, qword [rsp + 0x360]
add rdi, rdx
mov rdx, rdi
mov rdi, rdx
mov rsi, qword [rsp + rcx*8 + 0x170]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x350]
mov rcx, qword [rcx + 0x50]
mov rax, qword [rsp + rax*8 + 0x170]
sub rax, rcx
mov rcx, qword [rsp + 0x360]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x30]
mov qword [rsp + rcx*8 + 0x170], rax
movsxd rax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x50]
mov edx, dword [rsp + 0x30]
add edx, ecx
mov ecx, edx
mov rdx, qword [rsp + 0x350]
movzx edx, byte [rdx + 0xc]
sub ecx, edx
lea r9, [rsp + 0x2c0]
mov r8d, dword [rsp + rax*4 + 0xd0]
mov edx, ecx
mov rcx, qword [rsp + 0x350]
call fcn.140037860
jmp 0x1400399ce
mov eax, dword [rsp + 0x58]
add eax, 3
and eax, 0xfffffffc
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x58]
movsxd rcx, dword [rsp + 0x58]
shl rcx, 1
lea rax, [rcx + rax*8]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x34]
add rax, rcx
mov dword [rsp + 0x190], eax
movsxd rax, dword [rsp + 0x190]
mov rdx, rax
xor ecx, ecx
call fcn.140007d90
mov qword [rsp + 0x260], rax
cmp qword [rsp + 0x260], 0
jne 0x140039dc2
mov dword [rsp + 0x2c0], 7
jmp 0x14003b797
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x260]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x268], rax
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x268]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x1c0], rax
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x308]
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x258]
movzx eax, byte [rax + 8]
shl eax, 2
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x258]
movzx eax, byte [rax + 2]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x30], 0
jmp 0x140039e45
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jge 0x14003a2d9
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x308]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x18]
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x1a]
mov word [rsp + 0x88], ax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x12]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x50]
movzx eax, byte [rcx + rax]
mov ecx, 8
imul rcx, rcx, 0
mov rcx, qword [rsp + rcx + 0x308]
mov edx, 1
imul rdx, rdx, 0
mov rcx, qword [rcx + 0x50]
movzx ecx, byte [rcx + rdx]
cmp eax, ecx
je 0x140039f08
mov ecx, 0x13789
call fcn.1400ef4a0
mov dword [rsp + 0x2c0], eax
jmp 0x14003b797
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0xc]
mov ecx, dword [rsp + 0xb0]
add ecx, eax
mov eax, ecx
cdqe
shl rax, 1
mov qword [rsp + 0x208], rax
movsxd rcx, dword [rsp + 0x250]
mov rdx, qword [rsp + 0x268]
lea rcx, [rdx + rcx*2]
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0x208]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0xc]
test eax, eax
jle 0x14003a088
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax + 0x1c]
cmp dword [rsp + 0xb0], eax
jge 0x140039f8f
mov ecx, 0x137a1
call fcn.1400ef4a0
mov dword [rsp + 0x2c0], eax
jmp 0x14003b797
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax + 0x1c]
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0x38], 0
jmp 0x140039fbd
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x38], eax
jge 0x14003a030
movzx eax, word [rsp + 0x88]
mov rcx, qword [rsp + 0x100]
movzx ecx, word [rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x250]
mov rdx, qword [rsp + 0x260]
mov qword [rdx + rcx*8], rax
mov rax, qword [rsp + 0x100]
add rax, 2
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x250]
inc eax
mov dword [rsp + 0x250], eax
jmp 0x140039fb3
mov dword [rsp + 0x34], 0
jmp 0x14003a044
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0xc]
cmp dword [rsp + 0x34], eax
jge 0x14003a088
movsxd rax, dword [rsp + 0x34]
movsxd rcx, dword [rsp + 0x250]
mov rdx, qword [rsp + 0x260]
mov rdi, qword [rsp + 0x68]
mov rax, qword [rdi + rax*8 + 0x28]
mov qword [rdx + rcx*8], rax
mov eax, dword [rsp + 0x250]
inc eax
mov dword [rsp + 0x250], eax
jmp 0x14003a03a
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x12]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x68]
movzx ecx, word [rcx + 0x18]
shl ecx, 1
movsxd rcx, ecx
add rax, rcx
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
cmp qword [rsp + 0x100], rax
jae 0x14003a130
movzx eax, word [rsp + 0x88]
mov rcx, qword [rsp + 0x100]
movzx ecx, word [rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x250]
mov rdx, qword [rsp + 0x260]
mov qword [rdx + rcx*8], rax
mov rax, qword [rsp + 0x100]
add rax, 2
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x250]
inc eax
mov dword [rsp + 0x250], eax
jmp 0x14003a0b8
movsxd rax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x250]
mov dword [rsp + rax*4 + 0x1e0], ecx
mov eax, dword [rsp + 0x48]
dec eax
cmp dword [rsp + 0x30], eax
jge 0x14003a2d4
cmp dword [rsp + 0x54], 0
jne 0x14003a2d4
movsxd rax, dword [rsp + 0x30]
movzx eax, word [rsp + rax*4 + 0xd0]
mov word [rsp + 0x5c], ax
movsxd rax, dword [rsp + 0x250]
mov rcx, qword [rsp + 0x268]
movzx edx, word [rsp + 0x5c]
mov word [rcx + rax*2], dx
movsxd rax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x1c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1b8], rax
movzx eax, word [rsp + 0x5c]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
movzx eax, word [rsp + 0x5c]
movsxd rcx, dword [rsp + 0x30]
mov rdi, qword [rsp + 0x1b8]
mov rsi, qword [rsp + rcx*8 + 0x170]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
movzx eax, word [rsp + 0x40]
mov rcx, qword [rsp + 0x1b8]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x250]
mov rdx, qword [rsp + 0x260]
mov qword [rdx + rcx*8], rax
movsxd rax, dword [rsp + 0x250]
mov rcx, qword [rsp + 0x268]
movzx eax, word [rcx + rax*2]
movzx ecx, word [rsp + 0x40]
sub eax, ecx
movsxd rcx, dword [rsp + 0x250]
mov rdx, qword [rsp + 0x268]
mov word [rdx + rcx*2], ax
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x14003a263
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x50]
movsxd rdx, dword [rsp + 0x250]
mov rdi, qword [rsp + 0x260]
mov rdx, qword [rdi + rdx*8]
mov eax, dword [rcx + rax]
mov dword [rdx], eax
jmp 0x14003a2c4
movsxd rax, dword [rsp + 0x250]
mov rcx, qword [rsp + 0x268]
movzx eax, word [rcx + rax*2]
cmp eax, 4
jge 0x14003a2c4
movsxd rax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x1c0]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
movsxd rax, dword [rsp + 0x250]
mov rcx, qword [rsp + 0x268]
movzx eax, word [rcx + rax*2]
inc ax
movsxd rcx, dword [rsp + 0x250]
mov rdx, qword [rsp + 0x268]
mov word [rdx + rcx*2], ax
jmp 0x14003a263
mov eax, dword [rsp + 0x250]
inc eax
mov dword [rsp + 0x250], eax
jmp 0x140039e3b
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
movzx ecx, word [rsp + 0x40]
lea eax, [rax + rcx - 0xc]
mov dword [rsp + 0xc0], eax
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
jmp 0x14003a31a
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jge 0x14003a49c
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x308]
mov qword [rsp + 0x118], rax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x118]
mov rcx, qword [rcx + 0x58]
mov qword [rsp + rax*8 + 0x270], rcx
movsxd rax, dword [rsp + 0x30]
movsxd rcx, dword [rsp + 0x34]
mov eax, dword [rsp + rax*4 + 0x1e0]
mov dword [rsp + rcx*4 + 0x2a0], eax
cmp dword [rsp + 0x34], 0
je 0x14003a39d
movsxd rax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x34]
dec ecx
movsxd rcx, ecx
mov ecx, dword [rsp + rcx*4 + 0x2a0]
cmp dword [rsp + rax*4 + 0x2a0], ecx
jne 0x14003a39d
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x54], 0
jne 0x14003a3e1
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x350]
mov rcx, qword [rcx + 0x58]
mov qword [rsp + rax*8 + 0x270], rcx
movsxd rax, dword [rsp + 0x30]
mov eax, dword [rsp + rax*4 + 0x1e0]
inc eax
movsxd rcx, dword [rsp + 0x34]
mov dword [rsp + rcx*4 + 0x2a0], eax
mov rax, qword [rsp + 0x118]
mov eax, dword [rax + 0x14]
mov ecx, dword [rsp + 0xc0]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x30]
mov dword [rsp + rcx*4 + 0xd0], eax
mov dword [rsp + 0x38], 0
jmp 0x14003a417
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x118]
movzx eax, byte [rax + 0xc]
cmp dword [rsp + 0x38], eax
jge 0x14003a47f
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + 0x218], rax
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x118]
mov rdx, qword [rdx + rcx*8 + 0x28]
mov rcx, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x118]
call qword [rdi + 0x78]
movzx eax, ax
mov rcx, qword [rsp + 0x218]
mov ecx, dword [rsp + rcx*4 + 0xd0]
lea eax, [rax + rcx + 2]
movsxd rcx, dword [rsp + 0x30]
mov dword [rsp + rcx*4 + 0xd0], eax
jmp 0x14003a40d
movsxd rax, dword [rsp + 0x30]
movsxd rcx, dword [rsp + 0x30]
mov eax, dword [rsp + rax*4 + 0x1e0]
mov dword [rsp + rcx*4 + 0x98], eax
jmp 0x14003a306
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], 0
jmp 0x14003a4b8
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jge 0x14003a78a
movsxd rax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0xc0]
cmp dword [rsp + rax*4 + 0xd0], ecx
jle 0x14003a60c
mov eax, dword [rsp + 0x30]
inc eax
cmp eax, dword [rsp + 0x34]
jl 0x14003a53c
mov eax, dword [rsp + 0x30]
add eax, 2
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 5
jle 0x14003a513
mov ecx, 0x13807
call fcn.1400ef4a0
mov dword [rsp + 0x2c0], eax
jmp 0x14003b797
mov eax, dword [rsp + 0x34]
dec eax
cdqe
mov dword [rsp + rax*4 + 0xd0], 0
mov eax, dword [rsp + 0x34]
dec eax
cdqe
mov ecx, dword [rsp + 0x250]
mov dword [rsp + rax*4 + 0x98], ecx
movsxd rax, dword [rsp + 0x30]
mov eax, dword [rsp + rax*4 + 0x98]
dec eax
mov edx, eax
lea rcx, [rsp + 0x250]
call fcn.140038160
movzx eax, ax
add eax, 2
mov dword [rsp + 0x4c], eax
movsxd rax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rsp + rax*4 + 0xd0]
sub eax, ecx
movsxd rcx, dword [rsp + 0x30]
mov dword [rsp + rcx*4 + 0xd0], eax
cmp dword [rsp + 0x54], 0
jne 0x14003a5ca
movsxd rax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x250]
cmp dword [rsp + rax*4 + 0x98], ecx
jge 0x14003a5c2
movsxd rax, dword [rsp + 0x30]
mov edx, dword [rsp + rax*4 + 0x98]
lea rcx, [rsp + 0x250]
call fcn.140038160
movzx eax, ax
add eax, 2
mov dword [rsp + 0x4c], eax
jmp 0x14003a5ca
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x30]
inc eax
cdqe
mov eax, dword [rsp + rax*4 + 0xd0]
add eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x30]
inc ecx
movsxd rcx, ecx
mov dword [rsp + rcx*4 + 0xd0], eax
movsxd rax, dword [rsp + 0x30]
mov eax, dword [rsp + rax*4 + 0x98]
dec eax
movsxd rcx, dword [rsp + 0x30]
mov dword [rsp + rcx*4 + 0x98], eax
jmp 0x14003a4c6
movsxd rax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x250]
cmp dword [rsp + rax*4 + 0x98], ecx
jge 0x14003a70f
movsxd rax, dword [rsp + 0x30]
mov edx, dword [rsp + rax*4 + 0x98]
lea rcx, [rsp + 0x250]
call fcn.140038160
movzx eax, ax
add eax, 2
mov dword [rsp + 0x4c], eax
movsxd rax, dword [rsp + 0x30]
mov eax, dword [rsp + rax*4 + 0xd0]
add eax, dword [rsp + 0x4c]
cmp eax, dword [rsp + 0xc0]
jle 0x14003a666
jmp 0x14003a70f
movsxd rax, dword [rsp + 0x30]
mov eax, dword [rsp + rax*4 + 0xd0]
add eax, dword [rsp + 0x4c]
movsxd rcx, dword [rsp + 0x30]
mov dword [rsp + rcx*4 + 0xd0], eax
movsxd rax, dword [rsp + 0x30]
mov eax, dword [rsp + rax*4 + 0x98]
inc eax
movsxd rcx, dword [rsp + 0x30]
mov dword [rsp + rcx*4 + 0x98], eax
cmp dword [rsp + 0x54], 0
jne 0x14003a6e5
movsxd rax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x250]
cmp dword [rsp + rax*4 + 0x98], ecx
jge 0x14003a6dd
movsxd rax, dword [rsp + 0x30]
mov edx, dword [rsp + rax*4 + 0x98]
lea rcx, [rsp + 0x250]
call fcn.140038160
movzx eax, ax
add eax, 2
mov dword [rsp + 0x4c], eax
jmp 0x14003a6e5
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x30]
inc eax
cdqe
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rsp + rax*4 + 0xd0]
sub eax, ecx
mov ecx, dword [rsp + 0x30]
inc ecx
movsxd rcx, ecx
mov dword [rsp + rcx*4 + 0xd0], eax
jmp 0x14003a60c
movsxd rax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x250]
cmp dword [rsp + rax*4 + 0x98], ecx
jl 0x14003a730
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x14003a785
cmp dword [rsp + 0x30], 0
jle 0x14003a74f
mov eax, dword [rsp + 0x30]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x98]
mov dword [rsp + 0x14c], eax
jmp 0x14003a75a
mov dword [rsp + 0x14c], 0
movsxd rax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x14c]
cmp dword [rsp + rax*4 + 0x98], ecx
jg 0x14003a785
mov ecx, 0x1382b
call fcn.1400ef4a0
mov dword [rsp + 0x2c0], eax
jmp 0x14003b797
jmp 0x14003a4ae
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x30], eax
jmp 0x14003a7a0
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jle 0x14003a9a5
movsxd rax, dword [rsp + 0x30]
mov eax, dword [rsp + rax*4 + 0xd0]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x30]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0xd0]
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0x30]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x98]
dec eax
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
inc eax
sub eax, dword [rsp + 0x54]
mov dword [rsp + 0xb4], eax
mov edx, dword [rsp + 0xb4]
lea rcx, [rsp + 0x250]
call fcn.140038160
mov edx, dword [rsp + 0x78]
lea rcx, [rsp + 0x250]
call fcn.140038160
movzx eax, ax
mov dword [rsp + 0x158], eax
movsxd rax, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0x268]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x154], eax
cmp dword [rsp + 0x90], 0
je 0x14003a8b1
cmp dword [rsp + 0x370], 0
jne 0x14003a8af
mov eax, dword [rsp + 0x34]
dec eax
cmp dword [rsp + 0x30], eax
jne 0x14003a871
mov dword [rsp + 0x150], 0
jmp 0x14003a87c
mov dword [rsp + 0x150], 2
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x154]
lea eax, [rax + rcx + 2]
mov ecx, dword [rsp + 0x150]
mov edx, dword [rsp + 0x158]
add edx, ecx
mov ecx, edx
mov edx, dword [rsp + 0xb8]
sub edx, ecx
mov ecx, edx
cmp eax, ecx
jle 0x14003a8b1
jmp 0x14003a91e
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x154]
lea eax, [rax + rcx + 2]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x158]
add eax, 2
mov ecx, dword [rsp + 0xb8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0x30]
dec eax
cdqe
mov ecx, dword [rsp + 0x78]
mov dword [rsp + rax*4 + 0x98], ecx
mov eax, dword [rsp + 0x78]
dec eax
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0xb4]
dec eax
mov dword [rsp + 0xb4], eax
cmp dword [rsp + 0x78], 0
jge 0x14003a80e
movsxd rax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x90]
mov dword [rsp + rax*4 + 0xd0], ecx
mov eax, dword [rsp + 0x30]
dec eax
cdqe
mov ecx, dword [rsp + 0xb8]
mov dword [rsp + rax*4 + 0xd0], ecx
cmp dword [rsp + 0x30], 1
jle 0x14003a967
mov eax, dword [rsp + 0x30]
sub eax, 2
cdqe
mov eax, dword [rsp + rax*4 + 0x98]
mov dword [rsp + 0x168], eax
jmp 0x14003a972
mov dword [rsp + 0x168], 0
mov eax, dword [rsp + 0x30]
dec eax
cdqe
mov ecx, dword [rsp + 0x168]
cmp dword [rsp + rax*4 + 0x98], ecx
jg 0x14003a9a0
mov ecx, 0x13857
call fcn.1400ef4a0
mov dword [rsp + 0x2c0], eax
jmp 0x14003b797
jmp 0x14003a796
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x308]
mov ecx, 1
imul rcx, rcx, 0
mov rax, qword [rax + 0x50]
movzx eax, byte [rax + rcx]
mov dword [rsp + 0x12c], eax
mov dword [rsp + 0x30], 0
jmp 0x14003a9e2
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jge 0x14003abdd
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jge 0x14003aada
movsxd rax, dword [rsp + 0x30]
movsxd rcx, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x308]
mov qword [rsp + rcx*8 + 0x2e0], rax
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x2e0]
mov qword [rsp + 0x240], rax
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + rax*8 + 0x308], 0
mov rax, qword [rsp + 0x240]
mov rcx, qword [rax + 0x70]
call fcn.140024910
mov dword [rsp + 0x2c0], eax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x358]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x30], eax
jne 0x14003aa82
mov dword [rsp + 0x16c], 1
jmp 0x14003aa8d
mov dword [rsp + 0x16c], 0
mov rax, qword [rsp + 0x240]
mov rcx, qword [rax + 0x70]
call fcn.1400251c0
mov ecx, dword [rsp + 0x16c]
inc ecx
cmp eax, ecx
je 0x14003aac6
cmp dword [rsp + 0x2c0], 0
jne 0x14003aac6
mov ecx, 0x13878
call fcn.1400ef4a0
mov dword [rsp + 0x2c0], eax
cmp dword [rsp + 0x2c0], 0
je 0x14003aad5
jmp 0x14003b797
jmp 0x14003abd8
cmp dword [rsp + 0x370], 0
je 0x14003aaf1
mov dword [rsp + 0x120], 1
jmp 0x14003aaff
mov eax, dword [rsp + 0x2c4]
mov dword [rsp + 0x120], eax
mov byte [rsp + 0x20], 0
mov r9d, dword [rsp + 0x120]
lea r8, [rsp + 0x2c4]
lea rdx, [rsp + 0x240]
mov rcx, qword [rsp + 0x80]
call fcn.140036050
mov dword [rsp + 0x2c0], eax
cmp dword [rsp + 0x2c0], 0
je 0x14003ab3f
jmp 0x14003b797
mov edx, dword [rsp + 0x12c]
mov rcx, qword [rsp + 0x240]
call fcn.14002f810
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x240]
mov qword [rsp + rax*8 + 0x2e0], rcx
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x250]
mov dword [rsp + rax*4 + 0x1e0], ecx
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x14003abd8
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x350]
mov r9d, dword [rax + 4]
mov r8b, 5
mov rax, qword [rsp + 0x240]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
call fcn.14002cb40
cmp dword [rsp + 0x2c0], 0
je 0x14003abd8
jmp 0x14003b797
jmp 0x14003a9d8
mov dword [rsp + 0x30], 0
jmp 0x14003abf1
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x30], eax
jge 0x14003ac19
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x2e0]
movsxd rcx, dword [rsp + 0x30]
mov eax, dword [rax + 4]
mov dword [rsp + rcx*4 + 0x228], eax
jmp 0x14003abe7
mov dword [rsp + 0x30], 0
jmp 0x14003ac2d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x3c]
dec eax
cmp dword [rsp + 0x30], eax
jge 0x14003adc8
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x38], eax
jmp 0x14003ac5b
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x38], eax
jge 0x14003ac91
movsxd rax, dword [rsp + 0x38]
mov rax, qword [rsp + rax*8 + 0x2e0]
movsxd rcx, dword [rsp + 0x60]
mov rcx, qword [rsp + rcx*8 + 0x2e0]
mov ecx, dword [rcx + 4]
cmp dword [rax + 4], ecx
jae 0x14003ac8f
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x60], eax
jmp 0x14003ac51
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x60], eax
je 0x14003adc3
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x2e0]
mov eax, dword [rax + 4]
mov dword [rsp + 0x128], eax
movsxd rax, dword [rsp + 0x60]
mov rax, qword [rsp + rax*8 + 0x2e0]
mov eax, dword [rax + 4]
mov dword [rsp + 0x124], eax
xor edx, edx
mov eax, dword [0x14013d5b8]
mov rcx, qword [rsp + 0x80]
div dword [rcx + 0x34]
inc eax
mov dword [rsp + 0x194], eax
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x2e0]
mov rax, qword [rax + 0x70]
movzx eax, word [rax + 0x34]
mov word [rsp + 0xe8], ax
movsxd rax, dword [rsp + 0x60]
mov rax, qword [rsp + rax*8 + 0x2e0]
mov rax, qword [rax + 0x70]
movzx eax, word [rax + 0x34]
mov word [rsp + 0x8c], ax
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x2e0]
movzx r8d, word [rsp + 0x8c]
mov edx, dword [rsp + 0x194]
mov rcx, qword [rax + 0x70]
call fcn.1400259c0
movsxd rax, dword [rsp + 0x60]
mov rax, qword [rsp + rax*8 + 0x2e0]
movzx r8d, word [rsp + 0xe8]
mov edx, dword [rsp + 0x128]
mov rcx, qword [rax + 0x70]
call fcn.1400259c0
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x2e0]
movzx r8d, word [rsp + 0x8c]
mov edx, dword [rsp + 0x124]
mov rcx, qword [rax + 0x70]
call fcn.1400259c0
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x2e0]
mov ecx, dword [rsp + 0x124]
mov dword [rax + 4], ecx
movsxd rax, dword [rsp + 0x60]
mov rax, qword [rsp + rax*8 + 0x2e0]
mov ecx, dword [rsp + 0x128]
mov dword [rax + 4], ecx
jmp 0x14003ac23
mov eax, dword [rsp + 0x3c]
dec eax
cdqe
mov rax, qword [rsp + rax*8 + 0x2e0]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x1a0]
call fcn.140011da0
mov eax, dword [rsp + 0x12c]
and eax, 8
test eax, eax
jne 0x14003ae89
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x48], eax
je 0x14003ae89
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x3c], eax
jle 0x14003ae24
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x1c8], rax
jmp 0x14003ae34
lea rax, [rsp + 0x308]
mov qword [rsp + 0x1c8], rax
mov eax, dword [rsp + 0x48]
dec eax
cdqe
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x220], rax
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x220]
mov rcx, qword [rcx + 0x50]
mov edx, dword [rsp + 0x3c]
dec edx
movsxd rdx, edx
mov rdx, qword [rsp + rdx*8 + 0x2e0]
mov edi, 1
imul rdi, rdi, 8
mov rdx, qword [rdx + 0x50]
mov eax, dword [rcx + rax]
mov dword [rdx + rdi], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x14003b130
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x2e0]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
movzx eax, word [rax + 0x18]
mov rcx, qword [rsp + 0x110]
movzx ecx, byte [rcx + 0xc]
add eax, ecx
mov dword [rsp + 0xec], eax
mov dword [rsp + 0xbc], 0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x30], 0
jmp 0x14003af0e
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x250]
cmp dword [rsp + 0x30], eax
jge 0x14003b130
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x260]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x188], rax
mov eax, dword [rsp + 0xec]
cmp dword [rsp + 0x30], eax
jne 0x14003aff6
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x70], eax
jge 0x14003af74
movsxd rax, dword [rsp + 0x70]
mov rax, qword [rsp + rax*8 + 0x2e0]
mov qword [rsp + 0x1d0], rax
jmp 0x14003af89
movsxd rax, dword [rsp + 0x70]
mov rax, qword [rsp + rax*8 + 0x308]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x108], rax
cmp dword [rsp + 0x54], 0
jne 0x14003afad
mov dword [rsp + 0x130], 1
jmp 0x14003afb8
mov dword [rsp + 0x130], 0
mov rax, qword [rsp + 0x108]
movzx eax, word [rax + 0x18]
mov rcx, qword [rsp + 0x108]
movzx ecx, byte [rcx + 0xc]
mov edx, dword [rsp + 0x130]
add edx, eax
mov eax, edx
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xec]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xec], eax
jmp 0x14003af38
movsxd rax, dword [rsp + 0xbc]
mov eax, dword [rsp + rax*4 + 0x98]
cmp dword [rsp + 0x30], eax
jne 0x14003b03f
mov eax, dword [rsp + 0xbc]
inc eax
mov dword [rsp + 0xbc], eax
movsxd rax, dword [rsp + 0xbc]
mov rax, qword [rsp + rax*8 + 0x2e0]
mov qword [rsp + 0x110], rax
cmp dword [rsp + 0x54], 0
jne 0x14003b03f
jmp 0x14003af04
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x70], eax
jge 0x14003b092
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x110]
mov eax, dword [rsp + rax*4 + 0x228]
cmp dword [rcx + 4], eax
jne 0x14003b092
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x50]
cmp qword [rsp + 0x188], rax
jb 0x14003b092
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x58]
cmp qword [rsp + 0x188], rax
jb 0x14003b12b
movzx eax, word [rsp + 0x40]
test eax, eax
jne 0x14003b0d3
mov rcx, qword [rsp + 0x188]
call fcn.140011d60
lea rcx, [rsp + 0x2c0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x110]
mov r9d, dword [rcx + 4]
mov r8b, 5
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.14002cb40
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x250]
call fcn.140038160
movzx eax, ax
mov rcx, qword [rsp + 0x110]
movzx ecx, word [rcx + 0x10]
cmp eax, ecx
jle 0x14003b11c
lea r9, [rsp + 0x2c0]
mov r8, qword [rsp + 0x188]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x110]
call fcn.14002db30
cmp dword [rsp + 0x2c0], 0
je 0x14003b12b
jmp 0x14003b797
jmp 0x14003af04
mov dword [rsp + 0x30], 0
jmp 0x14003b144
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x3c]
dec eax
cmp dword [rsp + 0x30], eax
jge 0x14003b3ef
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x2e0]
mov qword [rsp + 0x160], rax
movsxd rax, dword [rsp + 0x30]
mov eax, dword [rsp + rax*4 + 0x98]
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x260]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0xc8], rax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x268]
movzx eax, word [rcx + rax*2]
movzx ecx, word [rsp + 0x40]
add eax, ecx
mov dword [rsp + 0x94], eax
movsxd rax, dword [rsp + 0xf0]
mov rcx, qword [rsp + 0x360]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x160]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x14003b206
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x50]
mov rdx, qword [rsp + 0xc8]
mov edx, dword [rdx]
mov dword [rcx + rax], edx
jmp 0x14003b2e8
cmp dword [rsp + 0x54], 0
je 0x14003b299
mov eax, dword [rsp + 0x38]
dec eax
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
lea r8, [rsp + 0x2c8]
mov rcx, qword [rsp + 0x260]
mov rdx, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x160]
mov rax, qword [rsp + 0x160]
call qword [rax + 0x80]
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0xc8], rax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x2c8]
mov rcx, rax
call fcn.1400116a0
add eax, 4
mov dword [rsp + 0x94], eax
mov qword [rsp + 0x1a8], 0
jmp 0x14003b2e8
mov rax, qword [rsp + 0xc8]
sub rax, 4
mov qword [rsp + 0xc8], rax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x268]
movzx eax, word [rcx + rax*2]
cmp eax, 4
jne 0x14003b2e8
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x350]
mov rax, qword [rsp + 0x350]
call qword [rax + 0x78]
movzx eax, ax
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x94]
mov ecx, dword [rsp + 0xf0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xf0], eax
mov dword [rsp + 0x34], 0
jmp 0x14003b315
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 6
jge 0x14003b330
movsxd rax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x38]
cmp dword [rsp + rax*4 + 0x2a0], ecx
jg 0x14003b330
jmp 0x14003b30b
movsxd rax, dword [rsp + 0x34]
mov rax, qword [rsp + rax*8 + 0x270]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
cmp qword [rsp + 0xc8], rax
jae 0x14003b38d
movsxd rax, dword [rsp + 0x94]
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x1d8]
jbe 0x14003b38d
mov ecx, 0x13943
call fcn.1400ef4a0
mov dword [rsp + 0x2c0], eax
jmp 0x14003b797
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x160]
mov ecx, dword [rcx + 4]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x1a8]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x94]
mov r8, qword [rsp + 0xc8]
mov edx, eax
mov rcx, qword [rsp + 0x350]
call fcn.140037ad0
mov dword [rsp + 0x2c0], eax
cmp dword [rsp + 0x2c0], 0
je 0x14003b3ea
jmp 0x14003b797
jmp 0x14003b13a
mov eax, 1
sub eax, dword [rsp + 0x3c]
mov dword [rsp + 0x30], eax
jmp 0x14003b408
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x30], eax
jge 0x14003b60c
cmp dword [rsp + 0x30], 0
jge 0x14003b42c
mov eax, dword [rsp + 0x30]
neg eax
mov dword [rsp + 0x134], eax
jmp 0x14003b437
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x134], eax
mov eax, dword [rsp + 0x134]
mov dword [rsp + 0x44], eax
movsxd rax, dword [rsp + 0x44]
movzx eax, byte [rsp + rax + 0x320]
test eax, eax
je 0x14003b455
jmp 0x14003b3fe
cmp dword [rsp + 0x30], 0
jge 0x14003b481
mov eax, dword [rsp + 0x44]
dec eax
cdqe
mov ecx, dword [rsp + 0x44]
dec ecx
movsxd rcx, ecx
mov ecx, dword [rsp + rcx*4 + 0x98]
cmp dword [rsp + rax*4 + 0x1e0], ecx
jl 0x14003b607
cmp dword [rsp + 0x44], 0
jne 0x14003b4bd
mov dword [rsp + 0xf8], 0
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0xf4], eax
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x98]
mov dword [rsp + 0x144], eax
jmp 0x14003b579
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x44], eax
jge 0x14003b505
cmp dword [rsp + 0x54], 0
jne 0x14003b4db
mov dword [rsp + 0x138], 1
jmp 0x14003b4e6
mov dword [rsp + 0x138], 0
mov eax, dword [rsp + 0x44]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x1e0]
add eax, dword [rsp + 0x138]
mov dword [rsp + 0x13c], eax
jmp 0x14003b513
mov eax, dword [rsp + 0x250]
mov dword [rsp + 0x13c], eax
mov eax, dword [rsp + 0x13c]
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0x54], 0
jne 0x14003b535
mov dword [rsp + 0x140], 1
jmp 0x14003b540
mov dword [rsp + 0x140], 0
mov eax, dword [rsp + 0x44]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x98]
add eax, dword [rsp + 0x140]
mov dword [rsp + 0xf4], eax
movsxd rax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0xf4]
mov eax, dword [rsp + rax*4 + 0x98]
sub eax, ecx
mov dword [rsp + 0x144], eax
movsxd rax, dword [rsp + 0x44]
lea rcx, [rsp + 0x250]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x144]
mov r8d, dword [rsp + 0xf4]
mov edx, dword [rsp + 0xf8]
mov rcx, qword [rsp + rax*8 + 0x2e0]
call fcn.140038be0
mov dword [rsp + 0x2c0], eax
cmp dword [rsp + 0x2c0], 0
je 0x14003b5c5
jmp 0x14003b797
movsxd rax, dword [rsp + 0x44]
movzx eax, byte [rsp + rax + 0x320]
inc al
movsxd rcx, dword [rsp + 0x44]
mov byte [rsp + rcx + 0x320], al
movsxd rax, dword [rsp + 0x44]
mov eax, dword [rsp + rax*4 + 0xd0]
mov ecx, dword [rsp + 0xc0]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x44]
mov rcx, qword [rsp + rcx*8 + 0x2e0]
mov dword [rcx + 0x14], eax
jmp 0x14003b3fe
cmp dword [rsp + 0x368], 0
je 0x14003b6bb
mov rax, qword [rsp + 0x350]
movzx eax, word [rax + 0x18]
test eax, eax
jne 0x14003b6bb
mov rax, qword [rsp + 0x350]
movzx eax, byte [rax + 9]
mov ecx, 8
imul rcx, rcx, 0
mov rcx, qword [rsp + rcx + 0x2e0]
cmp eax, dword [rcx + 0x14]
jg 0x14003b6bb
mov eax, 8
imul rax, rax, 0
mov edx, 0xffffffff
mov rcx, qword [rsp + rax + 0x2e0]
call fcn.14002dc40
mov dword [rsp + 0x2c0], eax
mov eax, 8
imul rax, rax, 0
lea r8, [rsp + 0x2c0]
mov rdx, qword [rsp + 0x350]
mov rcx, qword [rsp + rax + 0x2e0]
call fcn.140039610
mov eax, 8
imul rax, rax, 0
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + rax + 0x2e0]
call fcn.140037040
jmp 0x14003b75d
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x14003b75d
movzx eax, word [rsp + 0x40]
test eax, eax
jne 0x14003b75d
mov dword [rsp + 0x30], 0
jmp 0x14003b6f0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x30], eax
jge 0x14003b75d
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x2e0]
mov ecx, 1
imul rcx, rcx, 8
add rcx, qword [rax + 0x50]
mov rax, rcx
mov rcx, rax
call fcn.140011d60
mov dword [rsp + 0x198], eax
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x2e0]
lea rcx, [rsp + 0x2c0]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rax + 4]
mov r8b, 5
mov edx, dword [rsp + 0x198]
mov rcx, qword [rsp + 0x80]
call fcn.14002cb40
jmp 0x14003b6e6
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x30], eax
jmp 0x14003b771
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jge 0x14003b797
movsxd rax, dword [rsp + 0x30]
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + rax*8 + 0x308]
call fcn.140037040
jmp 0x14003b767
mov rdx, qword [rsp + 0x260]
xor ecx, ecx
call fcn.140007a90
mov dword [rsp + 0x30], 0
jmp 0x14003b7ba
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jge 0x14003b7d8
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + rax*8 + 0x308]
call fcn.14002fd00
jmp 0x14003b7b0
mov dword [rsp + 0x30], 0
jmp 0x14003b7ec
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x30], eax
jge 0x14003b80a
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + rax*8 + 0x2e0]
call fcn.14002fd00
jmp 0x14003b7e2
mov eax, dword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x328]
xor rcx, rsp
call fcn.140124a90
add rsp, 0x338
pop rdi
pop rsi
ret