Function at 0x445720
Capabilities:
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3315
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x4cd1c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb8], edi
xorps xmm0, xmm0
mov dword [ebp - 0xb4], 0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
sub esp, 8
mov dword [ebp - 0xb4], 1
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call fcn.00446610
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x20]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x4459ef
xor ecx, ecx
mov dword [ebp - 0xb0], ecx
nop dword [eax]
mov al, byte [esi + ecx]
test al, al
je 0x4459dd
mov byte [ebp - 0xac], al
movzx eax, byte [esi + ecx + 1]
mov byte [ebp - 0xab], al
movzx eax, byte [esi + ecx + 2]
lea ecx, [ebp - 0x38]
mov byte [ebp - 0xaa], al
lea eax, [ebp - 0xac]
push 3
push eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.004054a0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x54]
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.004054a0
push 0x50
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.0047cb50
add esp, 0xc
lea ecx, [ebp - 0xa8]
call fcn.004460b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x38]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004469d0
or dword [ebp - 0xb4], 6
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.00445fc0
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
cmovae eax, dword [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edx, dword [ebp - 0xbc]
mov esi, eax
cmp edx, 8
jb 0x445920
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445916
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445a3c
push edx
push ecx
call fcn.00464810
add esp, 8
cmp esi, 4
sete byte [ebp - 0x3c]
cmp esi, 1
je 0x445935
mov byte [ebp - 0x3b], 0
cmp esi, 5
jne 0x445939
mov byte [ebp - 0x3b], 1
mov esi, dword [edi + 4]
lea eax, [ebp - 0x54]
push eax
cmp dword [edi + 8], esi
je 0x445960
mov ecx, esi
call fcn.00405240
movzx eax, byte [ebp - 0x3c]
mov byte [esi + 0x18], al
movzx eax, byte [ebp - 0x3b]
mov byte [esi + 0x19], al
add dword [edi + 4], 0x1c
jmp 0x445968
push esi
mov ecx, edi
call fcn.00446d60
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x4459a0
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x445996
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445a3c
push edx
push ecx
call fcn.00464810
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x4459d4
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4459ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445a3c
push edx
push ecx
call fcn.00464810
add esp, 8
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xb0]
add ecx, 4
mov dword [ebp - 0xb0], ecx
cmp ecx, 0x14
jl 0x4457f0
test esi, esi
je 0x445a1c
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x445a12
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445a3c
push ecx
push esi
call fcn.00464810
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004642be
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00480792
int3