Function at 0x419f43
Capabilities:
Get common file path

Disassembly:
mov eax, 0x470415
call fcn.0044e5d8
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 0x479e04
lea ecx, [ebp + 0xc]
call fcn.00407a4e
test eax, eax
jl 0x41a16f
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x479e00
call fcn.00401a8d
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
lea ecx, [ebp - 0xec]
call fcn.00407c91
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 0x419fbb
mov eax, dword [eax + 4]
jmp 0x419fbe
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.00402588
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 0x41a00c
push dword [ebp - 0xec]
call fcn.00450476
pop ecx
lea eax, [ebp - 0x24]
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00426475
mov ecx, eax
call fcn.00407d8a
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00426475
mov ecx, eax
call fcn.00407dac
mov edi, eax
lea eax, [ebp - 0x44]
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00426475
mov ecx, eax
call fcn.00407d8a
push 0x4542fc
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.0041d22c
add esp, 0x20
lea eax, [ebp - 0x2f4]
push eax
xor esi, esi
push esi
push esi
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00426475
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040486d
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 0x41a164
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x10]
call fcn.00407f28
mov byte [ebp - 4], 0xc
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00426475
push str.PROGRAMFILES
mov ecx, eax
call fcn.00407ba1
test eax, eax
jne 0x41a10d
push esi
push 0x479df8
lea ecx, [ebp - 0x10]
call fcn.00407a4e
test eax, eax
jl 0x41a10d
push 0x475c60
push 0x479dec
lea ecx, [ebp - 0x10]
call fcn.00410880
lea ecx, [ebp - 0x10]
call fcn.00410e4c
mov ecx, eax
call fcn.00410ae1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.00407e18
push 2
lea ecx, [ebp - 0x3c]
call fcn.00426475
cmp dword [eax + 0x18], 0x10
jb 0x41a12e
mov eax, dword [eax + 4]
jmp 0x41a131
add eax, 4
push eax
lea ecx, [ebp - 0x18]
call fcn.00407e68
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp + 0xc]
push eax
call fcn.00404261
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.0040662e
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