Function at 0x442d01
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 8
call fcn.0044b40f
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x4ab2e3
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov eax, 0x4ab2e2
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x442d6e
push ebx
call fcn.0044b409
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.0044cf60
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x442da9
push ebx
call fcn.0044b409
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040af96
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
push eax
push 0x1000
push dword [ebp - 0x24]
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004026df
test eax, eax
je 0x44347d
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push 2
push VariantCopy
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x442e08
mov eax, 0x4ab2e3
push eax
push 3
mov ebx, 0x19c
call fcn.0044cc20
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x442e3c
and eax, 0xff
jmp 0x442e91
cmp ecx, 0x80000201
jne 0x442e47
cwde
jmp 0x442e91
cmp ecx, 0x80000301
je 0x442e91
cmp ecx, 0x80000401
je 0x442e91
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000501
je 0x442e81
cmp ecx, 0x80000601
je 0x442e86
push 0xd6
push 0x402080b
push 2
call fcn.0044b415
add esp, 0xc
fld dword [ebp - 0x34]
jmp 0x442e8c
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
call fcn.004027be
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x80000301
push 0
push 9
push VariantCopy
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x442ebd
mov eax, 0x4ab2e3
push eax
push 3
mov ebx, 0x1a8
call fcn.0044cfd0
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x442ee7
push ebx
call fcn.0044b409
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040afba
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x442f0d
push ebx
call fcn.0044b409
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
cmp dword [ebp + 0x14], 0
jne 0x442f6f
mov dword [ebp - 0x24], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x442f4b
push 0x1dc
push 0x402080b
push 6
call fcn.0044b415
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x442f6a
push eax
mov ebx, eax
call fcn.00402e66
inc eax
push eax
call fcn.0044b40f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x443487
push 0x80000301
push 0
push pe_nt_image_headers32
push 1
mov ebx, 0x1bc
call fcn.0044cf60
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x442fa4
push ebx
call fcn.0044b409
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x442fb5
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 - 0x24], esp
je 0x442fe1
push 0x248
push 0x402080b
push 6
call fcn.0044b415
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [ebp - 0x14]
push VariantCopy
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x443001
mov eax, 0x4ab2e3
push eax
push 2
mov ebx, 0x1a0
call fcn.0044d020
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x44302b
push ebx
call fcn.0044b409
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push VariantCopy
push 0
push 0x4ab407
push VariantCopy
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x443054
mov eax, 0x4ab2e3
push eax
push 3
mov ebx, 0x1c4
call fcn.0044d050
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x44308c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x443088
imul eax, dword [ebx]
jmp 0x44307d
mov ecx, eax
test ecx, ecx
je 0x4430ab
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4430a4
push ebx
push eax
call fcn.0044b409
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x443092
call fcn.0044b409
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x18]
call fcn.00401c0a
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x443428
push 0x80000301
push 0
push 0x80
push 1
mov ebx, 0x184
call fcn.0044c210
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x44310b
push ebx
call fcn.0044b409
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
call fcn.004011ef
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x443136
push 0x35a
push 0x402080b
push 4
call fcn.0044b415
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x443153
push 0x35a
push 0x402080b
push 1
call fcn.0044b415
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x18]
call fcn.004011ef
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x443182
push 0x37a
push 0x402080b
push 4
call fcn.0044b415
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x44319f
push 0x37a
push 0x402080b
push 1
call fcn.0044b415
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push 0x4ab411
mov ebx, dword [ebp - 0x28]
push dword [ebx]
mov ecx, 2
call fcn.0040a734
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4431d7
push ebx
call fcn.0044b409
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
call fcn.004011ef
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x443204
push 0x3b0
push 0x402080b
push 4
call fcn.0044b415
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x443221
push 0x3b0
push 0x402080b
push 1
call fcn.0044b415
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esp
push 0x80
push dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x443240
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x443267
push 0x3b0
push 0x402080b
push 6
call fcn.0044b415
add esp, 0xc
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push SysStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x44328c
mov eax, 0x4ab2e2
push eax
push SysStringLen
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x4432a2
mov eax, 0x4ab2e2
push eax
push 4
mov ebx, 0x148
call fcn.0044cdc0
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x443420
mov ebx, dword [ebp - 0x18]
call fcn.004011ef
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4432e9
push 0x46e
push 0x402080b
push 4
call fcn.0044b415
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x443306
push 0x46e
push 0x402080b
push 1
call fcn.0044b415
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push VariantCopy
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x443323
mov eax, 0x4ab2e3
push eax
push 1
mov ebx, 0x168
call fcn.0044c500
add esp, 0x10
mov dword [ebp - 0x28], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.0040a78b
push SysStringLen
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x443362
mov eax, 0x4ab2e2
push eax
push SysStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x443376
mov eax, 0x4ab2e2
push eax
push SysStringLen
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x44338c
mov eax, 0x4ab2e2
push eax
push 6
mov ebx, 0x180
call fcn.0044d210
add esp, 0x4c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4433b2
push ebx
call fcn.0044b409
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4433c8
push ebx
call fcn.0044b409
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x24], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4433fc
push 0x4a8
push 0x402080b
push 6
call fcn.0044b415
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x44341b
push eax
mov ebx, eax
call fcn.00402e66
inc eax
push eax
call fcn.0044b40f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x443487
pop eax
pop ebx
pop ecx
jmp 0x4430c8
add esp, 0xc
mov dword [ebp - 0x24], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x443459
push 0x4fe
push 0x402080b
push 6
call fcn.0044b415
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x443478
push eax
mov ebx, eax
call fcn.00402e66
inc eax
push eax
call fcn.0044b40f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x443487
mov eax, 0x4ab2e2
jmp 0x443487
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x443498
push ebx
call fcn.0044b409
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4434a8
push ebx
call fcn.0044b409
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4434c6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4434c2
imul eax, dword [ebx]
jmp 0x4434b7
mov ecx, eax
test ecx, ecx
je 0x4434e5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4434de
push ebx
push eax
call fcn.0044b409
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4434cc
call fcn.0044b409
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4434fd
push ebx
call fcn.0044b409
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10