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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507586
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.00405900
xor ebx, ebx
cmp eax, ebx
jne 0x404a9a
cmp dword [edi], ebx
jne 0x4047a8
mov eax, dword [ebp + 0x10]
push eax
mov ebx, edi
call fcn.00404310
test eax, eax
jne 0x404a9a
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 0x4048c1
jmp 0x404820
lea esi, [ebp - 0xd8]
mov byte [ebp - 0xdc], bl
call fcn.00406220
mov dword [ebp - 0xcc], 0xffffffff
mov byte [ebp - 4], 4
lea esi, [ebp - 0xc0]
mov dword [ebp - 0xc8], ebx
call fcn.00406220
lea edx, [ebp - 0xdc]
push edx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.00406a10
lea esi, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.004259d0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov esi, dword [ecx + eax*4 - 4]
cmp dword [esi + 0x14], ebx
jne 0x404891
push 0x100000
call fcn.004e4758
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 0x404820
cmp dword [edi + 0x9c], 1
mov dword [ebp + 0x10], 1
jle 0x40499c
push 0xc
call fcn.004e53c6
mov esi, eax
add esp, 4
mov dword [ebp - 0x70], esi
cmp esi, ebx
je 0x404b11
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.004032a0
push 4
call fcn.004e53c6
add esp, 4
mov dword [ebp - 0x8c], eax
cmp eax, ebx
je 0x404aae
mov dword [eax], esi
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], ecx
jne 0x404971
mov eax, 1
cmp ecx, 0x40
jl 0x404950
mov eax, ecx
shr eax, 2
jmp 0x40495a
cmp ecx, 8
jl 0x40495a
mov eax, 8
lea edi, [eax + ecx]
lea esi, [ebp - 0x24]
call fcn.00447020
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 0x4048d5
xor esi, esi
cmp dword [ebp - 0x94], ebx
jle 0x4049bf
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 0x4049a6
cmp dword [edi + 0x88], ebx
jne 0x404abf
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.004e48a0
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.004e48a0
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.004e48a0
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 0x5370dc
lea eax, [ebp + 0xb]
push eax
mov byte [ebp + 0xb], bl
call fcn.004ea60f
mov ecx, dword [edi + 0x8c]
mov edx, dword [ecx]
mov esi, dword [edi + 0x60]
xor ecx, ecx
cmp esi, ebx
jbe 0x404ae3
mov edi, dword [edi + 0x64]
mov eax, dword [edi]
cmp edx, eax
jb 0x404af8
inc ecx
sub edx, eax
add edi, 8
cmp ecx, esi
jb 0x404ad3
push 0x536eb0
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 1
call fcn.004ea60f
push 0x20
mov dword [ebp - 0x68], ecx
call fcn.004e53c6
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
cmp esi, ebx
jne 0x404b22
push 0x5370dc
lea edx, [ebp + 0xb]
push edx
mov byte [ebp + 0xb], bl
call fcn.004ea60f
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.004e53c6
add esp, 4
mov dword [ebp - 0x64], eax
cmp eax, ebx
jne 0x404b75
push 0x5370dc
lea edx, [ebp + 0xb]
push edx
mov byte [ebp + 0xb], bl
call fcn.004ea60f
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 0x404ba5
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 0x404bb7
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 0x404bc8
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 0x404bef
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 0x404c01
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.00447020
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 0x404c8a
mov ecx, edi
cmp eax, 0x40
jl 0x404c75
mov ecx, eax
shr ecx, 2
jmp 0x404c7f
cmp eax, 8
jl 0x404c7f
mov ecx, 8
lea edi, [ecx + eax]
lea esi, [ebp - 0x4c]
call fcn.00447020
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 0x404d07
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 0x404cec
mov eax, 1
cmp ecx, 0x40
jl 0x404cd1
mov eax, ecx
shr eax, 2
jmp 0x404cdb
cmp ecx, 8
jl 0x404cdb
mov eax, 8
lea edi, [eax + ecx]
lea esi, [ebp - 0x4c]
call fcn.00447020
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 0x404cac
xor edi, edi
mov dword [ebp + 0x10], edi
cmp dword [esi + 0x10], ebx
jle 0x404eb2
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 0x404d3e
mov eax, ecx
jmp 0x404d41
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 0x404d66
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 0x404d86
mov eax, ecx
jmp 0x404d89
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 0x404e7f
push 0x14
call fcn.004e53c6
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x404aae
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 0x404e50
cmp esi, ebx
jbe 0x404e32
push esi
call fcn.004e4758
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [edx + 0xc]
add esp, 4
cmp eax, ebx
jbe 0x404e35
cmp eax, esi
jb 0x404e1c
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.004e48b0
add esp, 0xc
jmp 0x404e35
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
push eax
call fcn.004e48a0
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.004e9140
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 0x404e8f
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 0x404ea5
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 0x404d15
mov ecx, dword [ebp - 0x68]
mov edx, 1
mov dword [ebp + 0xc], ecx
cmp dword [esi + 0x10], edx
jle 0x404ef9
mov edi, dword [esi + 0x14]
mov eax, dword [edi]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, 3
jne 0x404ed5
cmp eax, ebx
je 0x404eed
cmp ecx, 0x3030103
jne 0x404ee1
cmp eax, ebx
je 0x404eed
cmp ecx, 0x303011b
jne 0x404ef0
cmp eax, ebx
jne 0x404ef0
mov dword [ebp + 0xc], edx
inc edx
add edi, 4
cmp edx, dword [esi + 0x10]
jl 0x404ec5
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 0x405085
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.004e48a0
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.004e48a0
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.004e48a0
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.004e48a0
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.004e48a0
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.00403dd0
lea ebx, [edi + 0xa8]
mov byte [ebp - 4], 0xe
call fcn.00404110
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 0x40511e
mov ecx, 1
cmp eax, 0x40
jl 0x405109
mov ecx, eax
shr ecx, 2
jmp 0x405113
cmp eax, 8
jl 0x405113
mov ecx, 8
lea edi, [eax + ecx]
call fcn.00447020
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 0x4051b6
mov edi, edi
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp + 0x18]
mov edi, dword [eax + ebx*4 - 4]
push ecx
call fcn.00425c00
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x405216
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 0x405192
mov ecx, 1
cmp eax, 0x40
jl 0x405180
mov ecx, eax
shr ecx, 2
jmp 0x40518a
cmp eax, 8
jl 0x40518a
mov ecx, 8
lea edi, [ecx + eax]
call fcn.00447020
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 0x405140
mov edi, eax
mov ecx, dword [edi + 0xf8]
cmp dword [ecx + 0x90], 0
mov dword [ebp + 0x10], 0
jle 0x4053f5
mov esi, dword [ebp + 0x14]
add esi, 0x3c
mov edx, dword [edi + 0x74]
xor eax, eax
test edx, edx
jle 0x405379
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 0x405375
inc eax
add ecx, 8
cmp eax, edx
jl 0x4051f2
mov eax, dword [ebp - 0x88]
mov edx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x68], edx
jmp 0x40539b
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.004e48a0
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.004e48a0
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.004e48a0
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.004e48a0
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.004e48a0
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 0x40538a
mov eax, dword [ebp - 0x88]
mov edx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x68], edx
jmp 0x40539b
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 0x4053c9
mov eax, 1
cmp ecx, 0x40
jl 0x4053b4
mov eax, ecx
shr eax, 2
jmp 0x4053be
cmp ecx, 8
jl 0x4053be
mov eax, 8
lea edi, [eax + ecx]
call fcn.00447020
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 0x4051d6
mov eax, dword [ebp - 0x94]
lea ecx, [eax - 1]
mov dword [ebp + 0x10], ecx
test ecx, ecx
js 0x4054ab
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.004e48a0
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 0x405498
push edi
call fcn.004e4758
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x405470
cmp eax, edi
jb 0x40545f
mov eax, edi
mov ecx, dword [ebp + 0x18]
push eax
mov eax, dword [esi + 0x10]
push eax
push ecx
call fcn.004e48b0
add esp, 0xc
mov eax, dword [esi + 0x10]
push eax
call fcn.004e48a0
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.004e48b0
add esp, 0xc
mov eax, dword [ebp + 0x10]
add dword [ebp + 0xc], 4
dec eax
mov dword [ebp + 0x10], eax
test eax, eax
jns 0x405412
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.004e48a0
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.004e48a0
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.004e48a0
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.004e48a0
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.004e48a0
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