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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5079d6
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.004057d0
xor ebx, ebx
cmp eax, ebx
jne 0x40496a
cmp dword [edi], ebx
jne 0x404678
mov eax, dword [ebp + 0x10]
push eax
mov ebx, edi
call fcn.004041e0
test eax, eax
jne 0x40496a
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 0x404791
jmp 0x4046f0
lea esi, [ebp - 0xd8]
mov byte [ebp - 0xdc], bl
call fcn.004060f0
mov dword [ebp - 0xcc], 0xffffffff
mov byte [ebp - 4], 4
lea esi, [ebp - 0xc0]
mov dword [ebp - 0xc8], ebx
call fcn.004060f0
lea edx, [ebp - 0xdc]
push edx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.004069a0
lea esi, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.00425a50
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov esi, dword [ecx + eax*4 - 4]
cmp dword [esi + 0x14], ebx
jne 0x404761
push 0x100000
call fcn.004e4c68
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 0x4046f0
cmp dword [edi + 0x9c], 1
mov dword [ebp + 0x10], 1
jle 0x40486c
push 0xc
call fcn.004e58e5
mov esi, eax
add esp, 4
mov dword [ebp - 0x70], esi
cmp esi, ebx
je 0x4049e1
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.00406650
push 4
call fcn.004e58e5
add esp, 4
mov dword [ebp - 0x8c], eax
cmp eax, ebx
je 0x40497e
mov dword [eax], esi
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], ecx
jne 0x404841
mov eax, 1
cmp ecx, 0x40
jl 0x404820
mov eax, ecx
shr eax, 2
jmp 0x40482a
cmp ecx, 8
jl 0x40482a
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 0x4047a5
xor esi, esi
cmp dword [ebp - 0x94], ebx
jle 0x40488f
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 0x404876
cmp dword [edi + 0x88], ebx
jne 0x40498f
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.004e4db0
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.004e4db0
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.004e4db0
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 0x5371cc
lea eax, [ebp + 0xb]
push eax
mov byte [ebp + 0xb], bl
call fcn.004eab2f
mov ecx, dword [edi + 0x8c]
mov edx, dword [ecx]
mov esi, dword [edi + 0x60]
xor ecx, ecx
cmp esi, ebx
jbe 0x4049b3
mov edi, dword [edi + 0x64]
mov eax, dword [edi]
cmp edx, eax
jb 0x4049c8
inc ecx
sub edx, eax
add edi, 8
cmp ecx, esi
jb 0x4049a3
push 0x536fa0
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 1
call fcn.004eab2f
push 0x20
mov dword [ebp - 0x68], ecx
call fcn.004e58e5
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
cmp esi, ebx
jne 0x4049f2
push 0x5371cc
lea edx, [ebp + 0xb]
push edx
mov byte [ebp + 0xb], bl
call fcn.004eab2f
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.004e58e5
add esp, 4
mov dword [ebp - 0x64], eax
cmp eax, ebx
jne 0x404a45
push 0x5371cc
lea edx, [ebp + 0xb]
push edx
mov byte [ebp + 0xb], bl
call fcn.004eab2f
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 0x404a75
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 0x404a87
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 0x404a98
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 0x404abf
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 0x404ad1
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 0x404b5a
mov ecx, edi
cmp eax, 0x40
jl 0x404b45
mov ecx, eax
shr ecx, 2
jmp 0x404b4f
cmp eax, 8
jl 0x404b4f
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 0x404bd7
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 0x404bbc
mov eax, 1
cmp ecx, 0x40
jl 0x404ba1
mov eax, ecx
shr eax, 2
jmp 0x404bab
cmp ecx, 8
jl 0x404bab
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 0x404b7c
xor edi, edi
mov dword [ebp + 0x10], edi
cmp dword [esi + 0x10], ebx
jle 0x404d82
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 0x404c0e
mov eax, ecx
jmp 0x404c11
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 0x404c36
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 0x404c56
mov eax, ecx
jmp 0x404c59
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 0x404d4f
push 0x14
call fcn.004e58e5
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x40497e
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 0x404d20
cmp esi, ebx
jbe 0x404d02
push esi
call fcn.004e4c68
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [edx + 0xc]
add esp, 4
cmp eax, ebx
jbe 0x404d05
cmp eax, esi
jb 0x404cec
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.004e4dd0
add esp, 0xc
jmp 0x404d05
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
push eax
call fcn.004e4db0
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.004e9660
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 0x404d5f
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 0x404d75
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 0x404be5
mov ecx, dword [ebp - 0x68]
mov edx, 1
mov dword [ebp + 0xc], ecx
cmp dword [esi + 0x10], edx
jle 0x404dc9
mov edi, dword [esi + 0x14]
mov eax, dword [edi]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, 3
jne 0x404da5
cmp eax, ebx
je 0x404dbd
cmp ecx, 0x3030103
jne 0x404db1
cmp eax, ebx
je 0x404dbd
cmp ecx, 0x303011b
jne 0x404dc0
cmp eax, ebx
jne 0x404dc0
mov dword [ebp + 0xc], edx
inc edx
add edi, 4
cmp edx, dword [esi + 0x10]
jl 0x404d95
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 0x404f55
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.004e4db0
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.004e4db0
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.004e4db0
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.004e4db0
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.004e4db0
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.00412140
lea ebx, [edi + 0xa8]
mov byte [ebp - 4], 0xe
call fcn.00403fe0
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 0x404fee
mov ecx, 1
cmp eax, 0x40
jl 0x404fd9
mov ecx, eax
shr ecx, 2
jmp 0x404fe3
cmp eax, 8
jl 0x404fe3
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 0x405086
mov edi, edi
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp + 0x18]
mov edi, dword [eax + ebx*4 - 4]
push ecx
call fcn.00425c80
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4050e6
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 0x405062
mov ecx, 1
cmp eax, 0x40
jl 0x405050
mov ecx, eax
shr ecx, 2
jmp 0x40505a
cmp eax, 8
jl 0x40505a
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 0x405010
mov edi, eax
mov ecx, dword [edi + 0xf8]
cmp dword [ecx + 0x90], 0
mov dword [ebp + 0x10], 0
jle 0x4052c5
mov esi, dword [ebp + 0x14]
add esi, 0x3c
mov edx, dword [edi + 0x74]
xor eax, eax
test edx, edx
jle 0x405249
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 0x405245
inc eax
add ecx, 8
cmp eax, edx
jl 0x4050c2
mov eax, dword [ebp - 0x88]
mov edx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x68], edx
jmp 0x40526b
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.004e4db0
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.004e4db0
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.004e4db0
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.004e4db0
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.004e4db0
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 0x40525a
mov eax, dword [ebp - 0x88]
mov edx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x68], edx
jmp 0x40526b
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 0x405299
mov eax, 1
cmp ecx, 0x40
jl 0x405284
mov eax, ecx
shr eax, 2
jmp 0x40528e
cmp ecx, 8
jl 0x40528e
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 0x4050a6
mov eax, dword [ebp - 0x94]
lea ecx, [eax - 1]
mov dword [ebp + 0x10], ecx
test ecx, ecx
js 0x40537b
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.004e4db0
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 0x405368
push edi
call fcn.004e4c68
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x405340
cmp eax, edi
jb 0x40532f
mov eax, edi
mov ecx, dword [ebp + 0x18]
push eax
mov eax, dword [esi + 0x10]
push eax
push ecx
call fcn.004e4dd0
add esp, 0xc
mov eax, dword [esi + 0x10]
push eax
call fcn.004e4db0
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.004e4dd0
add esp, 0xc
mov eax, dword [ebp + 0x10]
add dword [ebp + 0xc], 4
dec eax
mov dword [ebp + 0x10], eax
test eax, eax
jns 0x4052e2
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.004e4db0
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.004e4db0
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.004e4db0
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.004e4db0
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.004e4db0
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