Function at 0x4c082c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov edi, ecx
mov edx, str.VirtualDiskSize
push ebx
mov ecx, esi
mov dword [esp + 0x14], edi
push dword [edi + 0x7c]
push dword [edi + 0x78]
call fcn.004c0b24
push ebx
push dword [edi + 0x3c]
mov edx, str.PhysicalSize
mov ecx, esi
push dword [edi + 0x38]
call fcn.004c0b24
mov ebp, 0x578c84
cmp dword [edi + 0x114], ebx
je 0x4c0899
push 0x57cb58
mov ecx, esi
call fcn.00402aad
push ebp
mov ecx, esi
call fcn.00402aad
lea eax, [edi + 0x110]
mov ecx, esi
push eax
call fcn.00402a78
mov ecx, esi
call fcn.00402cc2
cmp byte [edi + 0x60], bl
je 0x4c08c5
push 0x586e24
mov ecx, esi
call fcn.00402aad
push ebp
mov ecx, esi
call fcn.00402aad
push esi
lea ecx, [edi + 0x80]
call fcn.0048455d
mov ecx, esi
call fcn.00402cc2
push ebx
push dword [edi + 0xa4]
mov edx, str.SequenceNumber
mov ecx, esi
push dword [edi + 0xa0]
call fcn.004c0b24
push 1
push ebx
push dword [edi + 0xa8]
mov edx, str.LogLength
mov ecx, esi
call fcn.004c0b24
mov ebp, ebx
lea ecx, [edi + 0xb8]
shl ebp, 4
add ecx, ebp
call fcn.004c15c7
test al, al
jne 0x4c0959
test ebx, ebx
jne 0x4c0914
mov eax, str.FileWrite
jmp 0x4c0924
cmp ebx, 1
mov eax, str.DataWrite
mov ecx, 0x586e5c
cmovne eax, ecx
push eax
mov ecx, esi
call fcn.00402aad
push str.Guid
mov ecx, esi
call fcn.00402aad
push 0x578c84
mov ecx, esi
call fcn.00402aad
lea ecx, [edi + 0xb8]
push esi
add ecx, ebp
call fcn.0048455d
mov ecx, esi
call fcn.00402cc2
inc ebx
cmp ebx, 3
jb 0x4c08f3
mov eax, dword [edi + 0x70]
mov edx, str.HasParent
shr eax, 1
mov ecx, esi
and al, 1
movzx eax, al
push eax
call fcn.004c0afc
mov al, byte [edi + 0x70]
mov edx, str.Fixed
and al, 1
mov ecx, esi
movzx eax, al
push eax
call fcn.004c0afc
test byte [edi + 0x70], 1
je 0x4c09a5
movzx eax, byte [edi + 0x129]
mov edx, str.DataContiguous
push eax
mov ecx, esi
call fcn.004c0afc
push dword [edi + 0x64]
mov edx, str.BlockSize
mov ecx, esi
call fcn.004c0acb
push dword [edi + 0x68]
mov edx, str.LogicalSectorSize
mov ecx, esi
call fcn.004c0acb
push dword [edi + 0x6c]
mov edx, str.PhysicalSectorSize
mov ecx, esi
call fcn.004c0acb
mov eax, dword [edi + 0xe8]
xor edx, edx
mov ecx, dword [edi + 0x64]
call fcn.00566830
mov ebp, edx
mov ebx, eax
push 1
push ebp
push ebx
mov edx, str.PackSize
mov ecx, esi
call fcn.004c0b24
mov eax, dword [edi + 0xec]
mov ecx, 0x100000
mul ecx
mov ecx, dword [esp + 0x18]
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x10]
mov edx, str.HeadersSize
push 1
add esi, dword [eax + 0xf0]
adc edi, dword [eax + 0xf4]
push edi
push esi
call fcn.004c0b24
mov eax, dword [esp + 0x10]
mov edx, str.FreeSpace
push 1
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
sub ecx, esi
sbb eax, edi
sub ecx, ebx
mov ebx, dword [esp + 0x1c]
sbb eax, ebp
push eax
push ecx
mov ecx, ebx
call fcn.004c0b24
mov ebp, dword [esp + 0x10]
xor edi, edi
cmp dword [ebp + 0x94], edi
je 0x4c0ac3
push str.Parent:
mov ecx, ebx
call fcn.00402aad
mov ecx, ebx
call fcn.00402cc2
cmp dword [ebp + 0x94], edi
jbe 0x4c0abc
mov eax, dword [ebp + 0x90]
mov ecx, ebx
push 0x579aec
mov esi, dword [eax + edi*4]
call fcn.00402aad
push esi
mov ecx, ebx
call fcn.00402a78
push 0x578c84
mov ecx, ebx
call fcn.00402aad
lea eax, [esi + 0xc]
mov ecx, ebx
push eax
call fcn.00402a78
mov ecx, ebx
call fcn.00402cc2
inc edi
cmp edi, dword [ebp + 0x94]
jb 0x4c0a78
mov ecx, ebx
call fcn.00402cc2
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4