Function at 0x725520
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x891702
push eax
mov eax, 0x67d8
mov dword fs:[0], esp
call fcn.005fc5a0
push esi
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor esi, esi
mov dword [esp + 8], eax
cmp eax, esi
jne 0x72555b
xor eax, eax
jmp 0x725bb3
mov eax, dword [0x92f1fc]
mov cx, word [0x92f200]
push ebx
push ebp
push edi
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1d6]
mov word [esp + 0x1d4], si
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x44]
stosw word es:[edi], ax
call fcn.0082aad0
lea ecx, [esp + 0x58]
mov dword [esp + 0x67f0], esi
call fcn.0082b42b
mov eax, dword [0x9363b0]
mov edx, dword [0x9363ac]
mov dword [esp + 0x38], eax
mov byte [esp + 0x67f0], 1
mov dword [esp + 0x34], edx
mov eax, 1
xor ebp, ebp
jmp 0x7255ce
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov ebx, eax
shl eax, 1
test ecx, ebx
mov dword [esp + 0x1c], eax
je 0x725654
lea edx, [esp + 0x34]
lea edi, [ebp + 0x41]
push edx
mov word [esp + 0x38], di
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x72560e
cmp eax, 3
je 0x72560e
cmp eax, 5
je 0x72560e
mov ecx, dword [esp + 0x14]
mov eax, ebx
not eax
and ecx, eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x1d4]
push 0x104
lea edx, [esp + 0x30]
push ecx
push edx
mov word [esp + 0x38], di
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x725654
mov eax, dword [esp + 0x60]
push ebx
push eax
lea ecx, [esp + 0x60]
call fcn.0082b64f
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x1d4]
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.0082ad79
inc ebp
cmp ebp, 0x1a
jl 0x7255ca
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0x160]
mov dword [esp + 0x15c], esi
rep stosd dword es:[edi], eax
mov ecx, 0x1d
lea edi, [esp + 0x70]
mov dword [esp + 0x6c], esi
mov dword [esp + 0xe4], esi
rep stosd dword es:[edi], eax
mov ecx, 0x1d
lea edi, [esp + 0xe8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x4c]
xor ebx, ebx
cmp eax, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
jle 0x725812
mov dword [esp + 0x18], esi
jmp 0x7256b7
xor esi, esi
mov ebp, 0x99a4b4
mov ecx, dword [esp + 0x48]
mov eax, dword [ebp]
push eax
lea ecx, [ecx + ebx*4]
call fcn.00825d23
mov edi, eax
cmp edi, 0xffffffff
jne 0x7256e4
add ebp, 4
inc esi
cmp ebp, 0x99a4b8
jl 0x7256bc
jmp 0x7257f0
cmp esi, 1
jge 0x7257f0
mov edx, dword [esi*4 + 0x99a4b4]
push edx
call fcn.005fc40b
add edi, eax
mov eax, dword [esp + 0x4c]
add esp, 4
mov edx, dword [eax + ebx*4]
lea ecx, [eax + ebx*4]
mov eax, dword [edx - 8]
sub eax, edi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00825bb9
push 0x92edb8
lea ecx, [esp + 0x14]
mov byte [esp + 0x67f4], 2
call fcn.00825d23
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00825c35
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x67f4], 3
call fcn.00832032
lea ecx, [esp + 0x1c]
mov byte [esp + 0x67f0], 2
call fcn.00831eeb
mov edx, dword [esp + 0x10]
push edx
call fcn.005fd44f
add esp, 4
test esi, esi
jne 0x7257df
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x5c]
xor ecx, ecx
test edx, edx
jbe 0x7257ab
cmp dword [esp + ecx*4 + 0x15c], eax
jne 0x725793
cmp dword [esp + ecx*4 + 0xe4], 3
je 0x72579e
mov edi, dword [esp + 0x14]
inc ecx
cmp ecx, edi
jb 0x725780
jmp 0x7257ab
mov edi, dword [esi + ebx*4]
mov ebp, dword [esp + ecx*4 + 0x6c]
or ebp, edi
mov dword [esp + ecx*4 + 0x6c], ebp
mov edi, dword [esp + 0x14]
cmp ecx, edi
jne 0x7257df
cmp edx, 0x78
jae 0x7257ff
mov dword [esp + edx + 0x15c], eax
mov eax, dword [esi + ebx*4]
mov ecx, edi
mov dword [esp + edx + 0x6c], eax
mov dword [esp + edx + 0xe4], 3
inc ecx
add edx, 4
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x67f0], 1
call fcn.00831eeb
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jl 0x7256b5
jmp 0x725810
lea ecx, [esp + 0x10]
mov byte [esp + 0x67f0], 1
call fcn.00831eeb
xor esi, esi
mov ecx, 0x17ab
xor eax, eax
lea edi, [esp + 0x93c]
mov dword [esp + 0x938], esi
rep stosd dword es:[edi], eax
mov ebp, dword [esp + 0x67f8]
mov ecx, 0x156
lea edi, [esp + 0x3e0]
mov dword [esp + 0x3dc], esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
xor edx, edx
cmp eax, esi
mov dword [esp + 0x20], edx
jle 0x725b75
lea esi, [esp + 0x938]
mov dword [esp + 0x1c], esi
mov ecx, 0x157
xor eax, eax
lea edi, [esp + 0x3dc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + edx*4 + 0xe4]
mov ecx, dword [esp + edx*4 + 0x6c]
mov dword [esp + 0x3e4], ecx
mov dword [esp + 0x3e0], eax
lea ecx, [eax - 1]
cmp ecx, 4
ja case.default.0x725897
jmp dword [ecx*4 + 0x725bcc]
mov edx, dword [esp + edx*4 + 0x15c]
lea ecx, [esp + 0x3dc]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
mov dword [esi], 3
call fcn.007271a0
lea eax, [esp + 0x3e8]
lea ecx, [esp + 0x10]
push eax
call fcn.00831f5f
push 0x947bb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x67f4], 4
call fcn.0082629e
push 0x947bb0
lea ecx, [esp + 0x14]
call fcn.008261c2
push 0x947bb0
lea ecx, [esp + 0x14]
call fcn.00825d23
cmp eax, 0xffffffff
je 0x725962
inc eax
lea ecx, [esp + 0x10]
push eax
push 0x947bb0
call fcn.00825d31
cmp eax, 0xffffffff
je 0x725962
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00825c35
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x67f4], 5
call fcn.00832032
lea ecx, [esp + 0x3c]
mov byte [esp + 0x67f0], 4
call fcn.00831eeb
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x3e8]
push edx
push eax
call fcn.005fc492
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x67f0], 1
call fcn.00831eeb
jmp 0x725993
mov dword [esi], 2
jmp 0x725993
mov dword [esi], 1
jmp 0x725993
mov dword [esi], 5
jmp 0x725993
mov dword [esi], 4
mov ecx, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x24], esi
lea ebx, [esi + 1]
test ebx, ebx
jne 0x7259c7
mov eax, dword [ebp + 4]
test eax, eax
je 0x7259ba
push eax
mov dword [esp + 0x28], ecx
call fcn.008325dd
add esp, 4
mov dword [ebp + 4], ebx
xor eax, eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
jmp 0x725b32
mov edi, dword [ebp + 4]
test edi, edi
jne 0x725a0a
lea ecx, [ebx + ebx*8]
lea eax, [ebx + ecx*2]
lea edx, [eax + eax*8]
lea edi, [ebx + edx*2]
shl edi, 2
push edi
call fcn.008325b4
mov edx, eax
mov ecx, edi
mov dword [ebp + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x725b32
cmp ebx, dword [ebp + 0xc]
jg 0x725a5d
cmp ecx, ebx
jge 0x725a4d
lea edx, [ecx + ecx*8]
mov eax, ebx
sub eax, ecx
lea edx, [ecx + edx*2]
lea edx, [edx + edx*8]
lea ecx, [ecx + edx*2]
lea edx, [eax + eax*8]
lea edi, [edi + ecx*4]
lea ecx, [eax + edx*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*2]
xor eax, eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 8], ebx
jmp 0x725b32
jle 0x725a55
sub ecx, ebx
mov dword [esp + 0x24], ecx
mov dword [ebp + 8], ebx
jmp 0x725b32
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x725a87
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x725a7b
mov eax, 4
jmp 0x725a87
cmp eax, 0x400
jle 0x725a87
mov eax, 0x400
mov ecx, dword [ebp + 0xc]
add eax, ecx
cmp ebx, eax
jge 0x725a96
mov dword [esp + 0x18], eax
jmp 0x725a9c
mov dword [esp + 0x18], ebx
mov eax, ebx
lea ecx, [eax + eax*8]
lea ecx, [eax + ecx*2]
lea edx, [ecx + ecx*8]
lea eax, [eax + edx*2]
shl eax, 2
push eax
call fcn.008325b4
mov edx, eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 4]
mov edi, edx
lea ecx, [eax + eax*8]
mov dword [esp + 0x44], edx
lea ecx, [eax + ecx*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*2]
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
sub eax, ecx
lea esi, [ecx + ecx*8]
lea esi, [ecx + esi*2]
lea esi, [esi + esi*8]
lea ecx, [ecx + esi*2]
lea edi, [edx + ecx*4]
lea edx, [eax + eax*8]
lea ecx, [eax + edx*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*2]
xor eax, eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 4]
push eax
call fcn.008325dd
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
add esp, 8
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ecx
lea edx, [esi + esi*8]
lea eax, [esi + edx*2]
mov edx, dword [ebp + 4]
lea eax, [eax + eax*8]
lea ecx, [esi + eax*2]
lea esi, [esp + 0x3dc]
lea edi, [edx + ecx*4]
mov edx, dword [esp + 0x20]
mov ecx, 0x157
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc edx
add esi, 0x328
cmp edx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], esi
jl 0x725862
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x938]
push eax
push ebp
call fcn.00725be0
lea ecx, [esp + 0x58]
mov esi, eax
mov byte [esp + 0x67f0], 0
call fcn.0082b45e
lea ecx, [esp + 0x44]
mov dword [esp + 0x67f0], 0xffffffff
call fcn.0082ab03
pop edi
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x67dc]
pop esi
mov dword fs:[0], ecx
add esp, 0x67e4
ret 4