Function at 0x1004c27a
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x8c8
mov eax, 0x1009768f
call fcn.1007684e
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x8d4], esi
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
mov dword [ebp - 0x8d0], ebx
mov word [ebx], ax
push 0x208
xor edi, edi
lea eax, [ebp - 0x224]
push esi
mov dword [ebp - 4], esi
inc edi
push eax
mov dword [ebp - 0x8d4], edi
call fcn.1005d3f0
xor eax, eax
add esp, 0xc
cmp byte [ebp + 8], al
push edi
sete al
dec eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp - 0x224]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1004c626
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x878]
call fcn.1000f6ca
push 0xffffffffffffffff
push esi
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.1001054a
push esi
push edi
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 0
call fcn.1000f89d
mov edi, str.BaiduCommon
push edi
call fcn.1005d0d1
pop ecx
push eax
mov ecx, ebx
push edi
call fcn.100104a9
mov ecx, ebx
call fcn.1004c640
test al, al
jne 0x1004c611
cmp dword [ebx + 0x10], esi
je 0x1004c611
push ebx
lea ecx, [ebp - 0x894]
call fcn.1000f6a2
mov dword [ebp - 4], 2
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x1004c36e
mov eax, dword [ebx]
jmp 0x1004c370
mov eax, ebx
cmp word [eax + ecx*2 - 2], 0x5c
mov ebx, 0x100afb00
je 0x1004c3ae
push ebx
lea ecx, [ebp - 0x878]
call fcn.1000f6ca
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 3
call fcn.1001054a
push esi
push 1
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 2
call fcn.1000f89d
cmp dword [ebp - 0x880], 8
mov ecx, dword [ebp - 0x894]
jae 0x1004c3c3
lea ecx, [ebp - 0x894]
mov eax, 0x100
push eax
lea edx, [ebp - 0x824]
push edx
push eax
lea edx, [ebp - 0x624]
push edx
push eax
lea eax, [ebp - 0x424]
push eax
push 3
lea eax, [ebp - 0x1c]
push eax
push ecx
call fcn.10062582
add esp, 0x24
push ebx
lea ecx, [ebp - 0x8b0]
call fcn.1000f6ca
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 4
call fcn.1000f6ca
mov ecx, edi
lea edi, [ebp - 0x85c]
mov byte [ebp - 4], 5
call fcn.1004c954
xor edi, edi
push esi
inc edi
push edi
lea ecx, [ebp - 0x878]
call fcn.1000f89d
push esi
push edi
lea ecx, [ebp - 0x8b0]
mov byte [ebp - 4], 8
call fcn.1000f89d
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x840]
call fcn.1000f6ca
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], 9
call fcn.1004c640
test al, al
jne 0x1004c488
push esi
push edi
lea ecx, [ebp - 0x840]
call fcn.1000f89d
push esi
push edi
lea ecx, [ebp - 0x85c]
call fcn.1000f89d
push esi
push edi
jmp 0x1004c5fc
cmp dword [ebp - 0x830], esi
je 0x1004c467
cmp dword [ebp - 0x82c], 8
mov ecx, dword [ebp - 0x840]
mov eax, ecx
jae 0x1004c4a7
lea eax, [ebp - 0x840]
cmp word [eax], 0x5c
jne 0x1004c4d9
cmp dword [ebp - 0x82c], 8
mov eax, ecx
jae 0x1004c4c0
lea eax, [ebp - 0x840]
mov ecx, eax
cmp eax, esi
jne 0x1004c4c8
xor eax, eax
jmp 0x1004c4cc
sub eax, ecx
sar eax, 1
push edi
push eax
lea ecx, [ebp - 0x840]
call fcn.1000f9bb
push ebx
call fcn.1005d0d1
pop ecx
push eax
push esi
push ebx
lea ecx, [ebp - 0x840]
call fcn.1004c84a
mov edi, eax
jmp 0x1004c5d4
push edi
push esi
lea eax, [ebp - 0x878]
push eax
lea ecx, [ebp - 0x840]
call fcn.10013ee3
inc edi
push edi
push esi
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 0xa
call fcn.1000f9bb
push ebx
lea ecx, [ebp - 0x8cc]
call fcn.1000f6ca
lea ecx, [ebp - 0x8b0]
mov esi, eax
push ecx
lea eax, [ebp - 0x878]
mov byte [ebp - 4], 0xb
call fcn.1004c999
pop ecx
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], 0xc
call fcn.1001054a
xor edi, edi
push esi
inc edi
push edi
lea ecx, [ebp - 0x8b0]
call fcn.1000f89d
push esi
push edi
lea ecx, [ebp - 0x8cc]
mov byte [ebp - 4], 0xa
call fcn.1000f89d
lea ecx, [ebp - 0x85c]
call fcn.1004c640
test al, al
jne 0x1004c5a9
cmp dword [ebp - 0x848], 8
mov eax, dword [ebp - 0x85c]
jae 0x1004c59a
lea eax, [ebp - 0x85c]
push eax
call fcn.10062794
pop ecx
test eax, eax
jne 0x1004c62e
push ebx
call fcn.1005d0d1
pop ecx
push eax
push esi
push ebx
lea ecx, [ebp - 0x840]
call fcn.1004c84a
push esi
push 1
lea ecx, [ebp - 0x878]
mov edi, eax
mov byte [ebp - 4], 9
call fcn.1000f89d
xor esi, esi
cmp edi, 0xffffffff
jne 0x1004c4f5
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.1000f89d
push esi
push 1
lea ecx, [ebp - 0x85c]
call fcn.1000f89d
push esi
push 1
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 0
call fcn.1000f89d
mov ebx, dword [ebp - 0x8d0]
mov esi, str.Global.db
push esi
call fcn.1005d0d1
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.100104a9
mov eax, ebx
call fcn.100768d1
ret
push esi
push edi
lea ecx, [ebp - 0x878]
call fcn.1000f89d
jmp 0x1004c467