Function at 0x100270a4
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.100377c4
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x100742da
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, 0x1007445f
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1002710a
push ebx
call fcn.100377ca
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.10038d40
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10027145
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.10007136
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.10008bd6
test eax, eax
je 0x10027719
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100271ac
mov eax, 0x100742da
push eax
push 3
mov ebx, 0x19c
call fcn.10038b10
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 0x100271e0
and eax, 0xff
jmp 0x1002722b
cmp ecx, 0x80000201
jne 0x100271eb
cwde
jmp 0x1002722b
cmp ecx, 0x80000301
je 0x1002722b
cmp ecx, 0x80000401
je 0x1002722b
mov dword [ebp - 0x30], eax
cmp ecx, 0x80000501
je 0x1002721b
cmp ecx, 0x80000601
je 0x10027220
push 2
call fcn.100377d0
add esp, 4
fld dword [ebp - 0x30]
jmp 0x10027226
mov dword [ebp - 0x2c], edx
fld qword [ebp - 0x30]
call fcn.10001a79
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push 9
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10027257
mov eax, 0x100742da
push eax
push 3
mov ebx, 0x1a8
call fcn.10038eb0
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10027281
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.1000b2ea
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 0x100272a7
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
cmp dword [ebp + 0x14], 0
jne 0x100272ff
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x100272db
push 6
call fcn.100377d0
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100272fa
push eax
mov ebx, eax
call fcn.10002038
inc eax
push eax
call fcn.100377c4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10027723
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x1bc
call fcn.10038d40
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10027334
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10027345
add eax, 8
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10027367
push 6
call fcn.100377d0
add esp, 4
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10027387
mov eax, 0x100742da
push eax
push 2
mov ebx, 0x1a0
call fcn.10038f00
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100273b1
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
push 0x10075f1d
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x100273da
mov eax, 0x100742da
push eax
push 3
mov ebx, 0x1c4
call fcn.10039810
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 0x10027412
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1002740e
imul eax, dword [ebx]
jmp 0x10027403
mov ecx, eax
test ecx, ecx
je 0x10027431
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1002742a
push ebx
push eax
call fcn.100377ca
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10027418
call fcn.100377ca
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
call fcn.1000201f
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 0x100276ce
push 0x80000301
push 0
push 0x80
push 1
mov ebx, 0x184
call fcn.10038620
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10027491
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0x10075f27
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 2
call fcn.10001dc3
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 0x100274f7
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
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 0x1002752d
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1002754a
push 6
call fcn.100377d0
add esp, 4
push connect
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1002756f
mov eax, 0x1007445f
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x10027585
mov eax, 0x1007445f
push eax
push 4
mov ebx, 0x148
call fcn.10038660
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x100276c6
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x100275d3
mov eax, 0x100742da
push eax
push 1
mov ebx, 0x168
call fcn.10037e10
add esp, 0x10
mov dword [ebp - 0x24], eax
push connect
push 0
push 1
mov ebx, 6
call fcn.1001678b
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10027612
mov eax, 0x1007445f
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10027626
mov eax, 0x1007445f
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x1002763c
mov eax, 0x1007445f
push eax
push 6
mov ebx, 0x180
call fcn.100399b0
add esp, 0x4c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10027662
push ebx
call fcn.100377ca
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10027678
push ebx
call fcn.100377ca
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]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x100276a2
push 6
call fcn.100377d0
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100276c1
push eax
mov ebx, eax
call fcn.10002038
inc eax
push eax
call fcn.100377c4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10027723
pop eax
pop ebx
pop ecx
jmp 0x1002744e
add esp, 0xc
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x100276f5
push 6
call fcn.100377d0
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10027714
push eax
mov ebx, eax
call fcn.10002038
inc eax
push eax
call fcn.100377c4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10027723
mov eax, 0x1007445f
jmp 0x10027723
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10027734
push ebx
call fcn.100377ca
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10027744
push ebx
call fcn.100377ca
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10027762
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1002775e
imul eax, dword [ebx]
jmp 0x10027753
mov ecx, eax
test ecx, ecx
je 0x10027781
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1002777a
push ebx
push eax
call fcn.100377ca
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10027768
call fcn.100377ca
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10027799
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10