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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5076d6
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, edi
call fcn.00405980
xor ebx, ebx
cmp eax, ebx
jne 0x404b1a
cmp dword [edi], ebx
jne 0x404828
mov eax, dword [ebp + 0x10]
push eax
mov ebx, edi
call fcn.00404390
test eax, eax
jne 0x404b1a
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 0x404941
jmp 0x4048a0
lea esi, [ebp - 0xd8]
mov byte [ebp - 0xdc], bl
call fcn.004062a0
mov dword [ebp - 0xcc], 0xffffffff
mov byte [ebp - 4], 4
lea esi, [ebp - 0xc0]
mov dword [ebp - 0xc8], ebx
call fcn.004062a0
lea edx, [ebp - 0xdc]
push edx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.00406a90
lea esi, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.004259e0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov esi, dword [ecx + eax*4 - 4]
cmp dword [esi + 0x14], ebx
jne 0x404911
push 0x100000
call fcn.004e4818
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 0x4048a0
cmp dword [edi + 0x9c], 1
mov dword [ebp + 0x10], 1
jle 0x404a1c
push 0xc
call fcn.004e5485
mov esi, eax
add esp, 4
mov dword [ebp - 0x70], esi
cmp esi, ebx
je 0x404b91
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.004032f0
push 4
call fcn.004e5485
add esp, 4
mov dword [ebp - 0x8c], eax
cmp eax, ebx
je 0x404b2e
mov dword [eax], esi
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], ecx
jne 0x4049f1
mov eax, 1
cmp ecx, 0x40
jl 0x4049d0
mov eax, ecx
shr eax, 2
jmp 0x4049da
cmp ecx, 8
jl 0x4049da
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 0x404955
xor esi, esi
cmp dword [ebp - 0x94], ebx
jle 0x404a3f
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 0x404a26
cmp dword [edi + 0x88], ebx
jne 0x404b3f
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 [0x519918]
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 [0x519870]
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004e4960
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 [0x519a4c]
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 [0x519870]
mov eax, dword [ebp - 0x18]
push eax
call fcn.004e4960
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 [0x519a40]
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 [0x519870]
mov eax, dword [ebp - 0x54]
push eax
call fcn.004e4960
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 0x53708c
lea eax, [ebp + 0xb]
push eax
mov byte [ebp + 0xb], bl
call fcn.004ea6cf
mov ecx, dword [edi + 0x8c]
mov edx, dword [ecx]
mov esi, dword [edi + 0x60]
xor ecx, ecx
cmp esi, ebx
jbe 0x404b63
mov edi, dword [edi + 0x64]
mov eax, dword [edi]
cmp edx, eax
jb 0x404b78
inc ecx
sub edx, eax
add edi, 8
cmp ecx, esi
jb 0x404b53
push 0x536e60
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 1
call fcn.004ea6cf
push 0x20
mov dword [ebp - 0x68], ecx
call fcn.004e5485
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
cmp esi, ebx
jne 0x404ba2
push 0x53708c
lea edx, [ebp + 0xb]
push edx
mov byte [ebp + 0xb], bl
call fcn.004ea6cf
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.004e5485
add esp, 4
mov dword [ebp - 0x64], eax
cmp eax, ebx
jne 0x404bf5
push 0x53708c
lea edx, [ebp + 0xb]
push edx
mov byte [ebp + 0xb], bl
call fcn.004ea6cf
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 0x404c25
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 0x404c37
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 0x404c48
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 0x51cbdc
push eax
call edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x404c6f
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 0x404c81
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 0x404d0a
mov ecx, edi
cmp eax, 0x40
jl 0x404cf5
mov ecx, eax
shr ecx, 2
jmp 0x404cff
cmp eax, 8
jl 0x404cff
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 0x404d87
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 0x404d6c
mov eax, 1
cmp ecx, 0x40
jl 0x404d51
mov eax, ecx
shr eax, 2
jmp 0x404d5b
cmp ecx, 8
jl 0x404d5b
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 0x404d2c
xor edi, edi
mov dword [ebp + 0x10], edi
cmp dword [esi + 0x10], ebx
jle 0x404f32
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 0x404dbe
mov eax, ecx
jmp 0x404dc1
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x8c]
push edx
push 0x51cc2c
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 0x8c]
cmp eax, ebx
je 0x404de6
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 0x404e06
mov eax, ecx
jmp 0x404e09
mov eax, dword [eax + 0x18]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x90]
push ecx
push 0x51cbac
push eax
call edx
mov eax, dword [ebp - 0x90]
cmp eax, ebx
je 0x404eff
push 0x14
call fcn.004e5485
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x404b2e
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 0x404ed0
cmp esi, ebx
jbe 0x404eb2
push esi
call fcn.004e4818
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [edx + 0xc]
add esp, 4
cmp eax, ebx
jbe 0x404eb5
cmp eax, esi
jb 0x404e9c
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.004e4970
add esp, 0xc
jmp 0x404eb5
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
push eax
call fcn.004e4960
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.004e9200
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 0x404f0f
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 0x404f25
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 0x404d95
mov ecx, dword [ebp - 0x68]
mov edx, 1
mov dword [ebp + 0xc], ecx
cmp dword [esi + 0x10], edx
jle 0x404f79
mov edi, dword [esi + 0x14]
mov eax, dword [edi]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, 3
jne 0x404f55
cmp eax, ebx
je 0x404f6d
cmp ecx, 0x3030103
jne 0x404f61
cmp eax, ebx
je 0x404f6d
cmp ecx, 0x303011b
jne 0x404f70
cmp eax, ebx
jne 0x404f70
mov dword [ebp + 0xc], edx
inc edx
add edi, 4
cmp edx, dword [esi + 0x10]
jl 0x404f45
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 0x405105
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 [0x519870]
mov edx, dword [ebp - 0x40]
push edx
call fcn.004e4960
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 [0x519870]
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004e4960
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 [0x519918]
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 [0x519870]
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e4960
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 [0x519a4c]
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 [0x519870]
mov edx, dword [ebp - 0x18]
push edx
call fcn.004e4960
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 [0x519a40]
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 [0x519870]
mov edx, dword [ebp - 0x54]
push edx
call fcn.004e4960
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 [0x5198e4]
mov edi, dword [ebp + 8]
lea ecx, [edi + 0xfc]
push ecx
mov eax, esi
call fcn.00403e20
lea ebx, [edi + 0xa8]
mov byte [ebp - 4], 0xe
call fcn.00404190
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 0x40519e
mov ecx, 1
cmp eax, 0x40
jl 0x405189
mov ecx, eax
shr ecx, 2
jmp 0x405193
cmp eax, 8
jl 0x405193
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 0x405236
mov edi, edi
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp + 0x18]
mov edi, dword [eax + ebx*4 - 4]
push ecx
call fcn.00425c10
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x405296
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 0x405212
mov ecx, 1
cmp eax, 0x40
jl 0x405200
mov ecx, eax
shr ecx, 2
jmp 0x40520a
cmp eax, 8
jl 0x40520a
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 0x4051c0
mov edi, eax
mov ecx, dword [edi + 0xf8]
cmp dword [ecx + 0x90], 0
mov dword [ebp + 0x10], 0
jle 0x405475
mov esi, dword [ebp + 0x14]
add esi, 0x3c
mov edx, dword [edi + 0x74]
xor eax, eax
test edx, edx
jle 0x4053f9
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 0x4053f5
inc eax
add ecx, 8
cmp eax, edx
jl 0x405272
mov eax, dword [ebp - 0x88]
mov edx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x68], edx
jmp 0x40541b
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 [0x519870]
mov edx, dword [ebp - 0x40]
push edx
call fcn.004e4960
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 [0x519870]
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004e4960
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 [0x519918]
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 [0x519870]
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e4960
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 [0x519a4c]
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 [0x519870]
mov edx, dword [ebp - 0x18]
push edx
call fcn.004e4960
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 [0x519a40]
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 [0x519870]
mov edx, dword [ebp - 0x54]
push edx
call fcn.004e4960
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 0x40540a
mov eax, dword [ebp - 0x88]
mov edx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x68], edx
jmp 0x40541b
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 0x405449
mov eax, 1
cmp ecx, 0x40
jl 0x405434
mov eax, ecx
shr eax, 2
jmp 0x40543e
cmp ecx, 8
jl 0x40543e
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 0x405256
mov eax, dword [ebp - 0x94]
lea ecx, [eax - 1]
mov dword [ebp + 0x10], ecx
test ecx, ecx
js 0x40552b
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.004e4960
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 0x405518
push edi
call fcn.004e4818
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x4054f0
cmp eax, edi
jb 0x4054df
mov eax, edi
mov ecx, dword [ebp + 0x18]
push eax
mov eax, dword [esi + 0x10]
push eax
push ecx
call fcn.004e4970
add esp, 0xc
mov eax, dword [esi + 0x10]
push eax
call fcn.004e4960
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.004e4970
add esp, 0xc
mov eax, dword [ebp + 0x10]
add dword [ebp + 0xc], 4
dec eax
mov dword [ebp + 0x10], eax
test eax, eax
jns 0x405492
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 [0x519870]
mov eax, dword [ebp - 0x40]
push eax
call fcn.004e4960
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 [0x519870]
mov edx, dword [ebp - 0x78]
push edx
call fcn.004e4960
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 [0x519918]
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 [0x519870]
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e4960
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 [0x519a4c]
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 [0x519870]
mov edx, dword [ebp - 0x18]
push edx
call fcn.004e4960
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 [0x519a40]
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 [0x519870]
mov edx, dword [ebp - 0x54]
push edx
call fcn.004e4960
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