Function at 0x41cfcf
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4756df
call fcn.0045357c
sub esp, 0x2e8
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push esi
push 0x47ee8c
lea ecx, [ebp + 0xc]
call fcn.0040b540
test eax, eax
jl 0x41d1fb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x47ee88
call fcn.00401a8d
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
lea ecx, [ebp - 0xec]
call fcn.0040b79e
mov byte [ebp - 4], 3
push dword [eax]
lea ecx, [ebp - 0x68]
call fcn.00401a8d
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 0x10
jb 0x41d047
mov eax, dword [eax + 4]
jmp 0x41d04a
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00401a8d
mov byte [ebp - 4], 5
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 7
call fcn.0040898a
add esp, 0x3c
mov byte [ebp - 4], 9
push esi
push ebx
lea ecx, [ebp - 0x68]
call fcn.004014ab
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xe8]
cmp dword [ebp - 0xec], eax
je 0x41d098
push dword [ebp - 0xec]
call fcn.00455027
pop ecx
lea eax, [ebp - 0x24]
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0042b4bc
mov ecx, eax
call fcn.00403d32
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0042b4bc
mov ecx, eax
call fcn.00403d54
mov edi, eax
lea eax, [ebp - 0x44]
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0042b4bc
mov ecx, eax
call fcn.00403d32
push 0x4592fc
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x4c]
push eax
call fcn.004202b8
add esp, 0x20
lea eax, [ebp - 0x2f4]
push eax
xor esi, esi
push esi
push esi
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0042b4bc
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00404312
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov byte [ebp - 4], 0xa
call dword [eax + 0x24]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x41d1f0
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041518e
mov byte [ebp - 4], 0xc
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0042b4bc
push str.PROGRAMFILES
mov ecx, eax
call fcn.00403914
test eax, eax
jne 0x41d199
push esi
push 0x47ee80
lea ecx, [ebp - 0x10]
call fcn.0040b540
test eax, eax
jl 0x41d199
push 0x47ad14
push 0x47ee74
lea ecx, [ebp - 0x10]
call fcn.0041435a
lea ecx, [ebp - 0x10]
call fcn.00414888
mov ecx, eax
call fcn.004144fe
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040b95f
push 2
lea ecx, [ebp - 0x3c]
call fcn.0042b4bc
cmp dword [eax + 0x18], 0x10
jb 0x41d1ba
mov eax, dword [eax + 4]
jmp 0x41d1bd
add eax, 4
push eax
lea ecx, [ebp - 0x18]
call fcn.0040b9c2
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040918b
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18]
call fcn.00401436
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x10]
call fcn.00401436
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3c]
call fcn.004067e7
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.0040181b
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401436
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8