Function at 0x40a4b1
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453daf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00411d02
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004013d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.004013d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.004013d0
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], 1
push str._n_S
call fcn.0040202c
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
lea eax, [ebp + 0xc]
push eax
call fcn.0043b6d7
mov dword [ebp - 0xa4], eax
call fcn.004021e8
add esp, 4
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40a579
cmp dword [ebp - 0x54], 0x12
je 0x40a577
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40a547
lea ecx, [ebp + 0xc]
call fcn.004044f0
cmp eax, 1
jne 0x40a706
push str.Laufwerksliste
call fcn.0040202c
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x3c], eax
push 0x80
push 4
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00402523
add esp, 0xc
mov dword [ebp - 0x1c], 0
push 0x46cddc
lea ecx, [ebp - 0x5c]
call fcn.0043baeb
cmp dword [ebp - 0x3c], 0
je 0x40a701
mov edx, dword [ebp - 0x3c]
and edx, 1
test edx, edx
je 0x40a6eb
mov eax, dword [ebp - 0x1c]
add eax, 0x41
push eax
push 0
lea ecx, [ebp - 0x5c]
call fcn.0043bf14
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp - 0x5c]
push edx
call fcn.0043b6d7
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0xa0]
call fcn.0040a4b1
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x14]
call fcn.0043ba9b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.0043b962
lea ecx, [ebp - 0x14]
call fcn.004044f0
test eax, eax
jne 0x40a6eb
push 0x46cde0
call fcn.0040202c
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea eax, [ebp - 0x14]
push eax
call fcn.0043b6d7
mov dword [ebp - 0xb4], eax
call fcn.004021e8
add esp, 4
push 0x46cdec
call fcn.0040202c
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043b6d7
mov edx, dword [ebp - 0x9c]
or edx, 1
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.0043b962
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.0043b962
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0043b962
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00411d3f
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0043b962
mov eax, dword [ebp + 8]
jmp 0x40ab70
mov eax, dword [ebp - 0x3c]
shr eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x40a5c7
jmp 0x40ab09
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp + 0xc]
push edx
call fcn.0043b6d7
mov dword [ebp - 0xb8], eax
push 0x46b
push 0x3ea
mov ecx, dword [ebp - 0xa0]
call fcn.00405b22
mov eax, dword [0x471308]
add eax, 0x46b
push eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x5c
call fcn.0043c013
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xa0]
add edx, 0x5c
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.0043bb91
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0xa0]
add ecx, 0x5c
call fcn.0043ba9b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.0043b962
push 0
mov ecx, dword [ebp - 0xa0]
call fcn.00439ff8
push 0
push str..
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.0043bbf7
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xc8]
call fcn.004013f0
push eax
lea ecx, [ebp - 0x38]
call fcn.00411dc5
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x78], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x7c]
call fcn.0043b962
mov eax, dword [ebp - 0x78]
and eax, 0xff
test eax, eax
je 0x40aaf4
push str.FOK
call fcn.0040202c
add esp, 4
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 1
jne 0x40aaf2
lea ecx, [ebp - 0x38]
call fcn.00411fe5
mov dword [ebp - 0x10], eax
push 0x46ce00
call fcn.0040202c
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push ecx
lea ecx, [ebp - 0x38]
call fcn.004120b4
mov dword [ebp - 0xcc], eax
call fcn.004021e8
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.00411fac
test eax, eax
je 0x40a86a
jmp 0x40a81d
lea ecx, [ebp - 0x38]
call fcn.00410160
test eax, eax
je 0x40a989
push ecx
mov edx, esp
mov dword [ebp - 0x84], esp
push edx
lea ecx, [ebp - 0x38]
call fcn.004120b4
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0xa0]
call fcn.0040a4b1
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x14]
call fcn.0043ba9b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.0043b962
lea ecx, [ebp - 0x14]
call fcn.004044f0
test eax, eax
jne 0x40a989
lea ecx, [ebp - 0x38]
call fcn.00411d7b
push str.gefunden
call fcn.0040202c
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea eax, [ebp - 0x14]
push eax
call fcn.0043b6d7
mov dword [ebp - 0xdc], eax
call fcn.004021e8
add esp, 4
push 0x46ce10
call fcn.0040202c
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043b6d7
mov edx, dword [ebp - 0x9c]
or edx, 1
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.0043b962
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.0043b962
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0043b962
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00411d3f
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0043b962
mov eax, dword [ebp + 8]
jmp 0x40ab70
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x38]
call fcn.004121dd
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xe4]
push edx
lea ecx, [ebp - 0x18]
call fcn.0043ba9b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x90]
call fcn.0043b962
lea ecx, [ebp - 0x18]
call fcn.0043bede
push 0x46ce14
lea eax, [ebp - 0x18]
push eax
call fcn.00410180
and eax, 0xff
test eax, eax
je 0x40aaed
push str.gefunden____KD_fragen
call fcn.0040202c
add esp, 4
push str.strName
call fcn.0040202c
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
lea edx, [ebp + 0xc]
push edx
call fcn.0043b6d7
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xa0]
call fcn.0040a404
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 6
jne 0x40aae0
push 0x46ce44
call fcn.0040202c
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.00411d7b
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
lea eax, [ebp + 0xc]
push eax
call fcn.0043b6d7
mov dword [ebp - 0xf0], eax
call fcn.004021e8
add esp, 4
push 0x46ce48
call fcn.0040202c
add esp, 4
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043b6d7
mov edx, dword [ebp - 0x9c]
or edx, 1
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.0043b962
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.0043b962
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0043b962
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00411d3f
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0043b962
mov eax, dword [ebp + 8]
jmp 0x40ab70
push str.NEIN
call fcn.0040202c
add esp, 4
jmp 0x40a81d
jmp 0x40ab01
push str.FERR__
call fcn.0040202c
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.00411d7b
push 0x46ce5c
call fcn.0040202c
add esp, 4
push 0x4713a4
mov ecx, dword [ebp + 8]
call fcn.0043b9d0
mov eax, dword [ebp - 0x9c]
or al, 1
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.0043b962
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.0043b962
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0043b962
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00411d3f
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0043b962
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8