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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50bdbc
mov eax, dword fs:[0]
push eax
sub esp, 0x118
push ebx
push esi
push edi
mov eax, dword [0x53a1a4]
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.004ca660
test al, al
je 0x4c137d
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.004bcfc0
add esp, 4
mov byte [esp + 0x130], 1
cmp esi, ebx
je 0x4c0b04
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x4c0b14
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 0x4c0c2d
push 0x18
call fcn.004ea4e3
add esp, 4
test eax, eax
je 0x4c0b42
mov dword [eax + 4], 0
mov dword [eax], vtable.CLockedSequentialInStreamImp.0
mov edi, eax
jmp 0x4c0b44
xor edi, edi
mov dword [esp + 0x50], edi
test edi, edi
je 0x4c0b54
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.004ea4e3
add esp, 4
test eax, eax
je 0x4c0ba3
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], vtable.CLimitedSequentialInStream.0
mov dword [eax + 8], ecx
mov esi, eax
jmp 0x4c0ba5
xor esi, esi
mov dword [esp + 0x14], esi
test esi, esi
je 0x4c0bb5
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 0x4c0bd4
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.004b24e0
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 0x4c0b23
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.004c0630
mov edi, dword [ebp + 8]
add esp, 8
cmp byte [edi], 0
je 0x4c0d43
lea eax, [edi + 4]
push eax
lea ebx, [esp + 0xb0]
call fcn.004c0860
add esp, 4
test al, al
sete al
test al, al
je 0x4c0f82
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 0x4c0d6e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x74], ebx
cmp byte [edi + 0x68], 0
je 0x4c0dc4
push 0x88
call fcn.004ea4e3
add esp, 4
cmp eax, ebx
je 0x4c0d90
mov esi, eax
call fcn.004c1c30
mov esi, eax
jmp 0x4c0d92
xor esi, esi
mov dword [edi + 0x6c], esi
cmp esi, ebx
je 0x4c0da1
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [edi + 0x74]
cmp eax, ebx
je 0x4c0db0
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 0x4c0dbf
add eax, 4
jmp 0x4c0dc1
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 0x4c0e1d
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x134], 1
call fcn.004c0990
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 0x4c0e13
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x54]
push ecx
jmp 0x4c1973
cmp dword [esp + 0x38], ebx
mov dword [esp + 0x20], ebx
jle 0x4c0f4e
jmp 0x4c0e30
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.004ae4e0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4c1281
mov dword [esp + 0x1c], eax
mov byte [esp + 0x130], 7
mov ebx, dword [esp + 0x18]
mov eax, 1
cmp dword [esi + 0x14], eax
jne 0x4c0ec1
cmp dword [esi + 0x18], eax
jne 0x4c0ec1
cmp dword [esp + 0x10], 0
je 0x4c1318
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 0x4c0eed
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x6c]
mov edi, esi
call fcn.004b1d90
jmp 0x4c0eea
test ebx, ebx
je 0x4c139a
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 0x4c0eed
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x6c]
mov edi, ebx
call fcn.004b1dd0
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
call fcn.004b24e0
mov byte [esp + 0x130], 6
test esi, esi
je 0x4c0f0f
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [esp + 0x130], 5
test ebx, ebx
je 0x4c0f23
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 0x4c0f3b
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 0x4c0e30
lea esi, [edi + 4]
lea eax, [esp + 0xac]
call fcn.004b1b40
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.004cec50
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 0x4c16d6
mov dword [esp + 0x20], esi
jmp 0x4c0fb0
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 0x521ab8
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c1020
mov edx, dword [ebx + 0xc]
cmp edx, 0xffffffff
ja 0x4c1721
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 0x4c179b
mov eax, dword [esp + 0x10]
xor edi, edi
mov byte [esp + 0x130], 4
cmp eax, edi
je 0x4c1036
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp byte [ebp + 0x2c], 0
je 0x4c1093
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 0x521ae8
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4c107d
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 0x4c181a
mov eax, dword [esp + 0x10]
xor edi, edi
mov byte [esp + 0x130], 4
cmp eax, edi
je 0x4c1093
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 0x521b58
push esi
call edx
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4c11c3
mov ecx, dword [ebp + 0x24]
cmp ecx, edi
je 0x4c1899
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 0x4c1913
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.004afb90
mov byte [esp + 0x130], 0xd
mov ebx, dword [esp + 0x11c]
lea edi, [ebx + ebx]
lea esi, [esp + 0xa0]
call fcn.004b07d0
mov esi, dword [esp + 0xa8]
test ebx, ebx
jle 0x4c1174
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 0x4c1160
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.004ea5cf
add esp, 4
push esi
test edi, edi
jne 0x4c199d
mov dword [esp + 0xa4], vtable.CBuffer_unsigned_char_.0
call fcn.004ea5cf
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 0x4c11d7
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.004bd4b0
mov edi, ebx
lea esi, [esp + 0x3c]
call fcn.004bd4b0
test ebx, ebx
jbe 0x4c1457
mov dword [esp + 0x10], ebx
mov ecx, 1
jmp 0x4c1250
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 0x4c1437
cmp eax, 0x40
jl 0x4c141c
mov ecx, eax
shr ecx, 2
jmp 0x4c1426
mov byte [esp + 0x130], 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4c1299
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 0x4c12b1
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.004c0990
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 0x4c12e9
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.004b23c0
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 0x4c1330
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.004c0990
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 0x4c1368
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.004b23c0
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 0x4c13b2
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.004c0990
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 0x4c13ea
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.004b23c0
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 0x4c1426
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x3c]
call fcn.004bd4b0
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 0x4c1250
cmp dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
jbe 0x4c1643
mov edi, dword [ebp + 0x18]
mov edx, dword [edi + 0x1c]
xor eax, eax
test edx, edx
jle 0x4c1490
mov esi, dword [edi + 0x20]
mov ebx, dword [esp + 0x1c]
mov ecx, esi
nop
cmp dword [ecx], ebx
je 0x4c158e
inc eax
add ecx, 8
cmp eax, edx
jl 0x4c1480
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x30]
xor edi, edi
xor ebx, ebx
cmp ecx, edi
jle 0x4c14b5
mov eax, dword [eax + 0x34]
mov edx, dword [esp + 0x1c]
cmp dword [eax], edx
je 0x4c15de
inc ebx
add eax, 4
cmp ebx, ecx
jl 0x4c14a5
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 [0x5213a4]
mov eax, dword [esp + 0x48]
push eax
call fcn.004ea5cf
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 [0x5213a4]
mov edx, dword [esp + 0x30]
push edx
call fcn.004ea5cf
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.004c0990
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 0x4c155c
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.004b23c0
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 0x4c1490
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 0x4c15d1
cmp eax, 0x40
mov ecx, 1
jl 0x4c15bb
mov ecx, eax
shr ecx, 2
jmp 0x4c15c5
cmp eax, 8
jl 0x4c15c5
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x24]
call fcn.004bd4b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [eax + ecx*4], ebx
jmp 0x4c1628
cmp ebx, edi
jl 0x4c14b5
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x2c], ecx
jne 0x4c1617
cmp ecx, 0x40
mov eax, 1
jl 0x4c1601
mov eax, ecx
shr eax, 2
jmp 0x4c160b
cmp ecx, 8
jl 0x4c160b
mov eax, 8
lea edi, [ecx + eax]
lea esi, [esp + 0x24]
call fcn.004bd4b0
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 0x4c146a
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 [0x5213a4]
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004ea5cf
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 [0x5213a4]
mov eax, dword [esp + 0x30]
push eax
call fcn.004ea5cf
mov edi, dword [ebp + 8]
inc esi
add esp, 4
cmp esi, dword [esp + 0x38]
mov dword [esp + 0x50], esi
jl 0x4c0fb0
mov ebx, dword [esp + 0xb4]
mov edx, dword [esp + 0xf4]
mov edx, dword [edx]
xor eax, eax
test ebx, ebx
jbe 0x4c170a
mov esi, dword [esp + 0xb8]
add esi, 4
mov ecx, dword [esi]
cmp edx, ecx
jb 0x4c1a2f
inc eax
sub edx, ecx
add esi, 8
cmp eax, ebx
jb 0x4c16f6
push 0x52d644
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 1
call fcn.004f048b
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.004c0990
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 0x4c1769
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.004b23c0
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 0x4c17b3
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.004c0990
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 0x4c17eb
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.004b23c0
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 0x4c1832
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.004c0990
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 0x4c186a
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.004b23c0
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.004c0990
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 0x4c18e1
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.004b23c0
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 0x4c1936
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.004c0990
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 0x4c196e
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.004b23c0
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.004ea5cf
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 0x4c19c8
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.004c0990
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 0x4c1a00
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.004b23c0
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 0x4c1a3b
mov edi, dword [edi + 0x6c]
mov dword [edi + 0x70], eax
cmp dword [esp + 0x38], 0
jne 0x4c1aa9
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x134], 1
call fcn.004c0990
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 0x4c1a7a
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.004b23c0
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.004bd4b0
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jle 0x4c1b62
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 0x4c1b3d
cmp eax, 0x40
mov ecx, 1
jl 0x4c1b24
mov ecx, eax
shr ecx, 2
jmp 0x4c1b2e
cmp eax, 8
jl 0x4c1b2e
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x84]
call fcn.004bd4b0
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 0x4c1af6
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 [0x5213a4]
mov ecx, dword [esp + 0x90]
push ecx
call fcn.004ea5cf
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.004c0990
lea eax, [esp + 0x6c]
mov byte [esp + 0x130], 0
push eax
jmp 0x4c1958