Function at 0x1400cc4e0
Capabilities:
Impersonate user

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0xe0]
call fcn.1400032f0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400032f0
nop
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400cc692
cmp dword [rsp + 0x30], 1
je 0x1400cc5d3
cmp dword [rsp + 0x30], 2
je 0x1400cc61e
cmp dword [rsp + 0x30], 3
je 0x1400cc56d
jmp 0x1400cc6df
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x34], 0x525
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x90]
call fcn.1400cd190
mov rdx, rax
mov rcx, qword [rsp + 0x1a8]
call fcn.1400cd0d0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400049b0
nop
lea rcx, [rsp + 0xe0]
call fcn.1400049b0
mov rax, qword [rsp + 0x1a8]
jmp 0x1400cc842
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400cc010
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xe0]
call fcn.14000ad60
lea rcx, [rsp + 0x100]
call fcn.1400049b0
lea rcx, [rsp + 0xc0]
call fcn.140026e70
jmp 0x1400cc6df
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400cc310
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xe0]
call fcn.14000ad60
lea rcx, [rsp + 0x120]
call fcn.1400049b0
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400cc360
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xc0]
call fcn.14000ad60
lea rcx, [rsp + 0x140]
call fcn.1400049b0
jmp 0x1400cc6df
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400cc310
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xe0]
call fcn.14000ad60
lea rcx, [rsp + 0x160]
call fcn.1400049b0
lea rdx, [0x1402f6148]
lea rcx, [rsp + 0xc0]
call fcn.1400032d0
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xc0]
call fcn.140068f90
movzx eax, al
test eax, eax
je 0x1400cc714
mov qword [rsp + 0x40], 0
jmp 0x1400cc726
lea rcx, [rsp + 0xc0]
call fcn.140003570
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xe0]
call fcn.140003570
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x1c0]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x1b8]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
je 0x1400cc7c1
mov dword [rsp + 0x38], 0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xa0]
call fcn.1400cd190
mov rdx, rax
mov rcx, qword [rsp + 0x1a8]
call fcn.1400cd0d0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400049b0
nop
lea rcx, [rsp + 0xe0]
call fcn.1400049b0
mov rax, qword [rsp + 0x1a8]
jmp 0x1400cc842
mov qword [rsp + 0x80], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0xb0]
call fcn.1400cd190
mov rdx, rax
mov rcx, qword [rsp + 0x1a8]
call fcn.1400cd0d0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400049b0
nop
lea rcx, [rsp + 0xe0]
call fcn.1400049b0
mov rax, qword [rsp + 0x1a8]
jmp 0x1400cc842
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x198
ret