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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x505b95
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x5512c0]
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.0040ddb0
test al, al
je 0x402110
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.00455b70
add esp, 4
mov byte [esp + 0x138], 2
cmp dword [ebp + 0xc], ebx
je 0x401798
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 0x4017ab
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 0x4018d7
push 0x18
call fcn.004e4985
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x401a1d
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.004e4985
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x401a30
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 0x40186f
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.004035e0
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 0x4017c2
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.004012e0
add esp, 8
cmp byte [esi], bl
je 0x4019cb
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.00401510
add esp, 8
test al, al
sete al
cmp al, bl
je 0x401d6e
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 0x4019f0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x74], ebx
cmp byte [esi + 0x68], bl
je 0x401a7c
push 0x88
call fcn.004e4985
add esp, 4
cmp eax, ebx
jne 0x401a43
push 0x535d2c
lea eax, [esp + 0x1b]
push eax
mov byte [esp + 0x1f], bl
call fcn.004e9bcf
push 0x535d2c
lea edx, [esp + 0x1b]
push edx
mov byte [esp + 0x1f], bl
call fcn.004e9bcf
push 0x535d2c
lea eax, [esp + 0x1b]
push eax
mov byte [esp + 0x1f], bl
call fcn.004e9bcf
call fcn.00402f50
mov edi, eax
mov dword [esi + 0x6c], edi
cmp edi, ebx
je 0x401a59
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x401a68
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 0x401a77
add eax, 4
jmp 0x401a79
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 0x401b86
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 [0x518870]
mov edx, dword [esp + 0xc0]
push edx
call fcn.004e3e60
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.00401180
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 0x401b1d
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 [0x51890c]
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 [0x518870]
mov eax, dword [esp + 0x24]
push eax
call fcn.004e3e60
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 0x401cce
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.00423d20
mov dword [esp + 0x5c], eax
mov byte [esp + 0x14c], 9
mov eax, dword [esp + 0x60]
add esp, 0x14
cmp eax, ebx
je 0x401bf1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x48], ebx
jne 0x401f37
mov dword [esp + 0x3c], ebx
mov eax, 1
mov byte [esp + 0x138], 0xd
cmp dword [edi + 0x14], eax
jne 0x401c3f
cmp dword [edi + 0x18], eax
jne 0x401c3f
cmp dword [esp + 0x30], ebx
je 0x40205b
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 0x401c66
mov ecx, dword [esi + 0x6c]
call fcn.0041b350
jmp 0x401c66
cmp dword [esp + 0x10], ebx
je 0x40212d
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 0x401c6a
mov ecx, dword [esi + 0x6c]
call fcn.0041b400
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x78]
call fcn.004035e0
mov byte [esp + 0x138], 9
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x401c8f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x138], 8
cmp edi, ebx
je 0x401ca3
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 0x401cbb
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 0x401b94
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.00403cf0
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.00403cf0
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.0041be90
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.0041be90
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.00403cf0
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 0x402bee
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 0x51bb9c
push eax
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401dfd
mov ecx, dword [edi + 0xc]
cmp ecx, 0xffffffff
ja 0x402605
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 0x4026f2
mov eax, dword [esp + 0x10]
mov byte [esp + 0x138], 5
cmp eax, ebx
je 0x401e11
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [ebp + 0x30], bl
je 0x401e6d
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 0x51bbcc
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401e59
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 0x4027fe
mov eax, dword [esp + 0x10]
mov byte [esp + 0x138], 5
cmp eax, ebx
je 0x401e6d
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 0x51bc3c
push esi
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4021f8
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x4028b7
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 0x4029bc
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.00403530
mov byte [esp + 0x138], 0x1f
mov eax, dword [esp + 0x114]
add eax, eax
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x40216b
mov esi, eax
cmp esi, ebx
jbe 0x402152
push esi
call fcn.004e3d18
add esp, 4
mov edi, eax
jmp 0x402154
mov byte [esp + 0x138], 8
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401f4f
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 0x401f67
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 [0x518870]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e3e60
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.00401180
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 0x401ff0
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 [0x51890c]
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 [0x518870]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e3e60
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 0x402073
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 [0x518870]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e3e60
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.00401180
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 0x4020fb
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 0x402145
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 0xf
jmp 0x40207b
xor edi, edi
push ebx
call fcn.004e3e60
add esp, 4
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], esi
cmp dword [esp + 0x114], ebx
jle 0x4021a5
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 0x402190
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.004e3e60
add esp, 4
push edi
cmp esi, ebx
jne 0x402ad1
mov dword [esp + method.CBuffer_unsigned_char_.virtual_0], vtable.CBuffer_unsigned_char_.0
call fcn.004e3e60
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 0x40220c
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.00447050
mov edi, dword [esp + 0x10]
lea esi, [esp + 0xcc]
call fcn.00447050
cmp edi, ebx
jbe 0x402306
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 0x4022db
mov ecx, 1
cmp eax, 0x40
jl 0x4022c2
mov ecx, eax
shr ecx, 2
jmp 0x4022cc
cmp eax, 8
jl 0x4022cc
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0xcc]
call fcn.00447050
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 0x402290
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x34], ebx
jbe 0x402554
mov edi, dword [esp + 0x40]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x1c]
xor eax, eax
cmp edx, ebx
jle 0x402340
mov esi, dword [ecx + 0x20]
mov ecx, esi
lea esp, [esp]
cmp dword [ecx], edi
je 0x402487
inc eax
add ecx, 8
cmp eax, edx
jl 0x402330
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x30]
xor eax, eax
mov dword [esp + 0x2c], eax
cmp edx, ebx
jle 0x402367
mov ecx, dword [ecx + 0x34]
cmp dword [ecx], edi
je 0x4024e6
inc eax
add ecx, 4
mov dword [esp + 0x2c], eax
cmp eax, edx
jl 0x402353
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 [0x518870]
mov edx, dword [esp + 0xd8]
push edx
call fcn.004e3e60
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 [0x518870]
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004e3e60
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 [0x518870]
mov eax, dword [esp + 0xc0]
push eax
call fcn.004e3e60
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.00401180
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 0x40246f
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 0x402963
cmp eax, ebx
jl 0x402340
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 0x4024d5
mov ecx, 1
cmp eax, 0x40
jl 0x4024bb
mov ecx, eax
shr ecx, 2
jmp 0x4024c5
cmp eax, 8
jl 0x4024c5
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x50]
call fcn.00447050
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 0x402538
cmp eax, ebx
jl 0x402367
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x58], ecx
jne 0x402527
mov eax, 1
cmp ecx, 0x40
jl 0x402509
mov eax, ecx
shr eax, 2
jmp 0x402513
cmp ecx, 8
jl 0x402513
mov eax, 8
lea edi, [ecx + eax]
lea esi, [esp + 0x50]
call fcn.00447050
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 0x402318
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 [0x518870]
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.004e3e60
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 [0x518870]
mov eax, dword [esp + 0x5c]
push eax
call fcn.004e3e60
inc esi
add esp, 4
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x38]
jge 0x402bee
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
jmp 0x401d92
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 [0x518870]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e3e60
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.00401180
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 0x40269e
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 [0x51890c]
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 [0x518870]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e3e60
add esp, 4
jmp 0x402110
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x40270a
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 [0x518870]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e3e60
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.00401180
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 0x402793
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 [0x51890c]
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 [0x518870]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e3e60
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 0x402816
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 [0x518870]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e3e60
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.00401180
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 0x40289f
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 0x4027a6
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 [0x518870]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e3e60
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.00401180
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 0x402950
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 [0x51890c]
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 [0x518870]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e3e60
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 0x4029df
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 [0x518870]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e3e60
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.00401180
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 0x402a68
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 [0x51890c]
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 [0x518870]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e3e60
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.004e3e60
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 0x402afc
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 [0x518870]
mov edx, dword [esp + 0xc0]
push edx
call fcn.004e3e60
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.00401180
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 0x402b85
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 [0x51890c]
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 [0x518870]
mov eax, dword [esp + 0x24]
push eax
call fcn.004e3e60
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 0x402c18
mov esi, dword [esp + 0x70]
add esi, 4
mov ecx, dword [esi]
cmp edx, ecx
jb 0x402c2f
inc eax
sub edx, ecx
add esi, 8
cmp eax, edi
jb 0x402c08
push 0x535b00
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 1
call fcn.004e9bcf
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x68], bl
je 0x402c3d
mov ecx, dword [ecx + 0x6c]
mov dword [ecx + 0x70], eax
cmp dword [esp + 0x38], ebx
jne 0x402d39
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 [0x518870]
mov edx, dword [esp + 0xc0]
push edx
call fcn.004e3e60
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.00401180
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 0x402cd0
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 [0x51890c]
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 [0x518870]
mov eax, dword [esp + 0x24]
push eax
call fcn.004e3e60
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.00447050
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
cmp ecx, ebx
jle 0x402e04
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 0x402ddb
mov eax, 1
cmp ecx, 0x40
jl 0x402dbe
mov eax, ecx
shr eax, 2
jmp 0x402dc8
cmp ecx, 8
jl 0x402dc8
mov eax, 8
lea edi, [ecx + eax]
lea esi, [esp + 0xfc]
call fcn.00447050
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 0x402d90
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 [0x518870]
mov ecx, dword [esp + 0x108]
push ecx
call fcn.004e3e60
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 [0x518870]
mov eax, dword [esp + 0xc0]
push eax
call fcn.004e3e60
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.00401180
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 0x402f0a
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 0x402a7b