Function at 0x140128d90
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, 0x68
mov ecx, 0x40
call fcn.14001bbb0
mov rcx, qword [rsp + 0x78]
mov qword [rcx], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax], 0
je 0x140129481
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rax], 0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
lea rax, [rax + rax + 0x3c]
mov rcx, rax
call fcn.14001bbb0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 8], rcx
cmp qword [rsp + 0x30], 0
je 0x140128f3b
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov r8d, 0x3c
xor edx, edx
mov rcx, qword [rax + 8]
call fcn.140161800
mov eax, dword [rsp + 0x24]
lea rax, [rax + rax + 0x3c]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 8]
mov dword [rcx], eax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x34], ecx
mov eax, dword [rsp + 0x24]
inc eax
mov eax, eax
shl rax, 1
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 8]
add rcx, 0x38
mov r8, rax
mov rax, qword [rsp + 0x80]
mov rdx, qword [rax]
call fcn.140161160
mov rax, qword [rsp + 0x80]
add rax, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x140128f11
mov rax, qword [rsp + 0x80]
add rax, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 8]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
add rcx, 8
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx]
mov rdx, qword [rdx + 8]
add rdx, 0x18
mov qword [rsp + 0x50], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x50]
mov rcx, rax
call fcn.140161160
mov rax, qword [rsp + 0x80]
add rax, 0x24
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 8]
add rcx, 8
mov r8d, 0x10
mov rdx, rax
call fcn.140161160
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov dword [rax + 0x10], 1
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x50]
and eax, 2
test eax, eax
je 0x140128f75
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov eax, dword [rax + 0x10]
or eax, 2
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x44]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x80]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1401458b4
test eax, eax
jne 0x140128fb1
mov dword [rsp + 0x28], 1
jmp 0x140128fb9
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rax + 0x30], 0
mov rax, qword [rsp + 0x80]
add rax, 0x34
mov rcx, rax
call fcn.140128d30
test eax, eax
jne 0x14012903e
mov ecx, 0x10
call fcn.14001bbb0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x30], rcx
cmp qword [rsp + 0x38], 0
je 0x14012903e
mov rax, qword [rsp + 0x80]
add rax, 0x34
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov r8d, 0x10
mov rdx, rax
mov rcx, qword [rcx + 0x30]
call fcn.140161160
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov eax, dword [rax + 0x18]
imul rax, rax, 0x18
mov rcx, rax
call fcn.14001bbb0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x20], rcx
cmp qword [rsp + 0x40], 0
je 0x140129172
mov dword [rsp + 0x20], 0
jmp 0x14012908b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x140129170
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x18
mov rax, qword [rax + 0x20]
add rax, rcx
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x50
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x48]
mov rcx, qword [rdx + rcx]
mov r9d, 1
mov r8, rax
mov rdx, qword [rcx + 8]
mov rcx, qword [rsp + 0x88]
call fcn.14001d880
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx]
mov r8d, dword [rsp + 0x20]
imul r8, r8, 0x18
mov rdx, qword [rdx + 0x20]
mov rax, qword [rcx + rax + 0x40]
mov qword [rdx + r8 + 0x10], rax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x48]
mov qword [rcx + rax + 0x40], 0
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx]
mov r8d, dword [rsp + 0x20]
imul r8, r8, 0x18
mov rdx, qword [rdx + 0x20]
mov eax, dword [rcx + rax + 0x38]
mov dword [rdx + r8 + 8], eax
jmp 0x140129081
jmp 0x140129179
xor eax, eax
jmp 0x140129483
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov eax, dword [rax + 0x18]
dec eax
mov eax, eax
imul rax, rax, 0x28
add rax, 0x30
mov rcx, rax
call fcn.14001bbb0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x38], rcx
cmp qword [rsp + 0x48], 0
je 0x140129476
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x38]
mov eax, dword [rax + 0x18]
mov dword [rcx], eax
mov dword [rsp + 0x20], 0
jmp 0x1401291e7
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x140129474
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx]
mov rdx, qword [rdx + 0x38]
mov r8d, dword [rsp + 0x20]
imul r8, r8, 0x28
mov eax, dword [rcx + rax + 0x28]
mov dword [rdx + r8 + 8], eax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x48]
mov eax, dword [rcx + rax + 8]
and eax, 1
test eax, eax
je 0x140129292
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x48]
lea rax, [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x38]
mov edx, dword [rsp + 0x20]
imul rdx, rdx, 0x28
lea rcx, [rcx + rdx + 0x18]
mov r8d, 0x10
mov rdx, rax
call fcn.140161160
jmp 0x1401292c4
mov rax, qword [rsp + 0x70]
add rax, 0x80
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x38]
mov edx, dword [rsp + 0x20]
imul rdx, rdx, 0x28
lea rcx, [rcx + rdx + 0x18]
mov r8d, 0x10
mov rdx, rax
call fcn.140161160
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x48]
mov eax, dword [rcx + rax + 8]
and eax, 2
test eax, eax
je 0x140129317
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx]
mov rdx, qword [rdx + 0x38]
mov r8d, dword [rsp + 0x20]
imul r8, r8, 0x28
mov eax, dword [rcx + rax + 0x1c]
mov qword [rdx + r8 + 0x28], rax
jmp 0x14012934e
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x58]
inc eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x2c]
mov dword [rax + 0x58], ecx
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax + 0x38]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
mov edx, dword [rsp + 0x2c]
mov qword [rax + rcx + 0x28], rdx
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x48]
mov eax, dword [rcx + rax + 8]
and eax, 4
test eax, eax
je 0x1401293ab
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x48]
xor edx, edx
mov rax, qword [rcx + rax + 0x20]
mov ecx, 0x989680
div rcx
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x38]
mov edx, dword [rsp + 0x20]
imul rdx, rdx, 0x28
mov qword [rcx + rdx + 0x10], rax
jmp 0x1401293d9
xor edx, edx
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov ecx, 0x989680
div rcx
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x38]
mov edx, dword [rsp + 0x20]
imul rdx, rdx, 0x28
mov qword [rcx + rdx + 0x10], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax + 0x38]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
cmp dword [rax + rcx + 8], 0
je 0x14012943d
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x58], rax
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
mov edx, dword [rsp + 0x20]
imul rdx, rdx, 0x50
mov r8, qword [rsp + 0x80]
mov r8, qword [r8 + 0x48]
mov rax, qword [r8 + rdx + 0x2c]
cqo
mov r8d, 0x989680
idiv r8
mov rdx, qword [rsp + 0x58]
cmp qword [rdx + rcx + 0x10], rax
jg 0x14012946f
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x38]
mov eax, dword [rcx + rax + 8]
inc eax
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx]
mov rdx, qword [rdx + 0x38]
mov dword [rdx + rcx + 8], eax
jmp 0x1401291dd
jmp 0x14012947a
xor eax, eax
jmp 0x140129483
mov eax, 1
jmp 0x140129483
xor eax, eax
add rsp, 0x68
ret