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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5036f6
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x54c2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, edi
call fcn.00405830
xor ebx, ebx
cmp eax, ebx
jne 0x4049ca
cmp dword [edi], ebx
jne 0x4046d8
mov eax, dword [ebp + 0x10]
push eax
mov ebx, edi
call fcn.00404240
test eax, eax
jne 0x4049ca
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 0x4047f1
jmp 0x404750
lea esi, [ebp - 0xd8]
mov byte [ebp - 0xdc], bl
call fcn.00406150
mov dword [ebp - 0xcc], 0xffffffff
mov byte [ebp - 4], 4
lea esi, [ebp - 0xc0]
mov dword [ebp - 0xc8], ebx
call fcn.00406150
lea edx, [ebp - 0xdc]
push edx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.00406940
lea esi, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.00425930
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov esi, dword [ecx + eax*4 - 4]
cmp dword [esi + 0x14], ebx
jne 0x4047c1
push 0x100000
call fcn.004e0918
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 0x404750
cmp dword [edi + 0x9c], 1
mov dword [ebp + 0x10], 1
jle 0x4048cc
push 0xc
call fcn.004e1585
mov esi, eax
add esp, 4
mov dword [ebp - 0x70], esi
cmp esi, ebx
je 0x404a41
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.00421540
push 4
call fcn.004e1585
add esp, 4
mov dword [ebp - 0x8c], eax
cmp eax, ebx
je 0x4049de
mov dword [eax], esi
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], ecx
jne 0x4048a1
mov eax, 1
cmp ecx, 0x40
jl 0x404880
mov eax, ecx
shr eax, 2
jmp 0x40488a
cmp ecx, 8
jl 0x40488a
mov eax, 8
lea edi, [eax + ecx]
lea esi, [ebp - 0x24]
call fcn.00447010
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 0x404805
xor esi, esi
cmp dword [ebp - 0x94], ebx
jle 0x4048ef
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 0x4048d6
cmp dword [edi + 0x88], ebx
jne 0x4049ef
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 [0x5158f0]
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 [0x515848]
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004e0a60
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 [0x515a24]
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 [0x515848]
mov eax, dword [ebp - 0x18]
push eax
call fcn.004e0a60
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 [0x515a18]
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 [0x515848]
mov eax, dword [ebp - 0x54]
push eax
call fcn.004e0a60
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 0x531dcc
lea eax, [ebp + 0xb]
push eax
mov byte [ebp + 0xb], bl
call fcn.004e667f
mov ecx, dword [edi + 0x8c]
mov edx, dword [ecx]
mov esi, dword [edi + 0x60]
xor ecx, ecx
cmp esi, ebx
jbe 0x404a13
mov edi, dword [edi + 0x64]
mov eax, dword [edi]
cmp edx, eax
jb 0x404a28
inc ecx
sub edx, eax
add edi, 8
cmp ecx, esi
jb 0x404a03
push 0x531ba0
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 1
call fcn.004e667f
push 0x20
mov dword [ebp - 0x68], ecx
call fcn.004e1585
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
cmp esi, ebx
jne 0x404a52
push 0x531dcc
lea edx, [ebp + 0xb]
push edx
mov byte [ebp + 0xb], bl
call fcn.004e667f
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.004e1585
add esp, 4
mov dword [ebp - 0x64], eax
cmp eax, ebx
jne 0x404aa5
push 0x531dcc
lea edx, [ebp + 0xb]
push edx
mov byte [ebp + 0xb], bl
call fcn.004e667f
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 0x404ad5
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 0x404ae7
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 0x404af8
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 0x518bb4
push eax
call edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x404b1f
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 0x404b31
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.00447010
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 0x404bba
mov ecx, edi
cmp eax, 0x40
jl 0x404ba5
mov ecx, eax
shr ecx, 2
jmp 0x404baf
cmp eax, 8
jl 0x404baf
mov ecx, 8
lea edi, [ecx + eax]
lea esi, [ebp - 0x4c]
call fcn.00447010
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 0x404c37
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 0x404c1c
mov eax, 1
cmp ecx, 0x40
jl 0x404c01
mov eax, ecx
shr eax, 2
jmp 0x404c0b
cmp ecx, 8
jl 0x404c0b
mov eax, 8
lea edi, [eax + ecx]
lea esi, [ebp - 0x4c]
call fcn.00447010
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 0x404bdc
xor edi, edi
mov dword [ebp + 0x10], edi
cmp dword [esi + 0x10], ebx
jle 0x404de2
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 0x404c6e
mov eax, ecx
jmp 0x404c71
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x8c]
push edx
push 0x518c04
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 0x8c]
cmp eax, ebx
je 0x404c96
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 0x404cb6
mov eax, ecx
jmp 0x404cb9
mov eax, dword [eax + 0x18]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x90]
push ecx
push 0x518b84
push eax
call edx
mov eax, dword [ebp - 0x90]
cmp eax, ebx
je 0x404daf
push 0x14
call fcn.004e1585
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4049de
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 0x404d80
cmp esi, ebx
jbe 0x404d62
push esi
call fcn.004e0918
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [edx + 0xc]
add esp, 4
cmp eax, ebx
jbe 0x404d65
cmp eax, esi
jb 0x404d4c
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.004e0a70
add esp, 0xc
jmp 0x404d65
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
push eax
call fcn.004e0a60
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.004e51b0
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 0x404dbf
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 0x404dd5
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 0x404c45
mov ecx, dword [ebp - 0x68]
mov edx, 1
mov dword [ebp + 0xc], ecx
cmp dword [esi + 0x10], edx
jle 0x404e29
mov edi, dword [esi + 0x14]
mov eax, dword [edi]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, 3
jne 0x404e05
cmp eax, ebx
je 0x404e1d
cmp ecx, 0x3030103
jne 0x404e11
cmp eax, ebx
je 0x404e1d
cmp ecx, 0x303011b
jne 0x404e20
cmp eax, ebx
jne 0x404e20
mov dword [ebp + 0xc], edx
inc edx
add edi, 4
cmp edx, dword [esi + 0x10]
jl 0x404df5
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 0x404fb5
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 [0x515848]
mov edx, dword [ebp - 0x40]
push edx
call fcn.004e0a60
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 [0x515848]
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004e0a60
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 [0x5158f0]
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 [0x515848]
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e0a60
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 [0x515a24]
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 [0x515848]
mov edx, dword [ebp - 0x18]
push edx
call fcn.004e0a60
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 [0x515a18]
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 [0x515848]
mov edx, dword [ebp - 0x54]
push edx
call fcn.004e0a60
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 [0x5158bc]
mov edi, dword [ebp + 8]
lea ecx, [edi + 0xfc]
push ecx
mov eax, esi
call fcn.00412040
lea ebx, [edi + 0xa8]
mov byte [ebp - 4], 0xe
call fcn.00404040
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 0x40504e
mov ecx, 1
cmp eax, 0x40
jl 0x405039
mov ecx, eax
shr ecx, 2
jmp 0x405043
cmp eax, 8
jl 0x405043
mov ecx, 8
lea edi, [eax + ecx]
call fcn.00447010
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 0x4050e6
mov edi, edi
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp + 0x18]
mov edi, dword [eax + ebx*4 - 4]
push ecx
call fcn.00425b60
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x405146
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 0x4050c2
mov ecx, 1
cmp eax, 0x40
jl 0x4050b0
mov ecx, eax
shr ecx, 2
jmp 0x4050ba
cmp eax, 8
jl 0x4050ba
mov ecx, 8
lea edi, [ecx + eax]
call fcn.00447010
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 0x405070
mov edi, eax
mov ecx, dword [edi + 0xf8]
cmp dword [ecx + 0x90], 0
mov dword [ebp + 0x10], 0
jle 0x405325
mov esi, dword [ebp + 0x14]
add esi, 0x3c
mov edx, dword [edi + 0x74]
xor eax, eax
test edx, edx
jle 0x4052a9
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 0x4052a5
inc eax
add ecx, 8
cmp eax, edx
jl 0x405122
mov eax, dword [ebp - 0x88]
mov edx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x68], edx
jmp 0x4052cb
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 [0x515848]
mov edx, dword [ebp - 0x40]
push edx
call fcn.004e0a60
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 [0x515848]
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004e0a60
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 [0x5158f0]
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 [0x515848]
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e0a60
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 [0x515a24]
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 [0x515848]
mov edx, dword [ebp - 0x18]
push edx
call fcn.004e0a60
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 [0x515a18]
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 [0x515848]
mov edx, dword [ebp - 0x54]
push edx
call fcn.004e0a60
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 0x4052ba
mov eax, dword [ebp - 0x88]
mov edx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x68], edx
jmp 0x4052cb
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 0x4052f9
mov eax, 1
cmp ecx, 0x40
jl 0x4052e4
mov eax, ecx
shr eax, 2
jmp 0x4052ee
cmp ecx, 8
jl 0x4052ee
mov eax, 8
lea edi, [eax + ecx]
call fcn.00447010
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 0x405106
mov eax, dword [ebp - 0x94]
lea ecx, [eax - 1]
mov dword [ebp + 0x10], ecx
test ecx, ecx
js 0x4053db
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.004e0a60
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 0x4053c8
push edi
call fcn.004e0918
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x4053a0
cmp eax, edi
jb 0x40538f
mov eax, edi
mov ecx, dword [ebp + 0x18]
push eax
mov eax, dword [esi + 0x10]
push eax
push ecx
call fcn.004e0a70
add esp, 0xc
mov eax, dword [esi + 0x10]
push eax
call fcn.004e0a60
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.004e0a70
add esp, 0xc
mov eax, dword [ebp + 0x10]
add dword [ebp + 0xc], 4
dec eax
mov dword [ebp + 0x10], eax
test eax, eax
jns 0x405342
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 [0x515848]
mov eax, dword [ebp - 0x40]
push eax
call fcn.004e0a60
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 [0x515848]
mov edx, dword [ebp - 0x78]
push edx
call fcn.004e0a60
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 [0x5158f0]
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 [0x515848]
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e0a60
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 [0x515a24]
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 [0x515848]
mov edx, dword [ebp - 0x18]
push edx
call fcn.004e0a60
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 [0x515a18]
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 [0x515848]
mov edx, dword [ebp - 0x54]
push edx
call fcn.004e0a60
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