Function at 0x14002f9b8
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
sub rsp, 0x2f8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0xb8], 0
mov dword [rsp + 0xec], 0
mov r8d, 5
xor edx, edx
lea rcx, [rsp + 0x2c8]
call qword [sym.imp.MSVCR120.dll_memset]
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x300]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0x310], 0
jne 0x14002fa68
mov eax, 7
jmp 0x140031876
mov rax, qword [rsp + 0x300]
movzx eax, byte [rax + 1]
mov rcx, qword [rsp + 0x300]
movzx ecx, word [rcx + 0x12]
add eax, ecx
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 2
jge 0x14002fa97
mov dword [rsp + 0x68], 0
jmp 0x14002faea
cmp dword [rsp + 0x308], 0
jne 0x14002faab
mov dword [rsp + 0x68], 0
jmp 0x14002fada
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x308], eax
jne 0x14002facd
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x320]
lea eax, [rax + rcx - 2]
mov dword [rsp + 0x68], eax
jmp 0x14002fada
mov eax, dword [rsp + 0x308]
dec eax
mov dword [rsp + 0x68], eax
mov eax, 2
sub eax, dword [rsp + 0x320]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x300]
movzx ecx, byte [rcx + 1]
sub eax, ecx
mov rcx, qword [rsp + 0x300]
movzx ecx, word [rcx + 0x12]
cmp eax, ecx
jne 0x14002fb4b
mov rax, qword [rsp + 0x300]
movzx eax, byte [rax + 5]
add eax, 8
cdqe
mov rcx, qword [rsp + 0x300]
mov rcx, qword [rcx + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1a8], rax
jmp 0x14002fba5
mov rax, qword [rsp + 0x300]
movzx eax, word [rax + 0x14]
mov ecx, dword [rsp + 0x68]
mov edx, dword [rsp + 0x40]
add edx, ecx
mov ecx, edx
mov rdx, qword [rsp + 0x300]
movzx edx, byte [rdx + 1]
sub ecx, edx
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x300]
mov rdx, qword [rdx + 0x60]
movzx ecx, word [rdx + rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x300]
add rax, qword [rcx + 0x50]
mov qword [rsp + 0x1a8], rax
mov rcx, qword [rsp + 0x1a8]
call fcn.14000f070
mov dword [rsp + 0x74], eax
xor eax, eax
cmp eax, 1
je 0x14002ff1a
movsxd rax, dword [rsp + 0x40]
lea rax, [rsp + rax*8 + 0x240]
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xb0]
call fcn.1400276f0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x14002fc1c
mov eax, dword [rsp + 0x40]
inc eax
cdqe
shl rax, 3
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0x240]
call qword [sym.imp.MSVCR120.dll_memset]
jmp 0x140031801
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x240]
movzx eax, word [rax + 0x12]
movsxd rcx, dword [rsp + 0x40]
mov rcx, qword [rsp + rcx*8 + 0x240]
movzx ecx, byte [rcx + 1]
add ecx, dword [rsp + 0x70]
lea eax, [rcx + rax + 1]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x1a0], eax
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x1a0], 0
jne 0x14002fc6e
jmp 0x14002ff1a
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x300]
movzx ecx, word [rdx + rcx + 0x16]
cmp eax, ecx
jne 0x14002fd21
mov rax, qword [rsp + 0x300]
movzx eax, byte [rax + 1]
test eax, eax
je 0x14002fd21
mov eax, 8
imul rax, rax, 0
movsxd rcx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x300]
mov rax, qword [rdx + rax + 0x20]
mov qword [rsp + rcx*8 + 0x160], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x160]
call fcn.14000f070
mov dword [rsp + 0x74], eax
movsxd rax, dword [rsp + 0x40]
mov rdx, qword [rsp + rax*8 + 0x160]
mov rcx, qword [rsp + 0x300]
mov rax, qword [rsp + 0x300]
call qword [rax + 0x78]
movsxd rcx, dword [rsp + 0x40]
movzx eax, ax
mov dword [rsp + rcx*4 + 0x228], eax
mov rax, qword [rsp + 0x300]
mov byte [rax + 1], 0
jmp 0x14002ff15
mov rax, qword [rsp + 0x300]
movzx eax, word [rax + 0x14]
mov ecx, dword [rsp + 0x68]
mov edx, dword [rsp + 0x40]
add edx, ecx
mov ecx, edx
mov rdx, qword [rsp + 0x300]
movzx edx, byte [rdx + 1]
sub ecx, edx
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x300]
mov rdx, qword [rdx + 0x60]
movzx ecx, word [rdx + rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x300]
add rax, qword [rcx + 0x50]
movsxd rcx, dword [rsp + 0x40]
mov qword [rsp + rcx*8 + 0x160], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x160]
call fcn.14000f070
mov dword [rsp + 0x74], eax
movsxd rax, dword [rsp + 0x40]
mov rdx, qword [rsp + rax*8 + 0x160]
mov rcx, qword [rsp + 0x300]
mov rax, qword [rsp + 0x300]
call qword [rax + 0x78]
movsxd rcx, dword [rsp + 0x40]
movzx eax, ax
mov dword [rsp + rcx*4 + 0x228], eax
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 0x26]
and eax, 4
test eax, eax
je 0x14002feda
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x300]
mov ecx, dword [rcx + 0x50]
mov eax, dword [rsp + rax*8 + 0x160]
sub eax, ecx
mov dword [rsp + 0x118], eax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x228]
mov ecx, dword [rsp + 0x118]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xb0]
cmp eax, dword [rcx + 0x34]
jle 0x14002fe57
mov ecx, 0xff43
call fcn.1400afe08
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x40]
inc eax
cdqe
shl rax, 3
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0x240]
call qword [sym.imp.MSVCR120.dll_memset]
jmp 0x140031801
movsxd rax, dword [rsp + 0x40]
movsxd rax, dword [rsp + rax*4 + 0x228]
movsxd rcx, dword [rsp + 0x40]
movsxd rdx, dword [rsp + 0x118]
mov r8, qword [rsp + 0x310]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x1e8], rdx
mov r8, rax
mov rdx, qword [rsp + rcx*8 + 0x160]
mov rax, qword [rsp + 0x1e8]
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_memcpy]
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x300]
mov rcx, qword [rcx + 0x50]
mov rax, qword [rsp + rax*8 + 0x160]
sub rax, rcx
mov rcx, qword [rsp + 0x310]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x40]
mov qword [rsp + rcx*8 + 0x160], rax
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x68]
mov edx, dword [rsp + 0x40]
add edx, ecx
mov ecx, edx
mov rdx, qword [rsp + 0x300]
movzx edx, byte [rdx + 1]
sub ecx, edx
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + rax*4 + 0x228]
mov edx, ecx
mov rcx, qword [rsp + 0x300]
call fcn.14002e104
jmp 0x14002fbb6
mov eax, dword [rsp + 0x70]
add eax, 3
and eax, 0xfffffffc
mov dword [rsp + 0x70], eax
movsxd rax, dword [rsp + 0x70]
movsxd rcx, dword [rsp + 0x70]
shl rcx, 1
lea rax, [rcx + rax*8]
mov rcx, qword [rsp + 0xb0]
mov ecx, dword [rcx + 0x30]
add rax, rcx
mov dword [rsp + 0x190], eax
mov ecx, dword [rsp + 0x190]
call fcn.140008778
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x14002ff7a
mov dword [rsp + 0x44], 7
jmp 0x140031801
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x98]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x1c0], rax
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x240]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 4]
shl eax, 2
mov word [rsp + 0x54], ax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 3]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x40], 0
jmp 0x14002fffd
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x1400304aa
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x240]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 0x12]
mov dword [rsp + 0xf8], eax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 0x14]
mov word [rsp + 0xc0], ax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 0xe]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx + 0x50]
movzx eax, byte [rcx + rax]
mov ecx, 8
imul rcx, rcx, 0
mov rcx, qword [rsp + rcx + 0x240]
mov edx, 1
imul rdx, rdx, 0
mov rcx, qword [rcx + 0x50]
movzx ecx, byte [rcx + rdx]
cmp eax, ecx
je 0x1400300cf
mov ecx, 0xff86
call fcn.1400afe08
mov dword [rsp + 0x44], eax
jmp 0x140031801
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 1]
mov ecx, dword [rsp + 0xf8]
add ecx, eax
mov eax, ecx
cdqe
shl rax, 1
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x98]
lea rcx, [rdx + rcx*2]
mov r8, rax
xor edx, edx
call qword [sym.imp.MSVCR120.dll_memset]
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 1]
test eax, eax
jle 0x140030220
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xa8]
movzx eax, word [rcx + rax + 0x16]
mov dword [rsp + 0xf8], eax
mov dword [rsp + 0x48], 0
jmp 0x14003014f
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0x48], eax
jge 0x1400301c2
movzx eax, word [rsp + 0xc0]
mov rcx, qword [rsp + 0xf0]
movzx ecx, word [rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov qword [rdx + rcx*8], rax
mov rax, qword [rsp + 0xf0]
add rax, 2
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
jmp 0x140030145
mov dword [rsp + 0x50], 0
jmp 0x1400301d6
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 1]
cmp dword [rsp + 0x50], eax
jge 0x140030220
movsxd rax, dword [rsp + 0x50]
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0xa8]
mov rax, qword [r8 + rax*8 + 0x20]
mov qword [rdx + rcx*8], rax
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
jmp 0x1400301cc
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 0xe]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xa8]
movzx ecx, word [rcx + 0x12]
shl ecx, 1
movsxd rcx, ecx
add rax, rcx
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
cmp qword [rsp + 0xf0], rax
jae 0x1400302ce
movzx eax, word [rsp + 0xc0]
mov rcx, qword [rsp + 0xf0]
movzx ecx, word [rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov qword [rdx + rcx*8], rax
mov rax, qword [rsp + 0xf0]
add rax, 2
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
jmp 0x140030256
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
mov dword [rsp + rax*4 + 0x298], ecx
mov eax, dword [rsp + 0x5c]
dec eax
cmp dword [rsp + 0x40], eax
jge 0x1400304a5
cmp dword [rsp + 0x64], 0
jne 0x1400304a5
movsxd rax, dword [rsp + 0x40]
movzx eax, word [rsp + rax*4 + 0x228]
mov word [rsp + 0xa4], ax
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
movzx edx, word [rsp + 0xa4]
mov word [rcx + rax*2], dx
movsxd rax, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0x1c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1b8], rax
movzx eax, word [rsp + 0xa4]
mov ecx, dword [rsp + 0xb8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xb8], eax
movzx eax, word [rsp + 0xa4]
movsxd rcx, dword [rsp + 0x40]
mov r8d, eax
mov rdx, qword [rsp + rcx*8 + 0x160]
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.MSVCR120.dll_memcpy]
movzx eax, word [rsp + 0x54]
mov rcx, qword [rsp + 0x1b8]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov qword [rdx + rcx*8], rax
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
movzx ecx, word [rsp + 0x54]
sub eax, ecx
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x98]
mov word [rdx + rcx*2], ax
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 4]
test eax, eax
jne 0x14003042b
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0xa8]
add rax, qword [rcx + 0x50]
movsxd rcx, dword [rsp + 0x80]
mov r8d, 4
mov rdx, rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + rcx*8]
call qword [sym.imp.MSVCR120.dll_memcpy]
jmp 0x140030495
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
cmp eax, 4
jge 0x140030495
movsxd rax, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0x1c0]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0xb8]
inc eax
mov dword [rsp + 0xb8], eax
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
inc ax
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x98]
mov word [rdx + rcx*2], ax
jmp 0x14003042b
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
jmp 0x14002fff3
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x34]
movzx ecx, word [rsp + 0x54]
lea eax, [rax + rcx - 0xc]
mov dword [rsp + 0xd0], eax
mov dword [rsp + 0x40], 0
jmp 0x1400304d9
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x1400305db
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x240]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0x10]
mov ecx, dword [rsp + 0xd0]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x228], eax
movsxd rax, dword [rsp + 0x40]
cmp dword [rsp + rax*4 + 0x228], 0
jge 0x140030541
mov ecx, 0xffe8
call fcn.1400afe08
mov dword [rsp + 0x44], eax
jmp 0x140031801
mov dword [rsp + 0x48], 0
jmp 0x140030555
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
cmp dword [rsp + 0x48], eax
jge 0x1400305be
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + 0x1d8], rax
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x120]
mov rdx, qword [rdx + rcx*8 + 0x20]
mov rcx, qword [rsp + 0x120]
mov r8, qword [rsp + 0x120]
call qword [r8 + 0x78]
movzx eax, ax
mov rcx, qword [rsp + 0x1d8]
mov ecx, dword [rsp + rcx*4 + 0x228]
lea eax, [rax + rcx + 2]
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x228], eax
jmp 0x14003054b
movsxd rax, dword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x298]
mov dword [rsp + rcx*4 + 0x210], eax
jmp 0x1400304cf
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x40], 0
jmp 0x1400305f7
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x1400308c3
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0xd0]
cmp dword [rsp + rax*4 + 0x228], ecx
jle 0x140030748
mov eax, dword [rsp + 0x40]
inc eax
cmp eax, dword [rsp + 0x50]
jl 0x140030678
mov eax, dword [rsp + 0x40]
add eax, 2
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 5
jle 0x14003064f
mov ecx, 0xfff4
call fcn.1400afe08
mov dword [rsp + 0x44], eax
jmp 0x140031801
mov eax, dword [rsp + 0x50]
dec eax
cdqe
mov dword [rsp + rax*4 + 0x228], 0
mov eax, dword [rsp + 0x50]
dec eax
cdqe
mov ecx, dword [rsp + 0x80]
mov dword [rsp + rax*4 + 0x210], ecx
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x210]
dec eax
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.14002e778
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x60]
mov eax, dword [rsp + rax*4 + 0x228]
sub eax, ecx
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x228], eax
cmp dword [rsp + 0x64], 0
jne 0x140030706
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x210], ecx
jge 0x1400306fe
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x210]
lea rcx, [rsp + 0x80]
call fcn.14002e778
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
jmp 0x140030706
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x40]
inc eax
cdqe
mov eax, dword [rsp + rax*4 + 0x228]
add eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x40]
inc ecx
movsxd rcx, ecx
mov dword [rsp + rcx*4 + 0x228], eax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x210]
dec eax
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x210], eax
jmp 0x140030605
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x210], ecx
jge 0x14003084b
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x210]
lea rcx, [rsp + 0x80]
call fcn.14002e778
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x228]
add eax, dword [rsp + 0x60]
cmp eax, dword [rsp + 0xd0]
jle 0x1400307a2
jmp 0x14003084b
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x228]
add eax, dword [rsp + 0x60]
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x228], eax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x210]
inc eax
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x210], eax
cmp dword [rsp + 0x64], 0
jne 0x140030821
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x210], ecx
jge 0x140030819
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x210]
lea rcx, [rsp + 0x80]
call fcn.14002e778
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
jmp 0x140030821
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x40]
inc eax
cdqe
mov ecx, dword [rsp + 0x60]
mov eax, dword [rsp + rax*4 + 0x228]
sub eax, ecx
mov ecx, dword [rsp + 0x40]
inc ecx
movsxd rcx, ecx
mov dword [rsp + rcx*4 + 0x228], eax
jmp 0x140030748
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x210], ecx
jl 0x14003086c
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x50], eax
jmp 0x1400308be
cmp dword [rsp + 0x40], 0
jle 0x14003088b
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x210]
mov dword [rsp + 0x158], eax
jmp 0x140030896
mov dword [rsp + 0x158], 0
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x158]
cmp dword [rsp + rax*4 + 0x210], ecx
jg 0x1400308be
mov ecx, 0x10015
call fcn.1400afe08
mov dword [rsp + 0x44], eax
jmp 0x140031801
jmp 0x1400305ed
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x1400308d9
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jle 0x140030ae3
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x228]
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x228]
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x210]
dec eax
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
inc eax
sub eax, dword [rsp + 0x64]
mov dword [rsp + 0xc4], eax
mov edx, dword [rsp + 0xc4]
lea rcx, [rsp + 0x80]
call fcn.14002e778
mov edx, dword [rsp + 0x78]
lea rcx, [rsp + 0x80]
call fcn.14002e778
cmp dword [rsp + 0xbc], 0
je 0x1400309db
cmp dword [rsp + 0x320], 0
jne 0x1400309d6
mov eax, dword [rsp + 0x50]
dec eax
cmp dword [rsp + 0x40], eax
jne 0x140030985
mov dword [rsp + 0x138], 0
jmp 0x140030990
mov dword [rsp + 0x138], 2
movsxd rax, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0xbc]
lea eax, [rcx + rax + 2]
movsxd rcx, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x98]
movzx ecx, word [rdx + rcx*2]
add ecx, dword [rsp + 0x138]
mov edx, dword [rsp + 0xcc]
sub edx, ecx
mov ecx, edx
cmp eax, ecx
jle 0x1400309db
jmp 0x140030a5f
movsxd rax, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0xbc]
lea eax, [rcx + rax + 2]
mov dword [rsp + 0xbc], eax
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
add eax, 2
mov ecx, dword [rsp + 0xcc]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov ecx, dword [rsp + 0x78]
mov dword [rsp + rax*4 + 0x210], ecx
mov eax, dword [rsp + 0x78]
dec eax
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0xc4]
dec eax
mov dword [rsp + 0xc4], eax
cmp dword [rsp + 0x78], 0
jge 0x140030947
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0xbc]
mov dword [rsp + rax*4 + 0x228], ecx
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov ecx, dword [rsp + 0xcc]
mov dword [rsp + rax*4 + 0x228], ecx
cmp dword [rsp + 0x40], 1
jle 0x140030aa8
mov eax, dword [rsp + 0x40]
sub eax, 2
cdqe
mov eax, dword [rsp + rax*4 + 0x210]
mov dword [rsp + 0x150], eax
jmp 0x140030ab3
mov dword [rsp + 0x150], 0
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov ecx, dword [rsp + 0x150]
cmp dword [rsp + rax*4 + 0x210], ecx
jg 0x140030ade
mov ecx, 0x1003f
call fcn.1400afe08
mov dword [rsp + 0x44], eax
jmp 0x140031801
jmp 0x1400308cf
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x240]
mov ecx, 1
imul rcx, rcx, 0
mov rax, qword [rax + 0x50]
movzx eax, byte [rax + rcx]
mov dword [rsp + 0x114], eax
mov dword [rsp + 0x40], 0
jmp 0x140030b20
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x140030c9f
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x140030ba8
movsxd rax, dword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x240]
mov qword [rsp + rcx*8 + 0x258], rax
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x258]
mov qword [rsp + 0x130], rax
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + rax*8 + 0x240], 0
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 0x70]
call fcn.14001ea8c
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x44], 0
je 0x140030ba3
jmp 0x140031801
jmp 0x140030c9a
cmp dword [rsp + 0x320], 0
je 0x140030bbf
mov dword [rsp + 0x10c], 1
jmp 0x140030bca
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x10c], eax
mov byte [rsp + 0x20], 0
mov r9d, dword [rsp + 0x10c]
lea r8, [rsp + 0x74]
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0xb0]
call fcn.14002ca28
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140030c01
jmp 0x140031801
mov edx, dword [rsp + 0x114]
mov rcx, qword [rsp + 0x130]
call fcn.140027378
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x130]
mov qword [rsp + rax*8 + 0x258], rcx
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
mov dword [rsp + rax*4 + 0x298], ecx
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x140030c9a
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x300]
mov r9d, dword [rax + 0x88]
mov r8b, 5
mov rax, qword [rsp + 0x130]
mov edx, dword [rax + 0x88]
mov rcx, qword [rsp + 0xb0]
call fcn.140025464
cmp dword [rsp + 0x44], 0
je 0x140030c9a
jmp 0x140031801
jmp 0x140030b16
mov dword [rsp + 0x40], 0
jmp 0x140030cb3
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x140030d6c
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x258]
movsxd rcx, dword [rsp + 0x40]
mov eax, dword [rax + 0x88]
mov dword [rsp + rcx*4 + 0x2b0], eax
movsxd rax, dword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x2b0]
mov dword [rsp + rcx*4 + 0x280], eax
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x258]
mov rax, qword [rax + 0x70]
movsxd rcx, dword [rsp + 0x40]
movzx eax, word [rax + 0x2c]
mov word [rsp + rcx*2 + 0x2d0], ax
mov dword [rsp + 0x48], 0
jmp 0x140030d2e
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x48], eax
jge 0x140030d67
movsxd rax, dword [rsp + 0x48]
movsxd rcx, dword [rsp + 0x40]
mov ecx, dword [rsp + rcx*4 + 0x2b0]
cmp dword [rsp + rax*4 + 0x2b0], ecx
jne 0x140030d65
mov ecx, 0x10089
call fcn.1400afe08
mov dword [rsp + 0x44], eax
jmp 0x140031801
jmp 0x140030d24
jmp 0x140030ca9
mov dword [rsp + 0x40], 0
jmp 0x140030d80
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x140030e7e
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x48], 1
jmp 0x140030daa
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x48], eax
jge 0x140030dd8
movsxd rax, dword [rsp + 0x48]
movsxd rcx, dword [rsp + 0x6c]
mov ecx, dword [rsp + rcx*4 + 0x280]
cmp dword [rsp + rax*4 + 0x280], ecx
jae 0x140030dd6
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x6c], eax
jmp 0x140030da0
movsxd rax, dword [rsp + 0x6c]
mov eax, dword [rsp + rax*4 + 0x280]
mov dword [rsp + 0x74], eax
movsxd rax, dword [rsp + 0x6c]
mov dword [rsp + rax*4 + 0x280], 0xffffffff
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
je 0x140030e79
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
jle 0x140030e3a
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x3c]
mov ecx, dword [rsp + 0x6c]
lea eax, [rax + rcx + 1]
movsxd rcx, dword [rsp + 0x6c]
mov rcx, qword [rsp + rcx*8 + 0x258]
xor r8d, r8d
mov edx, eax
mov rcx, qword [rcx + 0x70]
call fcn.14001f980
movsxd rax, dword [rsp + 0x6c]
movsxd rcx, dword [rsp + 0x40]
mov rcx, qword [rsp + rcx*8 + 0x258]
movzx r8d, word [rsp + rax*2 + 0x2d0]
mov edx, dword [rsp + 0x74]
mov rcx, qword [rcx + 0x70]
call fcn.14001f980
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x258]
mov ecx, dword [rsp + 0x74]
mov dword [rax + 0x88], ecx
jmp 0x140030d76
mov eax, dword [rsp + 0x4c]
dec eax
cdqe
mov rax, qword [rsp + rax*8 + 0x258]
mov edx, dword [rax + 0x88]
mov rcx, qword [rsp + 0x1a8]
call fcn.14000f09c
mov eax, dword [rsp + 0x114]
and eax, 8
test eax, eax
jne 0x140030f4e
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x5c], eax
je 0x140030f4e
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x4c], eax
jle 0x140030edd
lea rax, [rsp + 0x258]
mov qword [rsp + 0x1d0], rax
jmp 0x140030eed
lea rax, [rsp + 0x240]
mov qword [rsp + 0x1d0], rax
mov eax, dword [rsp + 0x5c]
dec eax
cdqe
mov rcx, qword [rsp + 0x1d0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x1e0], rax
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x1e0]
add rax, qword [rcx + 0x50]
mov ecx, dword [rsp + 0x4c]
dec ecx
movsxd rcx, ecx
mov rcx, qword [rsp + rcx*8 + 0x258]
mov edx, 1
imul rdx, rdx, 8
add rdx, qword [rcx + 0x50]
mov rcx, rdx
mov r8d, 4
mov rdx, rax
call qword [sym.imp.MSVCR120.dll_memcpy]
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x14003122d
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x258]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax + 0x12]
mov rcx, qword [rsp + 0xd8]
movzx ecx, byte [rcx + 1]
add eax, ecx
mov dword [rsp + 0xe0], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x1a4], eax
mov dword [rsp + 0xc8], 0
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0x40], 0
jmp 0x140030fec
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x40], eax
jge 0x14003122d
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x178], rax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x40], eax
jne 0x1400310f2
mov eax, dword [rsp + 0xa0]
inc eax
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0xa0], eax
jge 0x14003105e
movsxd rax, dword [rsp + 0xa0]
mov rax, qword [rsp + rax*8 + 0x258]
mov qword [rsp + 0x1c8], rax
jmp 0x140031076
movsxd rax, dword [rsp + 0xa0]
mov rax, qword [rsp + rax*8 + 0x240]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x180], rax
cmp dword [rsp + 0x64], 0
jne 0x14003109a
mov dword [rsp + 0x110], 1
jmp 0x1400310a5
mov dword [rsp + 0x110], 0
mov rax, qword [rsp + 0x180]
movzx eax, word [rax + 0x12]
mov rcx, qword [rsp + 0x180]
movzx ecx, byte [rcx + 1]
mov edx, dword [rsp + 0x110]
add edx, eax
mov eax, edx
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xe0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xe0], eax
mov rax, qword [rsp + 0x180]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x188], rax
movsxd rax, dword [rsp + 0xc8]
mov eax, dword [rsp + rax*4 + 0x210]
cmp dword [rsp + 0x40], eax
jne 0x14003113b
mov eax, dword [rsp + 0xc8]
inc eax
mov dword [rsp + 0xc8], eax
movsxd rax, dword [rsp + 0xc8]
mov rax, qword [rsp + rax*8 + 0x258]
mov qword [rsp + 0xd8], rax
cmp dword [rsp + 0x64], 0
jne 0x14003113b
jmp 0x140030fe2
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0xa0], eax
jge 0x14003119d
movsxd rax, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0xd8]
mov eax, dword [rsp + rax*4 + 0x2b0]
cmp dword [rcx + 0x88], eax
jne 0x14003119d
mov rax, qword [rsp + 0x188]
cmp qword [rsp + 0x178], rax
jb 0x14003119d
movsxd rax, dword [rsp + 0x1a4]
mov rcx, qword [rsp + 0x188]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x178], rax
jb 0x140031228
movzx eax, word [rsp + 0x54]
test eax, eax
jne 0x1400311de
mov rcx, qword [rsp + 0x178]
call fcn.14000f070
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0xd8]
mov r9d, dword [rcx + 0x88]
mov r8b, 5
mov edx, eax
mov rcx, qword [rsp + 0xb0]
call fcn.140025464
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.14002e778
movzx eax, ax
mov rcx, qword [rsp + 0xd8]
movzx ecx, word [rcx + 0xc]
cmp eax, ecx
jle 0x14003121c
lea r8, [rsp + 0x44]
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0xd8]
call fcn.140025de0
cmp dword [rsp + 0x44], 0
je 0x140031228
jmp 0x140031801
jmp 0x140030fe2
mov dword [rsp + 0x40], 0
jmp 0x140031241
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
dec eax
cmp dword [rsp + 0x40], eax
jge 0x14003146d
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x258]
mov qword [rsp + 0x140], rax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x210]
mov dword [rsp + 0x48], eax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x100], rax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
movzx ecx, word [rsp + 0x54]
add eax, ecx
mov dword [rsp + 0xd4], eax
movsxd rax, dword [rsp + 0xec]
mov rcx, qword [rsp + 0x310]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x140]
movzx eax, byte [rax + 4]
test eax, eax
jne 0x14003130d
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x140]
add rax, qword [rcx + 0x50]
mov r8d, 4
mov rdx, qword [rsp + 0x100]
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_memcpy]
jmp 0x1400313ef
cmp dword [rsp + 0x64], 0
je 0x1400313a0
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
movsxd rax, dword [rsp + 0x48]
lea r8, [rsp + 0x1f8]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x140]
mov rax, qword [rsp + 0x140]
call qword [rax + 0x80]
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x100], rax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x100]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x1f8]
mov rcx, rax
call fcn.14000e9e8
add eax, 4
mov dword [rsp + 0xd4], eax
mov qword [rsp + 0x198], 0
jmp 0x1400313ef
mov rax, qword [rsp + 0x100]
sub rax, 4
mov qword [rsp + 0x100], rax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
cmp eax, 4
jne 0x1400313ef
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x300]
mov rax, qword [rsp + 0x300]
call qword [rax + 0x78]
movzx eax, ax
mov dword [rsp + 0xd4], eax
mov eax, dword [rsp + 0xd4]
mov ecx, dword [rsp + 0xec]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xec], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x140]
mov ecx, dword [rcx + 0x88]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x198]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0xd4]
mov r8, qword [rsp + 0x100]
mov edx, eax
mov rcx, qword [rsp + 0x300]
call fcn.14002e3c4
cmp dword [rsp + 0x44], 0
je 0x140031468
jmp 0x140031801
jmp 0x140031237
mov eax, 1
sub eax, dword [rsp + 0x4c]
mov dword [rsp + 0x40], eax
jmp 0x140031486
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x140031684
cmp dword [rsp + 0x40], 0
jge 0x1400314aa
mov eax, dword [rsp + 0x40]
neg eax
mov dword [rsp + 0x154], eax
jmp 0x1400314b5
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x154], eax
mov eax, dword [rsp + 0x154]
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x58]
movzx eax, byte [rsp + rax + 0x2c8]
test eax, eax
je 0x1400314d3
jmp 0x14003147c
cmp dword [rsp + 0x40], 0
jge 0x1400314ff
mov eax, dword [rsp + 0x58]
dec eax
cdqe
mov ecx, dword [rsp + 0x58]
dec ecx
movsxd rcx, ecx
mov ecx, dword [rsp + rcx*4 + 0x210]
cmp dword [rsp + rax*4 + 0x298], ecx
jl 0x14003167f
cmp dword [rsp + 0x58], 0
jne 0x14003153b
mov dword [rsp + 0xe8], 0
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0xe4], eax
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x210]
mov dword [rsp + 0x128], eax
jmp 0x1400315f7
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x58], eax
jge 0x140031583
cmp dword [rsp + 0x64], 0
jne 0x140031559
mov dword [rsp + 0x148], 1
jmp 0x140031564
mov dword [rsp + 0x148], 0
mov eax, dword [rsp + 0x58]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x298]
add eax, dword [rsp + 0x148]
mov dword [rsp + 0x108], eax
jmp 0x140031591
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0xe8], eax
cmp dword [rsp + 0x64], 0
jne 0x1400315b3
mov dword [rsp + 0x14c], 1
jmp 0x1400315be
mov dword [rsp + 0x14c], 0
mov eax, dword [rsp + 0x58]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x210]
add eax, dword [rsp + 0x14c]
mov dword [rsp + 0xe4], eax
movsxd rax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0xe4]
mov eax, dword [rsp + rax*4 + 0x210]
sub eax, ecx
mov dword [rsp + 0x128], eax
movsxd rax, dword [rsp + 0x58]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x128]
mov r8d, dword [rsp + 0xe4]
mov edx, dword [rsp + 0xe8]
mov rcx, qword [rsp + rax*8 + 0x258]
call fcn.14002eef0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x14003163d
jmp 0x140031801
movsxd rax, dword [rsp + 0x58]
mov al, byte [rsp + rax + 0x2c8]
inc al
movsxd rcx, dword [rsp + 0x58]
mov byte [rsp + rcx + 0x2c8], al
movsxd rax, dword [rsp + 0x58]
mov eax, dword [rsp + rax*4 + 0x228]
mov ecx, dword [rsp + 0xd0]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x58]
mov rcx, qword [rsp + rcx*8 + 0x258]
mov word [rcx + 0x10], ax
jmp 0x14003147c
cmp dword [rsp + 0x318], 0
je 0x140031728
mov rax, qword [rsp + 0x300]
movzx eax, word [rax + 0x12]
test eax, eax
jne 0x140031728
mov rax, qword [rsp + 0x300]
movzx eax, byte [rax + 5]
mov ecx, 8
imul rcx, rcx, 0
mov rcx, qword [rsp + rcx + 0x258]
movzx ecx, word [rcx + 0x10]
cmp eax, ecx
jg 0x140031728
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x258]
call fcn.140025e78
mov dword [rsp + 0x44], eax
mov eax, 8
imul rax, rax, 0
lea r8, [rsp + 0x44]
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + rax + 0x258]
call fcn.14002f7fc
mov eax, 8
imul rax, rax, 0
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + rax + 0x258]
call fcn.14002d974
jmp 0x1400317ca
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x1400317ca
movzx eax, word [rsp + 0x54]
test eax, eax
jne 0x1400317ca
mov dword [rsp + 0x40], 0
jmp 0x14003175d
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x1400317ca
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x258]
mov ecx, 1
imul rcx, rcx, 8
add rcx, qword [rax + 0x50]
mov rax, rcx
mov rcx, rax
call fcn.14000f070
mov dword [rsp + 0x1b0], eax
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x258]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rax + 0x88]
mov r8b, 5
mov edx, dword [rsp + 0x1b0]
mov rcx, qword [rsp + 0xb0]
call fcn.140025464
jmp 0x140031753
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x40], eax
jmp 0x1400317de
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x140031801
movsxd rax, dword [rsp + 0x40]
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + rax*8 + 0x240]
call fcn.14002d974
jmp 0x1400317d4
mov rcx, qword [rsp + 0x90]
call fcn.140008860
mov dword [rsp + 0x40], 0
jmp 0x140031822
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x140031840
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x240]
call fcn.140027844
jmp 0x140031818
mov dword [rsp + 0x40], 0
jmp 0x140031854
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x140031872
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x258]
call fcn.140027844
jmp 0x14003184a
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400b0ec0
add rsp, 0x2f8
ret