Function at 0x467645
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x59ab67
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
je 0x467c97
push 0x80000301
push 0
push 0x800
push 1
mov ebx, 0x1bc
call fcn.0055eb40
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4676cb
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0045fe24
mov dword [ebp - 0x1c], eax
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x800
push dword [ebp - 0x1c]
push 0x2b
push dword [ebp + 8]
call fcn.0045f40a
test eax, eax
je 0x4677c5
push 0x80000301
push 0
push 0x7d0
push 0x80000301
push 0
push 9
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x46772f
mov eax, 0x59ab67
push eax
push 3
mov ebx, 0x1a8
call fcn.005603b0
add esp, 0x28
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00467d3c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x467761
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x467777
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4677a1
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4677c0
push eax
mov ebx, eax
call fcn.00401a76
inc eax
push eax
call fcn.0055dd8b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x467cbf
lea eax, [ebp - 4]
push eax
call fcn.0045fe24
mov dword [ebp - 0x1c], eax
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x800
push dword [ebp - 0x1c]
push 0x1b
push dword [ebp + 8]
call fcn.0045f40a
test eax, eax
je 0x467c97
push 0x80000301
push 0
push 0x7d0
push 0x80000301
push 0
push 9
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x467825
mov eax, 0x59ab67
push eax
push 3
mov ebx, 0x1a8
call fcn.005603b0
add esp, 0x28
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00467eed
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x467857
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x46786d
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x10], 0
jne 0x4678c5
mov dword [ebp - 0x1c], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4678a1
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4678c0
push eax
mov ebx, eax
call fcn.00401a76
inc eax
push eax
call fcn.0055dd8b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x467cbf
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x1bc
call fcn.0055eb40
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4678fa
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], esp
mov eax, dword [ebp - 8]
test eax, eax
je 0x46790b
add eax, 8
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x46792d
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x46794d
mov eax, 0x59ab67
push eax
push 2
mov ebx, 0x1a0
call fcn.00560810
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x467977
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push htons
push 0
push 0x5ecea7
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4679a0
mov eax, 0x59ab67
push eax
push 3
mov ebx, 0x1c4
call fcn.00560fb0
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4679d8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4679d4
imul eax, dword [ebx]
jmp 0x4679c9
mov ecx, eax
test ecx, ecx
je 0x4679f7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4679f0
push ebx
push eax
call fcn.0055dd85
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4679de
call fcn.0055dd85
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
call fcn.0040176b
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 0x467c94
push 0x80000301
push 0
push 0x80
push 1
mov ebx, 0x184
call fcn.0055eb70
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x467a57
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x5eceb1
mov ebx, dword [ebp - 0x20]
push dword [ebx]
mov ecx, 2
call fcn.004023f1
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x467abd
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
push 0x80
push dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
je 0x467af3
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x467b10
push 6
call fcn.0055dd91
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x467b35
mov eax, 0x59ab40
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x467b4b
mov eax, 0x59ab40
push eax
push 4
mov ebx, 0x148
call fcn.00560090
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x467c8c
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push htons
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x467b99
mov eax, 0x59ab67
push eax
push 1
mov ebx, 0x168
call fcn.0055e870
add esp, 0x10
mov dword [ebp - 0x20], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.0046763d
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x467bd8
mov eax, 0x59ab40
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x467bec
mov eax, 0x59ab40
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x467c02
mov eax, 0x59ab40
push eax
push 6
mov ebx, 0x180
call fcn.00561150
add esp, 0x4c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x467c28
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x467c3e
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x467c68
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x467c87
push eax
mov ebx, eax
call fcn.00401a76
inc eax
push eax
call fcn.0055dd8b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x467cbf
pop eax
pop ebx
pop ecx
jmp 0x467a14
add esp, 0xc
mov eax, 0x59ab40
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x467caf
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, 0x59ab40
jmp 0x467cbf
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x467cd0
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x467ce0
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x467cfe
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x467cfa
imul eax, dword [ebx]
jmp 0x467cef
mov ecx, eax
test ecx, ecx
je 0x467d1d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x467d16
push ebx
push eax
call fcn.0055dd85
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x467d04
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x467d35
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc