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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5026b5
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x54c2c0]
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.0040dca0
test al, al
je 0x402120
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.00455b50
add esp, 4
mov byte [esp + 0x138], 2
cmp dword [ebp + 0xc], ebx
je 0x4017a8
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 0x4017bb
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 0x4018e7
push 0x18
call fcn.004e1585
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x401a2d
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.004e1585
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x401a40
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 0x40187f
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.00421540
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 0x4017d2
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.00401300
add esp, 8
cmp byte [esi], bl
je 0x4019db
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.00401530
add esp, 8
test al, al
sete al
cmp al, bl
je 0x401d7e
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 0x401a00
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x74], ebx
cmp byte [esi + 0x68], bl
je 0x401a8c
push 0x88
call fcn.004e1585
add esp, 4
cmp eax, ebx
jne 0x401a53
push 0x531dcc
lea eax, [esp + 0x1b]
push eax
mov byte [esp + 0x1f], bl
call fcn.004e667f
push 0x531dcc
lea edx, [esp + 0x1b]
push edx
mov byte [esp + 0x1f], bl
call fcn.004e667f
push 0x531dcc
lea eax, [esp + 0x1b]
push eax
mov byte [esp + 0x1f], bl
call fcn.004e667f
call fcn.00402f60
mov edi, eax
mov dword [esi + 0x6c], edi
cmp edi, ebx
je 0x401a69
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x401a78
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 0x401a87
add eax, 4
jmp 0x401a89
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 0x401b96
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 [0x515848]
mov edx, dword [esp + 0xc0]
push edx
call fcn.004e0a60
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.004011a0
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 0x401b2d
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 [0x5158e4]
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 [0x515848]
mov eax, dword [esp + 0x24]
push eax
call fcn.004e0a60
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 0x401cde
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.00423c50
mov dword [esp + 0x5c], eax
mov byte [esp + 0x14c], 9
mov eax, dword [esp + 0x60]
add esp, 0x14
cmp eax, ebx
je 0x401c01
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x48], ebx
jne 0x401f47
mov dword [esp + 0x3c], ebx
mov eax, 1
mov byte [esp + 0x138], 0xd
cmp dword [edi + 0x14], eax
jne 0x401c4f
cmp dword [edi + 0x18], eax
jne 0x401c4f
cmp dword [esp + 0x30], ebx
je 0x40206b
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 0x401c76
mov ecx, dword [esi + 0x6c]
call fcn.0041b260
jmp 0x401c76
cmp dword [esp + 0x10], ebx
je 0x40213d
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 0x401c7a
mov ecx, dword [esi + 0x6c]
call fcn.0041b310
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x78]
call fcn.00421540
mov byte [esp + 0x138], 9
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x401c9f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x138], 8
cmp edi, ebx
je 0x401cb3
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 0x401ccb
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 0x401ba4
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.00412040
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.00412040
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.00436c20
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.00436c20
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.00412040
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 0x402bfe
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 0x518b74
push eax
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401e0d
mov ecx, dword [edi + 0xc]
cmp ecx, 0xffffffff
ja 0x402615
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 0x402702
mov eax, dword [esp + 0x10]
mov byte [esp + 0x138], 5
cmp eax, ebx
je 0x401e21
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [ebp + 0x30], bl
je 0x401e7d
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 0x518ba4
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401e69
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 0x40280e
mov eax, dword [esp + 0x10]
mov byte [esp + 0x138], 5
cmp eax, ebx
je 0x401e7d
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 0x518c14
push esi
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x402208
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x4028c7
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 0x4029cc
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.004035f0
mov byte [esp + 0x138], 0x1f
mov eax, dword [esp + 0x114]
add eax, eax
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x40217b
mov esi, eax
cmp esi, ebx
jbe 0x402162
push esi
call fcn.004e0918
add esp, 4
mov edi, eax
jmp 0x402164
mov byte [esp + 0x138], 8
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401f5f
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 0x401f77
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 [0x515848]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e0a60
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.004011a0
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 0x402000
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 [0x5158e4]
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 [0x515848]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e0a60
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 0x402083
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 [0x515848]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e0a60
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.004011a0
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 0x40210b
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.004031f0
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 0x402155
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 0xf
jmp 0x40208b
xor edi, edi
push ebx
call fcn.004e0a60
add esp, 4
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], esi
cmp dword [esp + 0x114], ebx
jle 0x4021b5
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 0x4021a0
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.004e0a60
add esp, 4
push edi
cmp esi, ebx
jne 0x402ae1
mov dword [esp + method.CBuffer_unsigned_char_.virtual_0], vtable.CBuffer_unsigned_char_.0
call fcn.004e0a60
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 0x40221c
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.00447010
mov edi, dword [esp + 0x10]
lea esi, [esp + 0xcc]
call fcn.00447010
cmp edi, ebx
jbe 0x402316
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 0x4022eb
mov ecx, 1
cmp eax, 0x40
jl 0x4022d2
mov ecx, eax
shr ecx, 2
jmp 0x4022dc
cmp eax, 8
jl 0x4022dc
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0xcc]
call fcn.00447010
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 0x4022a0
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x34], ebx
jbe 0x402564
mov edi, dword [esp + 0x40]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x1c]
xor eax, eax
cmp edx, ebx
jle 0x402350
mov esi, dword [ecx + 0x20]
mov ecx, esi
lea esp, [esp]
cmp dword [ecx], edi
je 0x402497
inc eax
add ecx, 8
cmp eax, edx
jl 0x402340
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x30]
xor eax, eax
mov dword [esp + 0x2c], eax
cmp edx, ebx
jle 0x402377
mov ecx, dword [ecx + 0x34]
cmp dword [ecx], edi
je 0x4024f6
inc eax
add ecx, 4
mov dword [esp + 0x2c], eax
cmp eax, edx
jl 0x402363
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 [0x515848]
mov edx, dword [esp + 0xd8]
push edx
call fcn.004e0a60
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 [0x515848]
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004e0a60
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 [0x515848]
mov eax, dword [esp + 0xc0]
push eax
call fcn.004e0a60
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.004011a0
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 0x40247f
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 0x402973
cmp eax, ebx
jl 0x402350
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 0x4024e5
mov ecx, 1
cmp eax, 0x40
jl 0x4024cb
mov ecx, eax
shr ecx, 2
jmp 0x4024d5
cmp eax, 8
jl 0x4024d5
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x50]
call fcn.00447010
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 0x402548
cmp eax, ebx
jl 0x402377
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x58], ecx
jne 0x402537
mov eax, 1
cmp ecx, 0x40
jl 0x402519
mov eax, ecx
shr eax, 2
jmp 0x402523
cmp ecx, 8
jl 0x402523
mov eax, 8
lea edi, [ecx + eax]
lea esi, [esp + 0x50]
call fcn.00447010
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 0x402328
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 [0x515848]
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.004e0a60
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 [0x515848]
mov eax, dword [esp + 0x5c]
push eax
call fcn.004e0a60
inc esi
add esp, 4
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x38]
jge 0x402bfe
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
jmp 0x401da2
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 [0x515848]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e0a60
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.004011a0
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 0x4026ae
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 [0x5158e4]
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 [0x515848]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e0a60
add esp, 4
jmp 0x402120
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x40271a
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 [0x515848]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e0a60
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.004011a0
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 0x4027a3
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 [0x5158e4]
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 [0x515848]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e0a60
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 0x402826
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 [0x515848]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e0a60
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.004011a0
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 0x4028af
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 0x4027b6
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 [0x515848]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e0a60
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.004011a0
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 0x402960
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 [0x5158e4]
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 [0x515848]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e0a60
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 0x4029ef
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 [0x515848]
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004e0a60
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.004011a0
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 0x402a78
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 [0x5158e4]
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 [0x515848]
mov edx, dword [esp + 0x24]
push edx
call fcn.004e0a60
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.004e0a60
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 0x402b0c
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 [0x515848]
mov edx, dword [esp + 0xc0]
push edx
call fcn.004e0a60
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.004011a0
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 0x402b95
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 [0x5158e4]
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 [0x515848]
mov eax, dword [esp + 0x24]
push eax
call fcn.004e0a60
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 0x402c28
mov esi, dword [esp + 0x70]
add esi, 4
mov ecx, dword [esi]
cmp edx, ecx
jb 0x402c3f
inc eax
sub edx, ecx
add esi, 8
cmp eax, edi
jb 0x402c18
push 0x531ba0
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 1
call fcn.004e667f
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x68], bl
je 0x402c4d
mov ecx, dword [ecx + 0x6c]
mov dword [ecx + 0x70], eax
cmp dword [esp + 0x38], ebx
jne 0x402d49
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 [0x515848]
mov edx, dword [esp + 0xc0]
push edx
call fcn.004e0a60
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.004011a0
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 0x402ce0
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 [0x5158e4]
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 [0x515848]
mov eax, dword [esp + 0x24]
push eax
call fcn.004e0a60
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.00447010
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
cmp ecx, ebx
jle 0x402e14
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 0x402deb
mov eax, 1
cmp ecx, 0x40
jl 0x402dce
mov eax, ecx
shr eax, 2
jmp 0x402dd8
cmp ecx, 8
jl 0x402dd8
mov eax, 8
lea edi, [ecx + eax]
lea esi, [esp + 0xfc]
call fcn.00447010
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 0x402da0
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 [0x515848]
mov ecx, dword [esp + 0x108]
push ecx
call fcn.004e0a60
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 [0x515848]
mov eax, dword [esp + 0xc0]
push eax
call fcn.004e0a60
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.004011a0
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 0x402f1a
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 0x402a8b