Function at 0x1003efd2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 8
call fcn.100910d0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x100f234f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 8
call fcn.100910d0
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.100926e0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1003f082
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.10005697
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 8]
push eax
push 0x400
mov eax, dword [ebp - 0x2c]
cdq
push edx
push eax
push 0x1b
mov eax, dword [ebp + 8]
cdq
push edx
push eax
call fcn.10036b76
cmp dword [ebp - 8], 0
jle 0x1003f859
push 0x80000301
push 0
push 0x7d0
push 0x80000301
push 0
push 0x11
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1003f0e6
mov eax, 0x100f234f
push eax
push 3
mov ebx, 0x1a8
call fcn.10094540
add esp, 0x28
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1003f996
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1003f118
push ebx
call fcn.100910d6
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003f12c
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1003f143
mov eax, 0x100f22f6
push eax
push 1
mov ebx, 0x130
call fcn.10091f40
add esp, 0x10
mov dword [ebp - 0x2c], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x100f2f6e
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1003f18a
mov eax, 0x100f22f6
push eax
push 4
mov ebx, 0x14c
call fcn.10094c50
add esp, 0x34
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.1000175f
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1003f1d8
mov eax, 0x100f22f6
push eax
push 2
mov ebx, 0x138
call fcn.10091ee0
add esp, 0x1c
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1003f202
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [0x10118ac0]
call fcn.10002091
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1003f648
push 0x80000301
push 0
push pe_nt_image_headers32
push 1
mov ebx, 0x1bc
call fcn.100926e0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1003f253
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], esp
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1003f264
add eax, 8
push eax
push pe_nt_image_headers32
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x1003f290
push 0x243
push 0x4100f6d
push 6
call fcn.100910e2
add esp, 0xc
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp - 0x18]
push htons
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1003f2b0
mov eax, 0x100f234f
push eax
push 2
mov ebx, 0x1a0
call fcn.10094aa0
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1003f2da
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push htons
push 0
push 0x101157e8
push htons
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1003f303
mov eax, 0x100f234f
push eax
push 3
mov ebx, 0x1c4
call fcn.10094ad0
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1003f33b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1003f337
imul eax, dword [ebx]
jmp 0x1003f32c
mov ecx, eax
test ecx, ecx
je 0x1003f35a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1003f353
push ebx
push eax
call fcn.100910d6
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1003f341
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x1c]
call fcn.10002091
xor ecx, ecx
push eax
lea eax, [ebp - 0x20]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1003f63e
push 0x80000301
push 0
push 0x80
push 1
mov ebx, 0x184
call fcn.10093f10
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1003f3ba
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
call fcn.100020aa
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x1003f3e5
push 0x367
push 0x4100f6d
push 4
call fcn.100910e2
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1003f402
push 0x367
push 0x4100f6d
push 1
call fcn.100910e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x101157f2
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.1001588c
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0x80
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1003f439
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x1003f460
push 0x367
push 0x4100f6d
push 6
call fcn.100910e2
add esp, 0xc
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1003f470
push ebx
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.100020aa
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x1003f49d
push 0x3e1
push 0x4100f6d
push 4
call fcn.100910e2
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1003f4ba
push 0x3e1
push 0x4100f6d
push 1
call fcn.100910e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push 0x101157f2
mov ebx, dword [ebp - 0x30]
push dword [ebx]
mov ecx, 2
call fcn.1001588c
add esp, 8
mov dword [ebp - 0x34], eax
push htons
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x1003f4ef
mov eax, 0x100f234f
push eax
push 1
mov ebx, 0x168
call fcn.10092160
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1003f515
push ebx
call fcn.100910d6
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1003f52b
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1003f556
push eax
mov ebx, eax
call fcn.1000133b
inc eax
push eax
call fcn.100910d0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1003f569
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
push 0x10118ac0
push 4
mov eax, 2
call fcn.10091d50
add esp, 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov ebx, dword [0x10118ac0]
mov dword [ebp - 0x30], ebx
call fcn.100020aa
mov dword [ebp - 0x34], ecx
mov edi, dword [ebp - 0x30]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x1003f5b6
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x34]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x30]
call fcn.100910ee
add esp, 8
mov dword [0x10118ac0], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x34]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x2c]
push edi
push eax
push 8
call fcn.100910d0
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x1003f610
push eax
mov ebx, eax
call fcn.1000133b
inc eax
push eax
call fcn.100910d0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x1003f62f
push eax
mov ebx, eax
call fcn.1000133b
inc eax
push eax
call fcn.100910d0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
pop eax
pop ebx
pop ecx
jmp 0x1003f377
add esp, 0xc
mov dword [ebp - 0x20], 0
mov ebx, dword [0x10118ac0]
call fcn.10002091
xor ecx, ecx
push eax
lea eax, [ebp - 0x20]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1003f856
mov ebx, dword [0x10118ac0]
call fcn.100020aa
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x1003f694
push 0x510
push 0x4100f6d
push 4
call fcn.100910e2
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1003f6b1
push 0x510
push 0x4100f6d
push 1
call fcn.100910e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x2c], ebx
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x1003f6e5
mov eax, 0x100f22f6
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1003f6f9
mov eax, 0x100f22f6
push eax
push 4
mov ebx, 0x148
call fcn.10093710
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x1003f84e
mov ebx, dword [0x10118ac0]
call fcn.100020aa
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x1003f743
push 0x560
push 0x4100f6d
push 4
call fcn.100910e2
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1003f760
push 0x560
push 0x4100f6d
push 1
call fcn.100910e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [0x10118ac0]
call fcn.100020aa
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x1003f797
push 0x560
push 0x4100f6d
push 4
call fcn.100910e2
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1003f7b4
push 0x560
push 0x4100f6d
push 1
call fcn.100910e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x30], ebx
push reloc.oleaut32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x1003f7f1
mov eax, 0x100f22f6
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x1003f807
mov eax, 0x100f22f6
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1003f81b
mov eax, 0x100f22f6
push eax
push 6
mov ebx, 0x180
call fcn.10094330
add esp, 0x4c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003f845
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x1003f856
pop eax
pop ebx
pop ecx
jmp 0x1003f65c
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1003f8a7
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1003f88e
push eax
mov ebx, eax
call fcn.1000133b
inc eax
push eax
call fcn.100910d0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1003f8a1
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1003f8c3
push eax
mov ebx, eax
call fcn.1000133b
inc eax
push eax
call fcn.100910d0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1003f8c8
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1003f8d9
push ebx
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003f8e9
push ebx
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1003f8f9
push ebx
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1003f909
push ebx
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1003f927
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1003f923
imul eax, dword [ebx]
jmp 0x1003f918
mov ecx, eax
test ecx, ecx
je 0x1003f946
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1003f93f
push ebx
push eax
call fcn.100910d6
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1003f92d
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1003f95e
push ebx
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1003f972
push ebx
call fcn.100910d6
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1003f986
push ebx
call fcn.100910d6
add esp, 4
pop ebx
call fcn.100910d6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc