Function at 0x4ce1a0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fe454
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x4ce1e1
xor eax, eax
jmp 0x4ce57f
push 0x40
call fcn.00560437
mov ebx, eax
add esp, 4
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], 0
mov ecx, ebx
call fcn.004a5da0
mov byte [ebp - 4], 1
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4ce59b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x430]
push dword [esi + 0x40]
push str._Volume_s_
push eax
call fcn.0040d300
add esp, 0xc
lea eax, [ebx + 0x18]
lea edx, [ebx + 0x14]
lea edi, [ebx + 0x10]
lea ecx, [ebx + 0xc]
push eax
push edx
push edi
mov edi, dword [ebp - 0x430]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
jne 0x4ce28a
mov dword [ebx + 0x10], 0x200
mov dword [ebx + 0xc], 1
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x18], eax
mov si, word [0x639ee0]
lea eax, [ebp - 0x41e]
push 0x206
push 0
push eax
mov word [ebp - 0x420], si
call fcn.00588800
push 0x206
lea eax, [ebp - 0x216]
mov word [ebp - 0x218], si
push 0
push eax
call fcn.00588800
add esp, 0x18
mov dword [ebp - 0x43c], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x438], 0
push 0x103
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x43c]
push eax
push 0x103
lea eax, [ebp - 0x420]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea ecx, [ebx + 8]
test eax, eax
je 0x4ce354
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4ce330
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
push edx
push eax
call fcn.0040c9d0
mov esi, dword [ebp - 0x424]
jmp 0x4ce38f
mov esi, dword [ebp - 0x424]
cmp dword [esi + 0x10], 0xfff
jne 0x4ce383
push 4
push str.NULL
call fcn.0040c9d0
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x3c], eax
jmp 0x4ce38f
push 3
push 0x65357c
call fcn.0040c9d0
mov ecx, dword [ebx]
mov dword [ebx + 0x28], 0
sub ecx, 0x10
mov edx, dword [esi + 0x40]
mov dword [ebp - 0x428], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x424], eax
cmp eax, ecx
je 0x4ce415
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x42c], edi
mov edi, dword [ebp - 0x430]
jl 0x4ce40a
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4ce40a
mov ecx, dword [ebp - 0x424]
call fcn.0040c950
mov dword [ebp - 0x424], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x42c]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ce3fd
mov eax, dword [ebp - 0x428]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x424]
add eax, 0x10
mov dword [ebx], eax
jmp 0x4ce415
push dword [edx - 0xc]
mov ecx, ebx
push edx
call fcn.0040c9d0
push 0
push dword [ebx + 0x10]
push dword [esi + 0x2c]
push dword [esi + 0x28]
call fcn.005dd6d0
mov dword [ebx + 0x24], edx
lea ecx, [ebx + 4]
mov dword [ebx + 0x20], eax
mov eax, dword [esi]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x424], eax
lea esi, [eax - 0x10]
mov eax, dword [ecx]
lea edx, [eax - 0x10]
mov dword [ebp - 0x42c], edx
cmp esi, edx
je 0x4ce4b2
cmp dword [edx + 0xc], 0
lea eax, [edx + 0xc]
mov dword [ebp - 0x428], eax
jl 0x4ce4a0
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x4ce4a0
mov ecx, esi
call fcn.0040c950
mov edx, dword [ebp - 0x428]
or esi, 0xffffffff
mov dword [ebp - 0x424], eax
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4ce498
mov eax, dword [ebp - 0x42c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x424]
add eax, 0x10
mov dword [ebx + 4], eax
jmp 0x4ce4b5
mov eax, dword [ebp - 0x424]
push dword [eax - 0xc]
push eax
call fcn.0040c9d0
mov eax, dword [ebx + 4]
or esi, 0xffffffff
cmp dword [eax - 0xc], 0
jne 0x4ce561
push 0x650a3c
mov edx, str.LocalDiskVolumeName
lea ecx, [ebp - 0x42c]
call fcn.004db870
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebx + 4]
mov edx, dword [eax]
mov esi, dword [ecx]
sub esi, 0x10
lea eax, [edx - 0x10]
mov dword [ebp - 0x428], eax
cmp eax, esi
je 0x4ce53d
cmp dword [esi + 0xc], 0
jl 0x4ce534
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x4ce534
mov ecx, dword [ebp - 0x428]
call fcn.0040c950
mov dword [ebp - 0x428], eax
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ce526
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x428]
add eax, 0x10
mov dword [ebx + 4], eax
jmp 0x4ce53d
push dword [edx - 0xc]
push edx
call fcn.0040c9d0
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov edx, dword [ebp - 0x42c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ce561
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x4ce57d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b250
int3