Function at 0x41f51b
Capabilities:
Get common file path

Disassembly:
push 0x1fc
mov eax, 0x469b33
call fcn.0046791c
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1dc], eax
lea eax, [ecx + 0x14]
mov dword [ebp - 0x1d4], ecx
lea ecx, [ebp - 0x1c0]
push eax
call fcn.00437fc6
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c0]
call fcn.00458630
push ecx
push 0x40b19c
lea ecx, [ebp - 0x1c0]
call fcn.00456431
push ecx
push 0x40b18c
lea ecx, [ebp - 0x1c0]
mov esi, eax
call fcn.00456431
push ecx
push 0x40b1ac
lea ecx, [ebp - 0x1c0]
mov ebx, eax
call fcn.00456431
cmp eax, 0xffffffff
je 0x41f78c
cmp esi, eax
jg 0x41f5b1
cmp ebx, eax
jle 0x41f78c
push 0x412730
lea ecx, [ebp - 0x28]
call fcn.0042ba3a
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4a30e0]
cmp eax, dword [ecx + 4]
jg 0x41f7a1
push ecx
lea ecx, [ebp - 0x1c0]
call fcn.004567c0
mov edx, 0x4a2c88
mov ecx, eax
call fcn.00453235
test al, al
je 0x41f784
xor ecx, ecx
mov dword [ebp - 0x1c4], ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x1e4]
push eax
push ecx
push ecx
push 0x4054c4
mov dword [ebp - 0x1e4], ecx
mov byte [ebp - 0x1e0], bl
call dword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
lea ecx, [ebp - 0x1e8]
mov esi, eax
call fcn.00448fa8
test esi, esi
js 0x41f779
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0x1c8]
call fcn.0042b2d0
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 4
call fcn.0045b705
test eax, eax
js 0x41f76e
lea ecx, [ebp - 0x1bc]
call fcn.0041b890
mov eax, ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1c8]
mov ecx, dword [edi + 0xa0]
push eax
call fcn.004675ab
test eax, eax
js 0x41f752
push 0
lea ecx, [ebp - 0x1bc]
call fcn.00434f80
push eax
lea ecx, [ebp - 0x1cc]
call fcn.0042b2d0
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x208]
call fcn.00453ae1
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 8
call fcn.00438070
push dword [ebp - 0x1d4]
lea ecx, [ebp - 0x208]
call fcn.0041a35a
test eax, eax
je 0x41f731
mov eax, dword [edi]
and dword [ebp - 0x1d0], 0
mov esi, dword [eax + 0x34]
lea eax, [ebp - 0x1d0]
push eax
push dword [ebp - 0x1c4]
mov ecx, esi
push edi
call dword [0x4a47a8]
call esi
test eax, eax
js 0x41f731
cmp dword [ebp - 0x1d0], 0
je 0x41f731
mov eax, dword [ebp - 0x1d8]
mov dword [eax], ebx
mov eax, dword [ebp - 0x1dc]
mov dword [eax], ebx
lea ecx, [ebp - 0x1f4]
call fcn.00438070
lea ecx, [ebp - 0x1f8]
call fcn.00438070
lea ecx, [ebp - 0x208]
call fcn.0041de5f
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x1bc], 0x401104
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00434927
lea ecx, [ebp - 0x1c8]
call fcn.00438070
lea ecx, [ebp - 0x1c4]
call fcn.00448fbf
lea ecx, [ebp - 0x28]
call fcn.0042e2f9
lea ecx, [ebp - 0x1c0]
call fcn.00438070
xor eax, eax
call fcn.004678b9
ret 0x10
mov esi, 0x4a30e0
push esi
call fcn.0042c750
cmp dword [0x4a30e0], 0xffffffff
pop ecx
jne 0x41f5dd
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x4a2c88
call fcn.004525c4
push 0x472600
call fcn.0042c50a
push esi
mov byte [ebp - 4], bl
call fcn.0042c6fe
pop ecx
pop ecx
jmp 0x41f5dd