Function at 0x42de00
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0316
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x53fbb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x460], ecx
mov ecx, 0x5437b0
call fcn.00401780
push eax
push 0x410
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00431980
push 0
push 0x3f0
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004319e0
mov ecx, eax
call fcn.004318a0
push 0
push 0x3ee
lea ecx, [ebp - 0x440]
push ecx
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004319e0
mov ecx, eax
call fcn.004318a0
push 0x64
push 0
push 0x3ee
lea edx, [ebp - 0x448]
push edx
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004319e0
mov ecx, eax
call fcn.00430fb0
push eax
lea ecx, [ebp - 0x444]
call fcn.00430ed0
mov ecx, eax
call fcn.00430f20
push 0x20
push 0x3ec
mov eax, dword [ebp - 0x460]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.SHLWAPI.dll_SHAutoComplete]
lea ecx, [ebp - 0x21d]
call fcn.00408be0
mov dword [ebp - 4], 0
push 0
push 0
push 0x104
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x21d]
call fcn.0044aac0
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 1
jne 0x42e03f
mov byte [ebp - 0x42d], 1
xor eax, eax
mov word [ebp - 0x42c], ax
push 0x206
push 0
lea ecx, [ebp - 0x42a]
push ecx
call fcn.00491200
add esp, 0xc
mov edx, dword [ebp - 0x460]
cmp dword [edx + 0x58], 0
je 0x42df8a
push 0x104
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 0x460]
call fcn.004304e0
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
jne 0x42df8a
mov byte [ebp - 0x42d], 0
movzx ecx, byte [ebp - 0x42d]
test ecx, ecx
je 0x42dfa8
push 0
push 0x26
lea edx, [ebp - 0x42c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x434]
call fcn.0042d5d0
mov byte [ebp - 4], 1
push 0x15
mov ecx, 0x5437d8
call fcn.0044d380
push eax
push 0x4fa870
lea eax, [ebp - 0x434]
push eax
call fcn.004315e0
add esp, 0xc
lea ecx, [ebp - 0x434]
call fcn.00430fb0
push eax
lea ecx, [ebp - 0x42c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x42c]
push edx
push 0x3ec
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00431980
push 1
push 0x3ed
lea eax, [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004319e0
mov ecx, eax
call fcn.00431910
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x434]
call fcn.004018d0
jmp 0x42e09d
lea ecx, [ebp - 0x21c]
push ecx
push 0x3ec
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00431980
push 0x3ec
lea edx, [ebp - 0x450]
push edx
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004319e0
mov ecx, eax
call fcn.00431930
push 0
push 0x3ec
lea eax, [ebp - 0x454]
push eax
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004319e0
mov ecx, eax
call fcn.00431910
mov ecx, dword [ebp - 0x460]
xor edx, edx
cmp dword [ecx + 0x58], 1
sete dl
mov byte [0x5436f2], dl
mov ecx, dword [ebp - 0x460]
call fcn.004308d0
push ecx
mov ecx, esp
mov dword [ebp - 0x458], esp
push 0xca
call fcn.00431880
mov ecx, dword [ebp - 0x460]
add ecx, 0x60
call fcn.00430dc0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21d]
call fcn.00444d10
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049115e
mov esp, ebp
pop ebp
ret 0x10