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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50c4ec
mov eax, dword fs:[0]
push eax
sub esp, 0x118
push ebx
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x18]
push edi
call fcn.004caef0
test al, al
je 0x4c1bed
mov eax, dword [ebp + 0x28]
xor ebx, ebx
mov byte [eax], bl
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 4
mov dword [esp + 0x54], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x130], ebx
push ecx
mov dword [esp + 0x6c], ebx
call fcn.004bd850
add esp, 4
mov byte [esp + 0x130], 1
cmp esi, ebx
je 0x4c1374
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x4c1384
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [edi + 0x30]
cmp eax, ebx
mov dword [esp + 0x68], esi
jle 0x4c149d
push 0x18
call fcn.004eac13
add esp, 4
test eax, eax
je 0x4c13b2
mov dword [eax + 4], 0
mov dword [eax], vtable.CLockedSequentialInStreamImp.0
mov edi, eax
jmp 0x4c13b4
xor edi, edi
mov dword [esp + 0x50], edi
test edi, edi
je 0x4c13c4
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov byte [esp + 0x130], 2
lea edx, [esp + 0x68]
mov dword [edi + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
mov esi, dword [eax + ebx*8]
mov eax, dword [eax + ebx*8 + 4]
add ecx, esi
adc edx, eax
push 0x28
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
call fcn.004eac13
add esp, 4
test eax, eax
je 0x4c1413
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], vtable.CLimitedSequentialInStream.0
mov dword [eax + 8], ecx
mov esi, eax
jmp 0x4c1415
xor esi, esi
mov dword [esp + 0x14], esi
test esi, esi
je 0x4c1425
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov byte [esp + 0x130], 3
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x4c1444
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 0x14]
mov dword [esi + 8], edi
mov eax, dword [ecx + ebx*8]
mov ecx, dword [ecx + ebx*8 + 4]
mov dword [esi + 0x14], ecx
lea ecx, [esp + 0x14]
mov dword [esi + 0x10], eax
xor eax, eax
push ecx
lea ecx, [esp + 0x58]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
call fcn.004c2870
mov byte [esp + 0x130], 2
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov byte [esp + 0x130], 1
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov eax, dword [ebp + 0x18]
inc ebx
cmp ebx, dword [eax + 0x30]
jl 0x4c1393
mov edi, dword [ebp + 0x18]
mov ecx, dword [edi + 8]
xor eax, eax
mov dword [esp + 0x38], ecx
mov ecx, 8
mov edx, 4
mov esi, vtable.CRecordVector_unsigned_int_.0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xac], vtable.CRecordVector_struct_NCoderMixer::CCoderStreamsInfo_.0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xc0], vtable.CRecordVector_struct_NCoderMixer::CBindPair_.0
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], edx
mov dword [esp + 0xd4], esi
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], edx
mov dword [esp + 0xe8], esi
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
mov dword [esp + 0xfc], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov byte [esp + 0x130], dl
lea edx, [esp + 0xac]
push edx
push edi
call fcn.004c0ea0
mov edi, dword [ebp + 8]
add esp, 8
cmp byte [edi], 0
je 0x4c15b3
lea eax, [edi + 4]
push eax
lea ebx, [esp + 0xb0]
call fcn.004c10d0
add esp, 4
test al, al
sete al
test al, al
je 0x4c17f2
mov eax, dword [edi + 0x80]
mov edx, dword [edi + 0x78]
mov edx, dword [edx + 4]
lea ecx, [edi + 0x78]
push eax
xor ebx, ebx
push ebx
mov dword [esp + 0x1c], ecx
call edx
mov eax, dword [edi + 0x74]
cmp eax, ebx
je 0x4c15de
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x74], ebx
cmp byte [edi + 0x68], 0
je 0x4c1634
push 0x88
call fcn.004eac13
add esp, 4
cmp eax, ebx
je 0x4c1600
mov esi, eax
call fcn.004c24a0
mov esi, eax
jmp 0x4c1602
xor esi, esi
mov dword [edi + 0x6c], esi
cmp esi, ebx
je 0x4c1611
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [edi + 0x74]
cmp eax, ebx
je 0x4c1620
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [edi + 0x74], esi
mov eax, dword [edi + 0x6c]
cmp eax, ebx
je 0x4c162f
add eax, 4
jmp 0x4c1631
xor eax, eax
mov dword [edi + 0x70], eax
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0xac]
push eax
call edx
mov esi, eax
cmp esi, ebx
je 0x4c168d
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x134], 1
call fcn.004c1200
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x134], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x4c1683
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x54]
push ecx
jmp 0x4c21e3
cmp dword [esp + 0x38], ebx
mov dword [esp + 0x20], ebx
jle 0x4c17be
jmp 0x4c16a0
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x20]
mov esi, dword [eax + ecx*4]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
push eax
mov byte [esp + 0x134], 6
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004aecd0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4c1af1
mov dword [esp + 0x1c], eax
mov byte [esp + 0x130], 7
mov ebx, dword [esp + 0x18]
mov eax, 1
cmp dword [esi + 0x14], eax
jne 0x4c1731
cmp dword [esi + 0x18], eax
jne 0x4c1731
cmp dword [esp + 0x10], 0
je 0x4c1b88
mov esi, dword [esp + 0x10]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
cmp byte [edi + 0x68], 0
mov dword [esp + 0x1c], esi
je 0x4c175d
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x6c]
mov edi, esi
call fcn.004b2620
jmp 0x4c175a
test ebx, ebx
je 0x4c1c0a
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push ebx
call eax
cmp byte [edi + 0x68], 0
mov esi, ebx
mov dword [esp + 0x1c], esi
je 0x4c175d
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x6c]
mov edi, ebx
call fcn.004b2660
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
call fcn.004c2870
mov byte [esp + 0x130], 6
test esi, esi
je 0x4c177f
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [esp + 0x130], 5
test ebx, ebx
je 0x4c1793
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov byte [esp + 0x130], 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c17ab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
jl 0x4c16a0
lea esi, [edi + 4]
lea eax, [esp + 0xac]
call fcn.004b23d0
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x50]
mov edx, dword [edx + 4]
add esi, 0x50
push eax
push 0
mov ecx, esi
call edx
lea eax, [esp + 0xfc]
push eax
mov eax, esi
call fcn.004b1c70
mov byte [edi], 1
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
xor esi, esi
call eax
cmp dword [esp + 0x38], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x50], esi
jle 0x4c1f46
mov dword [esp + 0x20], esi
jmp 0x4c1820
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x50]
mov ebx, dword [edx + eax*4]
mov ecx, dword [edi + 0x84]
mov edx, dword [esp + 0x20]
mov esi, dword [edx + ecx]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0
mov byte [esp + 0x130], 8
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x522d90
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c1890
mov edx, dword [ebx + 0xc]
cmp edx, 0xffffffff
ja 0x4c1f91
mov ecx, dword [ebx + 0x10]
mov edi, dword [eax]
push edx
push ecx
mov ecx, dword [edi + 0xc]
push eax
call ecx
mov edi, eax
test edi, edi
jne 0x4c200b
mov eax, dword [esp + 0x10]
xor edi, edi
mov byte [esp + 0x130], 4
cmp eax, edi
je 0x4c18a6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp byte [ebp + 0x2c], 0
je 0x4c1903
mov dword [esp + 0x10], edi
mov byte [esp + 0x130], 9
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x522dc0
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4c18ed
mov edx, dword [ebp + 0x30]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edi, eax
test edi, edi
jne 0x4c208a
mov eax, dword [esp + 0x10]
xor edi, edi
mov byte [esp + 0x130], 4
cmp eax, edi
je 0x4c1903
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], edi
mov byte [esp + 0x130], 0xa
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x522e30
push esi
call edx
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4c1a33
mov ecx, dword [ebp + 0x24]
cmp ecx, edi
je 0x4c2109
mov dword [esp + 0x18], edi
mov byte [esp + 0x130], 0xb
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x18]
push edx
push ecx
call eax
mov esi, eax
cmp esi, edi
jne 0x4c2183
xor eax, eax
mov dword [esp + 0xa0], vtable.CBuffer_unsigned_char_.0
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov ecx, dword [ebp + 0x28]
mov byte [esp + 0x130], 0xc
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x118]
mov byte [ecx], 1
call fcn.004b0380
mov byte [esp + 0x130], 0xd
mov ebx, dword [esp + 0x11c]
lea edi, [ebx + ebx]
lea esi, [esp + 0xa0]
call fcn.004b0fc0
mov esi, dword [esp + 0xa8]
test ebx, ebx
jle 0x4c19e4
mov edx, dword [esp + 0x118]
mov ecx, esi
sub edx, esi
lea esp, [esp]
movzx eax, word [edx + ecx]
mov byte [ecx], al
shr eax, 8
mov byte [ecx + 1], al
add ecx, 2
sub ebx, 1
jne 0x4c19d0
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push edi
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x118]
push ecx
mov edi, eax
call fcn.004eacff
add esp, 4
push esi
test edi, edi
jne 0x4c220d
mov dword [esp + 0xa4], vtable.CBuffer_unsigned_char_.0
call fcn.004eacff
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x130], 4
test eax, eax
je 0x4c1a47
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [ebx + 0x14]
mov ebx, dword [ebx + 0x18]
xor eax, eax
mov ecx, 4
add dword [esp + 0x20], ecx
mov edx, vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], edx
lea esi, [esp + 0x24]
mov byte [esp + 0x130], 0xf
call fcn.004bdd40
mov edi, ebx
lea esi, [esp + 0x3c]
call fcn.004bdd40
test ebx, ebx
jbe 0x4c1cc7
mov dword [esp + 0x10], ebx
mov ecx, 1
jmp 0x4c1ac0
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + 0x48]
mov eax, dword [esp + 0x98]
lea ebx, [edx + eax*8]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x44], eax
jne 0x4c1ca7
cmp eax, 0x40
jl 0x4c1c8c
mov ecx, eax
shr ecx, 2
jmp 0x4c1c96
mov byte [esp + 0x130], 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4c1b09
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x130], 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c1b21
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x134], 1
call fcn.004c1200
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x134], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4c1b59
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x134], 0xffffffff
call fcn.004b2c50
mov eax, ebx
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov byte [esp + 0x130], 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4c1ba0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0x134], 1
call fcn.004c1200
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x134], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4c1bd8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x134], 0xffffffff
call fcn.004b2c50
mov eax, 0x80004001
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov byte [esp + 0x130], 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c1c22
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x134], 1
call fcn.004c1200
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x134], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4c1c5a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x134], 0xffffffff
call fcn.004b2c50
mov eax, 0x80004001
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
cmp eax, 8
jl 0x4c1c96
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x3c]
call fcn.004bdd40
mov ecx, 1
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
add dword [esp + 0x98], ecx
mov dword [edx + eax*4], ebx
add dword [esp + 0x44], ecx
sub dword [esp + 0x10], ecx
jne 0x4c1ac0
cmp dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
jbe 0x4c1eb3
mov edi, dword [ebp + 0x18]
mov edx, dword [edi + 0x1c]
xor eax, eax
test edx, edx
jle 0x4c1d00
mov esi, dword [edi + 0x20]
mov ebx, dword [esp + 0x1c]
mov ecx, esi
nop
cmp dword [ecx], ebx
je 0x4c1dfe
inc eax
add ecx, 8
cmp eax, edx
jl 0x4c1cf0
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x30]
xor edi, edi
xor ebx, ebx
cmp ecx, edi
jle 0x4c1d25
mov eax, dword [eax + 0x34]
mov edx, dword [esp + 0x1c]
cmp dword [eax], edx
je 0x4c1e4e
inc ebx
add eax, 4
cmp ebx, ecx
jl 0x4c1d15
mov byte [esp + 0x130], 0xe
mov edx, dword [esp + 0x44]
push edx
mov esi, vtable.CBaseRecordVector.0
push edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], esi
call dword [0x52267c]
mov eax, dword [esp + 0x48]
push eax
call fcn.004eacff
mov byte [esp + 0x134], 4
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x2c], esi
call dword [0x52267c]
mov edx, dword [esp + 0x30]
push edx
call fcn.004eacff
add esp, 4
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov byte [esp + 0x134], 1
call fcn.004c1200
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x134], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x68]
cmp eax, edi
je 0x4c1dcc
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x134], 0xffffffff
call fcn.004b2c50
mov eax, 0x80004005
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
test eax, eax
jl 0x4c1d00
mov ecx, dword [esi + eax*8 + 4]
mov eax, dword [esp + 0x28]
mov edx, dword [edi + 0x48]
lea ebx, [edx + ecx*8]
cmp dword [esp + 0x2c], eax
jne 0x4c1e41
cmp eax, 0x40
mov ecx, 1
jl 0x4c1e2b
mov ecx, eax
shr ecx, 2
jmp 0x4c1e35
cmp eax, 8
jl 0x4c1e35
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x24]
call fcn.004bdd40
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [eax + ecx*4], ebx
jmp 0x4c1e98
cmp ebx, edi
jl 0x4c1d25
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x2c], ecx
jne 0x4c1e87
cmp ecx, 0x40
mov eax, 1
jl 0x4c1e71
mov eax, ecx
shr eax, 2
jmp 0x4c1e7b
cmp ecx, 8
jl 0x4c1e7b
mov eax, 8
lea edi, [ecx + eax]
lea esi, [esp + 0x24]
call fcn.004bdd40
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x30]
lea eax, [edx + ebx*8]
mov edx, dword [esp + 0x2c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x10]
inc dword [esp + 0x2c]
inc dword [esp + 0x1c]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jb 0x4c1cda
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
mov eax, dword [esp + 0x48]
mov edx, dword [ecx]
mov esi, dword [esp + 0x50]
mov edx, dword [edx + 8]
push eax
mov eax, dword [esp + 0x34]
push eax
push esi
call edx
mov byte [esp + 0x130], 0xe
mov eax, dword [esp + 0x44]
push eax
xor ebx, ebx
mov edi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], edi
call dword [0x52267c]
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004eacff
mov byte [esp + 0x134], 4
mov edx, dword [esp + 0x30]
add esp, 4
push edx
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x2c], edi
call dword [0x52267c]
mov eax, dword [esp + 0x30]
push eax
call fcn.004eacff
mov edi, dword [ebp + 8]
inc esi
add esp, 4
cmp esi, dword [esp + 0x38]
mov dword [esp + 0x50], esi
jl 0x4c1820
mov ebx, dword [esp + 0xb4]
mov edx, dword [esp + 0xf4]
mov edx, dword [edx]
xor eax, eax
test ebx, ebx
jbe 0x4c1f7a
mov esi, dword [esp + 0xb8]
add esi, 4
mov ecx, dword [esi]
cmp edx, ecx
jb 0x4c229f
inc eax
sub edx, ecx
add esi, 8
cmp eax, ebx
jb 0x4c1f66
push 0x52e934
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 1
call fcn.004f0bbb
mov byte [esp + 0x130], 4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x134], 1
call fcn.004c1200
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x134], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4c1fd9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x134], 0xffffffff
call fcn.004b2c50
mov eax, 0x80004001
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov byte [esp + 0x130], 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c2023
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0x134], 1
call fcn.004c1200
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x134], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4c205b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x134], 0xffffffff
call fcn.004b2c50
mov eax, edi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov byte [esp + 0x130], 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c20a2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x134], 1
call fcn.004c1200
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x134], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4c20da
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x134], 0xffffffff
call fcn.004b2c50
mov eax, edi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov byte [esp + 0x130], 4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0x134], 1
call fcn.004c1200
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x134], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x68]
cmp eax, edi
je 0x4c2151
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x134], 0xffffffff
call fcn.004b2c50
mov eax, 0x80004005
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x130], 4
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4c21a6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0x134], 1
call fcn.004c1200
lea edx, [esp + 0x6c]
mov byte [esp + 0x130], 0
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x68]
cmp eax, edi
je 0x4c21de
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x134], 0xffffffff
call fcn.004b2c50
mov eax, esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
call fcn.004eacff
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x130], 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c2238
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x134], 1
call fcn.004c1200
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x134], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4c2270
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x134], 0xffffffff
call fcn.004b2c50
mov eax, edi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
cmp byte [edi + 0x68], 0
je 0x4c22ab
mov edi, dword [edi + 0x6c]
mov dword [edi + 0x70], eax
cmp dword [esp + 0x38], 0
jne 0x4c2319
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x134], 1
call fcn.004c1200
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x134], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4c22ea
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x134], 0xffffffff
call fcn.004b2c50
xor eax, eax
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
xor ebx, ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], 4
mov dword [esp + 0x84], vtable.CRecordVector_struct_ISequentialInStream__.0
mov byte [esp + 0x130], 0x10
mov edi, dword [esp + 0x5c]
lea esi, [esp + 0x84]
call fcn.004bdd40
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jle 0x4c23d2
mov edx, dword [esp + 0x60]
mov eax, dword [edx + ebx*4]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x8c], eax
jne 0x4c23ad
cmp eax, 0x40
mov ecx, 1
jl 0x4c2394
mov ecx, eax
shr ecx, 2
jmp 0x4c239e
cmp eax, 8
jl 0x4c239e
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x84]
call fcn.004bdd40
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x14]
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x5c]
inc dword [esp + 0x8c]
inc ebx
cmp ebx, ecx
jl 0x4c2366
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x74]
push esi
push 1
xor edi, edi
push edi
lea esi, [esp + 0xa8]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edi
mov dword [esp + 0xb4], edx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
push eax
call edx
mov byte [esp + 0x130], 4
mov esi, eax
mov eax, dword [esp + 0x8c]
push eax
push edi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x8c], vtable.CBaseRecordVector.0
call dword [0x52267c]
mov ecx, dword [esp + 0x90]
push ecx
call fcn.004eacff
add esp, 4
lea edx, [esp + 0xac]
push edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov byte [esp + 0x134], 1
call fcn.004c1200
lea eax, [esp + 0x6c]
mov byte [esp + 0x130], 0
push eax
jmp 0x4c21c8