Function at 0x1401758d0
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 + 0x34], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x9c], 0
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0x78], 0xa7
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x148]
mov dword [rax + 0x2c], 0xffffffff
cmp qword [rsp + 0x128], 0
je 0x140175a65
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x28]
and eax, 6
test eax, eax
je 0x140175996
mov qword [rsp + 0x128], 0
jmp 0x140175a65
mov dword [rsp + 0x50], 0
jmp 0x1401759aa
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x50], eax
jge 0x140175a02
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x20]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rcx + rax]
call fcn.1400fa3d0
test eax, eax
jne 0x140175a00
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0xa0], rax
jmp 0x140175a02
jmp 0x1401759a0
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x50], eax
jne 0x140175a65
mov rdx, qword [rsp + 0x128]
lea rcx, [0x14020b9c4]
call fcn.1400fa3d0
test eax, eax
jne 0x140175a65
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0xa0], rax
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x14017603d
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0xc8]
add rax, 8
mov qword [rsp + 0x48], rax
jmp 0x140175abb
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x48]
add rax, 0x68
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
cmp dword [rsp + 0x50], eax
jge 0x140175fcb
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 0xd
and eax, 1
test eax, eax
je 0x140175cda
mov dword [rsp + 0xa8], 0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x30], 0
jmp 0x140175b27
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 0x140175cc0
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax + 8]
mov r9, qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x138]
mov rcx, rax
call fcn.14012c2b0
test eax, eax
jne 0x140175b77
jmp 0x140175b1d
cmp dword [rsp + 0x34], 0
jle 0x140175c35
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 0xa
and eax, 1
test eax, eax
je 0x140175bae
mov rdx, qword [rsp + 0x138]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x48]
call fcn.14010c300
test eax, eax
jge 0x140175bc8
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400fd9e0
mov qword [rsp + 0x68], 0
jmp 0x140175c35
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3c]
and eax, 0x10
test eax, eax
jne 0x140175bdf
jmp 0x140175b1d
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3c]
and eax, 8
test eax, eax
jne 0x140175c11
mov dword [rsp + 0x34], 0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400fd9e0
mov qword [rsp + 0x68], 0
jmp 0x140175c35
mov rax, qword [rsp + 0x148]
movzx r9d, word [rax + 0x30]
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x120]
call fcn.140175820
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x74], 2
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x148]
movzx ecx, word [rsp + 0x30]
mov word [rax + 0x30], cx
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x1c]
or eax, 0x40
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x80]
mov dword [rdx + rcx + 0x1c], eax
mov dword [rsp + 0xa8], 1
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x1c]
shr eax, 7
and eax, 1
test eax, eax
je 0x140175cbb
jmp 0x140175cc0
jmp 0x140175b1d
cmp dword [rsp + 0xa8], 0
jne 0x140175cd5
cmp qword [rsp + 0x130], 0
jne 0x140175cda
jmp 0x140175aa3
cmp qword [rsp + 0x130], 0
je 0x140175dcf
cmp qword [rsp + 0x128], 0
je 0x140175d34
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
cmp qword [rax + 0x60], rcx
je 0x140175d0c
jmp 0x140175aa3
cmp qword [rsp + 0xa0], 0
jne 0x140175d34
lea rdx, [0x14020b9cc]
mov rcx, qword [rsp + 0x128]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140175d34
jmp 0x140175aa3
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x18], 0
je 0x140175d53
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xe8], rax
jmp 0x140175d63
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x100]
call fcn.1400fa3d0
test eax, eax
je 0x140175d91
jmp 0x140175aa3
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0x124]
cmp eax, 2
jl 0x140175dcf
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x18], 0
je 0x140175dcf
mov rax, qword [rsp + 0x148]
add rax, 0x40
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x120]
call fcn.14012ddc0
mov rcx, qword [rsp + 0x138]
call fcn.14012c510
mov byte [rsp + 0x71], al
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov qword [rsp + 0x88], rax
jmp 0x140175e19
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x88]
add rax, 0x18
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x36]
cmp dword [rsp + 0x30], eax
jge 0x140175f9a
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xe]
movzx ecx, byte [rsp + 0x71]
cmp eax, ecx
jne 0x140175f95
mov rdx, qword [rsp + 0x138]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call fcn.1400fa3d0
test eax, eax
jne 0x140175f95
cmp dword [rsp + 0x34], 0
jle 0x140175f23
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 0xa
and eax, 1
test eax, eax
je 0x140175e9c
mov rdx, qword [rsp + 0x138]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x48]
call fcn.14010c300
test eax, eax
jge 0x140175eb6
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400fd9e0
mov qword [rsp + 0x68], 0
jmp 0x140175f23
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3c]
and eax, 0x10
test eax, eax
jne 0x140175ecd
jmp 0x140175dfb
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3c]
and eax, 8
test eax, eax
jne 0x140175eff
mov dword [rsp + 0x34], 0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400fd9e0
mov qword [rsp + 0x68], 0
jmp 0x140175f23
mov rax, qword [rsp + 0x148]
movzx r9d, word [rax + 0x30]
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x120]
call fcn.140175820
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x34]
cmp dword [rsp + 0x30], eax
jne 0x140175f53
mov dword [rsp + 0xac], 0xffffffff
jmp 0x140175f5f
movsx eax, word [rsp + 0x30]
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0x148]
movzx ecx, word [rsp + 0xac]
mov word [rax + 0x30], cx
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 0xd
and eax, 1
test eax, eax
je 0x140175f93
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
call fcn.140124a40
jmp 0x140175f9a
jmp 0x140175dfb
cmp dword [rsp + 0x34], 0
jne 0x140175fc6
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x30]
and eax, 0x200
test eax, eax
jne 0x140175fc6
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
jmp 0x140175aa3
cmp qword [rsp + 0x58], 0
je 0x14017603d
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, 0x48
test eax, eax
je 0x140176025
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 4]
bts eax, 0x15
mov rcx, qword [rsp + 0x148]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 0x40]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0xa0], rax
cmp dword [rsp + 0x34], 0
jne 0x1401765ab
cmp qword [rsp + 0x128], 0
jne 0x1401765ab
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0xa8], 0
je 0x1401761da
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0xd4]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0xd5]
test eax, eax
je 0x140176135
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x28]
and eax, 0x400
test eax, eax
je 0x140176130
cmp qword [rsp + 0x130], 0
je 0x1401760e5
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0xa8]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x130]
call fcn.1400fa3d0
test eax, eax
jne 0x140176130
cmp dword [rsp + 0x98], 0x80
je 0x1401760ff
mov dword [rsp + 0xb0], 1
jmp 0x14017610a
mov dword [rsp + 0xb0], 0
mov rax, qword [rsp + 0x148]
mov ecx, dword [rsp + 0xb0]
mov dword [rax + 0x2c], ecx
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0xa8]
mov qword [rsp + 0x40], rax
jmp 0x1401761da
cmp dword [rsp + 0x98], 0x80
je 0x14017618a
cmp qword [rsp + 0x130], 0
je 0x14017618a
mov rdx, qword [rsp + 0x130]
lea rcx, [0x14020b9d0]
call fcn.1400fa3d0
test eax, eax
jne 0x14017618a
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 0x1401761da
cmp dword [rsp + 0x98], 0x7f
je 0x1401761da
cmp qword [rsp + 0x130], 0
je 0x1401761da
mov rdx, qword [rsp + 0x130]
lea rcx, [0x14020b9d4]
call fcn.1400fa3d0
test eax, eax
jne 0x1401761da
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 0x14017625e
cmp qword [rsp + 0x130], 0
je 0x14017625e
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0
je 0x14017625e
mov rdx, qword [rsp + 0x130]
lea rcx, str.excluded
call fcn.1400fa3d0
test eax, eax
jne 0x14017625e
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x40]
mov ecx, 0x68
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 0x1401765ab
mov rcx, qword [rsp + 0x138]
call fcn.14012c510
mov byte [rsp + 0x70], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov qword [rsp + 0x88], rax
jmp 0x1401762cf
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x88]
add rax, 0x18
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x36]
cmp dword [rsp + 0x38], eax
jge 0x14017632a
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xe]
movzx ecx, byte [rsp + 0x70]
cmp eax, ecx
jne 0x140176328
mov rdx, qword [rsp + 0x138]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call fcn.1400fa3d0
test eax, eax
jne 0x140176328
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x34]
cmp dword [rsp + 0x38], eax
jne 0x140176326
mov dword [rsp + 0x38], 0xffffffff
jmp 0x14017632a
jmp 0x1401762b1
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x36]
cmp dword [rsp + 0x38], eax
jl 0x140176363
mov rcx, qword [rsp + 0x138]
call fcn.14011e2c0
test eax, eax
je 0x140176363
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x30]
and eax, 0x200
test eax, eax
jne 0x140176363
mov dword [rsp + 0x38], 0xffffffff
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x36]
cmp dword [rsp + 0x38], eax
jge 0x1401765ab
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x148]
cmp dword [rax + 0x2c], 2
jne 0x140176422
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0x124]
cmp eax, 2
jl 0x1401763db
mov rax, qword [rsp + 0x148]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x30], cx
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x40], rcx
mov dword [rsp + 0x78], 0xa7
jmp 0x14017641d
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x108], rax
movzx edx, word [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140104bf0
cwde
mov rcx, qword [rsp + 0x108]
add eax, dword [rcx + 0x48]
mov rcx, qword [rsp + 0x148]
mov dword [rcx + 0x2c], eax
mov dword [rsp + 0x78], 0xb0
jmp 0x1401765ab
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0xd5]
test eax, eax
je 0x1401764b2
mov dword [rsp + 0x78], 0xb0
mov rax, qword [rsp + 0x148]
mov byte [rax + 2], 0xa7
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x36]
inc eax
mov rcx, qword [rsp + 0x148]
imul eax, dword [rcx + 0x2c]
mov rcx, qword [rsp + 0x140]
mov ecx, dword [rcx + 0x10]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xc4], eax
movzx edx, word [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140104bf0
cwde
mov ecx, dword [rsp + 0xc4]
lea eax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x148]
mov dword [rcx + 0x2c], eax
jmp 0x1401765ab
mov rax, qword [rsp + 0x148]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x30], cx
mov dword [rsp + 0x78], 0x4d
cmp dword [rsp + 0x38], 0
jge 0x1401764e3
mov rax, qword [rsp + 0x148]
mov byte [rax + 1], 0x44
jmp 0x1401765ab
mov rax, qword [rsp + 0x148]
cmp dword [rax + 0x2c], 0
jne 0x14017654f
cmp dword [rsp + 0x38], 0x20
jl 0x140176505
mov dword [rsp + 0xb4], 0xffffffff
jmp 0x140176528
mov eax, dword [rsp + 0x38]
mov ecx, 1
mov dword [rsp + 0xc0], ecx
movzx ecx, al
mov eax, dword [rsp + 0xc0]
shl eax, cl
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0xb4]
mov eax, dword [rax + 0xcc]
or eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0xcc], eax
jmp 0x1401765ab
cmp dword [rsp + 0x38], 0x20
jl 0x140176563
mov dword [rsp + 0xb8], 0xffffffff
jmp 0x140176586
mov eax, dword [rsp + 0x38]
mov ecx, 1
mov dword [rsp + 0xbc], ecx
movzx ecx, al
mov eax, dword [rsp + 0xbc]
shl eax, cl
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0xb8]
mov eax, dword [rax + 0xd0]
or eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0xd0], eax
cmp dword [rsp + 0x34], 0
jne 0x14017661e
cmp dword [rsp + 0x74], 1
jne 0x14017661e
cmp qword [rsp + 0x58], 0
je 0x14017661e
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x28]
and eax, 0x28
test eax, eax
jne 0x14017661e
mov rcx, qword [rsp + 0x138]
call fcn.14011e2c0
test eax, eax
je 0x14017661e
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
mov eax, dword [rax + 0x30]
and eax, 0x200
test eax, eax
jne 0x14017661e
mov dword [rsp + 0x34], 1
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x148]
mov word [rcx + 0x30], ax
mov rax, qword [rsp + 0x148]
mov byte [rax + 1], 0x44
cmp dword [rsp + 0x34], 0
jne 0x140176852
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x28]
and eax, 0x80
test eax, eax
je 0x140176852
cmp qword [rsp + 0x130], 0
jne 0x140176852
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x30], 0
jmp 0x140176678
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 0x140176852
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx + rax + 0x10]
mov qword [rsp + 0xd0], rax
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x1c]
and eax, 3
test eax, eax
jne 0x14017684d
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xd0]
call fcn.1400e8320
test eax, eax
jne 0x14017684d
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x28]
and eax, 1
test eax, eax
jne 0x14017674f
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 4]
and eax, 0x10
test eax, eax
je 0x14017674f
mov r8, qword [rsp + 0xd0]
lea rdx, str.misuse_of_aliased_aggregate__s
mov rcx, qword [rsp + 0x120]
call fcn.1400fb6b0
mov eax, 2
jmp 0x140176cf8
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 4]
and eax, 0x8000
test eax, eax
je 0x1401767af
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x28]
and eax, 0x4000
test eax, eax
je 0x140176789
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x140], rax
je 0x1401767af
mov r8, qword [rsp + 0xd0]
lea rdx, str.misuse_of_aliased_window_function__s
mov rcx, qword [rsp + 0x120]
call fcn.1400fb6b0
mov eax, 2
jmp 0x140176cf8
mov rcx, qword [rsp + 0xd8]
call fcn.140135f80
cmp eax, 1
je 0x1401767df
lea rdx, [0x14020ba30]
mov rcx, qword [rsp + 0x120]
call fcn.1400fb6b0
mov eax, 2
jmp 0x140176cf8
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x148]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x120]
call fcn.1401755d0
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 0x124]
cmp eax, 2
jl 0x140176848
mov r8, qword [rsp + 0x148]
xor edx, edx
mov rcx, qword [rsp + 0x120]
call fcn.14012ddc0
jmp 0x140176c3d
jmp 0x14017666e
cmp dword [rsp + 0x34], 0
je 0x14017685b
jmp 0x14017688e
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x140], rax
mov eax, dword [rsp + 0x9c]
inc eax
mov dword [rsp + 0x9c], eax
cmp qword [rsp + 0x140], 0
jne 0x140175a65
cmp dword [rsp + 0x34], 0
jne 0x140176937
cmp qword [rsp + 0x130], 0
jne 0x140176937
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 4]
and eax, 0x80
test eax, eax
je 0x14017691c
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
call fcn.140175750
test eax, eax
je 0x14017691c
mov r8, qword [rsp + 0x138]
lea rdx, str.double_quoted_string_literal:___w_
mov ecx, 0x1c
call fcn.1400e8530
mov rax, qword [rsp + 0x148]
mov byte [rax], 0x75
mov rax, qword [rsp + 0x148]
add rax, 0x40
mov r8d, 8
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov eax, 1
jmp 0x140176cf8
mov rcx, qword [rsp + 0x148]
call fcn.14011dca0
test eax, eax
je 0x140176937
mov eax, 1
jmp 0x140176cf8
cmp dword [rsp + 0x34], 1
je 0x140176b77
cmp qword [rsp + 0x68], 0
je 0x140176a57
mov eax, dword [rsp + 0x34]
dec eax
mov rcx, qword [rsp + 0x68]
cmp dword [rcx], eax
jne 0x140176a3f
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 4]
and eax, 0x800000
test eax, eax
je 0x140176991
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 4]
btr eax, 0x17
mov rcx, qword [rsp + 0x148]
mov dword [rcx + 4], eax
jmp 0x1401769dd
mov rax, qword [rsp + 0x148]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
call fcn.1400fd280
mov rax, qword [rsp + 0x148]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x148]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x60]
call fcn.1400fd280
mov rax, qword [rsp + 0x148]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x148]
movzx r9d, word [rax + 0x30]
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x120]
call fcn.140175820
mov rax, qword [rsp + 0x148]
mov byte [rax], 0xac
mov rax, qword [rsp + 0x148]
lea rcx, str.coalesce
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x20], rcx
mov dword [rsp + 0x34], 1
jmp 0x140176c3d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400fd9e0
mov qword [rsp + 0x68], 0
cmp dword [rsp + 0x34], 0
jne 0x140176a6f
lea rax, str.no_such_column
mov qword [rsp + 0xf8], rax
jmp 0x140176a7e
lea rax, str.ambiguous_column_name
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0x128], 0
je 0x140176ad9
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 + 0xe0]
lea rdx, str._s:__s._s._s
mov rcx, qword [rsp + 0x120]
call fcn.1400fb6b0
jmp 0x140176b3b
cmp qword [rsp + 0x130], 0
je 0x140176b17
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x130]
mov r8, qword [rsp + 0xe0]
lea rdx, [0x14020bab8]
mov rcx, qword [rsp + 0x120]
call fcn.1400fb6b0
jmp 0x140176b3b
mov r9, qword [rsp + 0x138]
mov r8, qword [rsp + 0xe0]
lea rdx, [0x14020bac4]
mov rcx, qword [rsp + 0x120]
call fcn.1400fb6b0
mov rdx, qword [rsp + 0x148]
mov rax, qword [rsp + 0x120]
mov rcx, qword [rax]
call fcn.140130400
mov rax, qword [rsp + 0x120]
mov byte [rax + 0x1d], 1
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x24]
inc eax
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 0x24], eax
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 4]
and eax, 0x810000
test eax, eax
jne 0x140176bf1
mov rax, qword [rsp + 0x148]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
call fcn.1400fd280
mov rax, qword [rsp + 0x148]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x148]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x60]
call fcn.1400fd280
mov rax, qword [rsp + 0x148]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 4]
bts eax, 0x17
mov rcx, qword [rsp + 0x148]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x148]
movsx eax, word [rax + 0x30]
test eax, eax
jl 0x140176c2e
cmp qword [rsp + 0x58], 0
je 0x140176c2e
mov rcx, qword [rsp + 0x148]
call fcn.14012c440
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x50]
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 0x50], rax
mov rax, qword [rsp + 0x148]
movzx ecx, byte [rsp + 0x78]
mov byte [rax], cl
cmp dword [rsp + 0x34], 1
jne 0x140176cf3
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
cmp qword [rax + 0x1f8], 0
je 0x140176ca8
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax]
cmp eax, 0xa7
je 0x140176c7f
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax]
cmp eax, 0x4d
jne 0x140176ca8
mov rax, qword [rsp + 0x140]
mov r9, qword [rax + 8]
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x120]
call fcn.140125200
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x140]
cmp qword [rsp + 0x90], rax
jne 0x140176cd4
jmp 0x140176cea
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x90], rax
jmp 0x140176ca8
mov eax, 1
jmp 0x140176cf8
mov eax, 2
add rsp, 0x118
ret