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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov eax, 0xffffffff
mov word [rsp + 0x64], ax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x5c], 1
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x10]
imul rax, rax, 0x70
mov rcx, qword [rsp + 0xd8]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x68], 0
je 0x14011a3ad
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x38], rax
jmp 0x14011a4df
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x40]
and eax, 0x80
test eax, eax
je 0x14011a3d1
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], rax
jmp 0x14011a4df
mov r8d, 0x70
xor edx, edx
lea rcx, [rsp + 0xf0]
call sub.VCRUNTIME140.dll_memset
mov eax, 1
mov word [rsp + 0x14e], ax
mov eax, 1
mov word [rsp + 0x150], ax
lea rax, [rsp + 0x64]
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x100], rax
mov byte [rsp + 0x152], 5
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x4c]
mov word [rsp + 0x14c], ax
mov eax, dword [rsp + 0x154]
or eax, 3
mov dword [rsp + 0x154], eax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx + 0x4a]
mov word [rsp + rax + 0x88], cx
mov qword [rsp + 0xc0], 2
cmp qword [rsp + 0xc0], 4
jae 0x14011a487
jmp 0x14011a48c
call fcn.14012a89c
xor eax, eax
mov rcx, qword [rsp + 0xc0]
mov word [rsp + rcx + 0x88], ax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
and eax, 1
test eax, eax
jne 0x14011a4d2
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x4a]
mov word [rsp + 0x20], ax
movzx ecx, word [rsp + 0x20]
call fcn.140116e30
mov word [rsp + 0x58], ax
mov rax, qword [rsp + 0x170]
cmp qword [rax + 0x20], 0
jne 0x14011a771
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x3c]
and eax, 0x20
test eax, eax
jne 0x14011a771
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
and rax, 0x8000
test rax, rax
je 0x14011a771
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x68], 0
jne 0x14011a771
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
and eax, 1
test eax, eax
jne 0x14011a771
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x40]
and eax, 0x80
test eax, eax
jne 0x14011a771
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 3
and eax, 1
test eax, eax
jne 0x14011a771
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 5
and eax, 1
test eax, eax
jne 0x14011a771
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x14]
imul rax, rax, 0x40
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x70], rax
jmp 0x14011a5ea
mov rax, qword [rsp + 0x70]
add rax, 0x40
mov qword [rsp + 0x70], rax
cmp dword [rsp + 0x40], 0
jne 0x14011a771
mov rax, qword [rsp + 0xe8]
cmp qword [rsp + 0x70], rax
jae 0x14011a771
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x30]
and rax, rcx
test rax, rax
je 0x14011a624
jmp 0x14011a5dc
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
call fcn.140116fc0
test eax, eax
je 0x14011a76c
mov eax, 1
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x18], ax
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x2e], ax
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov eax, 1
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x2c], ax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x38]
mov rdx, qword [rsp + 0x70]
mov qword [rax + rcx], rdx
movsx eax, word [rsp + 0x58]
movsx ecx, word [rsp + 0x20]
add eax, ecx
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 0
jne 0x14011a6d4
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x40]
and eax, 2
test eax, eax
jne 0x14011a6d4
mov rax, qword [rsp + 0x28]
movsx eax, word [rax + 0x12]
add eax, 0x1c
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x12], ax
jmp 0x14011a6e9
mov rax, qword [rsp + 0x28]
movsx eax, word [rax + 0x12]
sub eax, 0xa
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x28]
movsx eax, word [rax + 0x12]
test eax, eax
jge 0x14011a701
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x12], ax
mov eax, 0x2b
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x16], ax
mov rax, qword [rsp + 0x28]
movzx edx, word [rax + 0x16]
movzx ecx, word [rsp + 0x58]
call fcn.1400a0a70
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x28], 0x4000
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x178]
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x170]
call fcn.140118b00
mov dword [rsp + 0x40], eax
jmp 0x14011a5dc
jmp 0x14011a7b5
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x68], 0
je 0x14011a78d
mov qword [rsp + 0xc8], 0
jmp 0x14011a79e
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x40], 0
jne 0x14011ad04
cmp qword [rsp + 0x38], 0
je 0x14011ad04
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3c]
and eax, 0x20
test eax, eax
je 0x14011a7e9
mov dword [rsp + 0x8c], 1
jmp 0x14011a7f4
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0xbc], eax
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x48], 0
je 0x14011a83c
mov rax, qword [rsp + 0x38]
mov r9, qword [rax + 0x48]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0xbc]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 0x44]
call fcn.14011a1b0
test eax, eax
jne 0x14011a83c
jmp 0x14011a773
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x64]
shr eax, 8
and eax, 1
test eax, eax
je 0x14011a853
jmp 0x14011a773
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
movzx eax, word [rax + rcx]
mov word [rsp + 0x20], ax
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x18], ax
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x1a], ax
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x1c], ax
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x2e], ax
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x2c], ax
mov rax, qword [rsp + 0x28]
mov byte [rax + 0x11], 0
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x178]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
movzx ecx, word [rsp + 0x20]
mov word [rax + 0x16], cx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x44]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x170]
call fcn.14011a000
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x64]
and eax, 3
cmp eax, 3
jne 0x14011a9b1
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x28], pe_nt_image_headers64
cmp dword [rsp + 0x68], 0
je 0x14011a938
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x90], eax
jmp 0x14011a943
mov dword [rsp + 0x90], 0
mov rax, qword [rsp + 0x28]
movzx ecx, byte [rsp + 0x90]
mov byte [rax + 0x11], cl
movsx eax, word [rsp + 0x20]
add eax, 0x10
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x14], ax
movzx r8d, word [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.140118d40
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x170]
call fcn.140118b00
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x28]
movzx ecx, word [rsp + 0x20]
mov word [rax + 0x16], cx
cmp dword [rsp + 0x40], 0
je 0x14011a9ac
jmp 0x14011ad04
jmp 0x14011acb0
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x64]
shr eax, 5
and eax, 1
test eax, eax
je 0x14011a9dd
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x28], 0x240
mov qword [rsp + 0xa0], 0
jmp 0x14011aa2c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x68]
mov rax, qword [rax + 0x58]
and rax, rcx
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x14011aa12
mov dword [rsp + 0x94], 0x240
jmp 0x14011aa1d
mov dword [rsp + 0x94], 0x200
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x94]
mov dword [rax + 0x28], ecx
cmp dword [rsp + 0x68], 0
jne 0x14011aad4
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x40]
and eax, 0x80
test eax, eax
jne 0x14011aad4
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x48], 0
jne 0x14011aad4
cmp qword [rsp + 0xa0], 0
jne 0x14011acb0
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x64]
shr eax, 2
and eax, 1
test eax, eax
jne 0x14011acb0
mov rax, qword [rsp + 0x38]
movsx eax, word [rax + 0x5c]
mov rcx, qword [rsp + 0x50]
movsx ecx, word [rcx + 0x4c]
cmp eax, ecx
jge 0x14011acb0
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x3c]
and eax, 4
test eax, eax
jne 0x14011acb0
movzx eax, byte [0x1401519e7]
test eax, eax
je 0x14011acb0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax]
movzx eax, word [rax + 0x5c]
and eax, 0x20
test eax, eax
jne 0x14011acb0
cmp dword [rsp + 0x68], 0
je 0x14011aae8
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x98], eax
jmp 0x14011aaf3
mov dword [rsp + 0x98], 0
mov rax, qword [rsp + 0x28]
movzx ecx, byte [rsp + 0x98]
mov byte [rax + 0x11], cl
movsx eax, word [rsp + 0x20]
mov dword [rsp + 0xb4], eax
mov rcx, qword [rsp + 0x38]
movsx ecx, word [rcx + 0x5c]
imul ecx, ecx, 0xf
mov rdx, qword [rsp + 0x50]
movsx edx, word [rdx + 0x4c]
mov dword [rsp + 0xb0], edx
mov eax, ecx
cdq
mov ecx, dword [rsp + 0xb0]
idiv ecx
mov ecx, dword [rsp + 0xb4]
lea eax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x14], ax
cmp qword [rsp + 0xa0], 0
je 0x14011ac6b
movsx eax, word [rsp + 0x20]
add eax, 0x10
mov word [rsp + 0x30], ax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0x78]
add rax, 0x68
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x60], 0
jmp 0x14011ab9b
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x60], eax
jge 0x14011ac4f
movsxd rax, dword [rsp + 0x60]
imul rax, rax, 0x40
mov rcx, qword [rsp + 0xd0]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0xa8], rax
mov r8, qword [rsp + 0x38]
mov edx, dword [rsp + 0xb8]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax]
call fcn.140097a40
test eax, eax
jne 0x14011abef
jmp 0x14011ac4f
mov rax, qword [rsp + 0xa8]
movsx eax, word [rax + 0x10]
test eax, eax
jg 0x14011ac1b
mov rax, qword [rsp + 0xa8]
movsx eax, word [rax + 0x10]
movsx ecx, word [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov word [rsp + 0x30], ax
jmp 0x14011ac4a
movzx eax, word [rsp + 0x30]
dec ax
mov word [rsp + 0x30], ax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 0x14]
and eax, 0x82
test eax, eax
je 0x14011ac4a
movsx eax, word [rsp + 0x30]
sub eax, 0x13
mov word [rsp + 0x30], ax
jmp 0x14011ab91
movzx edx, word [rsp + 0x30]
mov rax, qword [rsp + 0x28]
movzx ecx, word [rax + 0x14]
call fcn.1400a0a70
mov rcx, qword [rsp + 0x28]
mov word [rcx + 0x14], ax
movzx r8d, word [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.140118d40
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x170]
call fcn.140118b00
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x28]
movzx ecx, word [rsp + 0x20]
mov word [rax + 0x16], cx
cmp dword [rsp + 0x40], 0
je 0x14011acb0
jmp 0x14011ad04
mov rax, qword [rsp + 0x170]
mov byte [rax + 0x28], 0
xor r9d, r9d
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x170]
call fcn.1401191f0
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x170]
movzx eax, byte [rax + 0x28]
cmp eax, 1
jne 0x14011acff
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x40]
bts eax, 8
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x40], eax
jmp 0x14011a773
mov eax, dword [rsp + 0x40]
add rsp, 0x168
ret