Function at 0x41cb50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
push fcn.00492070
lea eax, [ebp - 4]
lea esi, [ebp + 4]
push eax
add esi, 0xfffffffc
push esi
call fcn.00475ff0
add esp, 0xc
mov dword [ebp - 4], eax
push 0x5c2f18
push 0x5c2f1c
call fcn.0041a8f0
push eax
push dword [ebp - 4]
call fcn.00479160
mov eax, dword [ebp - 4]
push dword [eax]
call fcn.00491ec0
mov ecx, dword [ebp - 4]
add esp, 0x14
mov ecx, dword [ecx]
lea edi, [ecx - 4]
lea edi, [edi + eax*4]
mov dword [ebp - 0x20], edi
cmp edi, ecx
jb 0x41cdc5
push ebx
nop
push 0x41e400
lea eax, [ebp - 8]
push eax
push esi
call fcn.00475ff0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push 0x41e400
push eax
push esi
call fcn.00475ff0
push 0x41e400
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00475ff0
mov ecx, dword [0x664bf4]
add esp, 0x24
mov dword [ebp - 0xc], eax
test ecx, ecx
jne 0x41cc1d
push dword [0x664bec]
push eax
call fcn.004770b0
push dword [ebp - 0xc]
call fcn.00478db0
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, dword [ecx]
mov dword [0x664bf4], eax
mov dword [ecx], 0
mov ecx, dword [0x664bf4]
push ecx
push dword [ebp - 0x24]
call fcn.004770b0
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [0x664c00], 0
jne 0x41cd96
push dword [eax]
push str._s_luminati
push dword [ebp - 8]
call fcn.00477140
add esp, 0xc
cmp dword [0x654010], 0
je 0x41cd86
mov eax, dword [ebp - 8]
push dword [eax]
call fcn.00479120
add esp, 4
test eax, eax
jne 0x41cd86
push 0x41e400
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00475ff0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push 0x41e400
push eax
push esi
call fcn.00475ff0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push 0x41e400
push eax
push esi
call fcn.00475ff0
call fcn.0041a890
push eax
push dword [ebp - 0x14]
call fcn.004770b0
mov ecx, dword [0x664bfc]
add esp, 0x2c
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x41cd76
mov edi, dword [ebp - 0x18]
push edi
mov dword [ebp - 0x10], ecx
call fcn.00477230
add esp, 4
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x5c27f0
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x41cd71
push eax
push dword [ebp - 0x10]
push eax
call fcn.0059748d
push eax
call fcn.00590b90
mov ebx, eax
add esp, 0x10
cmp ebx, 0xffffffff
je 0x41cd71
push ebx
push edi
call fcn.00477260
push ebx
push dword [ebp - 0x10]
push dword [edi]
call fcn.0059748d
push eax
call fcn.00590b90
add esp, 0x18
cmp eax, 0xffffffff
je 0x41cd71
push edi
call fcn.00479480
push dword [ebp - 0x14]
call fcn.004794a0
add esp, 8
push dword [eax]
push esi
call fcn.00476480
add esp, 4
push eax
call fcn.0041e390
push dword [eax]
mov eax, dword [ebp - 0x18]
push dword [eax]
push str._s_BrightData__s
push dword [ebp - 0x1c]
call fcn.00477140
mov eax, dword [ebp - 0x1c]
add esp, 0x18
mov ecx, dword [eax]
mov dword [0x664bfc], ecx
mov dword [eax], 0
jmp 0x41cd73
xor ecx, ecx
mov edi, dword [ebp - 0x20]
push ecx
push 0x664c00
call fcn.004770b0
add esp, 8
jmp 0x41cd96
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
mov dword [0x664c00], eax
mov dword [ecx], 0
push dword [edi]
push dword [0x664c00]
push 0x5c28b8
push esi
call fcn.00476350
push dword [eax]
call fcn.00479930
mov eax, dword [ebp - 4]
sub edi, 4
add esp, 0x14
mov dword [ebp - 0x20], edi
cmp edi, dword [eax]
jae 0x41cbb0
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret