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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x501bc5
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x54b2c0]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov ecx, edi
call fcn.0040de50
test al, al
je 0x4020f0
mov eax, dword [ebp + 0x2c]
xor ebx, ebx
mov byte [eax], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 4
mov dword [esp + 0x18], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], ebx
mov dword [esp + 0xe0], ebx
lea ecx, [esp + 0xe4]
push ecx
mov byte [esp + 0x13c], 1
call fcn.00455ad0
add esp, 4
mov byte [esp + 0x138], 2
cmp dword [ebp + 0xc], ebx
je 0x401778
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xe0]
cmp eax, ebx
je 0x40178b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xe0], eax
mov dword [esp + 0x38], ebx
cmp dword [edi + 0x30], ebx
jle 0x4018b7
push 0x18
call fcn.004e0bc5
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4019fd
mov dword [edi + 4], ebx
mov dword [edi], vtable.CLockedSequentialInStreamImp.0
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
mov dword [esp + 0x30], edi
call edx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov byte [esp + 0x138], 3
lea eax, [esp + 0xe0]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
mov esi, dword [esi + eax*8]
add ecx, esi
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + eax*8 + 4]
adc edx, eax
push 0x28
mov dword [ebp + 0x14], edx
call fcn.004e0bc5
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x401a10
mov dword [esi + 4], ebx
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], ebx
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
mov dword [esp + 0x38], esi
call edx
mov byte [esp + 0x138], 4
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x40184f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x38]
mov dword [esi + 8], edi
mov eax, dword [edx + ecx*8]
mov ecx, dword [edx + ecx*8 + 4]
mov dword [esi + 0x14], ecx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], bl
call fcn.004036a0
mov byte [esp + 0x138], 3
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov byte [esp + 0x138], 2
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x1c]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [ecx + 0x30]
jl 0x4017a2
mov esi, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [edi + 8]
mov eax, 8
mov dword [esp + 0x38], ecx
mov edx, 4
mov ecx, vtable.CRecordVector_unsigned_int_.0
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x64], vtable.CRecordVector_struct_NCoderMixer::CCoderStreamsInfo_.0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], eax
mov dword [esp + 0x78], vtable.CRecordVector_struct_NCoderMixer::CBindPair_.0
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xb4], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
lea edx, [esp + 0x64]
push edx
push edi
mov byte [esp + 0x140], 5
call fcn.004012d0
add esp, 8
cmp byte [esi], bl
je 0x4019ab
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.00401500
add esp, 8
test al, al
sete al
cmp al, bl
je 0x401d4e
mov eax, dword [esi + 0x80]
mov edx, dword [esi + 0x78]
mov edx, dword [edx + 4]
lea ecx, [esi + 0x78]
push eax
push ebx
call edx
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x4019d0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x74], ebx
cmp byte [esi + 0x68], bl
je 0x401a5c
push 0x88
call fcn.004e0bc5
add esp, 4
cmp eax, ebx
jne 0x401a23
push 0x530774
lea eax, [esp + 0x1b]
push eax
mov byte [esp + 0x1f], bl
call fcn.004e5ccf
push 0x530774
lea edx, [esp + 0x1b]
push edx
mov byte [esp + 0x1f], bl
call fcn.004e5ccf
push 0x530774
lea eax, [esp + 0x1b]
push eax
mov byte [esp + 0x1f], bl
call fcn.004e5ccf
call fcn.00402f30
mov edi, eax
mov dword [esi + 0x6c], edi
cmp edi, ebx
je 0x401a39
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x401a48
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x74], edi
mov eax, dword [esi + 0x6c]
cmp eax, ebx
je 0x401a57
add eax, 4
jmp 0x401a59
xor eax, eax
mov dword [esi + 0x70], eax
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x64]
push edx
call eax
mov edi, eax
cmp edi, ebx
je 0x401b66
mov byte [esp + 0x138], 6
mov ecx, dword [esp + 0xbc]
push ecx
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], esi
call dword [0x514838]
mov edx, dword [esp + 0xc0]
push edx
call fcn.004e00a0
add esp, 4
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov byte [esp + 0x13c], 2
call fcn.00401170
lea ecx, [esp + 0xe4]
push ecx
mov byte [esp + 0x13c], bl
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
je 0x401afd
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x18], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 7
mov ecx, dword [esp + 0x20]
push ecx
push ebx
lea ecx, [esp + 0x20]
call dword [0x5148d4]
mov dword [esp + 0x138], 0xffffffff
mov edx, dword [esp + 0x20]
push edx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call dword [0x514838]
mov eax, dword [esp + 0x24]
push eax
call fcn.004e00a0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
mov dword [esp + 0x40], ebx
cmp dword [esp + 0x38], ebx
jle 0x401cae
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x40]
mov edi, dword [edx + eax*4]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ebx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x4c], ebx
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x54]
push edx
push ecx
push eax
xor dl, dl
mov byte [esp + 0x14c], 0xa
call fcn.00423c40
mov dword [esp + 0x5c], eax
mov byte [esp + 0x14c], 9
mov eax, dword [esp + 0x60]
add esp, 0x14
cmp eax, ebx
je 0x401bd1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x48], ebx
jne 0x401f17
mov dword [esp + 0x3c], ebx
mov eax, 1
mov byte [esp + 0x138], 0xd
cmp dword [edi + 0x14], eax
jne 0x401c1f
cmp dword [edi + 0x18], eax
jne 0x401c1f
cmp dword [esp + 0x30], ebx
je 0x40203b
mov edi, dword [esp + 0x30]
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov dword [esp + 0x3c], edi
cmp byte [esi + 0x68], bl
je 0x401c46
mov ecx, dword [esi + 0x6c]
call fcn.0041b3c0
jmp 0x401c46
cmp dword [esp + 0x10], ebx
je 0x40210d
mov edi, dword [esp + 0x10]
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [esp + 0x3c], edi
cmp byte [esi + 0x68], bl
je 0x401c4a
mov ecx, dword [esi + 0x6c]
call fcn.0041b470
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x78]
call fcn.004036a0
mov byte [esp + 0x138], 9
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x401c6f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x138], 8
cmp edi, ebx
je 0x401c83
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x401c9b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x38]
jl 0x401b74
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov edx, dword [edx + 4]
push eax
push ebx
lea ecx, [esi + 4]
call edx
lea eax, [esp + 0x64]
push eax
lea eax, [esi + 4]
call fcn.00403db0
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov edx, dword [edx + 4]
lea ecx, [esi + 0x18]
push eax
push ebx
call edx
lea eax, [esp + 0x78]
push eax
lea eax, [esi + 0x18]
call fcn.00403db0
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x2c]
mov edx, dword [edx + 4]
lea ecx, [esi + 0x2c]
push eax
push ebx
call edx
lea eax, [esp + 0x8c]
push eax
lea eax, [esi + 0x2c]
call fcn.0041bf00
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x40]
mov edx, dword [edx + 4]
lea ecx, [esi + 0x40]
push eax
push ebx
call edx
lea eax, [esp + 0xa0]
push eax
lea eax, [esi + 0x40]
call fcn.0041bf00
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0x54]
mov edx, dword [edx + 4]
push eax
push ebx
lea ecx, [esi + 0x54]
call edx
lea eax, [esp + 0xb4]
push eax
lea eax, [esi + 0x54]
call fcn.00403db0
mov edi, dword [ebp + 0x1c]
mov byte [esi], 1
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x38], ebx
jle 0x402bce
mov dword [esp + 0x48], ebx
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x30]
mov edi, dword [ecx + edx*4]
mov eax, dword [esi + 0x84]
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx + eax]
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], ebx
mov byte [esp + 0x138], 0x10
mov eax, dword [esi]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x10]
push ecx
push 0x517b64
push eax
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401ddd
mov ecx, dword [edi + 0xc]
cmp ecx, 0xffffffff
ja 0x4025e5
mov edx, dword [eax]
push ecx
mov ecx, dword [edi + 0x10]
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x2c], eax
cmp eax, ebx
jne 0x4026d2
mov eax, dword [esp + 0x10]
mov byte [esp + 0x138], 5
cmp eax, ebx
je 0x401df1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [ebp + 0x30], bl
je 0x401e4d
mov dword [esp + 0x10], ebx
mov byte [esp + 0x138], 0x15
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x517b94
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401e39
mov edx, dword [ebp + 0x34]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov dword [esp + 0x2c], eax
cmp eax, ebx
jne 0x4027de
mov eax, dword [esp + 0x10]
mov byte [esp + 0x138], 5
cmp eax, ebx
je 0x401e4d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
mov byte [esp + 0x138], 0x18
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x517c04
push esi
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4021d8
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x402897
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x138], 0x1b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x3c]
push edx
push ecx
call eax
mov esi, eax
cmp esi, ebx
jne 0x40299c
xor edi, edi
mov dword [esp + method.CBuffer_unsigned_char_.virtual_0], vtable.CBuffer_unsigned_char_.0
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], edi
mov ecx, dword [ebp + 0x2c]
mov byte [esp + 0x138], 0x1e
mov edx, dword [esp + 0x3c]
push edx
lea esi, [esp + 0x114]
mov byte [ecx], 1
call fcn.004035e0
mov byte [esp + 0x138], 0x1f
mov eax, dword [esp + 0x114]
add eax, eax
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x40214b
mov esi, eax
cmp esi, ebx
jbe 0x402132
push esi
call fcn.004dff58
add esp, 4
mov edi, eax
jmp 0x402134
mov byte [esp + 0x138], 8
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401f2f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x401f47
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 0xb
mov eax, dword [esp + 0xbc]
push eax
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], esi
call dword [0x514838]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e00a0
add esp, 4
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov byte [esp + 0x13c], 2
call fcn.00401170
lea eax, [esp + 0xe4]
push eax
mov byte [esp + 0x13c], bl
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
je 0x401fd0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0xc
mov eax, dword [esp + 0x20]
push eax
push ebx
lea ecx, [esp + 0x20]
call dword [0x5148d4]
mov dword [esp + 0x138], 0xffffffff
mov ecx, dword [esp + 0x20]
push ecx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call dword [0x514838]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e00a0
mov eax, dword [esp + 0x4c]
add esp, 4
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
mov byte [esp + 0x138], 8
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x402053
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 0xe
mov eax, dword [esp + 0xbc]
push eax
push ebx
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], vtable.CBaseRecordVector.0
call dword [0x514838]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e00a0
add esp, 4
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov byte [esp + 0x13c], 2
call fcn.00401170
lea eax, [esp + 0xe4]
push eax
mov byte [esp + 0x13c], bl
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
je 0x4020db
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.004031e0
mov eax, 0x80004001
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x402125
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 0xf
jmp 0x40205b
xor edi, edi
push ebx
call fcn.004e00a0
add esp, 4
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], esi
cmp dword [esp + 0x114], ebx
jle 0x402185
mov esi, dword [esp + 0x110]
mov ecx, dword [esp + 0x114]
mov eax, edi
sub esi, edi
mov dword [esp + 0x44], ecx
lea ebx, [ebx]
movzx ecx, word [esi + eax]
mov byte [eax], cl
shr ecx, 8
mov byte [eax + 1], cl
add eax, 2
dec dword [esp + 0x44]
jne 0x402170
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
push edi
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x110]
push eax
call fcn.004e00a0
add esp, 4
push edi
cmp esi, ebx
jne 0x402ab1
mov dword [esp + method.CBuffer_unsigned_char_.virtual_0], vtable.CBuffer_unsigned_char_.0
call fcn.004e00a0
mov ecx, dword [esp + 0x40]
add esp, 4
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
mov byte [esp + 0x138], 5
cmp eax, ebx
je 0x4021ec
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
mov edx, 4
add dword [esp + 0x48], edx
mov dword [esp + 0x10], ecx
mov ecx, vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], edx
mov dword [esp + 0xcc], ecx
mov edi, eax
lea esi, [esp + 0x50]
mov byte [esp + 0x138], 0x23
call fcn.00446fb0
mov edi, dword [esp + 0x10]
lea esi, [esp + 0xcc]
call fcn.00446fb0
cmp edi, ebx
jbe 0x4022e6
mov edx, edi
mov dword [esp + 0x2c], edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x48]
mov edx, dword [esp + 0x4c]
lea eax, [ecx + edx*8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xd0]
cmp dword [esp + 0xd4], eax
jne 0x4022bb
mov ecx, 1
cmp eax, 0x40
jl 0x4022a2
mov ecx, eax
shr ecx, 2
jmp 0x4022ac
cmp eax, 8
jl 0x4022ac
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0xcc]
call fcn.00446fb0
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x44]
mov dword [ecx + eax*4], edx
mov eax, 1
add dword [esp + 0xd4], eax
add dword [esp + 0x4c], eax
sub dword [esp + 0x2c], eax
jne 0x402270
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x34], ebx
jbe 0x402534
mov edi, dword [esp + 0x40]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x1c]
xor eax, eax
cmp edx, ebx
jle 0x402320
mov esi, dword [ecx + 0x20]
mov ecx, esi
lea esp, [esp]
cmp dword [ecx], edi
je 0x402467
inc eax
add ecx, 8
cmp eax, edx
jl 0x402310
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x30]
xor eax, eax
mov dword [esp + 0x2c], eax
cmp edx, ebx
jle 0x402347
mov ecx, dword [ecx + 0x34]
cmp dword [ecx], edi
je 0x4024c6
inc eax
add ecx, 4
mov dword [esp + 0x2c], eax
cmp eax, edx
jl 0x402333
mov byte [esp + 0x138], 0x22
mov ecx, dword [esp + 0xd4]
push ecx
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0xd4]
mov dword [esp + 0xd4], esi
call dword [0x514838]
mov edx, dword [esp + 0xd8]
push edx
call fcn.004e00a0
mov byte [esp + 0x13c], 5
mov eax, dword [esp + 0x5c]
add esp, 4
push eax
push ebx
lea ecx, [esp + 0x58]
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0x58], esi
call dword [0x514838]
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004e00a0
add esp, 4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x138], 0x24
mov edx, dword [esp + 0xbc]
push edx
push ebx
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], esi
call dword [0x514838]
mov eax, dword [esp + 0xc0]
push eax
call fcn.004e00a0
add esp, 4
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov byte [esp + 0x13c], 2
call fcn.00401170
lea edx, [esp + 0xe4]
push edx
mov byte [esp + 0x13c], bl
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
je 0x40244f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x25
jmp 0x402943
cmp eax, ebx
jl 0x402320
mov ecx, dword [esi + eax*8 + 4]
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x48]
lea ecx, [eax + ecx*8]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x58], eax
jne 0x4024b5
mov ecx, 1
cmp eax, 0x40
jl 0x40249b
mov ecx, eax
shr ecx, 2
jmp 0x4024a5
cmp eax, 8
jl 0x4024a5
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x50]
call fcn.00446fb0
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov dword [edx + ecx*4], eax
jmp 0x402518
cmp eax, ebx
jl 0x402347
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x58], ecx
jne 0x402507
mov eax, 1
cmp ecx, 0x40
jl 0x4024e9
mov eax, ecx
shr eax, 2
jmp 0x4024f3
cmp ecx, 8
jl 0x4024f3
mov eax, 8
lea edi, [ecx + eax]
lea esi, [esp + 0x50]
call fcn.00446fb0
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x5c]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x58]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x44]
inc dword [esp + 0x58]
inc eax
inc edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edi
cmp eax, dword [esp + 0x34]
jb 0x4022f8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
mov eax, dword [esp + 0xd8]
mov edx, dword [ecx]
mov esi, dword [esp + 0x30]
mov edx, dword [edx + 8]
push eax
mov eax, dword [esp + 0x60]
push eax
push esi
call edx
mov byte [esp + 0x138], 0x22
mov eax, dword [esp + 0xd4]
push eax
mov edi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0xd4]
mov dword [esp + 0xd4], edi
call dword [0x514838]
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.004e00a0
mov byte [esp + 0x13c], 5
mov edx, dword [esp + 0x5c]
add esp, 4
push edx
push ebx
lea ecx, [esp + 0x58]
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0x58], edi
call dword [0x514838]
mov eax, dword [esp + 0x5c]
push eax
call fcn.004e00a0
inc esi
add esp, 4
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x38]
jge 0x402bce
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
jmp 0x401d72
mov byte [esp + 0x138], 5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 0x11
mov eax, dword [esp + 0xbc]
push eax
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], esi
call dword [0x514838]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e00a0
add esp, 4
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov byte [esp + 0x13c], 2
call fcn.00401170
lea eax, [esp + 0xe4]
push eax
mov byte [esp + 0x13c], bl
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
je 0x40267e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x12
mov eax, dword [esp + 0x20]
push eax
push ebx
lea ecx, [esp + 0x20]
call dword [0x5148d4]
mov dword [esp + 0x138], 0xffffffff
mov ecx, dword [esp + 0x20]
push ecx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call dword [0x514838]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e00a0
add esp, 4
jmp 0x4020f0
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4026ea
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 0x13
mov eax, dword [esp + 0xbc]
push eax
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], esi
call dword [0x514838]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e00a0
add esp, 4
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov byte [esp + 0x13c], 2
call fcn.00401170
lea eax, [esp + 0xe4]
push eax
mov byte [esp + 0x13c], bl
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
je 0x402773
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x14
mov eax, dword [esp + 0x20]
push eax
push ebx
lea ecx, [esp + 0x20]
call dword [0x5148d4]
mov dword [esp + 0x138], 0xffffffff
mov ecx, dword [esp + 0x20]
push ecx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call dword [0x514838]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e00a0
mov eax, dword [esp + 0x30]
add esp, 4
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4027f6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 0x16
mov eax, dword [esp + 0xbc]
push eax
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], esi
call dword [0x514838]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e00a0
add esp, 4
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov byte [esp + 0x13c], 2
call fcn.00401170
lea eax, [esp + 0xe4]
push eax
mov byte [esp + 0x13c], bl
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
je 0x40287f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x17
jmp 0x402786
mov byte [esp + 0x138], 5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 0x19
mov eax, dword [esp + 0xbc]
push eax
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], esi
call dword [0x514838]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e00a0
add esp, 4
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov byte [esp + 0x13c], 2
call fcn.00401170
lea eax, [esp + 0xe4]
push eax
mov byte [esp + 0x13c], bl
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
je 0x402930
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x1a
mov eax, dword [esp + 0x20]
push eax
push ebx
lea ecx, [esp + 0x20]
call dword [0x5148d4]
mov dword [esp + 0x138], 0xffffffff
mov ecx, dword [esp + 0x20]
push ecx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call dword [0x514838]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e00a0
add esp, 4
mov eax, 0x80004005
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4029bf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 0x1c
mov eax, dword [esp + 0xbc]
push eax
mov edi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], edi
call dword [0x514838]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e00a0
add esp, 4
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov byte [esp + 0x13c], 2
call fcn.00401170
lea eax, [esp + 0xe4]
push eax
mov byte [esp + 0x13c], bl
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
je 0x402a48
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x1d
mov eax, dword [esp + 0x20]
push eax
push ebx
lea ecx, [esp + 0x20]
call dword [0x5148d4]
mov dword [esp + 0x138], 0xffffffff
mov ecx, dword [esp + 0x20]
push ecx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edi
call dword [0x514838]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e00a0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
call fcn.004e00a0
mov ecx, dword [esp + 0x40]
add esp, 4
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x402adc
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x138], 0x20
mov ecx, dword [esp + 0xbc]
push ecx
mov edi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], edi
call dword [0x514838]
mov edx, dword [esp + 0xc0]
push edx
call fcn.004e00a0
add esp, 4
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov byte [esp + 0x13c], 2
call fcn.00401170
lea ecx, [esp + 0xe4]
push ecx
mov byte [esp + 0x13c], bl
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
je 0x402b65
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x18], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x21
mov ecx, dword [esp + 0x20]
push ecx
push ebx
lea ecx, [esp + 0x20]
call dword [0x5148d4]
mov dword [esp + 0x138], 0xffffffff
mov edx, dword [esp + 0x20]
push edx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edi
call dword [0x514838]
mov eax, dword [esp + 0x24]
push eax
call fcn.004e00a0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
mov eax, dword [esp + 0xac]
mov edx, dword [eax]
mov edi, dword [esp + 0x6c]
xor eax, eax
cmp edi, ebx
jbe 0x402bf8
mov esi, dword [esp + 0x70]
add esi, 4
mov ecx, dword [esi]
cmp edx, ecx
jb 0x402c0f
inc eax
sub edx, ecx
add esi, 8
cmp eax, edi
jb 0x402be8
push 0x530548
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 1
call fcn.004e5ccf
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x68], bl
je 0x402c1d
mov ecx, dword [ecx + 0x6c]
mov dword [ecx + 0x70], eax
cmp dword [esp + 0x38], ebx
jne 0x402d19
mov byte [esp + 0x138], 0x26
mov ecx, dword [esp + 0xbc]
push ecx
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], esi
call dword [0x514838]
mov edx, dword [esp + 0xc0]
push edx
call fcn.004e00a0
add esp, 4
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov byte [esp + 0x13c], 2
call fcn.00401170
lea ecx, [esp + 0xe4]
push ecx
mov byte [esp + 0x13c], bl
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
je 0x402cb0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x18], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x27
mov ecx, dword [esp + 0x20]
push ecx
push ebx
lea ecx, [esp + 0x20]
call dword [0x5148d4]
mov dword [esp + 0x138], 0xffffffff
mov edx, dword [esp + 0x20]
push edx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call dword [0x514838]
mov eax, dword [esp + 0x24]
push eax
call fcn.004e00a0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], 4
mov dword [esp + 0xfc], vtable.CRecordVector_struct_ISequentialInStream__.0
mov byte [esp + 0x138], 0x28
mov edi, dword [esp + 0x20]
lea esi, [esp + 0xfc]
call fcn.00446fb0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
cmp ecx, ebx
jle 0x402de4
mov eax, ebx
lea ebx, [ebx]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + eax*4]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x34], edx
cmp dword [esp + 0x104], ecx
jne 0x402dbb
mov eax, 1
cmp ecx, 0x40
jl 0x402d9e
mov eax, ecx
shr eax, 2
jmp 0x402da8
cmp ecx, 8
jl 0x402da8
mov eax, 8
lea edi, [ecx + eax]
lea esi, [esp + 0xfc]
call fcn.00446fb0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x108]
mov esi, dword [esp + 0x104]
mov edx, dword [esp + 0x34]
mov dword [ecx + esi*4], edx
mov ecx, dword [esp + 0x20]
inc dword [esp + 0x104]
inc eax
mov dword [esp + 0x30], eax
cmp eax, ecx
jl 0x402d70
mov esi, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 8]
push esi
push 1
push ebx
lea esi, [esp + 0x128]
push esi
push ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x130], eax
mov eax, dword [edx + 0x74]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ebx
push ecx
push eax
call edx
mov byte [esp + 0x138], 5
mov esi, eax
mov eax, dword [esp + 0x104]
push eax
mov edi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0x104]
mov dword [esp + 0x104], edi
call dword [0x514838]
mov ecx, dword [esp + 0x108]
push ecx
call fcn.004e00a0
add esp, 4
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov byte [esp + 0x138], 0x29
mov edx, dword [esp + 0xbc]
push edx
push ebx
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], edi
call dword [0x514838]
mov eax, dword [esp + 0xc0]
push eax
call fcn.004e00a0
add esp, 4
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov byte [esp + 0x13c], 2
call fcn.00401170
lea edx, [esp + 0xe4]
push edx
mov byte [esp + 0x13c], bl
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
je 0x402eea
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x2a
jmp 0x402a5b