Function at 0x1003771f
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.1003e8fc
add esp, 4
mov dword [ebp - 0x14], 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 - 0x18], 0
mov dword [ebp - 0x1c], 0
mov eax, 0x10057240
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10037785
push ebx
call fcn.1003e902
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.1003ffb0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100377c0
push ebx
call fcn.1003e902
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.10034f0a
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.10030138
test eax, eax
je 0x10037ddf
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push 2
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10037827
mov eax, 0x1005803c
push eax
push 3
mov ebx, 0x19c
call fcn.100429b0
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 0x1003785b
and eax, 0xff
jmp 0x100378b0
cmp ecx, 0x80000201
jne 0x10037866
cwde
jmp 0x100378b0
cmp ecx, 0x80000301
je 0x100378b0
cmp ecx, 0x80000401
je 0x100378b0
mov dword [ebp - 0x30], eax
cmp ecx, 0x80000501
je 0x100378a0
cmp ecx, 0x80000601
je 0x100378a5
push 0xd8
push 0x4060b5a
push 2
call fcn.1003e90e
add esp, 0xc
fld dword [ebp - 0x30]
jmp 0x100378ab
mov dword [ebp - 0x2c], edx
fld qword [ebp - 0x30]
call fcn.100038f5
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push 9
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100378dc
mov eax, 0x1005803c
push eax
push 3
mov ebx, 0x1a8
call fcn.10042860
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10037906
push ebx
call fcn.1003e902
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.10037e66
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 0x1003792c
push ebx
call fcn.1003e902
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
cmp dword [ebp + 0x14], 0
jne 0x1003794f
push dword [ebp + 0x10]
call fcn.10038021
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x10037de9
push 0x80000301
push 0
push pe_nt_image_headers32
push 1
mov ebx, 0x1bc
call fcn.1003ffb0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10037984
push ebx
call fcn.1003e902
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10037995
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 0x100379c1
push 0x266
push 0x4060b5a
push 6
call fcn.1003e90e
add esp, 0xc
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x100379e1
mov eax, 0x1005803c
push eax
push 2
mov ebx, 0x1a0
call fcn.1003ff50
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10037a0b
push ebx
call fcn.1003e902
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push VariantClear
push 0
push 0x1005948a
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10037a34
mov eax, 0x1005803c
push eax
push 3
mov ebx, 0x1c4
call fcn.100433d0
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 0x10037a6c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10037a68
imul eax, dword [ebx]
jmp 0x10037a5d
mov ecx, eax
test ecx, ecx
je 0x10037a8b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10037a84
push ebx
push eax
call fcn.1003e902
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10037a72
call fcn.1003e902
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
call fcn.1000dd36
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 0x10037dc9
push 0x80000301
push 0
push 0x80
push 1
mov ebx, 0x184
call fcn.100401b0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10037aeb
push ebx
call fcn.1003e902
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
call fcn.1000bd40
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10037b16
push 0x378
push 0x4060b5a
push 4
call fcn.1003e90e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10037b33
push 0x378
push 0x4060b5a
push 1
call fcn.1003e90e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x14]
call fcn.1000bd40
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10037b62
push 0x398
push 0x4060b5a
push 4
call fcn.1003e90e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10037b7f
push 0x398
push 0x4060b5a
push 1
call fcn.1003e90e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0x100587c8
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 2
call fcn.1000370b
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 0x10037bb7
push ebx
call fcn.1003e902
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
call fcn.1000bd40
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10037be4
push 0x3ce
push 0x4060b5a
push 4
call fcn.1003e90e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10037c01
push 0x3ce
push 0x4060b5a
push 1
call fcn.1003e90e
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 0x10037c20
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10037c47
push 0x3ce
push 0x4060b5a
push 6
call fcn.1003e90e
add esp, 0xc
push reloc.OLEAUT32.dll_SysReAllocString
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 0x10037c6c
mov eax, 0x10057240
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x10037c82
mov eax, 0x10057240
push eax
push 4
mov ebx, 0x148
call fcn.1003f540
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x10037dc1
mov ebx, dword [ebp - 0x14]
call fcn.1000bd40
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x10037cc9
push 0x48c
push 0x4060b5a
push 4
call fcn.1003e90e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10037ce6
push 0x48c
push 0x4060b5a
push 1
call fcn.1003e90e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x10037d03
mov eax, 0x1005803c
push eax
push 1
mov ebx, 0x168
call fcn.1003f740
add esp, 0x10
mov dword [ebp - 0x24], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.1000bd60
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10037d42
mov eax, 0x10057240
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10037d56
mov eax, 0x10057240
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x10037d6c
mov eax, 0x10057240
push eax
push 6
mov ebx, 0x180
call fcn.1003fbf0
add esp, 0x4c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10037d92
push ebx
call fcn.1003e902
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10037da8
push ebx
call fcn.1003e902
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push dword [ebp + 0x10]
call fcn.10038021
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x10037de9
pop eax
pop ebx
pop ecx
jmp 0x10037aa8
add esp, 0xc
push dword [ebp + 0x10]
call fcn.10038021
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x10037de9
mov eax, 0x10057240
jmp 0x10037de9
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10037dfa
push ebx
call fcn.1003e902
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10037e0a
push ebx
call fcn.1003e902
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10037e28
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10037e24
imul eax, dword [ebx]
jmp 0x10037e19
mov ecx, eax
test ecx, ecx
je 0x10037e47
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10037e40
push ebx
push eax
call fcn.1003e902
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10037e2e
call fcn.1003e902
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10037e5f
push ebx
call fcn.1003e902
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10