Function at 0x560650
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x1d40]
mov eax, 0x1d40
call fcn.0059cbb0
push 0xffffffffffffffff
push 0x5ed148
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x665ebc]
xor eax, ebp
mov dword [ebp + 0x1d3c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
xor ebx, ebx
lea ecx, [ebp + 0xaac]
mov dword [ebp - 4], ebx
call fcn.004aafa5
lea ecx, [ebp + 0xeb8]
mov byte [ebp - 4], 1
call fcn.004aafa5
push 0x103
lea eax, [ebp + 0x1c39]
push ebx
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], ebx
mov byte [ebp + 0x1c38], bl
call fcn.0059cb30
add esp, 0xc
lea ecx, [ebp + 0x16fc]
call fcn.00427139
lea ecx, [ebp + 0x16fc]
mov byte [ebp - 4], 3
call fcn.00498edf
lea eax, [ebp + 0x1b34]
push eax
lea ecx, [ebp + 0x16fc]
call fcn.00499cd1
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
call esi
push ebx
push ebx
push ebx
push ebx
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
lea eax, [ebp + 0x1b34]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push edi
call esi
mov esi, SysReAllocStringLen
push esi
lea ecx, [ebp + 0xaac]
call fcn.004aafcd
push esi
lea ecx, [ebp + 0xeb8]
call fcn.004aafcd
push str.SOFTWAREMirabilisICQNewOwners
lea ecx, [ebp + 0xaac]
call fcn.004ab3d4
cmp eax, ebx
je 0x56081d
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
inc dword [ebp - 0x14]
push eax
lea eax, [ebp + 0x1c38]
push eax
lea ecx, [ebp + 0xaac]
call fcn.004aba0f
cmp eax, ebx
je 0x56081d
lea eax, [ebp + 0x1c38]
push eax
lea eax, [ebp + 0x1b34]
push str.SOFTWAREMirabilisICQNewOwners_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp + 0x1b34]
push eax
lea ecx, [ebp + 0xeb8]
call fcn.004ab3d4
cmp eax, ebx
je 0x56075e
push str.MainLocation
lea ecx, [ebp + 0xeb8]
call fcn.004ab0a5
mov edi, eax
cmp edi, ebx
jle 0x56075e
lea eax, [edi + 1]
push eax
call fcn.00564e4a
mov esi, eax
pop ecx
cmp esi, ebx
je 0x56075e
push edi
push esi
push str.MainLocation
lea ecx, [ebp + 0xeb8]
mov byte [esi + edi], bl
call fcn.004ab993
cmp eax, ebx
jne 0x5607fc
push esi
call fcn.00564e3f
pop ecx
jmp 0x56075e
mov ecx, dword [ebp - 0x24]
lea eax, [ebp + 0x1c38]
push eax
push dword [ebp - 0x28]
push edi
push esi
call fcn.0055ef28
push esi
mov ecx, 0x672b98
call fcn.004ba0ea
jmp 0x5607f0
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x448], 2
jl 0x560a85
lea ecx, [ebp + 0x12c4]
call fcn.00427139
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.00427139
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.005756ee
lea ecx, [ebp]
mov byte [ebp - 4], 6
call fcn.00499b91
lea ecx, [ebp + 0x16fc]
call fcn.00499aa1
push ebx
push 0x5f7710
lea ecx, [ebp + 0x16fc]
call fcn.0049a237
cmp eax, ebx
je 0x5608e3
push eax
lea eax, [ebp + 0x16fc]
push eax
lea ecx, [ebp + 0x12c4]
call fcn.00499340
lea eax, [ebp]
push eax
lea eax, [ebp + 0x12c4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x5608d6
push str.ntuser.dat
push ebx
lea ecx, [ebp + 0x12c4]
call fcn.00499340
lea ecx, [ebp + 0x12c4]
call fcn.004992e9
cmp eax, ebx
je 0x5608d6
lea eax, [ebp + 0x12c4]
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x3c]
call fcn.00575c79
lea ecx, [ebp + 0x16fc]
call fcn.0049980d
jmp 0x560878
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
call fcn.005756ee
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x34]
jge 0x560a52
lea ecx, [ebp + 0x438]
call fcn.004edcd8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.004026b0
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp + 0x438]
call fcn.004edd49
cmp eax, ebx
je 0x560a3b
lea eax, [ebp - 0x18]
push eax
push str.SOFTWAREMirabilisICQNewOwners
lea ecx, [ebp + 0x438]
call fcn.004ee231
cmp eax, ebx
je 0x560a3b
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp + 0x438]
call fcn.004eea46
xor edi, edi
cmp edi, dword [ebp - 0x48]
jge 0x560a3b
push edi
lea ecx, [ebp - 0x50]
call fcn.004026b0
push dword [eax]
lea eax, [ebp + 0x1c38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0x1c38]
push eax
lea eax, [ebp + 0x1b34]
push str.SOFTWAREMirabilisICQNewOwners_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1b34]
push eax
lea ecx, [ebp + 0x438]
call fcn.004ee231
cmp eax, ebx
je 0x560a35
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push str.MainLocation
push dword [ebp - 0x18]
lea ecx, [ebp + 0x438]
mov dword [ebp - 0x20], ebx
call fcn.004ee3ae
cmp eax, ebx
je 0x560a35
cmp dword [ebp - 0x20], ebx
je 0x560a35
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jle 0x560a35
inc eax
push eax
call fcn.00564e4a
mov esi, eax
pop ecx
cmp esi, ebx
je 0x560a35
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push esi
call fcn.0059d730
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov byte [eax + esi], bl
lea eax, [ebp + 0x1c38]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push esi
call fcn.0055ef28
push esi
mov ecx, 0x672b98
call fcn.004ba0ea
push esi
call fcn.00564e3f
pop ecx
inc edi
jmp 0x560965
lea ecx, [ebp + 0x438]
mov byte [ebp - 4], 7
call fcn.004eeb70
inc dword [ebp - 0x14]
jmp 0x5608f8
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00575a31
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.00575a31
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.0042719c
lea ecx, [ebp + 0x12c4]
mov byte [ebp - 4], 3
call fcn.0042719c
lea ecx, [ebp + 0x16fc]
mov byte [ebp - 4], 2
call fcn.0042719c
lea ecx, [ebp + 0xeb8]
mov byte [ebp - 4], 1
call fcn.004ac1a5
lea ecx, [ebp + 0xaac]
mov byte [ebp - 4], bl
call fcn.004ac1a5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1d3c]
xor ecx, ebp
call fcn.0059ca15
add ebp, 0x1d40
leave
ret