Function at 0x414d90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432f10
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x442310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
cmp dword [ecx + 0x30], 0
je 0x4150ba
mov edi, edi
mov ebx, dword [ecx + 0x30]
mov edi, 1
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
call fcn.004140e0
mov ecx, dword [ebp - 0x18]
xor esi, esi
mov edx, dword [ebp - 0x2c]
add esp, 4
cmp dword [ebp - 0x1c], esi
jbe 0x41507c
jmp 0x414e20
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmovae eax, edx
lea ecx, [ebp - 0x44]
push 1
push 0x4348c4
mov al, byte [eax + esi]
mov byte [ebp - 0x44], al
mov dword [ebp - 0x34], 1
mov byte [ebp - 0x43], 0
call fcn.004057f0
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, eax
cmp edi, 3
je 0x414e81
cmp edi, 4
jne 0x414ff9
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
mov byte [ebp - 0x54], 0
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], 0
push ecx
movzx eax, byte [eax + esi]
mov ecx, ebx
push eax
call fcn.00414200
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x48]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], 0x100000
mov dword [ebp - 0x14], 0
call fcn.00413470
push 0x413d40
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00413830
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040d180
add esp, 8
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
push ebx
cmovae eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.004134a0
mov dword [ebp - 0x98], eax
test eax, eax
je 0x41501c
push 0
mov ecx, ebx
call fcn.004150e0
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
mov al, byte [ecx + esi]
mov byte [ebp - 0x54], al
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x50], edi
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x54]
mov ecx, ebx
push eax
call fcn.00415650
cmp dword [ebx + 0x30], 8
lea eax, [ebx + 0x1c]
jb 0x414f6a
mov eax, dword [eax]
push 0x4347ac
push eax
lea eax, [ebp - 0x84]
push 0x434778
push eax
call fcn.0040d380
add esp, 0x10
lea eax, [ebp - 0x84]
cmp dword [ebp - 0x70], 8
mov ecx, ebx
cmovae eax, dword [ebp - 0x84]
push eax
call fcn.004153d0
cmp dword [ebp - 0x70], 8
jb 0x414fb1
push dword [ebp - 0x84]
call fcn.0040f3b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x70], 7
cmp dword [ebp - 0x58], 8
mov dword [ebp - 0x74], 0
mov word [ebp - 0x84], ax
jb 0x414fd9
push dword [ebp - 0x6c]
call fcn.0040f3b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x58], 7
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
mov byte [ebp - 4], 1
call fcn.00401450
cmp dword [ebp - 0x30], 0x10
jb 0x41500a
push dword [ebp - 0x44]
call fcn.0040f3b0
add esp, 4
mov ecx, dword [ebp - 0x18]
inc esi
mov edx, dword [ebp - 0x2c]
cmp esi, dword [ebp - 0x1c]
jb 0x414e20
jmp 0x415070
cmp dword [ebp - 0x58], 8
jb 0x41502d
push dword [ebp - 0x6c]
call fcn.0040f3b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x58], 7
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
mov byte [ebp - 4], 1
call fcn.00401450
cmp dword [ebp - 0x30], 0x10
jb 0x41505e
push dword [ebp - 0x44]
call fcn.0040f3b0
add esp, 4
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov edi, dword [ebp - 0x98]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x415091
push edx
call fcn.0040f3b0
add esp, 4
test edi, edi
je 0x4150ba
mov eax, dword [ebp - 0x9c]
push 0x1b77400
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x9c]
cmp eax, 0x102
je 0x414dd0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d103
mov esp, ebp
pop ebp
ret