Function at 0x1003f600
Capabilities:
Impersonate user

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101830a8
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0xf6c
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], 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, ecx
xor ebx, ebx
mov dword [ebp - 0xf6c], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x844], bl
push 0x207
push ebx
lea eax, [ebp - 0x843]
push eax
call fcn.1012e060
add esp, 0xc
mov byte [ebp - 0x434], bl
push 0x207
push ebx
lea ecx, [ebp - 0x433]
push ecx
call fcn.1012e060
add esp, 0xc
mov byte [ebp - 0x63c], bl
push 0x207
push ebx
lea edx, [ebp - 0x63b]
push edx
call fcn.1012e060
add esp, 0xc
mov dword [ebp - 0xf70], ebx
mov dword [ebp - 0xf7c], ebx
mov dword [ebp - 0xf74], ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xf7c]
push eax
lea ecx, [ebp - 0xf70]
push ecx
xor edx, edx
lea ecx, [ebp - 0xf74]
call fcn.1006bdc0
add esp, 0x20
cmp dword [ebp - 0xf70], ebx
je 0x1003f8cc
cmp edi, ebx
je 0x1003f8cc
cmp byte [edi], bl
je 0x1003f8cc
push ebx
lea edx, [ebp - 0x844]
push edx
call fcn.10070c10
mov dword [ebp - 0xf78], 0x208
lea ecx, [ebp - 0xf78]
lea edx, [ebp - 0x434]
call fcn.1005cb90
cmp byte [ebp - 0x434], bl
je 0x1003f78a
mov byte [ebp - 0xf64], bl
push 0x40f
push ebx
lea eax, [ebp - 0xf63]
push eax
call fcn.1012e060
add esp, 0xc
lea ecx, [ebp - 0x434]
cmp byte [ebp - 0x844], bl
je 0x1003f760
push ecx
lea edx, [ebp - 0x844]
push edx
push str._s_s
lea eax, [ebp - 0xf64]
push eax
call fcn.10127dc0
add esp, 0x10
jmp 0x1003f770
lea edx, [ebp - 0xf64]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x1003f766
lea ecx, [ebp - 0xf64]
lea edx, [ebp - 0x63c]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x1003f780
mov byte [ebp - 0xb54], bl
push 0x207
push ebx
lea ecx, [ebp - 0xb53]
push ecx
call fcn.1012e060
add esp, 0xc
mov byte [ebp - 0x22c], bl
push 0x207
push ebx
lea edx, [ebp - 0x22b]
push edx
call fcn.1012e060
add esp, 0xc
push 0x5c
lea eax, [ebp - 0x63c]
push eax
call fcn.1012baa1
add esp, 8
cmp eax, ebx
je 0x1003f804
lea edx, [eax + 1]
lea esi, [ebp - 0x22c]
mov edi, edi
mov cl, byte [edx]
mov byte [esi], cl
inc edx
inc esi
cmp cl, bl
jne 0x1003f7e0
mov byte [eax], bl
lea ecx, [ebp - 0x63c]
lea edx, [ebp - 0xb54]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x1003f7f8
jmp 0x1003f81a
lea ecx, [ebp - 0x63c]
lea edx, [ebp - 0x22c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x1003f810
cmp byte [ebp - 0x22c], bl
je 0x1003f8ef
call fcn.1006bc80
test eax, eax
jne 0x1003f8ef
cmp dword [ebp - 0xf74], ebx
jne 0x1003f8ef
mov dword [ebp - 0xf68], ebx
cmp dword [ebp + 8], ebx
jne 0x1003f869
lea ecx, [ebp - 0xf68]
push ecx
push ebx
push 3
push edi
lea edx, [ebp - 0xb54]
push edx
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.ADVAPI32.dll_LogonUserA]
mov esi, 1
cmp eax, esi
je 0x1003f893
lea edx, [ebp - 0xf68]
push edx
push ebx
push 3
push edi
push 0x10157178
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.ADVAPI32.dll_LogonUserA]
cmp eax, esi
jne 0x1003f8a7
lea ecx, [ebp - 0xf68]
push ecx
call fcn.10082e10
mov dword [ebp - 0xf6c], esi
jmp 0x1003f8ef
push 0x104
lea esi, [ebp - 0x94c]
call fcn.10065360
add esp, 4
xor eax, eax
cmp eax, ebx
je 0x1003f8ef
mov edx, esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1003f8ef
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x1003f8fc
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0xf6c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.10127db1
mov esp, ebp
pop ebp
ret 4