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

Disassembly:
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x148
mov rax, qword [0x1401bd0e0]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov dword [rsp + 0xb4], 0
xor eax, eax
mov word [rsp + 0x5c], ax
xor eax, eax
mov word [rsp + 0x78], ax
mov qword [rsp + 0xd8], 0
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x160]
movzx eax, byte [rax + 0x40]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 1
jg 0x14010f8f1
mov dword [rsp + 0xc0], 1
jmp 0x14010f91e
cmp dword [rsp + 0x48], 2
jne 0x14010f905
mov dword [rsp + 0xd0], 5
jmp 0x14010f910
mov dword [rsp + 0xd0], 0xa
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x160]
cmp qword [rax + 0x10], 0
je 0x14010f947
movsx eax, word [rsp + 0x168]
test eax, eax
jne 0x14010f954
mov dword [rsp + 0x80], 0
jmp 0x14010f969
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
mov dword [rsp + 0x80], eax
movsxd rax, dword [rsp + 0x48]
lea rax, [rax*8 + 0x20]
movsxd rcx, dword [rsp + 0x84]
imul rax, rcx
shl rax, 1
mov dword [rsp + 0xb0], eax
movsxd rax, dword [rsp + 0x80]
movsxd rcx, dword [rsp + 0xb0]
lea rax, [rcx + rax*2]
mov dword [rsp + 0xb0], eax
movsxd rax, dword [rsp + 0xb0]
mov rdx, rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax]
call fcn.1400445c0
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0
jne 0x14010f9df
mov eax, 7
jmp 0x14011074a
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xa8], rax
movsxd rax, dword [rsp + 0x84]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rdi, qword [rsp + 0x98]
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
movsxd rax, dword [rsp + 0x84]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0x84]
shl eax, 1
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x50], rax
jmp 0x14010fa91
mov eax, dword [rsp + 0x60]
dec eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x50]
add rax, 0x20
mov qword [rsp + 0x50], rax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xe0]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xe0], rax
cmp dword [rsp + 0x60], 0
jle 0x14010faab
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xe0]
mov qword [rax + 0x18], rcx
jmp 0x14010fa60
cmp dword [rsp + 0x80], 0
je 0x14010faec
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xd8], rax
movsxd rax, dword [rsp + 0x80]
shl rax, 1
mov qword [rsp + 0x108], rax
mov rdi, qword [rsp + 0xd8]
xor eax, eax
mov rcx, qword [rsp + 0x108]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xb8]
movsx eax, word [rax + 0xe0]
cmp eax, 0x30
jge 0x14010fb18
mov rax, qword [rsp + 0xb8]
movsx eax, word [rax + 0xe0]
mov dword [rsp + 0xc4], eax
jmp 0x14010fb23
mov dword [rsp + 0xc4], 0x30
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
movzx edx, word [rsp + 0xc4]
mov word [rcx + rax + 0x10], dx
mov dword [rsp + 0xa0], 1
cmp dword [rsp + 0x80], 0
je 0x14010fb95
cmp dword [rsp + 0x48], 0
jle 0x14010fb6a
mov dword [rsp + 0xc8], 0xffffffff
jmp 0x14010fb78
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0xc8], eax
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
movzx edx, byte [rsp + 0xc8]
mov byte [rcx + rax + 0x16], dl
mov dword [rsp + 0x74], 0
jmp 0x14010fba9
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x74], eax
jge 0x14011019c
mov dword [rsp + 0x7c], 0
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x50], rax
jmp 0x14010fbee
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x50]
add rax, 0x20
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x60], eax
jge 0x140110162
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x88], rax
jmp 0x14010fc29
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x14011015d
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
not rax
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
and rcx, rax
mov rax, rcx
test rax, rax
je 0x14010fc5b
jmp 0x14010fc15
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
and rax, rcx
test rax, rax
je 0x14010fc79
jmp 0x14010fc15
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x38]
and eax, 0x4000
test eax, eax
je 0x14010fca0
mov rax, qword [rsp + 0x50]
movsx eax, word [rax + 0x10]
cmp eax, 3
jge 0x14010fca0
jmp 0x14010fc15
mov rax, qword [rsp + 0x88]
movsx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
movsx ecx, word [rcx + 0x10]
add eax, ecx
movzx edx, ax
mov rax, qword [rsp + 0x88]
movzx ecx, word [rax + 0x12]
call fcn.14004e6b0
mov word [rsp + 0x44], ax
mov rax, qword [rsp + 0x50]
movzx edx, word [rax + 0x14]
movzx ecx, word [rsp + 0x44]
call fcn.14004e6b0
mov word [rsp + 0x44], ax
mov rax, qword [rsp + 0x50]
movsx eax, word [rax + 0x10]
mov rcx, qword [rsp + 0x88]
movsx ecx, word [rcx + 0x16]
add eax, ecx
mov word [rsp + 0x90], ax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 8]
mov rax, qword [rax]
or rax, rcx
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x16]
mov byte [rsp + 0x40], al
movsx eax, byte [rsp + 0x40]
test eax, eax
jge 0x14010fd9d
mov qword [rsp + 0x118], 0
lea rax, [rsp + 0x118]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
movzx eax, word [rsp + 0x74]
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x160]
movzx r9d, word [rax + 0x3c]
mov r8, qword [rsp + 0x50]
mov rax, qword [rsp + 0x160]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x160]
call fcn.14010ea70
mov byte [rsp + 0x40], al
jmp 0x14010fdae
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov qword [rsp + 0x118], rax
movsx eax, byte [rsp + 0x40]
test eax, eax
jl 0x14010fe3d
movsx eax, byte [rsp + 0x40]
cmp eax, dword [rsp + 0x80]
jge 0x14010fe3d
movsx rax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0xd8]
movsx eax, word [rcx + rax*2]
test eax, eax
jne 0x14010fe16
movsx eax, byte [rsp + 0x40]
mov r9d, eax
mov r8d, dword [rsp + 0x80]
movzx edx, word [rsp + 0x168]
mov rcx, qword [rsp + 0x160]
call fcn.14010f740
movsx rcx, byte [rsp + 0x40]
mov rdx, qword [rsp + 0xd8]
mov word [rdx + rcx*2], ax
movsx rax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0xd8]
movzx edx, word [rcx + rax*2]
movzx ecx, word [rsp + 0x44]
call fcn.14004e6b0
cwde
add eax, 3
mov word [rsp + 0x58], ax
jmp 0x14010fe54
movzx eax, word [rsp + 0x44]
mov word [rsp + 0x58], ax
movsx eax, word [rsp + 0x44]
sub eax, 2
mov word [rsp + 0x44], ax
mov dword [rsp + 0x70], 0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x68], rax
jmp 0x14010fe83
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x68]
add rax, 0x20
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x70], eax
jge 0x14010febc
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x110]
cmp qword [rax], rcx
jne 0x14010feba
mov rax, qword [rsp + 0x68]
movsx eax, byte [rax + 0x16]
movsx ecx, byte [rsp + 0x40]
xor eax, ecx
and eax, 0x80
test eax, eax
jne 0x14010feba
jmp 0x14010febc
jmp 0x14010fe6b
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x70], eax
jl 0x14010ff50
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x7c], eax
jl 0x14010ff06
movsx eax, word [rsp + 0x58]
movsx ecx, word [rsp + 0x5c]
cmp eax, ecx
jg 0x14010ff01
movsx eax, word [rsp + 0x58]
movsx ecx, word [rsp + 0x5c]
cmp eax, ecx
jne 0x14010ff06
movsx eax, word [rsp + 0x44]
movsx ecx, word [rsp + 0x78]
cmp eax, ecx
jl 0x14010ff06
jmp 0x14010fc15
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x7c], eax
jge 0x14010ff27
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x7c]
inc eax
mov dword [rsp + 0x7c], eax
jmp 0x14010ff32
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x70], eax
movsxd rax, dword [rsp + 0x70]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
jmp 0x14010ffb5
mov rax, qword [rsp + 0x68]
movsx eax, word [rax + 0x12]
movsx ecx, word [rsp + 0x58]
cmp eax, ecx
jl 0x14010ffb0
mov rax, qword [rsp + 0x68]
movsx eax, word [rax + 0x12]
movsx ecx, word [rsp + 0x58]
cmp eax, ecx
jne 0x14010ffb5
mov rax, qword [rsp + 0x68]
movsx eax, word [rax + 0x10]
movsx ecx, word [rsp + 0x90]
cmp eax, ecx
jl 0x14010ffb0
mov rax, qword [rsp + 0x68]
movsx eax, word [rax + 0x10]
movsx ecx, word [rsp + 0x90]
cmp eax, ecx
jne 0x14010ffb5
mov rax, qword [rsp + 0x68]
movsx eax, word [rax + 0x14]
movsx ecx, word [rsp + 0x44]
cmp eax, ecx
jg 0x14010ffb5
jmp 0x14010fc15
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 8]
mov rax, qword [rax]
or rax, rcx
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x118]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x68]
movzx ecx, word [rsp + 0x90]
mov word [rax + 0x10], cx
mov rax, qword [rsp + 0x68]
movzx ecx, word [rsp + 0x58]
mov word [rax + 0x12], cx
mov rax, qword [rsp + 0x68]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x14], cx
mov rax, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x40]
mov byte [rax + 0x16], cl
movsxd rax, dword [rsp + 0x74]
shl rax, 3
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x50]
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rdx + 0x18]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rsp + 0x88]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x7c], eax
jl 0x140110158
mov dword [rsp + 0xb4], 0
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0xa8]
movzx eax, word [rcx + rax + 0x12]
mov word [rsp + 0x5c], ax
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0xa8]
movzx eax, word [rcx + rax + 0x10]
mov word [rsp + 0x78], ax
mov dword [rsp + 0x70], 1
mov eax, 0x20
imul rax, rax, 1
mov rcx, qword [rsp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
jmp 0x1401100e9
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x68]
add rax, 0x20
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x70], eax
jge 0x140110158
mov rax, qword [rsp + 0x68]
movsx eax, word [rax + 0x12]
movsx ecx, word [rsp + 0x5c]
cmp eax, ecx
jg 0x14011012c
mov rax, qword [rsp + 0x68]
movsx eax, word [rax + 0x12]
movsx ecx, word [rsp + 0x5c]
cmp eax, ecx
jne 0x140110153
mov rax, qword [rsp + 0x68]
movsx eax, word [rax + 0x14]
movsx ecx, word [rsp + 0x78]
cmp eax, ecx
jle 0x140110153
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x12]
mov word [rsp + 0x5c], ax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x14]
mov word [rsp + 0x78], ax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xb4], eax
jmp 0x1401100d1
jmp 0x14010fc15
jmp 0x14010fbd6
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0xa0], eax
jmp 0x14010fb9f
cmp dword [rsp + 0xa0], 0
jne 0x1401101dc
lea rdx, str.no_query_solution
mov rcx, qword [rsp + 0xb8]
call fcn.14004aff0
mov rdx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax]
call fcn.1400440b0
mov eax, 1
jmp 0x14011074a
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x60], 1
jmp 0x1401101fd
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x60], eax
jge 0x14011024b
mov rax, qword [rsp + 0x50]
movsx eax, word [rax + 0x12]
movsxd rcx, dword [rsp + 0x60]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x98]
movsx ecx, word [rdx + rcx + 0x12]
cmp eax, ecx
jle 0x140110249
movsxd rax, dword [rsp + 0x60]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x1401101f3
mov dword [rsp + 0x74], 0
jmp 0x14011025f
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x74], eax
jge 0x140110303
movsxd rax, dword [rsp + 0x74]
imul rax, rax, 0x70
mov rcx, qword [rsp + 0x160]
lea rax, [rcx + rax + 0x360]
mov qword [rsp + 0xe8], rax
movsxd rax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x60], rcx
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x88]
movzx ecx, byte [rcx + 0x10]
mov byte [rax + 0x40], cl
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0xe8]
movzx ecx, byte [rcx + 0x40]
imul rcx, rcx, 0x68
mov rdx, qword [rsp + 0xe8]
mov eax, dword [rax + rcx + 0x4c]
mov dword [rdx + 4], eax
jmp 0x140110255
mov rax, qword [rsp + 0x160]
movzx eax, word [rax + 0x3c]
and eax, 0x100
test eax, eax
je 0x1401103db
mov rax, qword [rsp + 0x160]
movzx eax, word [rax + 0x3c]
and eax, 0x80
test eax, eax
jne 0x1401103db
mov rax, qword [rsp + 0x160]
movzx eax, byte [rax + 0x43]
test eax, eax
jne 0x1401103db
movsx eax, word [rsp + 0x168]
test eax, eax
je 0x1401103db
mov eax, dword [rsp + 0x48]
dec eax
cdqe
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x18]
mov edx, dword [rsp + 0x48]
dec edx
lea rdi, [rsp + 0x130]
mov qword [rsp + 0x30], rdi
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], dx
mov r9w, 0x80
mov r8, qword [rsp + 0x50]
mov rax, qword [rsp + 0x160]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x160]
call fcn.14010ea70
movsx eax, al
mov dword [rsp + 0x100], eax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
cmp dword [rsp + 0x100], eax
jne 0x1401103db
mov rax, qword [rsp + 0x160]
mov byte [rax + 0x43], 2
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x44]
and eax, 0xfffffffb
mov rcx, qword [rsp + 0x160]
mov dword [rcx + 0x44], eax
mov rax, qword [rsp + 0x160]
cmp qword [rax + 0x10], 0
je 0x14011071b
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x50]
movzx ecx, byte [rcx + 0x16]
mov byte [rax + 0x41], cl
mov rax, qword [rsp + 0x160]
movzx eax, word [rax + 0x3c]
and eax, 0x80
test eax, eax
je 0x1401104ab
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax + 0x16]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x10]
cmp eax, dword [rcx]
jne 0x140110455
mov rax, qword [rsp + 0x160]
mov byte [rax + 0x43], 2
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x20]
cmp qword [rax + 0x48], 0
je 0x1401104a6
mov rax, qword [rsp + 0x160]
movsx eax, byte [rax + 0x41]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x20]
mov rcx, qword [rcx + 0x48]
cmp eax, dword [rcx]
jle 0x1401104a6
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x20]
mov rax, qword [rax + 0x48]
mov rcx, qword [rsp + 0x160]
movzx eax, byte [rax]
mov byte [rcx + 0x41], al
jmp 0x14011062a
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
mov qword [rax + 0x68], rcx
mov rax, qword [rsp + 0x160]
movsx eax, byte [rax + 0x41]
test eax, eax
jg 0x1401105e6
mov rax, qword [rsp + 0x160]
mov byte [rax + 0x41], 0
cmp dword [rsp + 0x48], 0
jle 0x1401105e4
mov eax, dword [rsp + 0x48]
dec eax
cdqe
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0xcc]
and eax, 0x1000
test eax, eax
jne 0x1401105e4
mov eax, dword [rsp + 0xcc]
and eax, 0x104
cmp eax, 0x104
je 0x1401105e4
mov qword [rsp + 0x120], 0
mov eax, dword [rsp + 0x48]
dec eax
cdqe
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x18]
mov edx, dword [rsp + 0x48]
dec edx
lea rdi, [rsp + 0x120]
mov qword [rsp + 0x30], rdi
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], dx
mov r9w, 0x800
mov r8, qword [rsp + 0x50]
mov rax, qword [rsp + 0x160]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x160]
call fcn.14010ea70
movsx eax, al
mov dword [rsp + 0xf8], eax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
cmp dword [rsp + 0xf8], eax
jne 0x1401105e4
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x44]
or eax, 4
mov rcx, qword [rsp + 0x160]
mov dword [rcx + 0x44], eax
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x120]
mov qword [rax + 0x68], rcx
jmp 0x14011062a
cmp dword [rsp + 0x48], 0
je 0x14011062a
mov rax, qword [rsp + 0x160]
movsx eax, byte [rax + 0x41]
cmp eax, 1
jne 0x14011062a
mov rax, qword [rsp + 0x160]
movzx eax, word [rax + 0x3c]
and eax, 3
test eax, eax
je 0x14011062a
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x44]
or eax, 4
mov rcx, qword [rsp + 0x160]
mov dword [rcx + 0x44], eax
mov rax, qword [rsp + 0x160]
movzx eax, word [rax + 0x3c]
and eax, 0x200
test eax, eax
je 0x14011071b
mov rax, qword [rsp + 0x160]
movsx eax, byte [rax + 0x41]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x10]
cmp eax, dword [rcx]
jne 0x14011071b
cmp dword [rsp + 0x48], 0
jle 0x14011071b
mov qword [rsp + 0x128], 0
mov eax, dword [rsp + 0x48]
dec eax
cdqe
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x18]
mov edx, dword [rsp + 0x48]
dec edx
lea rdi, [rsp + 0x128]
mov qword [rsp + 0x30], rdi
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], dx
xor r9d, r9d
mov r8, qword [rsp + 0x50]
mov rax, qword [rsp + 0x160]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x160]
call fcn.14010ea70
movsx eax, al
mov dword [rsp + 0xfc], eax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
cmp dword [rsp + 0xfc], eax
jne 0x14011071b
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x44]
or eax, 8
mov rcx, qword [rsp + 0x160]
mov dword [rcx + 0x44], eax
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x128]
mov qword [rax + 0x68], rcx
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx + 0x10]
mov word [rax + 0x48], cx
mov rdx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax]
call fcn.1400440b0
xor eax, eax
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14014fcd0
add rsp, 0x148
pop rdi
pop rsi
ret