Function at 0x415580
Capabilities:
Get disk information
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437ba1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x640
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x64c]
mov ecx, 0x190
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_492
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x41
jmp 0x4155d9
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5b
jge 0x415a31
push 0x43ebdc
push 1
mov cl, byte [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x5c4]
call sub.MFC42D.DLL_Ordinal_486
mov dword [ebp - 0x5e0], eax
mov edx, dword [ebp - 0x5e0]
mov dword [ebp - 0x5e4], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5e4]
push eax
lea ecx, [ebp - 0x5c8]
push ecx
call sub.MFC42D.DLL_Ordinal_901
mov dword [ebp - 0x5e8], eax
mov edx, dword [ebp - 0x5e8]
mov dword [ebp - 0x5ec], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x5ec]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c8]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c4]
call sub.MFC42D.DLL_Ordinal_684
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_880
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x5f0], eax
mov ecx, dword [ebp - 0x5f0]
sub ecx, 2
mov dword [ebp - 0x5f0], ecx
cmp dword [ebp - 0x5f0], 3
ja case.default.0x4156a5
mov edx, dword [ebp - 0x5f0]
jmp dword [edx*4 + 0x415a60]
mov esi, esp
push 0x200
push 0x160
lea eax, [ebp - 0x17c]
push eax
push 0
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
lea ecx, [ebp - 0x170]
push ecx
lea ecx, [ebp - 0x180]
call sub.MFC42D.DLL_Ordinal_487
mov byte [ebp - 4], 3
push 4
lea edx, [ebp - 0x5cc]
push edx
lea ecx, [ebp - 0x180]
call sub.MFC42D.DLL_Ordinal_4405
mov dword [ebp - 0x5f4], eax
mov eax, dword [ebp - 0x5f4]
mov dword [ebp - 0x5f8], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5f8]
push ecx
lea ecx, [ebp - 0x180]
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5cc]
call sub.MFC42D.DLL_Ordinal_684
push str._A:_
lea edx, [ebp - 0x180]
push edx
call sub.MFC42D.DLL_Ordinal_813
and eax, 0xff
test eax, eax
jne 0x41576c
push str._B:_
lea eax, [ebp - 0x180]
push eax
call sub.MFC42D.DLL_Ordinal_813
and eax, 0xff
test eax, eax
je 0x415790
push 0xffff0002
mov ecx, dword [ebp + 8]
push ecx
push 8
push 8
lea edx, [ebp - 0x170]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x60]
call sub.MFC42D.DLL_Ordinal_3297
mov dword [ebp - 0x18], eax
jmp 0x4157b2
push 0xffff0002
mov ecx, dword [ebp + 8]
push ecx
push 0xb
push 0xb
lea edx, [ebp - 0x170]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x60]
call sub.MFC42D.DLL_Ordinal_3297
mov dword [ebp - 0x18], eax
push 0x44
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x60]
call sub.MFC42D.DLL_Ordinal_4706
push 0xffff0002
mov eax, dword [ebp - 0x18]
push eax
push str.Temp
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x60]
call sub.MFC42D.DLL_Ordinal_3298
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x180]
call sub.MFC42D.DLL_Ordinal_684
jmp case.default.0x4156a5
mov esi, esp
push 0x200
push 0x160
lea edx, [ebp - 0x2e0]
push edx
push 0
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0xffff0002
mov eax, dword [ebp + 8]
push eax
push 9
push 9
lea ecx, [ebp - 0x2d4]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x60]
call sub.MFC42D.DLL_Ordinal_3297
mov dword [ebp - 0x18], eax
push 0x48
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x60]
call sub.MFC42D.DLL_Ordinal_4706
mov edx, dword [ebp - 0x18]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x5d0], esp
lea eax, [ebp - 0x14]
push eax
call sub.MFC42D.DLL_Ordinal_485
mov dword [ebp - 0x5fc], eax
mov ecx, dword [ebp - 0x10]
call fcn.00415a70
jmp case.default.0x4156a5
mov esi, esp
push 0x200
push 0x160
lea ecx, [ebp - 0x440]
push ecx
push 0
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0xffff0002
mov edx, dword [ebp + 8]
push edx
push 0xa
push 0xa
lea eax, [ebp - 0x434]
push eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x60]
call sub.MFC42D.DLL_Ordinal_3297
mov dword [ebp - 0x18], eax
push 0xffff0002
mov edx, dword [ebp - 0x18]
push edx
push str.Temp
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x60]
call sub.MFC42D.DLL_Ordinal_3298
lea ecx, [ebp - 0x45c]
call sub.MFC42D.DLL_Ordinal_345
mov byte [ebp - 4], 5
push 0
push 0x43ebc8
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x5d4]
push edx
call sub.MFC42D.DLL_Ordinal_901
mov dword [ebp - 0x600], eax
mov eax, dword [ebp - 0x600]
mov dword [ebp - 0x604], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x604]
call sub.MFC42D.DLL_Ordinal_880
push eax
lea ecx, [ebp - 0x45c]
call sub.MFC42D.DLL_Ordinal_2133
mov dword [ebp - 0x460], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5d4]
call sub.MFC42D.DLL_Ordinal_684
cmp dword [ebp - 0x460], 0
je 0x415985
push 0x70
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x60]
call sub.MFC42D.DLL_Ordinal_4706
mov eax, dword [ebp - 0x18]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x5d8], esp
lea edx, [ebp - 0x14]
push edx
call sub.MFC42D.DLL_Ordinal_485
mov dword [ebp - 0x608], eax
mov ecx, dword [ebp - 0x10]
call fcn.00415a70
jmp 0x415996
push 0x50
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x60]
call sub.MFC42D.DLL_Ordinal_4706
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x45c]
call sub.MFC42D.DLL_Ordinal_593
jmp case.default.0x4156a5
mov esi, esp
push 0x200
push 0x160
lea edx, [ebp - 0x5c0]
push edx
push 0
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0xffff0002
mov eax, dword [ebp + 8]
push eax
push 0xc
push 0xc
lea ecx, [ebp - 0x5b4]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x60]
call sub.MFC42D.DLL_Ordinal_3297
mov dword [ebp - 0x18], eax
push 0x48
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x60]
call sub.MFC42D.DLL_Ordinal_4706
mov edx, dword [ebp - 0x18]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x5dc], esp
lea eax, [ebp - 0x14]
push eax
call sub.MFC42D.DLL_Ordinal_485
mov dword [ebp - 0x60c], eax
mov ecx, dword [ebp - 0x10]
call fcn.00415a70
jmp 0x4155d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x64c
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 4