Function at 0x1400bdf40
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 [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0xe0]
call fcn.14000c280
nop
lea rcx, [rsp + 0xc0]
call fcn.14000c280
nop
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400be0f2
cmp dword [rsp + 0x30], 1
je 0x1400be033
cmp dword [rsp + 0x30], 2
je 0x1400be07e
cmp dword [rsp + 0x30], 3
je 0x1400bdfcd
jmp 0x1400be13f
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x34], 0x525
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x90]
call fcn.1400bec90
mov rdx, rax
mov rcx, qword [rsp + 0x1a8]
call fcn.1400beb30
nop
lea rcx, [rsp + 0xc0]
call fcn.14000a510
nop
lea rcx, [rsp + 0xe0]
call fcn.14000a510
mov rax, qword [rsp + 0x1a8]
jmp 0x1400be2a2
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400bda70
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xe0]
call fcn.14000c180
lea rcx, [rsp + 0x100]
call fcn.14000a510
lea rcx, [rsp + 0xc0]
call fcn.140057530
jmp 0x1400be13f
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400bdd70
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xe0]
call fcn.14000c180
lea rcx, [rsp + 0x120]
call fcn.14000a510
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400bddc0
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xc0]
call fcn.14000c180
lea rcx, [rsp + 0x140]
call fcn.14000a510
jmp 0x1400be13f
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400bdd70
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xe0]
call fcn.14000c180
lea rcx, [rsp + 0x160]
call fcn.14000a510
lea rdx, [0x140150728]
lea rcx, [rsp + 0xc0]
call fcn.140005bf0
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xc0]
call fcn.1400590a0
movzx eax, al
test eax, eax
je 0x1400be174
mov qword [rsp + 0x40], 0
jmp 0x1400be186
lea rcx, [rsp + 0xc0]
call fcn.140006930
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xe0]
call fcn.140006930
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 0x1400be221
mov dword [rsp + 0x38], 0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xa0]
call fcn.1400bec90
mov rdx, rax
mov rcx, qword [rsp + 0x1a8]
call fcn.1400beb30
nop
lea rcx, [rsp + 0xc0]
call fcn.14000a510
nop
lea rcx, [rsp + 0xe0]
call fcn.14000a510
mov rax, qword [rsp + 0x1a8]
jmp 0x1400be2a2
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.1400bece0
mov rdx, rax
mov rcx, qword [rsp + 0x1a8]
call fcn.1400bebd0
nop
lea rcx, [rsp + 0xc0]
call fcn.14000a510
nop
lea rcx, [rsp + 0xe0]
call fcn.14000a510
mov rax, qword [rsp + 0x1a8]
jmp 0x1400be2a2
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x198
ret