Function at 0x10029be7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.1003e8fc
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x1005803c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x1bc
call fcn.1003ffb0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10029c5c
push ebx
call fcn.1003e902
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x10029c6d
add eax, 8
push eax
push 0xff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10029c99
push 0x4f
push 0x405a1c1
push 6
call fcn.1003e90e
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x10029f52
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10029cc6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10029cc2
imul eax, dword [ebx]
jmp 0x10029cb7
mov ecx, eax
test ecx, ecx
je 0x10029ce5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10029cde
push ebx
push eax
call fcn.1003e902
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10029ccc
call fcn.1003e902
add esp, 4
mov eax, 0x1005803c
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push 0x80000301
push 0
push dword [ebp - 8]
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10029d14
mov eax, 0x1005803c
push eax
push 2
mov ebx, 0x1a0
call fcn.1003ff50
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10029d3e
push ebx
call fcn.1003e902
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push VariantClear
push 0
push 0x100580e9
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10029d67
mov eax, 0x1005803c
push eax
push 3
mov ebx, 0x1c4
call fcn.100433d0
add esp, 0x28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10029d9f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10029d9b
imul eax, dword [ebx]
jmp 0x10029d90
mov ecx, eax
test ecx, ecx
je 0x10029dbe
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10029db7
push ebx
push eax
call fcn.1003e902
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10029da5
call fcn.1003e902
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.1000dd36
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10029f4f
mov ebx, dword [ebp - 0xc]
call fcn.1000bd40
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x10029e16
push 0x1be
push 0x405a1c1
push 4
call fcn.1003e90e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10029e33
push 0x1be
push 0x405a1c1
push 1
call fcn.1003e90e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x10029e50
mov eax, 0x1005803c
push eax
push 1
mov ebx, 0x168
call fcn.1003f740
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10029e85
mov eax, 0x10057240
push eax
push 2
mov ebx, 0x134
call fcn.100402c0
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10029eab
push ebx
call fcn.1003e902
add esp, 4
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.1003ef70
add esp, 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x28], ebx
call fcn.1000bd40
mov dword [ebp - 0x2c], ecx
mov edi, dword [ebp - 0x28]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x10029eef
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x2c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x28]
call fcn.1003e91a
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x2c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x24]
push edi
test eax, eax
je 0x10029f34
push eax
mov ebx, eax
call fcn.100046dd
inc eax
push eax
call fcn.1003e8fc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10029f47
push ebx
call fcn.1003e902
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x10029de1
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x10029f5a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10029f6b
push ebx
call fcn.1003e902
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10029f89
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10029f85
imul eax, dword [ebx]
jmp 0x10029f7a
mov ecx, eax
test ecx, ecx
je 0x10029fa8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10029fa1
push ebx
push eax
call fcn.1003e902
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10029f8f
call fcn.1003e902
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8