Function at 0x1000dbd0
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.1002ffeb
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x1005430c
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.10031690
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000dc45
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x1000dc56
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 0x1000dc82
push 0x4f
push 0x402255e
push 6
call fcn.1002fffd
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x1000df3b
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000dcaf
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000dcab
imul eax, dword [ebx]
jmp 0x1000dca0
mov ecx, eax
test ecx, ecx
je 0x1000dcce
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000dcc7
push ebx
push eax
call fcn.1002fff1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000dcb5
call fcn.1002fff1
add esp, 4
mov eax, 0x1005430c
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push 0x80000301
push 0
push dword [ebp - 8]
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1000dcfd
mov eax, 0x1005430c
push eax
push 2
mov ebx, 0x1a0
call fcn.10031a40
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000dd27
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push htons
push 0
push 0x10060132
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1000dd50
mov eax, 0x1005430c
push eax
push 3
mov ebx, 0x1c4
call fcn.100327a0
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 0x1000dd88
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000dd84
imul eax, dword [ebx]
jmp 0x1000dd79
mov ecx, eax
test ecx, ecx
je 0x1000dda7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000dda0
push ebx
push eax
call fcn.1002fff1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000dd8e
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.10001546
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 0x1000df38
mov ebx, dword [ebp - 0xc]
call fcn.1000155f
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x1000ddff
push 0x1be
push 0x402255e
push 4
call fcn.1002fffd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000de1c
push 0x1be
push 0x402255e
push 1
call fcn.1002fffd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push htons
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x1000de39
mov eax, 0x1005430c
push eax
push 1
mov ebx, 0x168
call fcn.10030ed0
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 0x1000de6e
mov eax, 0x100542f9
push eax
push 2
mov ebx, 0x134
call fcn.10032960
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000de94
push ebx
call fcn.1002fff1
add esp, 4
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.100309a0
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.1000155f
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 0x1000ded8
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.10030015
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 0x1000df1d
push eax
mov ebx, eax
call fcn.1000188c
inc eax
push eax
call fcn.1002ffeb
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 0x1000df30
push ebx
call fcn.1002fff1
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x1000ddca
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x1000df43
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000df54
push ebx
call fcn.1002fff1
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000df72
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000df6e
imul eax, dword [ebx]
jmp 0x1000df63
mov ecx, eax
test ecx, ecx
je 0x1000df91
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000df8a
push ebx
push eax
call fcn.1002fff1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000df78
call fcn.1002fff1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8