Function at 0x47093c
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6d29d5
call fcn.006899cc
sub esp, 0x64
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
push 7
pop edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x40], ax
mov dword [ebp - 4], ebx
cmp byte [0x7ea0c6], al
je 0x47097d
push 0x6fdc84
push dword [ebp + 8]
call fcn.004849d5
jmp 0x470b63
push 0x6fdc98
push 0x6faa5c
call fcn.00473e2b
mov dword [ebp - 0x28], 0x374de290
mov dword [ebp - 0x24], 0x4565123f
mov dword [ebp - 0x20], 0xc4396491
mov dword [ebp - 0x1c], 0x7b465e92
test eax, eax
je 0x470a6a
lea ecx, [ebp - 0x18]
push ecx
push ebx
push 0x8000
lea ecx, [ebp - 0x28]
push ecx
call eax
test eax, eax
js 0x470a6a
push dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x58], ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edi
mov word [ebp - 0x58], ax
call fcn.004482e2
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0045b945
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x470a06
mov byte [ebp - 0x14], bl
push dword [ebp - 0x14]
push eax
call fcn.00448215
lea ecx, [ebp - 0x70]
call fcn.0044823e
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x470a49
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x470a40
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0044810a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x470a5f
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x470b1c
push 2
push 0x118
call fcn.0046f178
push 1
push 5
mov esi, eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x470b1c
xor eax, eax
mov dword [ebp - 0x58], ebx
push 0x6fdcb0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edi
mov word [ebp - 0x58], ax
call fcn.004482e2
push 1
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00449a5e
lea eax, [ebp - 0x70]
push eax
call fcn.0046f4a0
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x470ad9
mov byte [ebp - 0x14], bl
push dword [ebp - 0x14]
push eax
call fcn.00448215
lea ecx, [ebp - 0x70]
call fcn.0044823e
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x470b1c
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x470b13
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044810a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.00447f71
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x470b63
mov ecx, dword [ebp - 0x40]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x470b5a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044810a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4