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

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x78]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x84], 0
cmp qword [rsp + 0x108], 0
jge 0x14013bc3d
mov dword [rsp + 0x30], 0
jmp 0x14013bc53
cmp qword [rsp + 0x108], 0x7fffffff
jle 0x14013bc53
mov dword [rsp + 0x30], 0x7fffffff
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x30], eax
jle 0x14013bd40
cmp dword [rsp + 0x80], 0
jl 0x14013bc7e
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x30], eax
jmp 0x14013bd40
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x7c]
cmp dword [rsp + 0x30], eax
jl 0x14013bd40
mov rax, qword [rsp + 0x100]
mov ecx, dword [rsp + 0x30]
cmp dword [rax + 0x7c], ecx
jge 0x14013bcd7
mov rax, qword [rsp + 0x100]
movsxd rax, dword [rax + 0x7c]
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x14013bcd7
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x7c]
inc eax
mov rcx, qword [rsp + 0x100]
mov dword [rcx + 0x7c], eax
jmp 0x14013bc93
mov rax, qword [rsp + 0x100]
movsxd rax, dword [rax + 0x7c]
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x14013bd40
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x7c]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov ecx, dword [rcx + 0x7c]
mov dword [rax + 0x78], ecx
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x7c]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 8]
and eax, 0xfffffffd
mov rcx, qword [rsp + 0x100]
mov dword [rcx + 8], eax
movsx eax, byte [rsp + 0x110]
test eax, eax
je 0x14013beea
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
cmp rax, qword [rcx + 0x10]
jne 0x14013bdce
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x30], eax
jne 0x14013bd8f
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov ecx, dword [rcx + 0x2c]
mov dword [rax + 0x28], ecx
xor al, al
jmp 0x14013cc2b
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax]
cmp dword [rsp + 0x30], eax
jl 0x14013bdce
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x30], eax
jge 0x14013bdce
jmp 0x14013c056
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
cmp dword [rsp + 0x30], eax
jl 0x14013be04
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x30], eax
jge 0x14013be04
jmp 0x14013c056
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x30], eax
jne 0x14013be63
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
cmp rax, qword [rcx + 0x10]
jne 0x14013be41
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov ecx, dword [rcx + 0x2c]
mov dword [rax + 0x28], ecx
xor al, al
jmp 0x14013cc2b
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x30], eax
jne 0x14013be59
jmp 0x14013c14e
jmp 0x14013c23c
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
cmp rax, qword [rcx + 0x20]
jl 0x14013be89
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
cmp rax, qword [rcx + 0x10]
jl 0x14013be93
jmp 0x14013c2c2
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
movsxd rax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax + 0x84]
mov rcx, qword [rsp + 0x40]
sub eax, dword [rcx + 8]
mov rcx, qword [rsp + 0x100]
mov dword [rcx + 0x28], eax
mov al, 1
jmp 0x14013cc2b
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
cmp rax, qword [rcx + 0x20]
jne 0x14013bf5b
cmp dword [rsp + 0x30], 0
jne 0x14013bf1c
mov rax, qword [rsp + 0x100]
mov dword [rax + 0x28], 0
xor al, al
jmp 0x14013cc2b
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax]
cmp dword [rsp + 0x30], eax
jle 0x14013bf5b
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x30], eax
jg 0x14013bf5b
jmp 0x14013c056
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
cmp dword [rsp + 0x30], eax
jle 0x14013bf91
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x30], eax
jg 0x14013bf91
jmp 0x14013c056
cmp dword [rsp + 0x30], 0
jne 0x14013bfb8
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0
jne 0x14013bfae
jmp 0x14013c14e
jmp 0x14013c23c
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
cmp rax, qword [rcx + 0x20]
jle 0x14013bfde
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
cmp rax, qword [rcx + 0x10]
jle 0x14013bfe8
jmp 0x14013c850
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
movsxd rax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax + 0x84]
mov rcx, qword [rsp + 0x40]
sub eax, dword [rcx + 8]
mov rcx, qword [rsp + 0x100]
mov dword [rcx + 0x28], eax
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x28], 0
jne 0x14013c04f
xor al, al
jmp 0x14013cc2b
mov al, 1
jmp 0x14013cc2b
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x50]
mov qword [rax + 0x58], rcx
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x50], rcx
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 8]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax*2 + 0x18]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 8]
mov eax, dword [rax + 0xc]
sub eax, ecx
mov rcx, qword [rsp + 0x100]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
movsxd rax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax + 0x84]
mov rcx, qword [rsp + 0x40]
sub eax, dword [rcx + 8]
mov rcx, qword [rsp + 0x100]
mov dword [rcx + 0x28], eax
mov al, 1
jmp 0x14013cc2b
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x50]
mov qword [rax + 0x58], rcx
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x50], rcx
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 8]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax*2 + 0x18]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 8]
mov eax, dword [rax + 0xc]
sub eax, ecx
mov rcx, qword [rsp + 0x100]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x30], eax
jne 0x14013c226
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov ecx, dword [rcx + 0x2c]
mov dword [rax + 0x28], ecx
jmp 0x14013c235
mov rax, qword [rsp + 0x100]
mov dword [rax + 0x28], 0
xor al, al
jmp 0x14013cc2b
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x14], ecx
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 0x60], 0
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 0x84], 0
jmp 0x14013c14e
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + rax]
and eax, 0xc0
cmp eax, 0x80
jne 0x14013c2f1
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1400f3530
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x50]
mov qword [rax + 0x58], rcx
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x50], rcx
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x78]
mov dword [rsp + 0x70], eax
mov byte [rsp + 0x55], 0
cmp dword [rsp + 0x70], 0
jge 0x14013c353
mov dword [rsp + 0x70], 0x7fffffff
mov byte [rsp + 0x55], 1
mov rax, qword [rsp + 0x68]
add rax, 0x18
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x68]
add rax, 0x60
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x68]
add rax, 0x84
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x54], 0
mov dword [rsp + 0x48], 0
cmp dword [rsp + 0x38], 0x20
jge 0x14013c6f2
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jle 0x14013c43c
cmp dword [rsp + 0x48], 0x80
jge 0x14013c43c
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xa0]
movzx edx, word [rsp + 0x48]
mov word [rcx + rax*2], dx
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0xb8]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0xd0]
movzx edx, byte [rsp + 0x38]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
jmp 0x14013c6e1
movsx eax, byte [rsp + 0x54]
test eax, eax
jne 0x14013c456
mov byte [rsp + 0x54], 1
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x10], ecx
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0xc8], eax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x48], 0x80
jl 0x14013c5c6
cmp dword [rsp + 0x48], 0xe0
jle 0x14013c544
cmp dword [rsp + 0x48], 0xec
jg 0x14013c544
mov eax, dword [rsp + 0x34]
inc eax
cmp eax, dword [rsp + 0x70]
jl 0x14013c4d0
cmp dword [rsp + 0x70], 0
jge 0x14013c544
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + rax]
sub eax, 0x80
mov byte [rsp + 0x3c], al
movzx eax, byte [rsp + 0x3c]
cmp eax, 0x3f
jg 0x14013c544
mov eax, dword [rsp + 0x34]
inc eax
cdqe
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + rax]
sub eax, 0x80
mov byte [rsp + 0x56], al
movzx eax, byte [rsp + 0x56]
cmp eax, 0x3f
jg 0x14013c544
mov eax, dword [rsp + 0x48]
shl eax, 0xc
movzx ecx, byte [rsp + 0x3c]
shl ecx, 6
or eax, ecx
movzx ecx, byte [rsp + 0x56]
or eax, ecx
movzx eax, ax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x34]
add eax, 2
mov dword [rsp + 0x34], eax
jmp 0x14013c5c6
cmp dword [rsp + 0x48], 0xe0
jge 0x14013c5a4
cmp dword [rsp + 0x48], 0xc2
jl 0x14013c5a4
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x34], eax
je 0x14013c5a4
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + rax]
sub eax, 0x80
mov byte [rsp + 0x3c], al
movzx eax, byte [rsp + 0x3c]
cmp eax, 0x3f
jg 0x14013c5a4
mov eax, dword [rsp + 0x48]
and eax, 0x1f
shl eax, 6
movzx ecx, byte [rsp + 0x3c]
or eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x14013c5c6
mov byte [rsp + 0x20], 0xfd
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x70]
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0x78]
call fcn.1400f36b0
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x14013c5e5
movsx eax, byte [rsp + 0x55]
test eax, eax
je 0x14013c5e5
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
jmp 0x14013c6f2
cmp dword [rsp + 0x48], 0xffff
ja 0x14013c611
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xa0]
movzx edx, word [rsp + 0x48]
mov word [rcx + rax*2], dx
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
jmp 0x14013c661
mov eax, dword [rsp + 0x48]
sar eax, 0xa
add eax, 0xd7c0
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0xa0]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x48]
and eax, 0x3ff
or eax, 0xdc00
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0xa0]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x8c]
mov rdx, qword [rsp + 0xb8]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x8c]
inc eax
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x8c], eax
jl 0x14013c661
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0xd0]
movzx edx, byte [rsp + 0xc8]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x88], eax
jl 0x14013c6a0
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x34], eax
jl 0x14013c6ed
jmp 0x14013c6f2
jmp 0x14013c3a5
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0xb8]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0xd0]
movzx edx, byte [rsp + 0x38]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x34]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x68]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0xc], ecx
movsx eax, byte [rsp + 0x54]
test eax, eax
jne 0x14013c770
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx]
mov dword [rax + 0x14], ecx
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x100]
mov dword [rax + 0x28], 0
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0x2c], ecx
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 0x1c], ecx
movsx eax, byte [rsp + 0x55]
test eax, eax
je 0x14013c849
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x7c]
cmp dword [rsp + 0x34], eax
jle 0x14013c849
mov rax, qword [rsp + 0x100]
mov ecx, dword [rsp + 0x34]
mov dword [rax + 0x7c], ecx
cmp dword [rsp + 0x48], 0
jne 0x14013c849
mov rax, qword [rsp + 0x100]
mov ecx, dword [rsp + 0x34]
mov dword [rax + 0x78], ecx
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 8]
and eax, 0xfffffffd
mov rcx, qword [rsp + 0x100]
mov dword [rcx + 8], eax
mov al, 1
jmp 0x14013cc2b
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x78]
cmp dword [rsp + 0x30], eax
je 0x14013c890
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + rax]
and eax, 0xc0
cmp eax, 0x80
jne 0x14013c890
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1400f3530
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x50]
mov qword [rax + 0x58], rcx
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x50], rcx
mov rax, qword [rsp + 0x60]
add rax, 0x18
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x60]
add rax, 0x60
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x60]
add rax, 0x84
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x30]
sub eax, 0x61
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x4c], 0x22
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x98]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0xc0]
movzx edx, byte [rsp + 0x4c]
mov byte [rcx + rax], dl
cmp dword [rsp + 0x4c], 2
jle 0x14013cb43
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
cmp eax, 5
jle 0x14013cb43
cmp dword [rsp + 0x50], 0
jle 0x14013cb43
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x4c]
dec eax
mov dword [rsp + 0x4c], eax
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0x80
jge 0x14013ca0f
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0xa8]
movzx edx, word [rsp + 0x5c]
mov word [rcx + rax*2], dx
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0xc0]
movzx edx, byte [rsp + 0x4c]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x98]
mov byte [rdx + rcx], al
jmp 0x14013cb3e
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x90], eax
mov byte [rsp + 0x20], 0xfd
mov r9d, dword [rsp + 0x5c]
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1400f3a00
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0x10000
jge 0x14013ca77
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0xa8]
movzx edx, word [rsp + 0x5c]
mov word [rcx + rax*2], dx
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x98]
mov byte [rdx + rcx], al
jmp 0x14013caf5
mov eax, dword [rsp + 0x5c]
and eax, 0x3ff
or eax, 0xdc00
movsxd rcx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0xa8]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x98]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x4c]
dec eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x5c]
sar eax, 0xa
add eax, 0xd7c0
movsxd rcx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0xa8]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x98]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x90]
sub ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0xc0]
movzx edx, byte [rsp + 0x4c]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x90]
dec eax
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x90], eax
jge 0x14013caf5
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0xb0], eax
jmp 0x14013c95f
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x50]
mov dword [rax], ecx
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x60]
mov dword [rax + 0xc], 0x22
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0xb0]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x14], ecx
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 8]
mov rcx, qword [rsp + 0xa8]
lea rax, [rcx + rax*2]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 8]
mov eax, dword [rax + 0xc]
sub eax, ecx
mov rcx, qword [rsp + 0x100]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov ecx, dword [rcx + 0x2c]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 0x1c], ecx
mov al, 1
add rsp, 0xf8
ret