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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5067b5
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
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.0040de30
test al, al
je 0x402190
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 0x401818
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 0x40182b
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 0x401957
push 0x18
call fcn.004e5485
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x401a9d
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.004e5485
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x401ab0
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 0x4018ef
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.004032f0
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 0x401842
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.00401370
add esp, 8
cmp byte [esi], bl
je 0x401a4b
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.004015a0
add esp, 8
test al, al
sete al
cmp al, bl
je 0x401dee
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 0x401a70
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x74], ebx
cmp byte [esi + 0x68], bl
je 0x401afc
push 0x88
call fcn.004e5485
add esp, 4
cmp eax, ebx
jne 0x401ac3
push 0x53708c
lea eax, [esp + 0x1b]
push eax
mov byte [esp + 0x1f], bl
call fcn.004ea6cf
push 0x53708c
lea edx, [esp + 0x1b]
push edx
mov byte [esp + 0x1f], bl
call fcn.004ea6cf
push 0x53708c
lea eax, [esp + 0x1b]
push eax
mov byte [esp + 0x1f], bl
call fcn.004ea6cf
call fcn.00402fd0
mov edi, eax
mov dword [esi + 0x6c], edi
cmp edi, ebx
je 0x401ad9
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x401ae8
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 0x401af7
add eax, 4
jmp 0x401af9
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 0x401c06
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 [0x519870]
mov edx, dword [esp + 0xc0]
push edx
call fcn.004e4960
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.00401210
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 0x401b9d
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 [0x51990c]
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 [0x519870]
mov eax, dword [esp + 0x24]
push eax
call fcn.004e4960
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 0x401d4e
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.00423d00
mov dword [esp + 0x5c], eax
mov byte [esp + 0x14c], 9
mov eax, dword [esp + 0x60]
add esp, 0x14
cmp eax, ebx
je 0x401c71
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x48], ebx
jne 0x401fb7
mov dword [esp + 0x3c], ebx
mov eax, 1
mov byte [esp + 0x138], 0xd
cmp dword [edi + 0x14], eax
jne 0x401cbf
cmp dword [edi + 0x18], eax
jne 0x401cbf
cmp dword [esp + 0x30], ebx
je 0x4020db
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 0x401ce6
mov ecx, dword [esi + 0x6c]
call fcn.0041b370
jmp 0x401ce6
cmp dword [esp + 0x10], ebx
je 0x4021ad
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 0x401cea
mov ecx, dword [esi + 0x6c]
call fcn.0041b420
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x78]
call fcn.004032f0
mov byte [esp + 0x138], 9
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x401d0f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x138], 8
cmp edi, ebx
je 0x401d23
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 0x401d3b
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 0x401c14
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.00403e20
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.00403e20
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.0041beb0
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.0041beb0
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.00403e20
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 0x402c6e
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 0x51cb9c
push eax
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401e7d
mov ecx, dword [edi + 0xc]
cmp ecx, 0xffffffff
ja 0x402685
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 0x402772
mov eax, dword [esp + 0x10]
mov byte [esp + 0x138], 5
cmp eax, ebx
je 0x401e91
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [ebp + 0x30], bl
je 0x401eed
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 0x51cbcc
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401ed9
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 0x40287e
mov eax, dword [esp + 0x10]
mov byte [esp + 0x138], 5
cmp eax, ebx
je 0x401eed
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 0x51cc3c
push esi
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x402278
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x402937
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 0x402a3c
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.00403720
mov byte [esp + 0x138], 0x1f
mov eax, dword [esp + 0x114]
add eax, eax
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x4021eb
mov esi, eax
cmp esi, ebx
jbe 0x4021d2
push esi
call fcn.004e4818
add esp, 4
mov edi, eax
jmp 0x4021d4
mov byte [esp + 0x138], 8
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401fcf
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 0x401fe7
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 [0x519870]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e4960
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.00401210
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 0x402070
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 [0x51990c]
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 [0x519870]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e4960
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 0x4020f3
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 [0x519870]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e4960
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.00401210
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 0x40217b
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.00403260
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 0x4021c5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 0xf
jmp 0x4020fb
xor edi, edi
push ebx
call fcn.004e4960
add esp, 4
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], esi
cmp dword [esp + 0x114], ebx
jle 0x402225
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 0x402210
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.004e4960
add esp, 4
push edi
cmp esi, ebx
jne 0x402b51
mov dword [esp + method.CBuffer_unsigned_char_.virtual_0], vtable.CBuffer_unsigned_char_.0
call fcn.004e4960
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 0x40228c
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 0x402386
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 0x40235b
mov ecx, 1
cmp eax, 0x40
jl 0x402342
mov ecx, eax
shr ecx, 2
jmp 0x40234c
cmp eax, 8
jl 0x40234c
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 0x402310
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x34], ebx
jbe 0x4025d4
mov edi, dword [esp + 0x40]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x1c]
xor eax, eax
cmp edx, ebx
jle 0x4023c0
mov esi, dword [ecx + 0x20]
mov ecx, esi
lea esp, [esp]
cmp dword [ecx], edi
je 0x402507
inc eax
add ecx, 8
cmp eax, edx
jl 0x4023b0
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x30]
xor eax, eax
mov dword [esp + 0x2c], eax
cmp edx, ebx
jle 0x4023e7
mov ecx, dword [ecx + 0x34]
cmp dword [ecx], edi
je 0x402566
inc eax
add ecx, 4
mov dword [esp + 0x2c], eax
cmp eax, edx
jl 0x4023d3
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 [0x519870]
mov edx, dword [esp + 0xd8]
push edx
call fcn.004e4960
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 [0x519870]
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004e4960
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 [0x519870]
mov eax, dword [esp + 0xc0]
push eax
call fcn.004e4960
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.00401210
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 0x4024ef
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 0x4029e3
cmp eax, ebx
jl 0x4023c0
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 0x402555
mov ecx, 1
cmp eax, 0x40
jl 0x40253b
mov ecx, eax
shr ecx, 2
jmp 0x402545
cmp eax, 8
jl 0x402545
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 0x4025b8
cmp eax, ebx
jl 0x4023e7
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x58], ecx
jne 0x4025a7
mov eax, 1
cmp ecx, 0x40
jl 0x402589
mov eax, ecx
shr eax, 2
jmp 0x402593
cmp ecx, 8
jl 0x402593
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 0x402398
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 [0x519870]
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.004e4960
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 [0x519870]
mov eax, dword [esp + 0x5c]
push eax
call fcn.004e4960
inc esi
add esp, 4
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x38]
jge 0x402c6e
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
jmp 0x401e12
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 [0x519870]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e4960
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.00401210
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 0x40271e
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 [0x51990c]
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 [0x519870]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e4960
add esp, 4
jmp 0x402190
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x40278a
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 [0x519870]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e4960
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.00401210
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 0x402813
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 [0x51990c]
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 [0x519870]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e4960
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 0x402896
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 [0x519870]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e4960
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.00401210
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 0x40291f
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 0x402826
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 [0x519870]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e4960
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.00401210
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 0x4029d0
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 [0x51990c]
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 [0x519870]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e4960
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 0x402a5f
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 [0x519870]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e4960
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.00401210
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 0x402ae8
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 [0x51990c]
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 [0x519870]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e4960
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.004e4960
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 0x402b7c
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 [0x519870]
mov edx, dword [esp + 0xc0]
push edx
call fcn.004e4960
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.00401210
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 0x402c05
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 [0x51990c]
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 [0x519870]
mov eax, dword [esp + 0x24]
push eax
call fcn.004e4960
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 0x402c98
mov esi, dword [esp + 0x70]
add esi, 4
mov ecx, dword [esi]
cmp edx, ecx
jb 0x402caf
inc eax
sub edx, ecx
add esi, 8
cmp eax, edi
jb 0x402c88
push 0x536e60
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 1
call fcn.004ea6cf
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x68], bl
je 0x402cbd
mov ecx, dword [ecx + 0x6c]
mov dword [ecx + 0x70], eax
cmp dword [esp + 0x38], ebx
jne 0x402db9
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 [0x519870]
mov edx, dword [esp + 0xc0]
push edx
call fcn.004e4960
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.00401210
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 0x402d50
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 [0x51990c]
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 [0x519870]
mov eax, dword [esp + 0x24]
push eax
call fcn.004e4960
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 0x402e84
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 0x402e5b
mov eax, 1
cmp ecx, 0x40
jl 0x402e3e
mov eax, ecx
shr eax, 2
jmp 0x402e48
cmp ecx, 8
jl 0x402e48
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 0x402e10
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 [0x519870]
mov ecx, dword [esp + 0x108]
push ecx
call fcn.004e4960
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 [0x519870]
mov eax, dword [esp + 0xc0]
push eax
call fcn.004e4960
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.00401210
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 0x402f8a
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 0x402afb