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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45652c
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push esi
xor esi, esi
push edi
sub eax, esi
mov ebx, ecx
je 0x4290d7
dec eax
jne 0x429373
push esi
push esi
push esi
push esi
call fcn.00429400
mov eax, dword [str.lF_F]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 3
push ecx
mov ecx, ebx
call fcn.004295e0
mov edx, dword [esp + 0xc]
cmp dword [edx - 8], esi
je 0x4290ac
mov ecx, 0x82
xor eax, eax
mov edi, 0x4686b0
rep stosd dword es:[edi], eax
mov eax, dword [edx - 8]
lea eax, [eax + eax + 2]
shr eax, 1
cmp eax, 0x7fffffff
ja 0x42903a
push eax
push edx
push 0x104
push 0x4686b0
call fcn.00429390
push 0x4686b0
mov ecx, ebx
call fcn.00429580
mov ecx, 0x4686b0
lea edi, [ebx + 0x7c0]
test ecx, ecx
je 0x42905e
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push esi
mov ecx, edi
call fcn.004079b0
test eax, eax
je 0x429090
mov eax, dword [edi]
lea ebx, [esi + esi]
push ebx
lea edx, [esi + esi + 2]
push 0x4686b0
push edx
push eax
call fcn.00402fc0
mov ecx, dword [edi]
add esp, 0x10
mov dword [ecx - 8], esi
mov edx, dword [edi]
mov word [ebx + edx], 0
mov eax, dword [0x468494]
push 1
push 0x4686b0
push 0x3922
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esp + 0xc]
mov eax, dword [0x46005c]
lea ecx, [edx - 0xc]
cmp ecx, eax
je 0x429373
add edx, 0xfffffff4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429373
mov edx, dword [esp + 0xc]
jmp 0x429367
push ebp
push esi
push esi
push esi
push esi
mov ecx, ebx
call fcn.00429400
mov ebp, dword [esp + 0x23c]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov dword [esp + 0x20], ebp
call fcn.00429580
mov ecx, dword [str.lF_F]
mov dword [esp + 0x14], ecx
push esi
lea edx, [esp + 0x24]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x24]
push 0x26
push edx
push esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x240], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x429221
mov eax, dword [str.lF_F]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, str.360360safe
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x42919c
mov edx, ecx
shr edx, 0x10
jne 0x42915f
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.00403d60
jmp 0x42919c
push str.360360safe
call ebp
mov esi, eax
test esi, esi
je 0x42919c
push esi
lea ecx, [esp + 0x14]
call fcn.00404130
test eax, eax
je 0x42919c
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x42919c
mov edi, dword [esp + 0x10]
mov eax, ecx
mov esi, str.360360safe
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x23c], 1
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov cx, word [esp + 0x23c]
lea edx, [esp + 0x20]
test edx, edx
mov word [esp + 0x20], cx
lea esi, [ebx + 0x7c0]
jne 0x4291d8
xor eax, eax
jmp 0x4291df
lea eax, [esp + 0x20]
push eax
call ebp
lea ecx, [esp + 0x20]
push ecx
push eax
mov ecx, esi
call fcn.00404190
mov eax, dword [esp + 0x10]
mov ecx, dword [0x46005c]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42928e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42928e
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00439890
add esp, 4
jmp 0x42928e
and ebp, 0xffff
lea ecx, [esp + 0x14]
push ebp
push 0x4605e8
push ecx
call fcn.00407560
mov eax, dword [ebx + 0x7c0]
mov ecx, dword [esp + 0x20]
lea esi, [ebx + 0x7c0]
add esp, 0xc
cmp eax, ecx
je 0x42928e
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x429262
mov edx, dword [0x46005c]
add eax, 0xfffffff4
cmp eax, edx
jne 0x429269
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x429277
mov edx, dword [ecx - 8]
push ecx
push edx
mov ecx, esi
call fcn.00404190
jmp 0x42928e
mov ecx, esi
call fcn.00404250
mov eax, dword [esp + 0x14]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [str.lF_F]
mov dword [esp + 0x18], eax
mov ecx, dword [ebx + 0x1ac]
push 0
push 0
push 0xf0
push ecx
mov byte [esp + 0x240], 2
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
pop ebp
je 0x4292df
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
push esi
call fcn.00429ac0
test eax, eax
je 0x4292d5
push 1
lea ecx, [ebx + 0xa4]
jmp 0x4292f4
push 0
lea ecx, [ebx + 0xa4]
jmp 0x4292f4
push 0
lea ecx, [ebx + 0xa4]
call fcn.004164e0
push 0
lea ecx, [ebx + 0x434]
call fcn.004164e0
mov eax, dword [esp + 0x238]
mov ecx, dword [0x468494]
push 0
push eax
push 0x3922
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x46005c]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x429344
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429344
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00439890
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x46005c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x429373
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429373
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00439890
add esp, 4
mov ecx, dword [esp + 0x224]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret 0x10