Function at 0x42c070
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa913
mov eax, dword fs:[0]
push eax
sub esp, 0x6ac
mov eax, dword [0x537474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6a0], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0049d060
add esp, 0xc
push 0
push 0xb
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5014c4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
xor edx, edx
mov word [ebp - 0x420], dx
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.0049d060
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x628], cx
push 0x206
push 0
lea edx, [ebp - 0x626]
push edx
call fcn.0049d060
add esp, 0xc
lea eax, [ebp - 0x218]
mov dword [ebp - 0x698], eax
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x690], ecx
mov edx, dword [ebp - 0x690]
mov dword [ebp - 0x6b4], edx
mov eax, dword [ebp - 0x698]
mov cx, word [eax]
mov word [ebp - 0x68a], cx
mov edx, dword [ebp - 0x690]
mov ax, word [ebp - 0x68a]
mov word [edx], ax
mov ecx, dword [ebp - 0x698]
add ecx, 2
mov dword [ebp - 0x698], ecx
mov edx, dword [ebp - 0x690]
add edx, 2
mov dword [ebp - 0x690], edx
cmp word [ebp - 0x68a], 0
jne 0x42c156
lea eax, [ebp - 0x218]
mov dword [ebp - 0x69c], eax
lea ecx, [ebp - 0x628]
mov dword [ebp - 0x694], ecx
mov edx, dword [ebp - 0x694]
mov dword [ebp - 0x6b8], edx
mov eax, dword [ebp - 0x69c]
mov cx, word [eax]
mov word [ebp - 0x68c], cx
mov edx, dword [ebp - 0x694]
mov ax, word [ebp - 0x68c]
mov word [edx], ax
mov ecx, dword [ebp - 0x69c]
add ecx, 2
mov dword [ebp - 0x69c], ecx
mov edx, dword [ebp - 0x694]
add edx, 2
mov dword [ebp - 0x694], edx
cmp word [ebp - 0x68c], 0
jne 0x42c1c2
push 0x5014d0
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x5014e8
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x670]
push edx
call fcn.0042aec0
mov ecx, eax
call fcn.0043e950
mov dword [ebp - 0x6a4], eax
mov eax, dword [ebp - 0x6a4]
mov dword [ebp - 0x6a8], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x6a8]
call fcn.00403340
push eax
lea ecx, [ebp - 0x658]
push ecx
call fcn.00402380
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x670]
call fcn.00404f10
push 0x501500
lea ecx, [ebp - 0x658]
call fcn.004121b0
lea edx, [ebp - 0x688]
push edx
call fcn.0042aec0
mov ecx, eax
call fcn.0043e950
mov dword [ebp - 0x6ac], eax
mov eax, dword [ebp - 0x6ac]
mov dword [ebp - 0x6b0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x6b0]
call fcn.00403340
push eax
lea ecx, [ebp - 0x640]
push ecx
call fcn.00402380
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x688]
call fcn.00404f10
push str.Uninst.exe
lea ecx, [ebp - 0x640]
call fcn.004121b0
push 0
lea edx, [ebp - 0x420]
push edx
push 0
lea ecx, [ebp - 0x658]
call fcn.004046f0
push eax
mov ecx, dword [ebp - 0x6a0]
call fcn.0042c680
push 0
lea eax, [ebp - 0x628]
push eax
push 0
lea ecx, [ebp - 0x640]
call fcn.004046f0
push eax
mov ecx, dword [ebp - 0x6a0]
call fcn.0042c680
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x640]
call fcn.00404b60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x658]
call fcn.00404b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497ebf
mov esp, ebp
pop ebp
ret