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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x70], 0
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xa8], 0
mov dword [rsp + 0x60], 0xa2
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x148]
mov dword [rax + 0x2c], 0xffffffff
cmp qword [rsp + 0x128], 0
je 0x14036effc
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x28]
and eax, 6
test eax, eax
je 0x14036ef87
mov qword [rsp + 0x128], 0
jmp 0x14036effc
mov dword [rsp + 0x48], 0
jmp 0x14036ef9b
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x48], eax
jge 0x14036effc
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 0x20]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rcx + rax]
call fcn.1402ff5b0
test eax, eax
jne 0x14036effa
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0xa8], rax
jmp 0x14036effc
jmp 0x14036ef91
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x14036f3c7
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0xc8]
add rax, 8
mov qword [rsp + 0x50], rax
jmp 0x14036f052
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x50]
add rax, 0x70
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
cmp dword [rsp + 0x48], eax
jge 0x14036f355
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x28], 0
je 0x14036f16e
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x28]
mov eax, dword [rax + 0xc]
and eax, 0x800
test eax, eax
je 0x14036f16e
mov dword [rsp + 0x90], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x30], 0
jmp 0x14036f0d0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
cmp dword [rsp + 0x30], eax
jge 0x14036f154
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov r9, qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + rax + 0x18]
call fcn.14032ac70
test eax, eax
je 0x14036f14f
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x4c], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x148]
movzx ecx, word [rsp + 0x30]
mov word [rax + 0x30], cx
mov dword [rsp + 0x90], 1
jmp 0x14036f0c6
cmp dword [rsp + 0x90], 0
jne 0x14036f169
cmp qword [rsp + 0x130], 0
jne 0x14036f16e
jmp 0x14036f03a
cmp qword [rsp + 0x128], 0
je 0x14036f191
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa8]
cmp qword [rax + 0x70], rcx
je 0x14036f191
jmp 0x14036f03a
cmp qword [rsp + 0x130], 0
je 0x14036f23b
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 0
je 0x14036f1bf
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xe0], rax
jmp 0x14036f1cf
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0xf8]
call fcn.1402ff5b0
test eax, eax
je 0x14036f1fd
jmp 0x14036f03a
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0x114]
cmp eax, 2
jl 0x14036f23b
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 0
je 0x14036f23b
mov rax, qword [rsp + 0x148]
add rax, 0x40
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x120]
call fcn.14032bb90
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0xb8], 0
jne 0x14036f264
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov qword [rsp + 0x78], rax
jmp 0x14036f294
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x78]
add rax, 0x20
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x46]
cmp dword [rsp + 0x30], eax
jge 0x14036f350
mov rdx, qword [rsp + 0x138]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
call fcn.1402ff5b0
test eax, eax
jne 0x14036f34b
cmp dword [rsp + 0x38], 1
jne 0x14036f2f9
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x3c]
and eax, 4
test eax, eax
je 0x14036f2dd
jmp 0x14036f27c
mov rdx, qword [rsp + 0x138]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x50]
call fcn.14036ed80
test eax, eax
je 0x14036f2f9
jmp 0x14036f27c
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x44]
cmp dword [rsp + 0x30], eax
jne 0x14036f329
mov dword [rsp + 0x94], 0xffffffff
jmp 0x14036f335
movsx eax, word [rsp + 0x30]
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x148]
movzx ecx, word [rsp + 0x94]
mov word [rax + 0x30], cx
jmp 0x14036f350
jmp 0x14036f27c
jmp 0x14036f03a
cmp qword [rsp + 0x58], 0
je 0x14036f3c7
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx + 0x44]
mov dword [rax + 0x2c], ecx
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x20]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x3c]
and eax, 8
test eax, eax
je 0x14036f3af
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 4]
bts eax, 0x14
mov rcx, qword [rsp + 0x148]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 0x40]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0x128], 0
jne 0x14036f7b9
cmp qword [rsp + 0x130], 0
je 0x14036f7b9
cmp dword [rsp + 0x4c], 0
jne 0x14036f7b9
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0xa8], 0
je 0x14036f4b1
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0xc8]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0x7c
je 0x14036f46c
mov rdx, qword [rsp + 0x130]
lea rcx, [0x1405f2854]
call fcn.1402ff5b0
test eax, eax
jne 0x14036f46c
mov rax, qword [rsp + 0x148]
mov dword [rax + 0x2c], 1
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0xa8]
mov qword [rsp + 0x40], rax
jmp 0x14036f4b1
cmp dword [rsp + 0x98], 0x7b
je 0x14036f4b1
mov rdx, qword [rsp + 0x130]
lea rcx, [0x1405f2874]
call fcn.1402ff5b0
test eax, eax
jne 0x14036f4b1
mov rax, qword [rsp + 0x148]
mov dword [rax + 0x2c], 0
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0xa8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x28]
and eax, 0x200
test eax, eax
je 0x14036f52a
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
je 0x14036f52a
mov rdx, qword [rsp + 0x130]
lea rcx, str.excluded
call fcn.1402ff5b0
test eax, eax
jne 0x14036f52a
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax + 0x28]
mov ecx, reloc.WS2_32.dll_WSASetLastError
imul rcx, rcx, 0
mov rax, qword [rax + rcx + 0x28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x148]
mov dword [rax + 0x2c], 2
cmp qword [rsp + 0x40], 0
je 0x14036f7b9
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov qword [rsp + 0x78], rax
jmp 0x14036f581
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x78]
add rax, 0x20
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x46]
cmp dword [rsp + 0x34], eax
jge 0x14036f5c4
mov rdx, qword [rsp + 0x138]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
call fcn.1402ff5b0
test eax, eax
jne 0x14036f5c2
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x44]
cmp dword [rsp + 0x34], eax
jne 0x14036f5c0
mov dword [rsp + 0x34], 0xffffffff
jmp 0x14036f5c4
jmp 0x14036f569
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x46]
cmp dword [rsp + 0x34], eax
jl 0x14036f5fb
mov rcx, qword [rsp + 0x138]
call fcn.14031e3b0
test eax, eax
je 0x14036f5fb
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x40]
and eax, 0x40
test eax, eax
jne 0x14036f5fb
mov dword [rsp + 0x34], 0xffffffff
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x46]
cmp dword [rsp + 0x34], eax
jge 0x14036f7b9
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x148]
cmp dword [rax + 0x2c], 2
jne 0x14036f6af
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0x114]
cmp eax, 2
jl 0x14036f66a
mov rax, qword [rsp + 0x148]
movzx ecx, word [rsp + 0x34]
mov word [rax + 0x30], cx
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x40], rcx
mov dword [rsp + 0x60], 0xa2
jmp 0x14036f6aa
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x30]
add eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x148]
mov dword [rcx + 0x2c], eax
mov dword [rsp + 0x60], 0xab
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 4]
bts eax, 0x16
mov rcx, qword [rsp + 0x148]
mov dword [rcx + 4], eax
jmp 0x14036f7b9
cmp dword [rsp + 0x34], 0
jge 0x14036f6c7
mov rax, qword [rsp + 0x148]
mov byte [rax + 1], 0x44
jmp 0x14036f78f
mov rax, qword [rsp + 0x148]
cmp dword [rax + 0x2c], 0
jne 0x14036f733
cmp dword [rsp + 0x34], 0x20
jl 0x14036f6e9
mov dword [rsp + 0x9c], 0xffffffff
jmp 0x14036f70c
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov dword [rsp + 0xbc], ecx
movzx ecx, al
mov eax, dword [rsp + 0xbc]
shl eax, cl
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x9c]
mov eax, dword [rax + 0xc0]
or eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0xc0], eax
jmp 0x14036f78f
cmp dword [rsp + 0x34], 0x20
jl 0x14036f747
mov dword [rsp + 0xa0], 0xffffffff
jmp 0x14036f76a
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov dword [rsp + 0xc0], ecx
movzx ecx, al
mov eax, dword [rsp + 0xc0]
shl eax, cl
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0xa0]
mov eax, dword [rax + 0xc4]
or eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0xc4], eax
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x148]
movzx ecx, word [rsp + 0x34]
mov word [rax + 0x30], cx
mov dword [rsp + 0x60], 0x4d
cmp dword [rsp + 0x38], 0
jne 0x14036f82a
cmp dword [rsp + 0x4c], 1
jne 0x14036f82a
cmp qword [rsp + 0x58], 0
je 0x14036f82a
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x28]
and eax, 0x20
test eax, eax
jne 0x14036f82a
mov rcx, qword [rsp + 0x138]
call fcn.14031e3b0
test eax, eax
je 0x14036f82a
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
mov eax, dword [rax + 0x40]
and eax, 0x40
test eax, eax
jne 0x14036f82a
mov dword [rsp + 0x38], 1
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x148]
mov word [rcx + 0x30], ax
mov rax, qword [rsp + 0x148]
mov byte [rax + 1], 0x44
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x28]
and eax, 0x80
test eax, eax
je 0x14036fa44
cmp dword [rsp + 0x38], 0
jne 0x14036fa44
cmp qword [rsp + 0x130], 0
jne 0x14036fa44
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x30], 0
jmp 0x14036f884
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
cmp dword [rsp + 0x30], eax
jge 0x14036fa44
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx + rax + 0x10]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x14036fa3f
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xb0]
call fcn.1402ff5b0
test eax, eax
jne 0x14036fa3f
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x28]
and eax, 1
test eax, eax
jne 0x14036f94a
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 4]
and eax, 0x10
test eax, eax
je 0x14036f94a
mov r8, qword [rsp + 0xb0]
lea rdx, str.misuse_of_aliased_aggregate__s
mov rcx, qword [rsp + 0x120]
call fcn.140300630
mov eax, 2
jmp 0x14036fd90
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x28]
and eax, 0x4000
test eax, eax
jne 0x14036f998
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 4]
and eax, 0x8000
test eax, eax
je 0x14036f998
mov r8, qword [rsp + 0xb0]
lea rdx, str.misuse_of_aliased_window_function__s
mov rcx, qword [rsp + 0x120]
call fcn.140300630
mov eax, 2
jmp 0x14036fd90
mov rcx, qword [rsp + 0xd0]
call fcn.140332d50
cmp eax, 1
je 0x14036f9c8
lea rdx, [0x1405f3058]
mov rcx, qword [rsp + 0x120]
call fcn.140300630
mov eax, 2
jmp 0x14036fd90
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x28], eax
lea rax, [0x14088cd35]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x148]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x120]
call fcn.14036ebe0
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0x114]
cmp eax, 2
jl 0x14036fa3a
mov r8, qword [rsp + 0x148]
xor edx, edx
mov rcx, qword [rsp + 0x120]
call fcn.14032bb90
jmp 0x14036fd0b
jmp 0x14036f87a
cmp dword [rsp + 0x38], 0
je 0x14036fa4d
jmp 0x14036fa7a
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x140], rax
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
cmp qword [rsp + 0x140], 0
jne 0x14036effc
cmp dword [rsp + 0x38], 0
jne 0x14036fb15
cmp qword [rsp + 0x130], 0
jne 0x14036fb15
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 4]
and eax, 0x40
test eax, eax
je 0x14036fafa
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
call fcn.14036ee00
test eax, eax
je 0x14036fafa
mov r8, qword [rsp + 0x138]
lea rdx, str.double_quoted_string_literal:___w_
mov ecx, 0x1c
call fcn.1402ef1a0
mov rax, qword [rsp + 0x148]
mov byte [rax], WSAStartup
mov rax, qword [rsp + 0x148]
mov qword [rax + 0x40], 0
mov eax, 1
jmp 0x14036fd90
mov rcx, qword [rsp + 0x148]
call fcn.14031de20
test eax, eax
je 0x14036fb15
mov eax, 1
jmp 0x14036fd90
cmp dword [rsp + 0x38], 1
je 0x14036fc22
cmp dword [rsp + 0x38], 0
jne 0x14036fb38
lea rax, str.no_such_column
mov qword [rsp + 0xf0], rax
jmp 0x14036fb47
lea rax, str.ambiguous_column_name
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0x128], 0
je 0x14036fba2
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x128]
mov r8, qword [rsp + 0xd8]
lea rdx, str._s:__s._s._s
mov rcx, qword [rsp + 0x120]
call fcn.140300630
jmp 0x14036fc04
cmp qword [rsp + 0x130], 0
je 0x14036fbe0
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x130]
mov r8, qword [rsp + 0xd8]
lea rdx, [0x1405f30d0]
mov rcx, qword [rsp + 0x120]
call fcn.140300630
jmp 0x14036fc04
mov r9, qword [rsp + 0x138]
mov r8, qword [rsp + 0xd8]
lea rdx, [0x1405f28e4]
mov rcx, qword [rsp + 0x120]
call fcn.140300630
mov rax, qword [rsp + 0x120]
mov byte [rax + 0x1d], 1
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x24]
inc eax
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 0x24], eax
mov rax, qword [rsp + 0x148]
movsx eax, word [rax + 0x30]
test eax, eax
jl 0x14036fc90
cmp qword [rsp + 0x58], 0
je 0x14036fc90
mov rax, qword [rsp + 0x148]
movsx eax, word [rax + 0x30]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x40
jl 0x14036fc59
mov dword [rsp + 0x74], 0x3f
mov eax, dword [rsp + 0x74]
mov ecx, 1
mov qword [rsp + 0x100], rcx
movzx ecx, al
mov rax, qword [rsp + 0x100]
shl rax, cl
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x58]
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 0x58], rax
mov rax, qword [rsp + 0x148]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x88]
call fcn.140301f40
mov rax, qword [rsp + 0x148]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x148]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x88]
call fcn.140301f40
mov rax, qword [rsp + 0x148]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x148]
movzx ecx, byte [rsp + 0x60]
mov byte [rax], cl
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 4]
bts eax, 0x17
mov rcx, qword [rsp + 0x148]
mov dword [rcx + 4], eax
cmp dword [rsp + 0x38], 1
jne 0x14036fd8b
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 4]
and eax, 0x400000
test eax, eax
jne 0x14036fd4f
mov rax, qword [rsp + 0x140]
mov r9, qword [rax + 8]
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x120]
call fcn.140323fe0
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x140]
cmp qword [rsp + 0x68], rax
jne 0x14036fd72
jmp 0x14036fd82
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x68], rax
jmp 0x14036fd4f
mov eax, 1
jmp 0x14036fd90
mov eax, 2
add rsp, 0x118
ret