Function at 0x4358a6
Capabilities:
Get common file path

Disassembly:
push 0x1fc
mov eax, 0x44b701
call fcn.0043bc61
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
sub ecx, 0x10
mov dword [ebp - 0x1e8], eax
call fcn.00429040
add eax, 0x10
mov dword [ebp - 0x1c0], eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c0]
call fcn.0043598d
push ecx
push 0x407e44
lea ecx, [ebp - 0x1c0]
call fcn.00435959
push ecx
push 0x407e34
lea ecx, [ebp - 0x1c0]
mov esi, eax
call fcn.00435959
push ecx
push 0x407e24
lea ecx, [ebp - 0x1c0]
mov ebx, eax
call fcn.00435959
cmp eax, 0xffffffff
je 0x435941
cmp esi, eax
jg 0x458f5b
cmp ebx, eax
jg 0x458f5b
mov ecx, dword [ebp - 0x1c0]
lea ecx, [ecx - 0x10]
call fcn.00429900
xor eax, eax
call fcn.0043bc10
ret 0x10
push ecx
lea ecx, [ebp - 0x28]
call fcn.004837d3
mov byte [ebp - 4], 1
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4a2a7c]
cmp eax, dword [ecx + 4]
jle 0x458fb6
mov esi, 0x4a2a7c
push esi
call fcn.0043ba62
cmp dword [0x4a2a7c], 0xffffffff
pop ecx
jne 0x458fb6
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.0048253e
push 0x450b80
call fcn.0043b961
push esi
mov byte [ebp - 4], 1
call fcn.0043ba0f
pop ecx
pop ecx
push ecx
lea ecx, [ebp - 0x1c0]
call fcn.0042c50d
mov edx, 0x4a2878
mov ecx, eax
call fcn.004831aa
test al, al
je 0x4591b5
and dword [ebp - 0x1c4], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c4]
and dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x1d8]
push eax
push 0
push 0
push 0x408f74
mov byte [ebp - 0x1d4], 1
call dword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
cmp byte [ebp - 0x1d4], 0
mov ebx, eax
je 0x459037
mov edx, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x1d8]
mov esi, dword [edx]
mov dword [edx], ecx
test esi, esi
je 0x459037
push esi
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
test ebx, ebx
js 0x45919d
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0x1c8]
call fcn.00423364
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 4
call fcn.0042c389
test eax, eax
js 0x45918f
lea ecx, [ebp - 0x1bc]
call fcn.0042bd68
mov eax, ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1c8]
mov ecx, dword [edi + 0x9c]
push eax
call fcn.0042e4f0
test eax, eax
js 0x459169
push 0
lea ecx, [ebp - 0x1bc]
call fcn.0042e5c5
push eax
lea ecx, [ebp - 0x1cc]
call fcn.00423364
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x208]
call fcn.00423441
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1cc]
lea ecx, [ecx - 0x10]
call fcn.00429900
push dword [ebp - 0x1e0]
lea ecx, [ebp - 0x208]
call fcn.0042a36c
test eax, eax
je 0x45912b
mov esi, dword [edi]
lea eax, [ebp - 0x1d0]
and dword [ebp - 0x1d0], 0
push eax
push dword [ebp - 0x1c4]
mov ecx, dword [esi + 0x34]
push edi
call dword [0x4a3670]
call dword [esi + 0x34]
test eax, eax
js 0x45912b
cmp dword [ebp - 0x1d0], 0
je 0x45912b
mov eax, dword [ebp - 0x1e4]
xor ecx, ecx
inc ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x1e8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1f4]
lea ecx, [ecx - 0x10]
call fcn.00429900
mov ecx, dword [ebp - 0x1f8]
lea ecx, [ecx - 0x10]
call fcn.00429900
mov ecx, dword [ebp - 0x208]
test ecx, ecx
je 0x459169
mov edx, dword [ebp - 0x204]
call fcn.0042628e
push dword [ebp - 0x208]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - fcn.0042be10], 0x401508
test eax, eax
je 0x45918f
lea ecx, [ebp - 0x1ac]
cmp eax, ecx
je 0x45918f
push eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov ecx, dword [ebp - 0x1c8]
lea ecx, [ecx - 0x10]
call fcn.00429900
mov eax, dword [ebp - 0x1c4]
and dword [ebp - 0x1c4], 0
test eax, eax
je 0x4591b5
push eax
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0048b877
jmp 0x435941