Function at 0x41c5c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x533014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x840], ecx
cmp dword [ebp + 8], 0
jne 0x41c5e6
xor eax, eax
jmp 0x41c9f2
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
push 0x51b4a8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [edx]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x41c757
mov dx, word [0x52022c]
mov word [ebp - 0x420], dx
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.004ebd80
add esp, 0xc
push 0
push 0x17
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x50d6f8
push 0x104
lea edx, [ebp - 0x420]
push edx
call fcn.0041d570
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004ebd80
add esp, 0xc
push 0x50e16c
push 0x104
lea edx, [ebp - 0x420]
push edx
call fcn.0041d570
push 0x50d6f8
push 0x104
lea eax, [ebp - 0x420]
push eax
call fcn.0041d570
push 0x50e0b8
push 0x104
lea ecx, [ebp - 0x420]
push ecx
call fcn.0041d570
lea edx, [ebp - 0x420]
push edx
push 0
call fcn.0041d5d0
add esp, 8
test eax, eax
je 0x41c747
push 0x50d6f8
push 0x104
lea eax, [ebp - 0x420]
push eax
call fcn.0041d570
push 0x50e0b8
push 0x104
lea ecx, [ebp - 0x420]
push ecx
call fcn.0041d570
push str..lnk
push 0x104
lea edx, [ebp - 0x420]
push edx
call fcn.0041d570
push 0
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x18]
call ecx
test eax, eax
jne 0x41c740
mov dword [ebp - 4], 1
jmp 0x41c747
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 8]
call edx
jmp 0x41c75e
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x41c9ef
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x424]
call fcn.00418370
push 0x5c
lea ecx, [ebp - 0x424]
call fcn.0041d490
push eax
lea ecx, [ebp - 0x83c]
push ecx
lea ecx, [ebp - 0x424]
call fcn.00418530
push eax
lea ecx, [ebp - 0x424]
call fcn.00418390
lea ecx, [ebp - 0x83c]
call fcn.004335b0
lea edx, [ebp - 0x424]
push edx
lea ecx, [ebp - 0x428]
call fcn.00418370
push str.uninst.exe
lea ecx, [ebp - 0x428]
call fcn.0040e800
push 0x50d4a8
lea ecx, [ebp - 0x424]
call fcn.0040f550
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x424]
call fcn.0041d780
push 0x50d4a8
lea ecx, [ebp - 0x424]
call fcn.0040e800
lea ecx, [ebp - 0x428]
push ecx
mov ecx, dword [ebp - 0x840]
call fcn.0041ca10
cmp eax, 0x100000
jbe 0x41c839
push 1
lea ecx, [ebp - 0x428]
call fcn.0044ea20
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [eax + 0x44]
call edx
jmp 0x41c855
push 0
lea ecx, [ebp - 0x428]
call fcn.0044ea20
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ecx + 0x44]
call eax
lea ecx, [ebp - 0x424]
call fcn.0044ea20
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [edx + 0x50]
call ecx
lea edx, [ebp - 0xc]
push edx
push 0x51b4a8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x41c9d2
mov cx, word [0x52022c]
mov word [ebp - 0x838], cx
push 0x206
push 0
lea edx, [ebp - 0x836]
push edx
call fcn.004ebd80
add esp, 0xc
push 0
push 0x17
lea eax, [ebp - 0x838]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x50d6f8
push 0x104
lea ecx, [ebp - 0x838]
push ecx
call fcn.0041d570
xor edx, edx
mov word [ebp - 0x630], dx
push 0x206
push 0
lea eax, [ebp - 0x62e]
push eax
call fcn.004ebd80
add esp, 0xc
push 0x50e16c
push 0x104
lea ecx, [ebp - 0x838]
push ecx
call fcn.0041d570
push 0x50d6f8
push 0x104
lea edx, [ebp - 0x838]
push edx
call fcn.0041d570
push 0x50e0b8
push 0x104
lea eax, [ebp - 0x838]
push eax
call fcn.0041d570
lea ecx, [ebp - 0x838]
push ecx
push 0
call fcn.0041d5d0
add esp, 8
test eax, eax
je 0x41c9c2
push 0x50d6f8
push 0x104
lea edx, [ebp - 0x838]
push edx
call fcn.0041d570
push 0x50e140
push 0x104
lea eax, [ebp - 0x838]
push eax
call fcn.0041d570
push str..lnk
push 0x104
lea ecx, [ebp - 0x838]
push ecx
call fcn.0041d570
push 0
lea edx, [ebp - 0x838]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jne 0x41c9bb
mov dword [ebp - 4], 1
jmp 0x41c9c2
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x41c9d9
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.004335b0
lea ecx, [ebp - 0x424]
call fcn.004335b0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004eabb3
mov esp, ebp
pop ebp
ret 8