Function at 0x7a4df0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x41
push 0
push 0
dec ecx
jne 0x7a4df8
push ebx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x7a58fe
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x7a4e32
mov eax, dword [0x892b0c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x8935bc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6ac]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x38]
call fcn.0040528c
mov eax, dword [0x89267c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x7a4f49
inc eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
mov eax, dword [0x89267c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x1c]
call fcn.0040a78c
mov eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
mov edx, dword [ebp - 0x2c]
mov eax, 0x7a5914
call fcn.00405890
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x2c]
call fcn.004057ac
mov edx, dword [ebp - 0x74]
pop eax
call fcn.00405698
jne 0x7a4f3d
lea eax, [ebp - 0x2c]
mov edx, 0x7a5914
call fcn.00405554
jmp 0x7a4f2c
mov edx, dword [ebp - 0x2c]
mov eax, 0x7a5914
call fcn.00405890
mov ecx, eax
lea eax, [ebp - 0x2c]
mov edx, 1
call fcn.004057ec
lea eax, [ebp - 0x78]
push eax
mov edx, dword [ebp - 0x2c]
mov eax, 0x7a5914
call fcn.00405890
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x2c]
call fcn.004057ac
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x30]
call fcn.0040a298
cmp dword [ebp - 0x30], 0
je 0x7a4f2c
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x30]
mov dl, byte [edx]
call fcn.00405474
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x38]
call fcn.00405554
mov edx, dword [ebp - 0x2c]
mov eax, 0x7a5914
call fcn.00405890
test eax, eax
jg 0x7a4ec6
inc dword [ebp - 0x18]
dec dword [ebp - 0x64]
jne 0x7a4e66
lea eax, [ebp - 0x3c]
call fcn.0040528c
mov byte [ebp - 0x3e], 0
mov dword [ebp - 0x18], 1
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0x18]
add edx, 0x40
call fcn.00405474
lea eax, [ebp - 0x80]
mov edx, 0x7a5920
call fcn.00405554
mov eax, dword [ebp - 0x80]
call fcn.0040574c
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffffe
sub eax, 3
jb 0x7a4f9c
sub eax, 1
je 0x7a4f9c
xor eax, eax
jmp 0x7a4f9e
mov al, 1
mov byte [ebp - 0x3d], al
cmp byte [ebp - 0x3d], 0
jne 0x7a4fd4
mov eax, dword [0x893464]
mov eax, dword [eax]
mov eax, dword [eax + 0x4c0]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov ecx, eax
mov eax, dword [ebp - 0x18]
add eax, 0x40
mov edx, dword [ebp - 0xc]
call fcn.004afe10
test al, al
je 0x7a4fd4
mov byte [ebp - 0x3d], 1
cmp dword [ebp - 0x18], 3
jge 0x7a4fe4
cmp dword [ebp - 0xc], 3
je 0x7a4fe4
mov byte [ebp - 0x3d], 0
cmp byte [ebp - 0x3d], 0
je 0x7a50b0
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 0x18]
add edx, 0x40
call fcn.00405474
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x3c]
call fcn.00405554
mov eax, dword [ebp - 0x18]
add eax, 0x40
call fcn.007a3290
test al, al
jne 0x7a50b0
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x18]
add edx, 0x40
call fcn.00405474
mov edx, dword [ebp - 0x88]
mov eax, dword [0x892b0c]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jle 0x7a50b0
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x90]
mov eax, dword [0x892b0c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00420e20
mov eax, dword [ebp - 0x90]
mov cl, 0x2c
mov edx, 2
call fcn.004bccbc
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x10]
call fcn.00406520
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x18]
call fcn.005f06ec
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x44]
jne 0x7a50aa
cmp eax, dword [ebp - 0x48]
je 0x7a50b0
mov byte [ebp - 0x3e], 1
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x1b
jne 0x7a4f5c
cmp byte [ebp - 5], 0
jne 0x7a5119
push dword [ebp - 0x3c]
push 0x7a592c
push dword [ebp - 0x38]
push 0x7a592c
mov eax, dword [0x8923f8]
push dword [eax]
lea eax, [ebp - 0x94]
mov edx, 5
call fcn.0040560c
mov eax, dword [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
mov edx, 0x891bf0
call fcn.004054f0
mov edx, dword [ebp - 0x98]
pop eax
call fcn.00405698
jne 0x7a5119
cmp byte [ebp - 0x3e], 0
je 0x7a58b3
push dword [ebp - 0x3c]
push 0x7a592c
push dword [ebp - 0x38]
push 0x7a592c
mov eax, dword [0x8923f8]
push dword [eax]
lea eax, [ebp - 0x19c]
mov edx, 5
call fcn.0040560c
mov edx, dword [ebp - 0x19c]
lea eax, [ebp - 0x198]
mov ecx, 0xff
call fcn.00405528
lea edx, [ebp - 0x198]
mov eax, 0x891bf0
mov cl, 0x3c
call fcn.004032d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
call fcn.00458d54
test eax, eax
je 0x7a5195
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
call fcn.00458d54
mov edx, dword [eax + 0x24]
lea eax, [ebp - 0x34]
call fcn.00405324
jmp 0x7a51a2
lea eax, [ebp - 0x34]
mov edx, 0x7a5938
call fcn.00405324
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
mov eax, dword [eax + 0x22c]
call fcn.00455790
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
mov eax, dword [eax + 0x22c]
call fcn.00455770
mov byte [ebp - 0x1e], 0
mov dx, 0xfff5
mov eax, dword [0x1437b14]
call fcn.00473fa8
mov eax, dword [ebp - 0x3c]
call fcn.0040554c
test eax, eax
jle 0x7a57d9
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
mov eax, dword [eax + 0x22c]
call fcn.00455614
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x1a4]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov dl, byte [edx + ecx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1a4]
lea eax, [ebp - 0x1a8]
call fcn.004032c4
mov edx, 0x7a593c
lea eax, [ebp - 0x1a8]
mov cl, 2
call fcn.00403294
lea edx, [ebp - 0x1a8]
lea eax, [ebp - 0x1a0]
call fcn.004054f0
mov edx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x68]
call fcn.00455094
mov byte [ebp - 0x3f], 1
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
mov al, byte [eax + edx - 1]
call fcn.007a3290
mov byte [ebp - 0x1d], al
cmp byte [ebp - 5], 0
jne 0x7a52b7
cmp byte [ebp - 0x1d], 0
jne 0x7a52b3
lea eax, [ebp - 0x1ac]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov dl, byte [edx + ecx - 1]
call fcn.00405474
mov eax, dword [ebp - 0x1ac]
mov edx, dword [0x8923f8]
mov edx, dword [edx]
call fcn.00405890
test eax, eax
jle 0x7a52b7
mov byte [ebp - 0x3f], 0
cmp byte [ebp - 0x3f], 0
je 0x7a5545
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x18]
mov al, byte [eax + ebx - 1]
call fcn.0081b210
cmp dword [ebp - 0x24], 0
je 0x7a5314
mov eax, dword [ebp - 0x68]
push dword [eax + 0x24]
push 0x7a5948
push dword [ebp - 0x24]
push 0x7a5954
lea eax, [ebp - 0x1b4]
mov edx, 4
call fcn.0040560c
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x68]
call fcn.00455094
mov eax, dword [ebp - 0x28]
mov edx, 0x7a5938
call fcn.00405698
je 0x7a5353
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
mov al, byte [eax + edx - 1]
sub al, 0x40
call fcn.0040b330
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
mov al, byte [eax + edx - 1]
sub al, 0x40
call fcn.0040b2fc
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
jmp 0x7a536f
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea eax, [ebp - 0x1b8]
call fcn.0040a878
mov edx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea eax, [ebp - 0x1bc]
call fcn.0040a878
mov edx, dword [ebp - 0x1bc]
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x1c0]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov dl, byte [edx + ecx - 1]
call fcn.00405474
mov edx, dword [ebp - 0x1c0]
mov eax, dword [0x892b0c]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jle 0x7a53f2
mov eax, dword [0x892b0c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 0x1a4]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov dl, byte [edx + ecx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1a4]
lea eax, [ebp - 0x1a8]
call fcn.004032c4
mov edx, 0x7a5958
lea eax, [ebp - 0x1a8]
mov cl, 2
call fcn.00403294
lea edx, [ebp - 0x1a8]
lea eax, [ebp - 0x1c8]
call fcn.004054f0
push dword [ebp - 0x1c8]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea eax, [ebp - 0x1cc]
call fcn.0040a878
push dword [ebp - 0x1cc]
push 0x7a5964
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea eax, [ebp - 0x1d0]
call fcn.0040a878
push dword [ebp - 0x1d0]
lea eax, [ebp - 0x1c4]
mov edx, 4
call fcn.0040560c
mov edx, dword [ebp - 0x1c4]
mov eax, dword [0x892b0c]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x1d4]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov dl, byte [edx + ecx - 1]
call fcn.00405474
mov edx, dword [ebp - 0x1d4]
mov eax, dword [0x8935bc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jle 0x7a54d6
mov eax, dword [0x8935bc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 0x1a4]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov dl, byte [edx + ecx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1a4]
lea eax, [ebp - 0x1a8]
call fcn.004032c4
mov edx, 0x7a5958
lea eax, [ebp - 0x1a8]
mov cl, 2
call fcn.00403294
lea edx, [ebp - 0x1a8]
lea eax, [ebp - 0x1d8]
call fcn.004054f0
lea eax, [ebp - 0x1d8]
mov edx, dword [ebp - 0x24]
call fcn.00405554
mov edx, dword [ebp - 0x1d8]
mov eax, dword [0x8935bc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x7a5757
cmp byte [ebp - 0x1d], 0
je 0x7a5577
lea eax, [ebp - 0x1dc]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov dl, byte [edx + ecx - 1]
call fcn.00405474
mov edx, dword [ebp - 0x1dc]
mov eax, dword [0x892b0c]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov dword [ebp - 0x14], eax
jmp 0x7a557e
mov dword [ebp - 0x14], 0xffffffff
cmp dword [ebp - 0x14], 0xffffffff
jle 0x7a56c1
lea eax, [ebp - 0x1e0]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov dl, byte [edx + ecx - 1]
call fcn.00405474
mov edx, dword [ebp - 0x1e0]
mov eax, dword [0x8935bc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jle 0x7a563e
lea ecx, [ebp - 0x24]
mov eax, dword [0x8935bc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00420e20
cmp dword [ebp - 0x24], 0
je 0x7a563e
mov eax, dword [ebp - 0x24]
call fcn.0040554c
cmp eax, 0xb
jle 0x7a560d
lea eax, [ebp - 0x1e4]
push eax
mov ecx, 9
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.004057ac
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x24]
mov ecx, 0x7a5970
call fcn.00405598
mov eax, dword [ebp - 0x68]
push dword [eax + 0x24]
push 0x7a5948
push dword [ebp - 0x24]
push 0x7a5954
lea eax, [ebp - 0x1e8]
mov edx, 4
call fcn.0040560c
mov edx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x68]
call fcn.00455094
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x1f0]
mov eax, dword [0x892b0c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00420e20
mov eax, dword [ebp - 0x1f0]
mov cl, 0x2c
mov edx, 1
call fcn.004bccbc
mov edx, dword [ebp - 0x1ec]
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x1f8]
mov eax, dword [0x892b0c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00420e20
mov eax, dword [ebp - 0x1f8]
mov cl, 0x2c
mov edx, 2
call fcn.004bccbc
mov edx, dword [ebp - 0x1f4]
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x7a5757
mov edx, 0x7a597c
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x7a597c
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x1fc]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov dl, byte [edx + ecx - 1]
call fcn.00405474
mov edx, dword [ebp - 0x1fc]
mov eax, dword [0x892b0c]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jle 0x7a5720
mov eax, dword [0x892b0c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 0x200]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov dl, byte [edx + ecx - 1]
call fcn.00405474
lea eax, [ebp - 0x200]
mov edx, 0x7a5988
call fcn.00405554
mov edx, dword [ebp - 0x200]
mov eax, dword [0x892b0c]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x204]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x34]
call fcn.004057ac
mov eax, dword [ebp - 0x204]
push eax
lea eax, [ebp - 0x208]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 0x24]
call fcn.004057ac
mov edx, dword [ebp - 0x208]
pop eax
call fcn.00405698
jne 0x7a57cd
mov cl, 1
mov edx, 3
mov eax, dword [ebp - 0x68]
call fcn.004551dc
mov cl, 1
mov edx, 2
mov eax, dword [ebp - 0x68]
call fcn.004551dc
xor edx, edx
mov eax, dword [ebp - 0x68]
call fcn.00454fc4
mov byte [ebp - 0x1e], 1
inc dword [ebp - 0x18]
dec dword [ebp - 0x64]
jne 0x7a51f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
mov eax, dword [eax + 0x22c]
call fcn.0045596c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40c]
mov eax, dword [eax + 0x22c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.007ba2b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x678]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40c]
call fcn.00774570
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40c]
mov edx, dword [ebp - 0x18]
call fcn.00774558
xor edx, edx
mov eax, dword [0x1437b14]
call fcn.00473fa8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
mov eax, dword [eax + 0x22c]
call fcn.0045567c
test eax, eax
jne 0x7a586c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
mov eax, dword [eax + 0x22c]
call fcn.00455770
jmp 0x7a58b3
cmp byte [ebp - 0x1e], 0
jne 0x7a58b3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
mov eax, dword [eax + 0x22c]
xor edx, edx
call fcn.004556ac
mov dword [ebp - 0x6c], eax
mov cl, 1
mov edx, 3
mov eax, dword [ebp - 0x6c]
call fcn.004551dc
mov cl, 1
mov edx, 2
mov eax, dword [ebp - 0x6c]
call fcn.004551dc
xor edx, edx
mov eax, dword [ebp - 0x6c]
call fcn.00454fc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a5905
lea eax, [ebp - 0x208]
mov edx, 0x18
call fcn.004052b0
lea eax, [ebp - 0x1a0]
mov edx, 2
call fcn.004052b0
lea eax, [ebp - 0x98]
mov edx, 0xb
call fcn.004052b0
lea eax, [ebp - 0x3c]
mov edx, 7
call fcn.004052b0
ret