Function at 0x427dc0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae761
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x4e3114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], 0
push 0xc
lea ecx, [ebp - 0xf4]
call fcn.00416410
lea ecx, [ebp - 0x135]
call fcn.004069f0
push eax
push 0x64
lea ecx, [ebp - 0xf4]
call fcn.00425ec0
mov dword [ebp - 4], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x134], 0
lea eax, [ebp - 0xe4]
push eax
push 0x68
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x427e5d
mov ecx, dword [ebp - 0x134]
add ecx, 1
mov dword [ebp - 0x134], ecx
jmp 0x428059
mov edx, dword [ebp - 0x134]
add edx, 1
mov dword [ebp - 0x134], edx
lea eax, [ebp - 0xe4]
mov dword [ebp - 0x130], eax
jmp 0x427e89
mov ecx, dword [ebp - 0x130]
add ecx, 8
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
movzx eax, word [edx]
test eax, eax
je 0x428059
mov ecx, dword [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x124]
call fcn.004082f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x136]
call fcn.004069f0
mov dword [ebp - 0x14c], eax
lea edx, [ebp - 0x160]
push edx
lea ecx, [ebp - 0x124]
call fcn.0042f200
mov eax, dword [eax]
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x150], ecx
lea edx, [ebp - 0x164]
push edx
lea ecx, [ebp - 0x124]
call fcn.0042dd50
mov eax, dword [eax]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x154], ecx
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x10c]
call fcn.004218e0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 6
ja case.default.0x427f6d
mov ecx, dword [ebp - 0x13c]
jmp dword [ecx*4 + 0x428148]
mov edx, dword [ebp - 0x128]
add edx, 1
mov dword [ebp - 0x128], edx
jmp 0x428036
mov eax, dword [ebp - 0x128]
add eax, 1
mov dword [ebp - 0x128], eax
jmp 0x428036
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0xf4]
call fcn.0042f950
mov edx, dword [ebp - 0x12c]
add edx, 1
mov dword [ebp - 0x12c], edx
jmp 0x428036
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xf4]
call fcn.0042f950
mov ecx, dword [ebp - 0x12c]
add ecx, 1
mov dword [ebp - 0x12c], ecx
jmp 0x428036
lea edx, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0xf4]
call fcn.0042f950
mov eax, dword [ebp - 0x12c]
add eax, 1
mov dword [ebp - 0x12c], eax
jmp 0x428036
mov ecx, dword [ebp - 0x128]
add ecx, 1
mov dword [ebp - 0x128], ecx
jmp 0x428036
mov edx, dword [ebp - 0x128]
add edx, 1
mov dword [ebp - 0x128], edx
jmp 0x428036
mov eax, dword [ebp - 0x128]
add eax, 1
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10c]
call fcn.0040b9f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.0040ba40
jmp 0x427e7a
push 4
lea ecx, [ebp - 0xe8]
call fcn.00416410
lea ecx, [ebp - 0xe8]
push ecx
lea ecx, [ebp - 0xf4]
call fcn.00416ea0
jmp 0x42808e
push 0
lea edx, [ebp - 0x168]
push edx
lea ecx, [ebp - 0xe8]
call fcn.00427590
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00418d60
push eax
lea ecx, [ebp - 0xe8]
call fcn.00427630
movzx ecx, al
test ecx, ecx
je 0x4280fa
push 0x4b9d22
lea ecx, [ebp - 0xe8]
call fcn.0040d0f0
push eax
call fcn.00402090
add esp, 8
movzx edx, al
test edx, edx
je 0x4280f8
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
push ecx
lea edx, [ebp - 0x170]
push edx
lea ecx, [ebp - 0xf4]
call fcn.0042f330
jmp 0x42807a
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00425e30
mov ecx, dword [ebp - 0x140]
or ecx, 1
mov dword [ebp - 0x140], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.00427150
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bb2e
mov esp, ebp
pop ebp
ret