Function at 0x402b7b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45309d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x24]
call fcn.004013d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.004013f0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x1c], eax
push 0
mov ecx, dword [ebp + 8]
call fcn.00404510
movsx eax, al
sub eax, 0x41
mov dword [ebp - 0x10], eax
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
push 0x100
push 0x100
lea ecx, [ebp - 0x24]
call fcn.0043bd92
push eax
mov ecx, dword [ebp + 8]
call fcn.004013f0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.0043bde1
lea ecx, [ebp - 0x24]
call fcn.004044f0
test eax, eax
jne 0x402ca5
push 0x46b240
mov eax, dword [ebp + 8]
push eax
push 0x46b244
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0043bbf7
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.0043bb91
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.0043bbf7
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0043ba9b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.0043b962
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0043b962
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043b962
jmp 0x402cb1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x24]
call fcn.0043ba9b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
sub ecx, 2
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 4
ja case.default.0x402ccd
mov edx, dword [ebp - 0x50]
jmp dword [edx*4 + 0x402e73]
push 0xffff0002
push 0xffff0000
push 1
push 1
lea ecx, [ebp - 0x24]
call fcn.004013f0
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00404620
mov dword [ebp - 0x18], eax
push 0xffff0002
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
push 0x471218
mov ecx, dword [ebp - 0x34]
call fcn.00404620
jmp 0x402e54
push 0xffff0002
push 0xffff0000
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.004013f0
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00404620
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00402e87
test eax, eax
je 0x402d61
push 0xffff0002
mov edx, dword [ebp - 0x18]
push edx
push 0
push 0
push 0x47121c
mov ecx, dword [ebp - 0x34]
call fcn.00404620
jmp 0x402e54
push 0xffff0002
push 0xffff0000
push 3
push 3
lea ecx, [ebp - 0x24]
call fcn.004013f0
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00404620
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00402e87
test eax, eax
je 0x402db2
push 0xffff0002
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 0
push 0x471220
mov ecx, dword [ebp - 0x34]
call fcn.00404620
jmp 0x402e54
push 0xffff0002
push 0xffff0000
push 2
push 2
lea ecx, [ebp - 0x24]
call fcn.004013f0
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00404620
mov dword [ebp - 0x18], eax
push 0xffff0002
mov edx, dword [ebp - 0x18]
push edx
push 0
push 0
push 0x471224
mov ecx, dword [ebp - 0x34]
call fcn.00404620
jmp 0x402e54
push 0xffff0002
push 0xffff0000
push 4
push 4
lea ecx, [ebp - 0x24]
call fcn.004013f0
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00404620
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00402e87
test eax, eax
je 0x402e41
push 0xffff0002
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 0
push 0x471228
mov ecx, dword [ebp - 0x34]
call fcn.00404620
jmp 0x402e54
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0043b962
jmp 0x402e63
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0043b962
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4