Function at 0x4018c4
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1cc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push esi
push edi
mov esi, 0x403230
mov dword [esp + 0x14], edx
lea edi, [esp + 0x18]
mov eax, 0x403290
push 0x10
push eax
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [esp + 0x14], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x403200
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x403240
lea edi, [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x403260
lea edi, [esp + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x403220
lea edi, [esp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x403250
lea edi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x403270
lea edi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x403280
lea edi, [esp + 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x403210
lea edi, [esp + 0xa0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x4031f0
lea edi, [esp + 0xb0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [esp + 0xc0]
lea eax, [esp + 0x20]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
call dword [sym.imp.VCRUNTIME140.dll_memcmp]
add esp, 0xc
test eax, eax
je 0x401a15
lea esi, [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x4019f4
push 0x104
push dword [esp + 0x14]
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
add esp, 0xc
lea ecx, [esp + 0xc8]
mov edx, ebx
push 0
push dword [esp + 0x18]
call fcn.00401682
pop ecx
pop ecx
push dword [esp + 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
inc edi
lea esi, [esp + 0x18]
mov eax, edi
shl eax, 4
push 0x10
add esi, eax
push 0x403290
push esi
call dword [sym.imp.VCRUNTIME140.dll_memcmp]
add esp, 0xc
test eax, eax
jne 0x4019a6
mov esi, dword [esp + 0xc]
mov bl, 0x41
lea eax, [esp + 0xc]
mov byte [esp + 0xc], bl
push eax
mov word [esp + 0x11], 0x5c3a
mov byte [esp + 0x13], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x401a4e
push 0
push dword [esp + 0x18]
mov edx, esi
lea ecx, [esp + 0x14]
call fcn.00401682
pop ecx
pop ecx
inc bl
cmp bl, 0x5a
jle 0x401a1b
mov ecx, dword [esp + 0x1d4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401bbf
mov esp, ebp
pop ebp
ret