Function at 0x1003bb50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.100910d0
add esp, 4
mov dword [ebp - 0x14], 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 - 0x18], 0
mov dword [ebp - 0x1c], 0
mov eax, 0x100f22f6
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1003bbb6
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push 0x80000301
push 0
push 0x1000
push 1
mov ebx, 0x1bc
call fcn.100926e0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1003bbf1
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.1003c354
mov dword [ebp - 0x20], eax
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0x1000
push dword [ebp - 0x20]
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10023114
test eax, eax
je 0x1003c2cd
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push 2
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1003bc58
mov eax, 0x100f234f
push eax
push 3
mov ebx, 0x19c
call fcn.10093d20
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x80000101
jne 0x1003bc8c
and eax, 0xff
jmp 0x1003bce1
cmp ecx, 0x80000201
jne 0x1003bc97
cwde
jmp 0x1003bce1
cmp ecx, 0x80000301
je 0x1003bce1
cmp ecx, 0x80000401
je 0x1003bce1
mov dword [ebp - 0x30], eax
cmp ecx, 0x80000501
je 0x1003bcd1
cmp ecx, 0x80000601
je 0x1003bcd6
push 0xd8
push 0x40f801a
push 2
call fcn.100910e2
add esp, 0xc
fld dword [ebp - 0x30]
jmp 0x1003bcdc
mov dword [ebp - 0x2c], edx
fld qword [ebp - 0x30]
call fcn.1000175f
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push 9
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1003bd0d
mov eax, 0x100f234f
push eax
push 3
mov ebx, 0x1a8
call fcn.10094540
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1003bd37
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.1003c378
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1003bd5d
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
cmp dword [ebp + 0x14], 0
jne 0x1003bdbf
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1003bd9b
push 0x1b8
push 0x40f801a
push 6
call fcn.100910e2
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1003bdba
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 0x1003c2d7
push 0x80000301
push 0
push pe_nt_image_headers32
push 1
mov ebx, 0x1bc
call fcn.100926e0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003bdf4
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1003be05
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 - 0x20], esp
je 0x1003be31
push 0x224
push 0x40f801a
push 6
call fcn.100910e2
add esp, 0xc
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push htons
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1003be51
mov eax, 0x100f234f
push eax
push 2
mov ebx, 0x1a0
call fcn.10094aa0
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003be7b
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push htons
push 0
push 0x101157e8
push htons
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1003bea4
mov eax, 0x100f234f
push eax
push 3
mov ebx, 0x1c4
call fcn.10094ad0
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1003bedc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1003bed8
imul eax, dword [ebx]
jmp 0x1003becd
mov ecx, eax
test ecx, ecx
je 0x1003befb
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1003bef4
push ebx
push eax
call fcn.100910d6
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1003bee2
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
call fcn.10002091
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1003c278
push 0x80000301
push 0
push 0x80
push 1
mov ebx, 0x184
call fcn.10093f10
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1003bf5b
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
call fcn.100020aa
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x1003bf86
push 0x336
push 0x40f801a
push 4
call fcn.100910e2
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1003bfa3
push 0x336
push 0x40f801a
push 1
call fcn.100910e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x14]
call fcn.100020aa
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x1003bfd2
push 0x356
push 0x40f801a
push 4
call fcn.100910e2
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1003bfef
push 0x356
push 0x40f801a
push 1
call fcn.100910e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0x101157f2
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 2
call fcn.1001588c
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1003c027
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
call fcn.100020aa
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x1003c054
push 0x38c
push 0x40f801a
push 4
call fcn.100910e2
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1003c071
push 0x38c
push 0x40f801a
push 1
call fcn.100910e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], esp
push 0x80
push dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
je 0x1003c090
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1003c0b7
push 0x38c
push 0x40f801a
push 6
call fcn.100910e2
add esp, 0xc
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1003c0dc
mov eax, 0x100f22f6
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x1003c0f2
mov eax, 0x100f22f6
push eax
push 4
mov ebx, 0x148
call fcn.10093710
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x1003c270
mov ebx, dword [ebp - 0x14]
call fcn.100020aa
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x1003c139
push 0x44a
push 0x40f801a
push 4
call fcn.100910e2
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1003c156
push 0x44a
push 0x40f801a
push 1
call fcn.100910e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push htons
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x1003c173
mov eax, 0x100f234f
push eax
push 1
mov ebx, 0x168
call fcn.10092160
add esp, 0x10
mov dword [ebp - 0x24], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.10006d46
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1003c1b2
mov eax, 0x100f22f6
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1003c1c6
mov eax, 0x100f22f6
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x1003c1dc
mov eax, 0x100f22f6
push eax
push 6
mov ebx, 0x180
call fcn.10094330
add esp, 0x4c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1003c202
push ebx
call fcn.100910d6
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1003c218
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1003c24c
push 0x484
push 0x40f801a
push 6
call fcn.100910e2
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1003c26b
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 0x1003c2d7
pop eax
pop ebx
pop ecx
jmp 0x1003bf18
add esp, 0xc
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1003c2a9
push 0x4da
push 0x40f801a
push 6
call fcn.100910e2
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1003c2c8
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 0x1003c2d7
mov eax, 0x100f22f6
jmp 0x1003c2d7
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1003c2e8
push ebx
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003c2f8
push ebx
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1003c316
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1003c312
imul eax, dword [ebx]
jmp 0x1003c307
mov ecx, eax
test ecx, ecx
je 0x1003c335
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1003c32e
push ebx
push eax
call fcn.100910d6
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1003c31c
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1003c34d
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10