Function at 0x1150966
Capabilities:
Get common file path

Disassembly:
mov eax, 0x128434c
call fcn.01160168
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.01052598
xor edi, edi
mov dword [ebp - 4], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4a4]
call fcn.01045d6e
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x49c], eax
mov dword [ebp - 4], 1
push 0x105
lea ecx, [ebp - 0x49c]
call fcn.01055a45
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 0x1150a03
push dword [ebp - 0x498]
push edi
push edi
push 0x8005
push edi
call esi
lea ecx, [ebp - 0x4a0]
call fcn.01044ec9
mov byte [ebp - 4], 2
push 0xf004
lea ecx, [ebp - 0x4a0]
call fcn.01032a95
lea ecx, [ebp - 0x4b4]
call fcn.01044ec9
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4b4]
push eax
lea ecx, [ebp - 0x4a0]
call fcn.0108f97a
cmp eax, edi
jge 0x1150a4e
mov edi, eax
jmp 0x1150cc8
push ebx
lea ecx, [ebp - 0x4b0]
call fcn.01052598
mov byte [ebp - 4], 4
push 0x5f
lea ecx, [ebp - 0x4b0]
call fcn.01150620
cmp eax, edi
jge 0x1150a76
mov edi, eax
jmp 0x1150cb9
push dword [ebp - 0x4a0]
mov esi, dword [ebp - 0x49c]
push dword [ebp - 0x4b0]
lea ecx, [ebp - 0x4c8]
push esi
call fcn.0105284b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a8]
call fcn.01044ec9
mov byte [ebp - 4], 6
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x4c8]
call fcn.01052d33
cmp eax, edi
jge 0x1150ac4
mov edi, eax
jmp 0x1150c9b
lea ecx, [ebp - 0x4ac]
call fcn.01044ec9
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.01047723
cmp eax, edi
jge 0x1150af0
mov edi, eax
jmp 0x1150c8c
lea ecx, [ebp - 0x4bc]
call fcn.01044ec9
mov byte [ebp - 4], 8
push 1
lea eax, [ebp - 0x4bc]
push eax
push 0xf518
call fcn.01104f07
push edi
push dword [ebp - 0x4bc]
lea ecx, [ebp - 0x490]
push 0x806
push dword [ebp - 0x4ac]
push dword [ebp - 0x4b4]
push edi
call fcn.01068c6a
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.01032a95
mov eax, dword [ebp - 0x4b8]
push dword [0x12d24cc]
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x448], esi
call fcn.01065cb1
mov esi, eax
dec esi
neg esi
sbb esi, esi
inc esi
je 0x1150c4b
mov ebx, dword [ebp - 0x4a4]
lea eax, [ebp - 0x218]
add ebx, 4
push eax
mov ecx, ebx
call fcn.01032977
lea ecx, [ebp - 0x504]
call fcn.011be2b9
mov byte [ebp - 4], 0xb
push dword [ebp - 0x494]
mov ecx, dword [ebp - 0x4a4]
lea eax, [ebp - 0x504]
push eax
call fcn.011505ef
cmp eax, edi
mov dword [ebp - 0x494], eax
jge 0x1150be9
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x504]
call fcn.011be39c
mov edi, dword [ebp - 0x494]
jmp 0x1150c5f
mov ecx, dword [ebp - 0x4a4]
lea eax, [ebp - 0x504]
push eax
call fcn.011506e9
cmp eax, edi
mov dword [ebp - 0x494], eax
jl 0x1150bd2
push dword [0x12d1f94]
lea ecx, [ebp - 0x498]
call fcn.0103966b
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x498]
push eax
push ebx
lea ecx, [ebp - 0x504]
call fcn.011be5d9
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x498]
call fcn.010328fa
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x504]
call fcn.011be39c
push 0xffffffffffffffff
lea ecx, [ebp - 0x49c]
call fcn.01032a0b
cmp esi, edi
jne 0x1150c5f
xor edi, edi
inc edi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4b8]
call fcn.010328fa
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x490]
call fcn.0106772f
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4bc]
call fcn.010454b8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4ac]
call fcn.010454b8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a8]
call fcn.010454b8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c8]
call fcn.0110773c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4b0]
call fcn.010454b8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4b4]
call fcn.010454b8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a0]
call fcn.010454b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x49c]
call fcn.010328fa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, edi
call fcn.0115fe73
pop edi
pop esi
pop ebx
leave
ret 8