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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5704e6
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x5e5e08]
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, 0x5ebaa8
call fcn.00401830
push eax
push 0x410
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00441550
push 0
push 0x3f0
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004415b0
mov ecx, eax
call fcn.00441470
push 0
push 0x3ee
lea ecx, [ebp - 0x440]
push ecx
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004415b0
mov ecx, eax
call fcn.00441470
push 0x64
push 0
push 0x3ee
lea edx, [ebp - 0x448]
push edx
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004415b0
mov ecx, eax
call fcn.00441460
push eax
lea ecx, [ebp - 0x444]
call fcn.00440730
mov ecx, eax
call fcn.00440780
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.0043cc20
mov dword [ebp - 4], 0
push 0
push 0
push 0x104
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x21d]
call fcn.0045e430
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 1
jne 0x43d71f
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.004b6500
add esp, 0xc
mov edx, dword [ebp - 0x460]
cmp dword [edx + 0x58], 0
je 0x43d66a
push 0x104
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 0x460]
call fcn.0043fc60
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
jne 0x43d66a
mov byte [ebp - 0x42d], 0
movzx ecx, byte [ebp - 0x42d]
test ecx, ecx
je 0x43d688
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.0043cc40
mov byte [ebp - 4], 1
push 0x15
mov ecx, 0x5ebad0
call fcn.00461270
push eax
push 0x586a10
lea eax, [ebp - 0x434]
push eax
call fcn.00441110
add esp, 0xc
lea ecx, [ebp - 0x434]
call fcn.00437570
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.00441550
push 1
push 0x3ed
lea eax, [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004415b0
mov ecx, eax
call fcn.004414e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x434]
call fcn.00401980
jmp 0x43d77d
lea ecx, [ebp - 0x21c]
push ecx
push 0x3ec
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00441550
push 0x3ec
lea edx, [ebp - 0x450]
push edx
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004415b0
mov ecx, eax
call fcn.00441500
push 0
push 0x3ec
lea eax, [ebp - 0x454]
push eax
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.004415b0
mov ecx, eax
call fcn.004414e0
mov ecx, dword [ebp - 0x460]
xor edx, edx
cmp dword [ecx + 0x58], 1
sete dl
mov byte [0x5eb9f2], dl
mov ecx, dword [ebp - 0x460]
call fcn.00440080
push ecx
mov ecx, esp
mov dword [ebp - 0x458], esp
push 0xca
call fcn.00441420
mov ecx, dword [ebp - 0x460]
add ecx, 0x60
call fcn.004405b0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21d]
call fcn.0043cc30
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.004b645d
mov esp, ebp
pop ebp
ret 0x10