Function at 0x10028ca0
Capabilities:
Impersonate user

Disassembly:
push ebp
lea ebp, [esp - 0xf40]
sub esp, 0xf40
push 0xfffffffffffffffe
push 0x1016da30
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0xf3c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 0xf48]
mov esi, dword [ebp + 0xf4c]
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov byte [ebp + 0x71c], bl
push 0x207
push ebx
lea eax, [ebp + 0x71d]
push eax
call fcn.10116880
mov byte [ebp + 0xb2c], bl
push 0x207
push ebx
lea ecx, [ebp + 0xb2d]
push ecx
call fcn.10116880
mov byte [ebp + 0x924], bl
push 0x207
push ebx
lea edx, [ebp + 0x925]
push edx
call fcn.10116880
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
push ecx
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.10050110
add esp, 0x44
cmp esi, ebx
je 0x10028d6d
mov byte [esi], bl
cmp dword [ebp - 0x24], ebx
je 0x10028f3e
cmp edi, ebx
je 0x10028f3e
cmp byte [edi], bl
je 0x10028f3e
lea edx, [ebp + 0x71c]
push edx
call fcn.100557f0
mov dword [ebp - 0x34], 0x208
lea ecx, [ebp - 0x34]
lea edx, [ebp + 0xb2c]
call fcn.10037780
cmp byte [ebp + 0xb2c], bl
je 0x10028e0d
mov byte [ebp], bl
push 0x40f
push ebx
lea eax, [ebp + 1]
push eax
call fcn.10116880
add esp, 0xc
lea ecx, [ebp + 0xb2c]
cmp byte [ebp + 0x71c], bl
je 0x10028ded
push ecx
lea edx, [ebp + 0x71c]
push edx
push 0x1013fbf8
lea eax, [ebp]
push eax
call fcn.1010d6a8
add esp, 0x10
jmp 0x10028dfa
lea edx, [ebp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x10028df0
lea ecx, [ebp]
lea edx, [ebp + 0x924]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x10028e03
mov byte [ebp + 0x410], bl
push 0x207
push ebx
lea ecx, [ebp + 0x411]
push ecx
call fcn.10116880
mov byte [ebp + 0xd34], bl
push 0x207
push ebx
lea edx, [ebp + 0xd35]
push edx
call fcn.10116880
push 0x5c
lea eax, [ebp + 0x924]
push eax
call fcn.10111bda
add esp, 0x20
cmp eax, ebx
je 0x10028e84
lea edx, [eax + 1]
lea esi, [ebp + 0xd34]
jmp 0x10028e60
mov cl, byte [edx]
mov byte [esi], cl
inc edx
inc esi
cmp cl, bl
jne 0x10028e60
mov byte [eax], bl
lea ecx, [ebp + 0x924]
lea edx, [ebp + 0x410]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x10028e78
jmp 0x10028e9a
lea ecx, [ebp + 0x924]
lea edx, [ebp + 0xd34]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x10028e90
cmp byte [ebp + 0xd34], bl
je 0x10028f61
call fcn.1004ffd0
test eax, eax
jne 0x10028f61
cmp dword [ebp - 0x28], ebx
jne 0x10028f61
mov dword [ebp - 0x1c], ebx
cmp dword [ebp + 0xf50], ebx
jne 0x10028ee3
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 3
push edi
lea edx, [ebp + 0x410]
push edx
lea eax, [ebp + 0xd34]
push eax
call dword [sym.imp.ADVAPI32.dll_LogonUserA]
mov esi, 1
cmp eax, esi
je 0x10028f0a
lea edx, [ebp - 0x1c]
push edx
push ebx
push 3
push edi
push 0x10148b60
lea eax, [ebp + 0xd34]
push eax
call dword [sym.imp.ADVAPI32.dll_LogonUserA]
cmp eax, esi
jne 0x10028f18
lea ecx, [ebp - 0x1c]
push ecx
call fcn.100673f0
mov dword [ebp - 0x20], esi
jmp 0x10028f61
push 0x104
lea esi, [ebp + 0x618]
call fcn.10049da0
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10028f61
mov edx, esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x10028f61
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x10028f6b
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xf3c]
xor ecx, ebp
call fcn.1010d699
add ebp, 0xf40
mov esp, ebp
pop ebp
ret 0xc