Function at 0x4268c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2cc3
mov eax, dword fs:[0]
push eax
sub esp, 0x6ac
mov eax, dword [0x52d474]
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.00493270
add esp, 0xc
push 0
push 0xb
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4f9530
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.00493270
add esp, 0xc
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x698], ecx
lea edx, [ebp - 0x420]
mov dword [ebp - 0x690], edx
mov eax, dword [ebp - 0x690]
mov dword [ebp - 0x6b4], eax
mov ecx, dword [ebp - 0x698]
mov dx, word [ecx]
mov word [ebp - 0x68a], dx
mov eax, dword [ebp - 0x690]
mov cx, word [ebp - 0x68a]
mov word [eax], cx
mov edx, dword [ebp - 0x698]
add edx, 2
mov dword [ebp - 0x698], edx
mov eax, dword [ebp - 0x690]
add eax, 2
mov dword [ebp - 0x690], eax
cmp word [ebp - 0x68a], 0
jne 0x426987
push 0x4f953c
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x670]
push edx
call fcn.00425290
mov ecx, eax
call fcn.00436320
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.00402fb0
push eax
lea ecx, [ebp - 0x658]
push ecx
call fcn.00402070
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x670]
call fcn.00404c10
push 0x4f9554
lea ecx, [ebp - 0x658]
call fcn.0040e2c0
push 0
lea edx, [ebp - 0x420]
push edx
push 0
lea ecx, [ebp - 0x658]
call fcn.004043f0
push eax
mov ecx, dword [ebp - 0x6a0]
call fcn.00426bd0
xor eax, eax
mov word [ebp - 0x628], ax
push 0x206
push 0
lea ecx, [ebp - 0x626]
push ecx
call fcn.00493270
add esp, 0xc
lea edx, [ebp - 0x218]
mov dword [ebp - 0x69c], edx
lea eax, [ebp - 0x628]
mov dword [ebp - 0x694], eax
mov ecx, dword [ebp - 0x694]
mov dword [ebp - 0x6b8], ecx
mov edx, dword [ebp - 0x69c]
mov ax, word [edx]
mov word [ebp - 0x68c], ax
mov ecx, dword [ebp - 0x694]
mov dx, word [ebp - 0x68c]
mov word [ecx], dx
mov eax, dword [ebp - 0x69c]
add eax, 2
mov dword [ebp - 0x69c], eax
mov ecx, dword [ebp - 0x694]
add ecx, 2
mov dword [ebp - 0x694], ecx
cmp word [ebp - 0x68c], 0
jne 0x426aac
push 0x4f9574
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x688]
push eax
call fcn.00425290
mov ecx, eax
call fcn.00436320
mov dword [ebp - 0x6ac], eax
mov ecx, dword [ebp - 0x6ac]
mov dword [ebp - 0x6b0], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x6b0]
call fcn.00402fb0
push eax
lea edx, [ebp - 0x640]
push edx
call fcn.00402070
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x688]
call fcn.00404c10
push str.Uninst.exe
lea ecx, [ebp - 0x640]
call fcn.0040e2c0
push 0
lea eax, [ebp - 0x628]
push eax
push 0
lea ecx, [ebp - 0x640]
call fcn.004043f0
push eax
mov ecx, dword [ebp - 0x6a0]
call fcn.00426bd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x640]
call fcn.00404860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x658]
call fcn.00404860
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491511
mov esp, ebp
pop ebp
ret