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

Disassembly:
mov word [rsp + 0x20], r9w
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x14026b8a0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xd0], 0
mov rax, qword [rsp + 0x180]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x30], 0
je 0x14013a366
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x18]
jmp 0x14013b183
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
and eax, 0x20
test eax, eax
je 0x14013a382
mov dword [rsp + 0x80], 0x18
jmp 0x14013a38d
mov dword [rsp + 0x80], 0x1bf
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x64]
shr eax, 2
and eax, 1
test eax, eax
je 0x14013a3b3
mov eax, dword [rsp + 0x80]
and eax, 0xffffffc3
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x1a]
mov word [rsp + 0x6c], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x1c]
mov word [rsp + 0x70], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3e]
mov word [rsp + 0x5c], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3c]
mov word [rsp + 0x74], ax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x16]
mov word [rsp + 0x44], ax
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x80]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov rax, qword [rsp + 0x188]
mov r8d, dword [rax + 0x44]
mov rax, qword [rsp + 0x180]
mov rdx, qword [rax + 8]
lea rcx, [rsp + 0xf0]
call fcn.14013e680
mov qword [rsp + 0x50], rax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x10]
movzx eax, word [rax + rcx]
mov word [rsp + 0x68], ax
movzx ecx, word [rsp + 0x68]
call fcn.14013e190
mov word [rsp + 0x58], ax
jmp 0x14013a4bc
lea rcx, [rsp + 0xf0]
call fcn.14013e890
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x7c], 0
jne 0x14013aefa
cmp qword [rsp + 0x50], 0
je 0x14013aefa
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
mov word [rsp + 0x3c], ax
mov dword [rsp + 0x48], 0
movzx eax, word [rsp + 0x3c]
cmp eax, 0x100
je 0x14013a507
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x12]
and eax, 0x80
test eax, eax
je 0x14013a521
movzx eax, word [rsp + 0x38]
mov edx, eax
mov rcx, qword [rsp + 0x190]
call fcn.14013e3d0
test eax, eax
je 0x14013a521
jmp 0x14013a4aa
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x28]
and rax, rcx
test rax, rax
je 0x14013a540
jmp 0x14013a4aa
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x12]
and eax, 0x100
test eax, eax
je 0x14013a565
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
cmp eax, 0x10
jne 0x14013a565
jmp 0x14013a4aa
mov rax, qword [rsp + 0x188]
movzx eax, byte [rax + 0x3c]
and eax, 0x58
test eax, eax
je 0x14013a593
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x50]
call fcn.14013e000
test eax, eax
jne 0x14013a593
jmp 0x14013a4aa
mov rax, qword [rsp + 0x190]
movzx eax, byte [rax + 0x62]
test eax, eax
je 0x14013a5d6
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
movzx ecx, word [rcx + 0x5e]
dec ecx
cmp eax, ecx
jne 0x14013a5d6
mov rax, qword [rsp + 0x180]
movzx eax, byte [rax + 0x20]
or eax, 2
mov rcx, qword [rsp + 0x180]
mov byte [rcx + 0x20], al
jmp 0x14013a5f0
mov rax, qword [rsp + 0x180]
movzx eax, byte [rax + 0x20]
or eax, 1
mov rcx, qword [rsp + 0x180]
mov byte [rcx + 0x20], al
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x90]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x18], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x6c]
mov word [rax + 0x1a], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x70]
mov word [rax + 0x1c], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x74]
mov word [rax + 0x3c], cx
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx + 0x40]
cmp eax, ecx
jl 0x14013a676
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3c]
inc eax
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
call fcn.14013bfd0
test eax, eax
je 0x14013a676
jmp 0x14013aefa
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x50]
mov qword [rcx + rax*8], rdx
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3c]
inc ax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x3c], ax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0xe0]
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
not rcx
and rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
movzx eax, word [rsp + 0x3c]
and eax, 1
test eax, eax
je 0x14013a894
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 4]
and eax, 0x1000
test eax, eax
je 0x14013a775
mov dword [rsp + 0x48], 0x2e
mov dword [rsp + 0x78], 0
jmp 0x14013a724
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3c]
dec eax
cmp dword [rsp + 0x78], eax
jge 0x14013a773
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48]
cmp qword [rcx + rax*8], 0
je 0x14013a771
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0xb0]
cmp qword [rax], rcx
jne 0x14013a771
mov dword [rsp + 0x48], 0
jmp 0x14013a71a
jmp 0x14013a7b1
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x20], 0
je 0x14013a7b1
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x20]
cmp dword [rax], 0
je 0x14013a7b1
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x20]
movsxd rax, dword [rax]
mov rcx, rax
call fcn.1401fb150
cwde
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x64]
shr eax, 7
and eax, 1
test eax, eax
je 0x14013a87c
movsx eax, word [rsp + 0x58]
cmp eax, 0xa
jl 0x14013a87c
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x10]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x84], ax
movzx ecx, word [rsp + 0x48]
call fcn.14013e190
mov word [rsp + 0x88], ax
movsx eax, word [rsp + 0x84]
movsx ecx, word [rsp + 0x88]
lea eax, [rax + rcx + 0xa]
movsx ecx, word [rsp + 0x58]
mov edx, dword [rsp + 0x48]
add edx, ecx
mov ecx, edx
sub eax, ecx
mov word [rsp + 0x98], ax
movsx eax, word [rsp + 0x98]
test eax, eax
jl 0x14013a840
jmp 0x14013a87c
movsx eax, word [rsp + 0x198]
cmp eax, 2
jge 0x14013a877
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x60]
and eax, 0x20000
test eax, eax
jne 0x14013a877
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
bts eax, 0x14
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x38], eax
jmp 0x14013a87c
jmp 0x14013a4aa
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
or eax, 4
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x38], eax
jmp 0x14013ab8f
movzx eax, word [rsp + 0x3c]
and eax, 0x82
test eax, eax
je 0x14013a9ae
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
or eax, 1
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x38], eax
cmp dword [rsp + 0x8c], 0xffffffff
je 0x14013a914
cmp dword [rsp + 0x8c], 0
jl 0x14013a988
movsx eax, word [rsp + 0x198]
test eax, eax
jne 0x14013a988
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
movzx ecx, word [rcx + 0x5e]
dec ecx
cmp eax, ecx
jne 0x14013a988
cmp dword [rsp + 0x8c], 0xffffffff
je 0x14013a95e
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x64]
shr eax, 3
and eax, 1
test eax, eax
jne 0x14013a95e
mov rax, qword [rsp + 0x190]
movzx eax, word [rax + 0x5e]
cmp eax, 1
jne 0x14013a974
mov rax, qword [rsp + 0x190]
movzx eax, byte [rax + 0x62]
test eax, eax
je 0x14013a974
movzx eax, word [rsp + 0x3c]
cmp eax, 2
jne 0x14013a974
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
bts eax, 0xc
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x38], eax
jmp 0x14013a988
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
bts eax, 0x10
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x38], eax
movzx eax, byte [rsp + 0x119]
cmp eax, 1
jle 0x14013a9a9
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
bts eax, 0x15
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x38], eax
jmp 0x14013ab8f
movzx eax, word [rsp + 0x3c]
and eax, 0x100
test eax, eax
je 0x14013a9d4
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
or eax, 8
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x38], eax
jmp 0x14013ab8f
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0x190]
mov rax, qword [rsp + 0x188]
mov edx, dword [rax + 0x44]
mov rcx, qword [rsp + 0xa0]
call fcn.14013b1b0
mov dword [rsp + 0xa8], eax
movzx eax, word [rsp + 0x3c]
and eax, 0x24
test eax, eax
je 0x14013ab0e
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
or eax, 0x22
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0xa8]
mov word [rax + 0x1a], cx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x12]
and eax, 0x100
test eax, eax
je 0x14013ab09
mov eax, gethostname
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3c]
inc eax
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
call fcn.14013bfd0
test eax, eax
je 0x14013aab5
jmp 0x14013aefa
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0xb8]
mov qword [rcx + rax*8], rdx
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3c]
inc ax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x3c], ax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
or eax, 0x10
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x38], eax
mov eax, 1
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x1c], ax
jmp 0x14013ab8f
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
or eax, 0x12
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0xa8]
mov word [rax + 0x1c], cx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
and eax, 0x20
test eax, eax
je 0x14013ab73
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3c]
sub eax, 2
cdqe
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0xd8], rax
jmp 0x14013ab7f
mov qword [rsp + 0xd8], 0
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
and eax, 2
test eax, eax
je 0x14013abd2
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0xa0]
call fcn.14013c270
jmp 0x14013acc9
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
inc ax
mov word [rsp + 0x60], ax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x60]
mov word [rax + 0x18], cx
movzx eax, word [rsp + 0x60]
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0x50]
movsx eax, word [rax + 0x10]
test eax, eax
jg 0x14013ac5a
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
test eax, eax
jl 0x14013ac5a
mov rax, qword [rsp + 0x50]
movsx eax, word [rax + 0x10]
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x16]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x16]
sub eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
jmp 0x14013acc9
movsxd rax, dword [rsp + 0xac]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x10]
movsx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0xac]
dec ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x190]
mov rdx, qword [rdx + 0x10]
movsx ecx, word [rdx + rcx*2]
sub eax, ecx
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x16]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
movzx eax, word [rsp + 0x3c]
and eax, 0x100
test eax, eax
je 0x14013acc9
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x16]
add eax, 0xa
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x64]
and eax, 3
cmp eax, 3
jne 0x14013acef
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x16]
add eax, 0x10
mov word [rsp + 0x64], ax
jmp 0x14013ad41
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x16]
mov dword [rsp + 0xcc], eax
mov rcx, qword [rsp + 0x190]
movsx ecx, word [rcx + 0x5c]
imul ecx, ecx, 0xf
mov rdx, qword [rsp + 0x188]
mov rdx, qword [rdx + 0x20]
movsx edx, word [rdx + 0x3c]
mov dword [rsp + 0xc8], edx
mov eax, ecx
cdq
mov ecx, dword [rsp + 0xc8]
idiv ecx
mov ecx, dword [rsp + 0xcc]
lea eax, [rcx + rax + 1]
mov word [rsp + 0x64], ax
movzx edx, word [rsp + 0x64]
movzx ecx, word [rsp + 0x58]
call fcn.1401fb210
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
and eax, 0x4000140
test eax, eax
jne 0x14013ad90
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x16]
add eax, 0x10
movzx edx, ax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rax + 0x14]
call fcn.1401fb210
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x16]
mov word [rsp + 0x94], ax
movsx eax, word [rsp + 0x198]
add eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x14]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
movsx eax, word [rsp + 0x198]
add eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x16]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
movzx r8d, word [rsp + 0x68]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x180]
mov rcx, qword [rax + 8]
call fcn.14013b3f0
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x180]
call fcn.14013b6f0
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
and eax, 2
test eax, eax
je 0x14013ae36
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x16], cx
jmp 0x14013ae47
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x94]
mov word [rax + 0x16], cx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
and eax, 0x10
test eax, eax
jne 0x14013aee7
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
mov rcx, qword [rsp + 0x190]
movzx ecx, word [rcx + 0x60]
cmp eax, ecx
jge 0x14013aee7
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
mov rcx, qword [rsp + 0x190]
movzx ecx, word [rcx + 0x5e]
cmp eax, ecx
jl 0x14013ae9f
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x64]
and eax, 3
cmp eax, 2
je 0x14013aee7
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp eax, 3
jle 0x14013aeba
mov rcx, qword [rsp + 0xa0]
call fcn.1401feaa0
movsx eax, word [rsp + 0x198]
add eax, dword [rsp + 0x48]
movzx r9d, ax
mov r8, qword [rsp + 0x190]
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x180]
call fcn.14013a2b0
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x16], cx
jmp 0x14013a4aa
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xe0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x18], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x6c]
mov word [rax + 0x1a], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x70]
mov word [rax + 0x1c], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x5c]
mov word [rax + 0x3e], cx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x90]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x16], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x74]
mov word [rax + 0x3c], cx
movzx eax, word [rsp + 0x38]
movzx ecx, word [rsp + 0x5c]
cmp eax, ecx
jne 0x14013b17f
movzx eax, word [rsp + 0x38]
inc eax
mov rcx, qword [rsp + 0x190]
movzx ecx, word [rcx + 0x5e]
cmp eax, ecx
jge 0x14013b17f
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx + 0x3c]
cmp eax, ecx
jne 0x14013b17f
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x64]
shr eax, 6
and eax, 1
test eax, eax
jne 0x14013b17f
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x64]
shr eax, 7
and eax, 1
test eax, eax
je 0x14013b17f
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x60]
and eax, 0x4000
test eax, eax
jne 0x14013b17f
movzx eax, word [rsp + 0x38]
inc eax
cdqe
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x10]
movsx eax, word [rcx + rax*2]
cmp eax, 0x2a
jl 0x14013b17f
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3c]
inc eax
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
call fcn.14013bfd0
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
jne 0x14013b17f
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
inc ax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x18], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3e]
inc ax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x3e], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48]
mov qword [rcx + rax*8], 0
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x3c]
inc ax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x3c], ax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
bts eax, 0xf
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x38], eax
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x10]
movsx eax, word [rcx + rax*2]
movzx ecx, word [rsp + 0x38]
inc ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x190]
mov rdx, qword [rdx + 0x10]
movsx ecx, word [rdx + rcx*2]
sub eax, ecx
mov word [rsp + 0x40], ax
movsx eax, word [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x16]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
movsx eax, word [rsp + 0x40]
add eax, 5
mov word [rsp + 0x40], ax
movsx eax, word [rsp + 0x40]
movsx ecx, word [rsp + 0x198]
add eax, ecx
movzx r9d, ax
mov r8, qword [rsp + 0x190]
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x180]
call fcn.14013a2b0
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x16], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x18], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x5c]
mov word [rax + 0x3e], cx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x90]
mov dword [rax + 0x38], ecx
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400d6d00
add rsp, 0x178
ret