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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea5a6
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x521390]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, edi
call fcn.004058d0
xor ebx, ebx
cmp eax, ebx
jne 0x404a6a
cmp dword [edi], ebx
jne 0x404778
mov eax, dword [ebp + 0x10]
push eax
mov ebx, edi
call fcn.004042e0
test eax, eax
jne 0x404a6a
xor ebx, ebx
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
add ecx, 4
call eax
mov eax, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], vtable.CObjectVector_class_CInOutTempBuffer_.0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], vtable.CObjectVector_class_CSequentialOutTempBufferImp__.0
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialOutStream__.0
mov byte [ebp - 4], 2
cmp dword [edi + 0x9c], 1
mov ecx, dword [edi + 0x60]
mov dword [ebp - 0x94], ecx
mov dword [ebp + 0x10], 1
jle 0x404891
jmp 0x4047f0
lea esi, [ebp - 0xd8]
mov byte [ebp - 0xdc], bl
call fcn.004061f0
mov dword [ebp - 0xcc], 0xffffffff
mov byte [ebp - 4], 4
lea esi, [ebp - 0xc0]
mov dword [ebp - 0xc8], ebx
call fcn.004061f0
lea edx, [ebp - 0xdc]
push edx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.004069e0
lea esi, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.004258f0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov esi, dword [ecx + eax*4 - 4]
cmp dword [esi + 0x14], ebx
jne 0x404861
push 0x100000
call fcn.004cbe29
add esp, 4
mov dword [esi + 0x14], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
mov eax, dword [edx + eax*4 - 4]
mov dword [eax + 0x18], ebx
mov byte [eax + 0x28], bl
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x38], 0xffffffff
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x10], eax
cmp eax, dword [edi + 0x9c]
jl 0x4047f0
cmp dword [edi + 0x9c], 1
mov dword [ebp + 0x10], 1
jle 0x40496c
push 0xc
call fcn.004cca95
mov esi, eax
add esp, 4
mov dword [ebp - 0x70], esi
cmp esi, ebx
je 0x404ae1
mov dword [esi + 4], ebx
mov dword [esi], vtable.CSequentialOutTempBufferImp.0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
mov dword [ebp - 0x68], esi
call edx
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + ecx*4 - 4]
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x38]
mov dword [esi + 8], eax
call fcn.004036d0
push 4
call fcn.004cca95
add esp, 4
mov dword [ebp - 0x8c], eax
cmp eax, ebx
je 0x404a7e
mov dword [eax], esi
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], ecx
jne 0x404941
mov eax, 1
cmp ecx, 0x40
jl 0x404920
mov eax, ecx
shr eax, 2
jmp 0x40492a
cmp ecx, 8
jl 0x40492a
mov eax, 8
lea edi, [eax + ecx]
lea esi, [ebp - 0x24]
call fcn.00447050
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + edx*4], eax
inc dword [ebp - 0x1c]
mov byte [ebp - 4], 2
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x10], eax
cmp eax, dword [edi + 0x9c]
jl 0x4048a5
xor esi, esi
cmp dword [ebp - 0x94], ebx
jle 0x40498f
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
push ebx
add ecx, 4
push ebx
push esi
call eax
inc esi
cmp esi, dword [ebp - 0x94]
jl 0x404976
cmp dword [edi + 0x88], ebx
jne 0x404a8f
mov dword [ebp - 0x38], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialOutStream__.0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
push ecx
push ebx
lea ecx, [ebp - 0x38]
call dword [0x4f52cc]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x30]
push edx
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], esi
call dword [0x4f5224]
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004cbf71
add esp, 4
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], vtable.CObjectVector_class_CSequentialOutTempBufferImp__.0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1c]
push ecx
push ebx
lea ecx, [ebp - 0x24]
call dword [0x4f5400]
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x1c]
push edx
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], esi
call dword [0x4f5224]
mov eax, dword [ebp - 0x18]
push eax
call fcn.004cbf71
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x60], vtable.CObjectVector_class_CInOutTempBuffer_.0
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x58]
push ecx
push ebx
lea ecx, [ebp - 0x60]
call dword [0x4f53f4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x58]
push edx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], esi
call dword [0x4f5224]
mov eax, dword [ebp - 0x54]
push eax
call fcn.004cbf71
add esp, 4
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push 0x50f9a4
lea eax, [ebp + 0xb]
push eax
mov byte [ebp + 0xb], bl
call fcn.004cfdba
mov ecx, dword [edi + 0x8c]
mov edx, dword [ecx]
mov esi, dword [edi + 0x60]
xor ecx, ecx
cmp esi, ebx
jbe 0x404ab3
mov edi, dword [edi + 0x64]
mov eax, dword [edi]
cmp edx, eax
jb 0x404ac8
inc ecx
sub edx, eax
add edi, 8
cmp ecx, esi
jb 0x404aa3
push 0x50f778
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 1
call fcn.004cfdba
push 0x20
mov dword [ebp - 0x68], ecx
call fcn.004cca95
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
cmp esi, ebx
jne 0x404af2
push 0x50f9a4
lea edx, [ebp + 0xb]
push edx
mov byte [ebp + 0xb], bl
call fcn.004cfdba
mov dword [esi + 4], vtable.ICompressGetSubStreamSize.0
mov dword [esi + 8], ebx
mov dword [esi], vtable.CSequentialInStreamSizeCount2.0
mov dword [esi + 4], vtable.CSequentialInStreamSizeCount2.1.0
mov dword [esi + 0xc], ebx
lea edi, [esi + 0x10]
mov dword [edi], ebx
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
mov dword [ebp - 0x98], esi
call ecx
push 0x18
mov byte [ebp - 4], 0xb
call fcn.004cca95
add esp, 4
mov dword [ebp - 0x64], eax
cmp eax, ebx
jne 0x404b45
push 0x50f9a4
lea edx, [ebp + 0xb]
push edx
mov byte [ebp + 0xb], bl
call fcn.004cfdba
mov dword [eax + 4], ebx
mov dword [eax], vtable.CSequentialOutStreamSizeCount.0
mov dword [eax + 8], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov dword [ebp - 0x9c], eax
call edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x404b75
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x404b87
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
cmp eax, ebx
je 0x404b98
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [edi], ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edi
push 0x4f858c
push eax
call edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x404bbf
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 8]
cmp eax, ebx
je 0x404bd1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x64]
mov dword [eax + 8], esi
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov eax, 4
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x84], vtable.CRecordVector_struct_ISequentialInStream__.0
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], vtable.CRecordVector_struct_ISequentialOutStream__.0
lea edi, [eax - 3]
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 0xe
call fcn.00447050
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x88]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x48]
inc dword [ebp - 0x7c]
cmp dword [ebp - 0x44], eax
jne 0x404c5a
mov ecx, edi
cmp eax, 0x40
jl 0x404c45
mov ecx, eax
shr ecx, 2
jmp 0x404c4f
cmp eax, 8
jl 0x404c4f
mov ecx, 8
lea edi, [ecx + eax]
lea esi, [ebp - 0x4c]
call fcn.00447050
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x64]
mov esi, dword [ebp + 8]
mov dword [eax + edx*4], ecx
mov eax, 1
add dword [ebp - 0x44], eax
mov dword [ebp + 0x10], eax
cmp dword [esi + 0x9c], eax
jle 0x404cd7
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + eax*4 - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov dword [ebp + 0xc], edx
cmp dword [ebp - 0x44], ecx
jne 0x404cbc
mov eax, 1
cmp ecx, 0x40
jl 0x404ca1
mov eax, ecx
shr eax, 2
jmp 0x404cab
cmp ecx, 8
jl 0x404cab
mov eax, 8
lea edi, [eax + ecx]
lea esi, [ebp - 0x4c]
call fcn.00447050
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp + 0xc]
mov dword [ecx + edi*4], edx
inc dword [ebp - 0x44]
inc eax
mov dword [ebp + 0x10], eax
cmp eax, dword [esi + 0x9c]
jl 0x404c7c
xor edi, edi
mov dword [ebp + 0x10], edi
cmp dword [esi + 0x10], ebx
jle 0x404e82
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + edi*4]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 4], 0xf
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax + 0x14]
cmp ecx, ebx
je 0x404d0e
mov eax, ecx
jmp 0x404d11
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x8c]
push edx
push 0x4f85dc
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 0x8c]
cmp eax, ebx
je 0x404d36
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [ebp - 0x90], ebx
mov byte [ebp - 4], 0x10
mov eax, dword [esi]
mov ecx, dword [eax + 0x80]
mov eax, dword [ecx + edi*4]
mov ecx, dword [eax + 0x14]
cmp ecx, ebx
je 0x404d56
mov eax, ecx
jmp 0x404d59
mov eax, dword [eax + 0x18]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x90]
push ecx
push 0x4f855c
push eax
call edx
mov eax, dword [ebp - 0x90]
cmp eax, ebx
je 0x404e4f
push 0x14
call fcn.004cca95
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x404a7e
mov dword [edi + 4], ebx
mov dword [edi], vtable.CDynBufSeqOutStream.0
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
mov dword [ebp - 0x70], edi
call ecx
mov byte [ebp - 4], 0x11
mov dword [edi + 0x10], ebx
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
push edi
push eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [edi + 0x10]
mov ecx, dword [ebp + 0xc]
cmp esi, dword [ecx + 0xc]
je 0x404e20
cmp esi, ebx
jbe 0x404e02
push esi
call fcn.004cbe29
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [edx + 0xc]
add esp, 4
cmp eax, ebx
jbe 0x404e05
cmp eax, esi
jb 0x404dec
mov eax, esi
mov edx, dword [ebp - 0x70]
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
push edx
call fcn.004cbf80
add esp, 0xc
jmp 0x404e05
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
push eax
call fcn.004cbf71
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x70]
add esp, 4
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x10]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
push edx
push eax
push ecx
call fcn.004d5720
mov byte [ebp - 4], 0x10
mov eax, dword [edi]
mov ecx, dword [eax + 8]
add esp, 0xc
push edi
call ecx
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 0xf
cmp eax, ebx
je 0x404e5f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x8c]
cmp eax, ebx
je 0x404e75
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc edi
mov dword [ebp + 0x10], edi
cmp edi, dword [esi + 0x10]
jl 0x404ce5
mov ecx, dword [ebp - 0x68]
mov edx, 1
mov dword [ebp + 0xc], ecx
cmp dword [esi + 0x10], edx
jle 0x404ec9
mov edi, dword [esi + 0x14]
mov eax, dword [edi]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, 3
jne 0x404ea5
cmp eax, ebx
je 0x404ebd
cmp ecx, 0x3030103
jne 0x404eb1
cmp eax, ebx
je 0x404ebd
cmp ecx, 0x303011b
jne 0x404ec0
cmp eax, ebx
jne 0x404ec0
mov dword [ebp + 0xc], edx
inc edx
add edi, 4
cmp edx, dword [esi + 0x10]
jl 0x404e95
mov eax, dword [esi]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x20]
push ecx
mov dword [eax + 0x70], edx
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov esi, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
push edx
mov edx, dword [ebp - 0x78]
push ebx
push ecx
push 1
push ebx
push edx
push esi
call eax
mov edi, eax
cmp edi, ebx
je 0x405055
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x44]
push ecx
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], esi
call dword [0x4f5224]
mov edx, dword [ebp - 0x40]
push edx
call fcn.004cbf71
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x7c]
add esp, 4
push eax
push ebx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x84], esi
call dword [0x4f5224]
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004cbf71
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xb
add esp, 4
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x38], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialOutStream__.0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x30]
push eax
push ebx
lea ecx, [ebp - 0x38]
call dword [0x4f52cc]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
push ecx
push ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], esi
call dword [0x4f5224]
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004cbf71
add esp, 4
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], vtable.CObjectVector_class_CSequentialOutTempBufferImp__.0
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x1c]
push eax
push ebx
lea ecx, [ebp - 0x24]
call dword [0x4f5400]
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x1c]
push ecx
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], esi
call dword [0x4f5224]
mov edx, dword [ebp - 0x18]
push edx
call fcn.004cbf71
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x60], vtable.CObjectVector_class_CInOutTempBuffer_.0
mov dword [ebp - 4], 0x14
mov eax, dword [ebp - 0x58]
push eax
push ebx
lea ecx, [ebp - 0x60]
call dword [0x4f53f4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x58]
push ecx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], esi
call dword [0x4f5224]
mov edx, dword [ebp - 0x54]
push edx
call fcn.004cbf71
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x14]
push eax
sub esp, 0x14
mov esi, esp
mov dword [ebp + 0xc], esp
mov dword [ebp + 0xc], esi
mov dword [esi], vtable.CBaseRecordVector.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 8
push ebx
mov byte [ebp - 4], 0x15
push ebx
mov ecx, esi
mov dword [esi], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
call dword [0x4f5298]
mov edi, dword [ebp + 8]
lea ecx, [edi + 0xfc]
push ecx
mov eax, esi
call fcn.00412140
lea ebx, [edi + 0xa8]
mov byte [ebp - 4], 0xe
call fcn.004040e0
mov eax, dword [ebp - 0x64]
mov esi, dword [ebp + 0x1c]
mov edx, dword [eax + 0x14]
mov ebx, dword [eax + 0x10]
mov eax, dword [esi + 4]
add esp, 0x18
mov dword [ebp - 0x68], edx
cmp dword [esi + 8], eax
jne 0x4050ee
mov ecx, 1
cmp eax, 0x40
jl 0x4050d9
mov ecx, eax
shr ecx, 2
jmp 0x4050e3
cmp eax, 8
jl 0x4050e3
mov ecx, 8
lea edi, [eax + ecx]
call fcn.00447050
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x68]
mov dword [eax + ecx*8], ebx
mov ebx, 1
mov dword [eax + ecx*8 + 4], edx
add dword [esi + 8], ebx
cmp dword [edi + 0x9c], ebx
jle 0x405186
mov edi, edi
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp + 0x18]
mov edi, dword [eax + ebx*4 - 4]
push ecx
call fcn.00425b20
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4051e6
mov eax, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x6c], edx
cmp dword [esi + 8], eax
jne 0x405162
mov ecx, 1
cmp eax, 0x40
jl 0x405150
mov ecx, eax
shr ecx, 2
jmp 0x40515a
cmp eax, 8
jl 0x40515a
mov ecx, 8
lea edi, [ecx + eax]
call fcn.00447050
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x6c]
mov dword [eax + ecx*8], edx
mov edx, dword [ebp - 0x68]
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [ebp + 8]
inc dword [esi + 8]
inc ebx
cmp ebx, dword [eax + 0x9c]
jl 0x405110
mov edi, eax
mov ecx, dword [edi + 0xf8]
cmp dword [ecx + 0x90], 0
mov dword [ebp + 0x10], 0
jle 0x4053c5
mov esi, dword [ebp + 0x14]
add esi, 0x3c
mov edx, dword [edi + 0x74]
xor eax, eax
test edx, edx
jle 0x405349
mov ecx, dword [ecx + 0xa0]
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ecx + ebx*4]
mov ecx, dword [edi + 0x78]
cmp dword [ecx], ebx
je 0x405345
inc eax
add ecx, 8
cmp eax, edx
jl 0x4051c2
mov eax, dword [ebp - 0x88]
mov edx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x68], edx
jmp 0x40536b
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x44]
push ecx
xor esi, esi
mov edi, vtable.CBaseRecordVector.0
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
call dword [0x4f5224]
mov edx, dword [ebp - 0x40]
push edx
call fcn.004cbf71
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x7c]
add esp, 4
push eax
push esi
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x84], edi
call dword [0x4f5224]
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004cbf71
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xb
add esp, 4
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x38], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialOutStream__.0
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x30]
push eax
push esi
lea ecx, [ebp - 0x38]
call dword [0x4f52cc]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
push ecx
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], edi
call dword [0x4f5224]
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004cbf71
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], vtable.CObjectVector_class_CSequentialOutTempBufferImp__.0
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp - 0x24]
call dword [0x4f5400]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
push ecx
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], edi
call dword [0x4f5224]
mov edx, dword [ebp - 0x18]
push edx
call fcn.004cbf71
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x60], vtable.CObjectVector_class_CInOutTempBuffer_.0
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 0x58]
push eax
push esi
lea ecx, [ebp - 0x60]
call dword [0x4f53f4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x58]
push ecx
push esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], edi
call dword [0x4f5224]
mov edx, dword [ebp - 0x54]
push edx
call fcn.004cbf71
mov eax, dword [ebp + 0xc]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
test eax, eax
jns 0x40535a
mov eax, dword [ebp - 0x88]
mov edx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x68], edx
jmp 0x40536b
mov ecx, dword [edi]
mov edx, dword [ecx + 0x68]
mov eax, dword [edx + eax*4]
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x68], eax
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
jne 0x405399
mov eax, 1
cmp ecx, 0x40
jl 0x405384
mov eax, ecx
shr eax, 2
jmp 0x40538e
cmp ecx, 8
jl 0x40538e
mov eax, 8
lea edi, [eax + ecx]
call fcn.00447050
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x68]
mov dword [eax + ecx*8], ebx
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [ebp + 0x10]
inc dword [esi + 8]
mov ecx, dword [edi + 0xf8]
inc eax
mov dword [ebp + 0x10], eax
cmp eax, dword [ecx + 0x90]
jl 0x4051a6
mov eax, dword [ebp - 0x94]
lea ecx, [eax - 1]
mov dword [ebp + 0x10], ecx
test ecx, ecx
js 0x40547b
sub eax, ecx
add eax, eax
add eax, eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 0x10]
mov ebx, dword [ecx + edx*4]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + ecx - 4]
mov eax, dword [esi + 0x10]
push eax
call fcn.004cbf71
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov edi, dword [ebx + 0xc]
add esp, 4
test edi, edi
je 0x405468
push edi
call fcn.004cbe29
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x405440
cmp eax, edi
jb 0x40542f
mov eax, edi
mov ecx, dword [ebp + 0x18]
push eax
mov eax, dword [esi + 0x10]
push eax
push ecx
call fcn.004cbf80
add esp, 0xc
mov eax, dword [esi + 0x10]
push eax
call fcn.004cbf71
mov edx, dword [ebp + 0x18]
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], edi
mov eax, dword [ebx + 0xc]
add esp, 4
push eax
mov eax, dword [ebx + 0x10]
push eax
mov ecx, edx
push ecx
call fcn.004cbf80
add esp, 0xc
mov eax, dword [ebp + 0x10]
add dword [ebp + 0xc], 4
dec eax
mov dword [ebp + 0x10], eax
test eax, eax
jns 0x4053e2
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x44]
push edx
xor esi, esi
mov edi, vtable.CBaseRecordVector.0
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
call dword [0x4f5224]
mov eax, dword [ebp - 0x40]
push eax
call fcn.004cbf71
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x7c]
add esp, 4
push ecx
push esi
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x84], edi
call dword [0x4f5224]
mov edx, dword [ebp - 0x78]
push edx
call fcn.004cbf71
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x38], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialOutStream__.0
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x30]
push eax
push esi
lea ecx, [ebp - 0x38]
call dword [0x4f52cc]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
push ecx
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], edi
call dword [0x4f5224]
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004cbf71
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], vtable.CObjectVector_class_CSequentialOutTempBufferImp__.0
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp - 0x24]
call dword [0x4f5400]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
push ecx
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], edi
call dword [0x4f5224]
mov edx, dword [ebp - 0x18]
push edx
call fcn.004cbf71
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x60], vtable.CObjectVector_class_CInOutTempBuffer_.0
mov dword [ebp - 4], 0x1b
mov eax, dword [ebp - 0x58]
push eax
push esi
lea ecx, [ebp - 0x60]
call dword [0x4f53f4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x58]
push ecx
push esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], edi
call dword [0x4f5224]
mov edx, dword [ebp - 0x54]
push edx
call fcn.004cbf71
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c