Function at 0x1150a85
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1284498
call fcn.01160458
sub esp, 0x4f8
mov eax, dword [0x12cf8c8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4a4], ecx
mov ecx, esp
mov dword [ebp - 0x498], esp
push ebx
mov dword [ebp - 0x494], eax
call fcn.01052b7d
xor edi, edi
mov dword [ebp - 4], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4a4]
call fcn.01046095
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x49c], eax
mov dword [ebp - 4], 1
push 0x105
lea ecx, [ebp - 0x49c]
call fcn.0105604f
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push eax
push edi
push edi
push 0x8027
push edi
mov dword [ebp - 0x498], eax
call esi
cmp eax, edi
jge 0x1150b22
push dword [ebp - 0x498]
push edi
push edi
push 0x8005
push edi
call esi
lea ecx, [ebp - 0x4a0]
call fcn.01045169
mov byte [ebp - 4], 2
push 0xf004
lea ecx, [ebp - 0x4a0]
call fcn.01032a72
lea ecx, [ebp - 0x4b4]
call fcn.01045169
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4b4]
push eax
lea ecx, [ebp - 0x4a0]
call fcn.0108ffd8
cmp eax, edi
jge 0x1150b6d
mov edi, eax
jmp 0x1150de7
push ebx
lea ecx, [ebp - 0x4b0]
call fcn.01052b7d
mov byte [ebp - 4], 4
push 0x5f
lea ecx, [ebp - 0x4b0]
call fcn.0115073f
cmp eax, edi
jge 0x1150b95
mov edi, eax
jmp 0x1150dd8
push dword [ebp - 0x4a0]
mov esi, dword [ebp - 0x49c]
push dword [ebp - 0x4b0]
lea ecx, [ebp - 0x4c8]
push esi
call fcn.01052e30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a8]
call fcn.01045169
mov byte [ebp - 4], 6
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x4c8]
call fcn.01053318
cmp eax, edi
jge 0x1150be3
mov edi, eax
jmp 0x1150dba
lea ecx, [ebp - 0x4ac]
call fcn.01045169
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.01047c47
cmp eax, edi
jge 0x1150c0f
mov edi, eax
jmp 0x1150dab
lea ecx, [ebp - 0x4bc]
call fcn.01045169
mov byte [ebp - 4], 8
push 1
lea eax, [ebp - 0x4bc]
push eax
push 0xf518
call fcn.011055ed
push edi
push dword [ebp - 0x4bc]
lea ecx, [ebp - 0x490]
push 0x806
push dword [ebp - 0x4ac]
push dword [ebp - 0x4b4]
push edi
call fcn.0106926f
mov byte [ebp - 4], 9
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x4b8], eax
mov byte [ebp - 4], 0xa
push 0xf517
lea ecx, [ebp - 0x4b8]
call fcn.01032a72
mov eax, dword [ebp - 0x4b8]
push dword [0x12d24cc]
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x448], esi
call fcn.0109021d
mov esi, eax
dec esi
neg esi
sbb esi, esi
inc esi
je 0x1150d6a
mov ebx, dword [ebp - 0x4a4]
lea eax, [ebp - 0x218]
add ebx, 4
push eax
mov ecx, ebx
call fcn.01045196
lea ecx, [ebp - 0x504]
call fcn.011be5a0
mov byte [ebp - 4], 0xb
push dword [ebp - 0x494]
mov ecx, dword [ebp - 0x4a4]
lea eax, [ebp - 0x504]
push eax
call fcn.0115070e
cmp eax, edi
mov dword [ebp - 0x494], eax
jge 0x1150d08
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x504]
call fcn.011be683
mov edi, dword [ebp - 0x494]
jmp 0x1150d7e
mov ecx, dword [ebp - 0x4a4]
lea eax, [ebp - 0x504]
push eax
call fcn.01150808
cmp eax, edi
mov dword [ebp - 0x494], eax
jl 0x1150cf1
push dword [0x12d1f94]
lea ecx, [ebp - 0x498]
call fcn.01039a07
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x498]
push eax
push ebx
lea ecx, [ebp - 0x504]
call fcn.011be8c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x498]
call fcn.010328fe
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x504]
call fcn.011be683
push 0xffffffffffffffff
lea ecx, [ebp - 0x49c]
call fcn.010329e8
cmp esi, edi
jne 0x1150d7e
xor edi, edi
inc edi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4b8]
call fcn.010328fe
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x490]
call fcn.01067c54
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4bc]
call fcn.01045295
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4ac]
call fcn.01045295
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a8]
call fcn.01045295
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c8]
call fcn.01107ecb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4b0]
call fcn.01045295
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4b4]
call fcn.01045295
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a0]
call fcn.01045295
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x49c]
call fcn.010328fe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, edi
call fcn.0116015a
pop edi
pop esi
pop ebx
leave
ret 8