Function at 0x1004bbff
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1007ec81
call fcn.1007d38c
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 8
push 3
call fcn.10017fd3
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x18], 0xa306
push 1
call fcn.10017fd3
mov dword [ebp - 0x14], ebx
jmp 0x1004bc4f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov dword [eax + ecx*4], 0xfffffffc
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1004bc3f
xor edx, edx
mov dword [ebp - 0x14], ebx
inc edx
jmp 0x1004bc69
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x48]
mov dword [eax + ecx*4], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1004bc5d
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x1c]
je 0x1004bcf1
mov dword [ebp - 0x20], 0x526d2e85
xor edx, edx
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x14], 0xc7dcd66a
push 0xfffffffffffffff9
pop eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], 0xfffffffe
mov dword [ebp - 0x14], 0xacdd711a
mov eax, dword [ebp - 0x4c]
inc dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x18]
cmp eax, ecx
mov eax, dword [ebp - 0x30]
setne dl
xor ecx, ecx
cmp edx, dword [eax]
mov eax, dword [ebp - 0x20]
setg cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x30]
setg dl
sub edx, dword [eax]
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x1004bd91
mov dword [ebp - 0x1c], 0xd076c56d
mov dword [ebp - 0x20], 0xc4142545
mov dword [ebp - 0x14], ebx
jmp 0x1004bd0e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x24], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1004bd04
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], 5
mov eax, dword [ebp - 0x30]
sbb ecx, ecx
inc ecx
mov dword [eax + 4], ecx
cmp dword [ebp - 0x1c], ebx
je 0x1004bd8e
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1004bd6b
push ebx
push 0x1355
push 0x1510
push 0x2412
push 0xbcc
push 0x1832
push 0x1304
push 0x1c8
push 0x1ac6
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
xor edx, edx
inc edx
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1004bd91
push edx
push 0x1f6b
push 0x142b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemInt]
jmp 0x1004bd91
inc dword [ebp - 0x20]
mov dword [ebp - 0x14], 0x1d
jmp 0x1004bdbc
mov dword [ebp - 0x20], 0xfff6
inc dword [ebp - 0x20]
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1004bdb9
push 0x1330
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 5
je 0x1004bd9a
lea ecx, [ebp - 0x48]
call fcn.100187f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100187f0
push 0x571f
push 1
push esi
call fcn.100476ba
push esi
call fcn.1002fa23
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov esi, eax
push 4
call fcn.10017fd3
push 4
mov dword [ebp - 0x14], 0x9ad59e57
mov dword [ebp - 0x14], ebx
pop edx
jmp 0x1004be17
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov dword [eax + ecx*4], 0xac204e2
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1004be07
mov dword [ebp - 0x14], ebx
jmp 0x1004be31
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov dword [eax + ecx*4], 0x95e17ca0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1004be21
push 3
mov dword [ebp - 0x14], ebx
pop eax
jmp 0x1004be90
mov dword [ebp - 0x18], 0x4438bea1
mov dword [ebp - 0x18], ebx
jmp 0x1004be88
mov dword [ebp - 0x1c], 0x8ee41b66
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jl 0x1004be85
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1004be7d
push ebx
push 0x17ca
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
dec dword [ebp - 0x1c]
jns 0x1004be59
push 3
pop eax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jle 0x1004be4a
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jle 0x1004be3e
lea ecx, [ebp - 0x3c]
call fcn.100187f0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret