Function at 0x9b8130
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb14710
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0xa5c
mov eax, dword [0xb196ec]
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, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa68], eax
mov dword [ebp - 0xa4c], ecx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xa60], esi
mov dword [ebp - 0xa50], edx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xa5c], ebx
mov dword [ebp - 0xa48], ebx
mov dword [ebp - 0xa54], ebx
cmp dword [0xc0849c], ebx
jne 0x9b81e7
mov dword [0xc0849c], 1
lea eax, [ebp - 0xa48]
push eax
push str.CSRDBG
mov ecx, str.SOFTWAREMicroWorld
mov edx, 0x80000002
call fcn.0094c0d0
cmp dword [ebp - 0xa48], 2
jne 0x9b81e7
mov dword [ebp - 0xa48], ebx
mov dword [ebp - 0xa54], 1
cmp byte [0xc08290], 0
jne 0x9b824f
push 0x104
push 0xc08290
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, 0xc08290
call fcn.00960910
mov ecx, 0xc08290
mov edx, str.C:WINDOWS_system32winlogon.exe
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x9b8214
mov eax, str.C:WINDOWS_system32winlogon.exe
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x9b8224
mov ecx, dword [str.winlogon.exe]
mov dword [eax], ecx
mov edx, dword [0xacaa70]
mov dword [eax + 4], edx
mov ecx, dword [0xacaa74]
mov dword [eax + 8], ecx
mov dl, byte [0xacaa78]
mov byte [eax + 0xc], dl
xor eax, eax
cmp eax, ebx
je 0x9b8257
mov dword [eax], ebx
mov eax, dword [ebp - 0xa68]
cmp eax, ebx
je 0x9b8263
mov dword [eax], ebx
cmp esi, ebx
je 0x9b8269
mov dword [esi], ebx
cmp dword [ebp - 0xa48], ebx
je 0x9b8280
push edi
push str._EXT__pid:_u___stepA
push ebx
call fcn.0096a780
add esp, 0xc
cmp dword [0xc08280], ebx
jne 0x9b8297
mov ecx, str.Kernel32.dll
call fcn.0094c620
mov dword [0xc08280], eax
cmp dword [ebp - 0xa48], ebx
je 0x9b82ae
push edi
push str._EXT__pid:_u___stepB
push ebx
call fcn.0096a780
add esp, 0xc
cmp dword [0xc08284], ebx
jne 0x9b82cc
push str.WTSGetActiveConsoleSessionId
mov eax, dword [0xc08280]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0xc08284], eax
cmp dword [0xc08288], ebx
jne 0x9b82eb
push str.ProcessIdToSessionId
mov ecx, dword [0xc08280]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0xc08288], eax
cmp dword [ebp - 0xa48], ebx
je 0x9b8302
push edi
push str._EXT__pid:_u___stepC
push ebx
call fcn.0096a780
add esp, 0xc
mov ecx, dword [0xc08284]
cmp ecx, ebx
je 0x9b8318
xor eax, eax
cmp eax, ebx
je 0x9b8318
call ecx
xor ecx, ecx
mov dword [ecx], eax
cmp dword [ebp - 0xa48], ebx
je 0x9b832f
push edi
push str._EXT__pid:_u___stepD
push ebx
call fcn.0096a780
add esp, 0xc
mov dword [ebp - 0xa64], 0xffffffff
mov byte [ebp - 0xa44], 0
push 0x3ff
push ebx
lea edx, [ebp - 0xa43]
push edx
call fcn.00a7ffb0
add esp, 0xc
mov byte [ebp - 0x644], 0
push 0x40f
push ebx
lea eax, [ebp - 0x643]
push eax
call fcn.00a7ffb0
add esp, 0xc
cmp edi, 4
jbe 0x9b848c
cmp dword [0xc08288], ebx
je 0x9b83c4
cmp dword [ebp - 0xa48], ebx
je 0x9b8399
push edi
push str._EXT__pid:_u___stepE
push ebx
call fcn.0096a780
add esp, 0xc
lea ecx, [ebp - 0xa64]
push ecx
push edi
call dword [0xc08288]
cmp eax, ebx
jne 0x9b83c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x9b83c4
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x9b8709
cmp edi, 4
jbe 0x9b848c
push edi
lea ecx, [ebp - 0x644]
lea ebx, [ebp - 0xa44]
call fcn.0097b130
cmp byte [ebp - 0x644], 0
je 0x9b8489
push str.C:WINDOWS_system32winlogon.exe
lea edx, [ebp - 0x644]
push edx
call fcn.00a88f66
add esp, 8
test eax, eax
jne 0x9b8410
mov dword [ebp - 0xa5c], 1
jmp 0x9b848c
mov eax, 0xc08290
lea ecx, [ebp - 0x644]
call fcn.0094c3e0
test eax, eax
jne 0x9b8489
push 0x5c
lea eax, [ebp - 0x644]
push eax
call fcn.00a7aa50
add esp, 8
mov esi, eax
test esi, esi
je 0x9b8489
mov dword [ebp - 0xa58], 0
inc esi
lea ecx, [ebp - 0xa58]
push ecx
push str.LogonUI.exe_dwm.exe_userinit.exe_fontdrvhost.exe_csrss.exe_ctxgfx.exe_icak2meng.exe_sihost.exe_taskhostw.exe_ctfmon.exe_wfshell.exe_CtxMtHost.exe_DirectorComServer.exe_XenDpriv.exe_VUEMUIAgent.exe_Citrix.CQI.exe_Cwbprovd.exe
mov bl, 0x2c
lea edi, [ebp - 0x12c]
call fcn.0095ae80
add esp, 8
cmp dword [ebp - 0xa58], 0xffffffff
je 0x9b8489
push esi
mov edx, edi
push edx
call fcn.00a88f66
add esp, 8
test eax, eax
jne 0x9b8512
mov dword [ebp - 0xa5c], 2
mov edi, dword [ebp + 8]
cmp dword [ebp - 0xa48], 0
je 0x9b84ad
push edi
lea ecx, [ebp - 0x644]
push ecx
push edi
push str._EXT__pid:_u___stepF___s:_u_
push 0
call fcn.0096a780
add esp, 0x14
mov eax, dword [ebp - 0xa4c]
test eax, eax
je 0x9b84ba
mov byte [eax], 0
mov eax, dword [ebp - 0xa50]
test eax, eax
je 0x9b84d5
mov edx, dword [0xabd688]
mov dword [eax], edx
mov ecx, dword [0xabd68c]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0xa68]
test eax, eax
je 0x9b84ec
mov ecx, dword [ebp - 0xa64]
cmp ecx, 0xffffffff
je 0x9b84ec
mov dword [eax], ecx
cmp dword [ebp - 0xa48], 0
je 0x9b8505
push edi
push str._EXT__pid:_u___stepG
push 0
call fcn.0096a780
add esp, 0xc
cmp dword [ebp - 0xa5c], 1
jne 0x9b851e
xor edi, edi
jmp 0x9b852f
lea eax, [ebp - 0xa58]
push eax
jmp 0x9b844d
mov edx, dword [ebp - 0xa64]
push edx
call fcn.00986420
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0xa60]
test eax, eax
je 0x9b853b
mov dword [eax], edi
cmp edi, 2
jne 0x9b8550
mov eax, dword [ebp - 0xa50]
test eax, eax
je 0x9b8550
mov dword [eax], 0x504452
mov ebx, dword [ebp + 8]
cmp dword [ebp - 0xa48], 0
je 0x9b856d
push edi
push ebx
push str._EXT__pid:_u___stepH__proto:_u_
push 0
call fcn.0096a780
add esp, 0x10
cmp dword [ebp - 0xa4c], 0
je 0x9b86fd
mov byte [ebp - 0x234], 0
mov esi, 0x103
push esi
push 0
lea eax, [ebp - 0x233]
push eax
call fcn.00a7ffb0
add esp, 0xc
mov byte [ebp - 0x12c], 0
push esi
push 0
lea ecx, [ebp - 0x12b]
push ecx
call fcn.00a7ffb0
add esp, 0xc
mov dword [ebp - 0xa50], esi
mov dword [ebp - 0xa60], esi
cmp dword [ebp - 0xa48], 0
jne 0x9b85cf
cmp dword [ebp - 0xa54], 0
je 0x9b85e8
push edi
push ebx
lea edx, [ebp - 0x644]
push edx
push ebx
push str._EXT__pid:_u___GetUNFromPID_start___s:_u___proto:_u_
push 0
call fcn.0096a780
add esp, 0x18
lea eax, [ebp - 0xa60]
push eax
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0xa50]
push edx
push ebx
lea ecx, [ebp - 0x234]
call fcn.0097d590
cmp dword [ebp - 0xa48], 0
jne 0x9b861b
cmp dword [ebp - 0xa54], 0
je 0x9b8633
push edi
lea eax, [ebp - 0x234]
push eax
push ebx
push str._EXT__pid:_u___GetUNFromPID_end__user:_s___proto:_u_
push 0
call fcn.0096a780
add esp, 0x14
cmp dword [ebp - 0xa48], 0
je 0x9b864c
push ebx
push str._EXT__pid:_u___stepM
push 0
call fcn.0096a780
add esp, 0xc
cmp byte [ebp - 0x12c], 0
je 0x9b86a8
lea eax, [ebp - 0x12c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x9b8660
sub eax, edx
mov edx, eax
lea eax, [ebp - 0x234]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x9b8674
sub eax, esi
add eax, edx
cmp eax, 0x103
jae 0x9b86a8
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x12c]
push edx
push 0xaac2e4
mov eax, dword [ebp - 0xa4c]
push eax
call fcn.00a78f30
add esp, 0x10
mov edx, dword [ebp - 0xa4c]
cmp byte [edx], 0
jne 0x9b86ca
lea ecx, [ebp - 0x234]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x9b86c0
cmp dword [ebp - 0xa48], 0
je 0x9b86fd
push ebx
push str._EXT__pid:_u___stepN
push 0
call fcn.0096a780
add esp, 0xc
jmp 0x9b86fd
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
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.00a78f21
mov esp, ebp
pop ebp
ret