Function at 0x4b42cc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x4b42d5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b4c
mov eax, dword [ebp - 8]
call fcn.00404b4c
mov eax, dword [ebp - 0xc]
call fcn.00404b4c
xor eax, eax
push ebp
push 0x4b4598
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x119]
mov cl, 0x20
mov edx, 0x105
call fcn.004031fc
xor eax, eax
push ebp
push 0x4b435d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 2
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004b1c28
lea eax, [ebp - 0x119]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b4367
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x119]
mov ecx, 0x105
call fcn.0040490c
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x14]
call fcn.004088e4
cmp dword [ebp - 0x14], 0
je 0x4b4565
mov eax, dword [ebp - 0x14]
call fcn.0040495c
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax - 1], 0x5c
je 0x4b43b4
lea eax, [ebp - 0x14]
mov edx, 0x4b45b0
call fcn.00404964
push dword [ebp - 0x14]
push dword [ebp - 4]
push 0x4b45b0
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404a1c
mov eax, dword [ebp - 0x14]
call fcn.004b331c
xor eax, eax
push ebp
push 0x4b4435
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x4b45b0
lea edx, [ebp - 0x128]
mov eax, 0x4b45bc
call fcn.004ac1e0
push dword [ebp - 0x128]
push 0x4b45cc
push dword [ebp - 4]
lea eax, [ebp - 0x124]
mov edx, 5
call fcn.00404a1c
mov edx, dword [ebp - 0x124]
mov ecx, 2
mov eax, dword [ebp - 0xc]
call fcn.004b33ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b443f
cmp byte [ebp + 8], 0
je 0x4b44fa
xor eax, eax
push ebp
push 0x4b44f0
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x4b45b0
lea edx, [ebp - 0x130]
mov eax, 0x4b45d8
call fcn.004ac1e0
push dword [ebp - 0x130]
push 0
lea eax, [ebp - 0x12c]
mov edx, 4
call fcn.00404a1c
mov eax, dword [ebp - 0x12c]
push eax
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0xc]
call fcn.00409474
push dword [ebp - 0x138]
push dword [ebp - 4]
push 0x4b45cc
lea edx, [ebp - 0x13c]
mov eax, 0x4b45d8
call fcn.004ac1e0
push dword [ebp - 0x13c]
push 0x4b45e8
lea eax, [ebp - 0x134]
mov edx, 5
call fcn.00404a1c
mov eax, dword [ebp - 0x134]
mov ecx, 2
pop edx
call fcn.004b33ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b44fa
xor eax, eax
push ebp
push 0x4b455b
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x4b45b0
lea edx, [ebp - 0x144]
mov eax, 0x4b45f8
call fcn.004ac1e0
push dword [ebp - 0x144]
push 0x4b45cc
push dword [ebp - 4]
lea eax, [ebp - 0x140]
mov edx, 5
call fcn.00404a1c
mov edx, dword [ebp - 0x140]
mov ecx, 2
mov eax, dword [ebp - 8]
call fcn.004b33ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b4565
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b459f
lea eax, [ebp - 0x144]
mov edx, 0xa
call fcn.004046c0
lea eax, [ebp - 0x14]
call fcn.0040469c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046c0
ret