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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x8f4
push ebx
push esi
push edi
mov dword [esp + 0xa0], 0x4b982c5c
mov dword [esp + 0x44], 0x29597dea
mov dword [esp + 0x84], 0x1e79f341
mov dword [esp + 0xe8], 0x14a61136
mov dword [esp + 0x38], 0x4749d247
mov dword [esp + 0xc8], 0x4430afc7
mov dword [esp + 0xf4], 0x3717195c
mov dword [esp + 0x3c], 0x1ce146be
mov dword [esp + 0x9c], 0x645522e5
mov dword [esp + 0x54], 0x72faeebc
mov dword [esp + 0x88], 0x47b38955
mov dword [esp + 0xe0], 0x2bf7bfd0
mov dword [esp + 0x30], 0x4bc6aee8
mov dword [esp + 0xbc], 0x600dd483
mov dword [esp + 0x2c], 0x5b631ae4
mov dword [esp + 0x70], 0x308ede9d
mov dword [esp + 0x28], 0x2e93be4c
mov dword [esp + 0xd8], 0x6fb1ea23
mov dword [esp + 0x68], 0x91318e6
mov dword [esp + 0x98], 0x1dde7e3d
mov dword [esp + 0xb4], 0x2bacf86e
mov dword [esp + 0xfc], 0x104162ab
mov dword [esp + 0x60], 0x2d240c66
mov dword [esp + 0x58], 0x7c358495
mov dword [esp + 0x50], 0x6d09ab53
mov dword [esp + 0x48], 0xf559150
mov dword [esp + 0xd4], 0x3126499b
mov dword [esp + 0xc0], 0x4c9355f7
mov dword [esp + 0x7c], 0x37f20a8b
mov dword [esp + 0x34], 0x7a2b740e
mov dword [esp + 0xf0], 0x5a654f1
mov dword [esp + 0x94], 0x50e4f33c
mov dword [esp + 0x5c], 0x1aafdbc8
mov dword [esp + 0xb8], 0x1324d80e
mov dword [esp + 0x64], 0x7d7a15b8
mov dword [esp + 0xe4], 0x287fe39e
mov dword [esp + 0x74], 0x1d399618
mov dword [esp + 0x40], 0x1a27cd17
mov dword [esp + 0xac], 0x518fca80
mov dword [esp + 0x80], 0x2f84976d
mov dword [esp + 0x78], 0x218692f9
mov dword [esp + 0xdc], 0x1fad3365
mov dword [esp + 0xec], 0x36142037
mov dword [esp + 0x4c], 0xc8f469e
mov dword [esp + 0xf8], 0x2ec5f783
mov dword [esp + 0x90], 0x654b3c06
mov dword [esp + 0x8c], 0x12bb7d3a
mov dword [esp + 0xcc], 0x2c00e56a
mov dword [esp + 0xb0], 0x4afaf19f
mov dword [esp + 0xa8], 0xad001de
mov dword [esp + 0x6c], 0x7fadc9be
mov dword [esp + 0xa4], 0x15acc8e5
mov dword [esp + 0xc4], 0x36103182
mov dword [esp + 0xd0], 0x73b9be01
sub dword [esp + 0x84], 0x3e88b145
add dword [esp + 0xa0], 0x54085d21
add dword [esp + 0x44], 0x63b00af9
sub dword [esp + 0x44], 0x5faf1a09
sub dword [esp + 0xe8], 0x12465899
mov eax, 0x4fa3fcf6
mul dword [esp + 0x84]
mov eax, dword [esp + 0x84]
sub dword [esp + 0xc8], 0x521c386c
sub dword [esp + 0xa0], 0x24d25791
mov eax, 0x390f57b4
mul dword [esp + 0xa0]
mov eax, dword [esp + 0xa0]
sub dword [esp + 0x44], 0x16d22c3
add dword [esp + 0x84], 0x73308f2f
sub dword [esp + 0xa0], 0x7c04b27
add dword [esp + 0xf4], 0x40c509a8
sub dword [esp + 0xf4], 0x63a2c3ff
mov eax, 0xf5b1c4b
mul dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
add dword [esp + 0x88], 0x4e452f1c
add dword [esp + 0xf4], 0x6eed923b
add dword [esp + 0xe0], 0x303962b0
add dword [esp + 0xe8], 0x6e67941d
mov eax, 0x7ff4d8b2
mul dword [esp + 0xe0]
mov eax, dword [esp + 0xe0]
mov eax, 0x6dcc4aa5
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
add dword [esp + 0xe0], 0x177a8429
add dword [esp + 0xc8], 0xde9f131
mov eax, 0x594b634
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov eax, 0x42c0b5b8
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
sub dword [esp + 0xc8], 0x6f15d2fb
mov eax, 0x7b4b81f1
mul dword [esp + 0x84]
mov eax, dword [esp + 0x84]
sub dword [esp + 0xf4], 0x3d165e77
mov eax, 0x4be1c423
mul dword [esp + 0xe0]
mov eax, dword [esp + 0xe0]
sub dword [esp + 0x3c], 0x5f7279d6
sub dword [esp + 0xbc], 0x578195da
mov eax, 0x73b7ce
mul dword [esp + 0x54]
mov eax, dword [esp + 0x54]
add dword [esp + 0xd8], 0x455d2475
add dword [esp + 0x3c], 0x6df7303a
mov eax, 0x339170d1
mul dword [esp + 0xe8]
mov eax, dword [esp + 0xe8]
mov eax, 0x6e69eac6
mul dword [esp + 0xbc]
mov eax, dword [esp + 0xbc]
mov eax, 0x230c9258
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
add dword [esp + 0xb4], 0x3617c095
mov eax, 0x7289709
mul dword [esp + 0x98]
mov eax, dword [esp + 0x98]
sub dword [esp + 0x68], 0x2ac0e2b
mov eax, 0x2b6323cf
mul dword [esp + 0x30]
mov eax, dword [esp + 0x30]
sub dword [esp + 0x50], 0x4db4b24c
mov eax, 0x4583fb41
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, 0x6f55547e
mul dword [esp + 0x50]
mov eax, dword [esp + 0x50]
sub dword [esp + 0x28], 0x7cd557d6
add dword [esp + 0x48], 0x6a76a22d
mov eax, 0x1027a9ce
mul dword [esp + 0xa0]
mov eax, dword [esp + 0xa0]
sub dword [esp + 0x38], 0x52543f7d
sub dword [esp + 0x44], 0xdb99525
sub dword [esp + 0xa0], 0x2d9c853c
mov eax, 0x959abee
mul dword [esp + 0xa0]
mov eax, dword [esp + 0xa0]
add dword [esp + 0xb8], 0x78700bf3
mov eax, 0x387a13ef
mul dword [esp + 0x58]
mov eax, dword [esp + 0x58]
sub dword [esp + 0xbc], 0x2fd05a11
sub dword [esp + 0x30], 0x2bab6a91
mov eax, 0x266f9214
mul dword [esp + 0x30]
mov eax, dword [esp + 0x30]
add dword [esp + 0xc8], 0x3667c268
add dword [esp + 0x50], 0x14ad4d6d
mov eax, 0x2ec1c3ef
mul dword [esp + 0x50]
mov eax, dword [esp + 0x50]
sub dword [esp + 0xe0], 0x2a33633
mov eax, 0xa3c94a6
mul dword [esp + 0x88]
mov eax, dword [esp + 0x88]
add dword [esp + 0x84], 0x6edf1bf4
add dword [esp + 0x34], 0x1507bb1f
mov eax, 0x1d81cfe9
mul dword [esp + 0xb8]
mov eax, dword [esp + 0xb8]
mov eax, 0x7055969b
mul dword [esp + 0x64]
mov eax, dword [esp + 0x64]
sub dword [esp + 0xfc], 0x2487e17e
mov eax, 0x44f39b16
mul dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
add dword [esp + 0x5c], 0x4964983b
sub dword [esp + 0xf0], 0x5abce10
sub dword [esp + 0xc8], 0x72929c61
mov eax, 0x70139074
mul dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
add dword [esp + 0x64], 0x304ad14f
sub dword [esp + 0xe0], 0x12012d9d
sub dword [esp + 0xb8], 0x417e9539
mov eax, 0x1236b487
mul dword [esp + 0xd4]
mov eax, dword [esp + 0xd4]
mov eax, 0x19d4bd78
mul dword [esp + 0xe8]
mov eax, dword [esp + 0xe8]
add dword [esp + 0xa0], 0x603d601
sub dword [esp + 0x7c], 0x38429a73
add dword [esp + 0xb4], 0x2aa7f266
mov eax, 0x61cb9bb4
mul dword [esp + 0xe8]
mov eax, dword [esp + 0xe8]
add dword [esp + 0xa0], 0x3cdd1974
add dword [esp + 0xf8], 0x315d7c7c
sub dword [esp + 0x80], 0x3b1a4864
sub dword [esp + 0x34], 0x11ef591a
sub dword [esp + 0xe8], 0x26595391
mov eax, 0x674212e7
mul dword [esp + 0xcc]
mov eax, dword [esp + 0xcc]
add dword [esp + 0xb4], 0x2bfa9b1a
add dword [esp + 0x70], 0x4ebf9cb6
mov eax, 0x1f7ee99d
mul dword [esp + 0xac]
mov eax, dword [esp + 0xac]
add dword [esp + 0x64], 0x5241f9ef
sub dword [esp + 0xc4], 0x7d1c35c5
add dword [esp + 0x88], 0x109df526
mov eax, 0x50c9b59b
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
mov eax, 0x75d9384a
mul dword [esp + 0xc4]
mov eax, dword [esp + 0xc4]
sub dword [esp + 0xb8], 0x2701f87e
sub dword [esp + 0x54], 0x56517fc5
cmp dword [0x45ab6c], 0x400
jne 0x402004
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll__hread]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
lea eax, [esp + 0x104]
push eax
push str.mevufelewexepetadogidipexas
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push esi
call fcn.00402aca
add esp, 4
push esi
push esi
call fcn.00403229
push esi
call fcn.004031bb
add esp, 4
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
sub esp, 8
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00402960
fstp st(0)
add esp, 0x10
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
mov ecx, dword [esp + 0x28]
push 0
push 0
push ecx
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x12e8a06
jg 0x402038
inc esi
cmp esi, 0x30375
jl 0x402012
mov edi, dword [sym.imp.GDI32.dll_GetCharWidthI]
xor esi, esi
cmp esi, 0xa16
jge 0x402054
push 0
push 0
push 0
push 0
push 0
call edi
cmp esi, 0x166c480
jg 0x402065
inc esi
cmp esi, 0x37e3fd1
jl 0x402040
mov edx, dword [0x44ee1c]
mov dword [0x45ab6c], edx
call fcn.004015d0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, 0x2ec37
mov ebx, 0x51f
cmp dword [0x45ab6c], ebx
jne 0x40209a
lea eax, [esp + 0x100]
push eax
push 0
call esi
sub edi, 1
jne 0x402086
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10