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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593b72
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0x18]
mov ecx, edi
call fcn.00416860
test al, al
jne 0x40c0b5
mov eax, 0x80004001
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov byte [eax], 0
mov dword [ebp - 0x44], 4
mov dword [ebp - 0x54], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x118], 0
call fcn.0040b780
add esp, 4
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 1
test esi, esi
je 0x40c10f
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x40c11f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor ebx, ebx
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x14], ebx
cmp dword [edi + 0x30], ebx
jle 0x40c290
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp + 8], eax
lea esp, [esp]
push 0x18
call fcn.0042fbc0
mov edi, eax
add esp, 4
mov dword [ebp + 0x10], edi
test edi, edi
je 0x40c162
mov dword [edi + 4], 0
mov dword [edi], vtable.CLockedSequentialInStreamImp.0
jmp 0x40c164
xor edi, edi
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x40c17f
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, method.CLimitedSequentialInStream.virtual_4
jne 0x40c17c
inc dword [edi + 4]
jmp 0x40c17f
push edi
call eax
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x118]
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], esi
add eax, dword [ecx + ebx*8]
push 0x28
adc esi, dword [ecx + ebx*8 + 4]
mov byte [ebp - 4], 2
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], esi
call fcn.0042fbc0
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
je 0x40c1ce
mov dword [esi + 4], 0
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], 0
jmp 0x40c1d0
xor esi, esi
mov dword [ebp - 0x28], esi
test esi, esi
je 0x40c1eb
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp eax, method.CLimitedSequentialInStream.virtual_4
jne 0x40c1e8
inc dword [esi + 4]
jmp 0x40c1eb
push esi
call eax
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 3
call dword [eax + 4]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x40c202
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp + 0x14]
mov dword [esi + 8], edi
push 4
mov eax, dword [ecx + ebx*8]
mov ecx, dword [ecx + ebx*8 + 4]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 0
call fcn.0042fbc0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 4
test ebx, ebx
je 0x40c248
mov dword [ebx], esi
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
jmp 0x40c24a
xor ebx, ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.0042fb80
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x4c]
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 5
call dword [eax + 8]
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 6
call dword [eax + 8]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x18]
inc ebx
mov esi, dword [ebp + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], ebx
cmp ebx, dword [eax + 0x30]
jl 0x40c140
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov eax, dword [ebx + 8]
mov dword [ebp + 0x10], eax
mov dword [ebp - 0xdc], 8
mov dword [ebp - 0xec], vtable.CRecordVector_struct_NCoderMixer::CCoderStreamsInfo_.0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 8
mov dword [ebp - 0xd8], vtable.CRecordVector_struct_NCoderMixer::CBindPair_.0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 4
mov dword [ebp - 0xc4], vtable.CRecordVector_unsigned_int_.0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 4
mov dword [ebp - 0xb0], vtable.CRecordVector_unsigned_int_.0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 8
mov dword [ebp - 0x9c], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 7
push eax
push ebx
call fcn.0040bef0
mov esi, dword [ebp - 0x10]
add esp, 8
cmp byte [esi], 0
je 0x40c49d
mov ebx, dword [ebp - 0xe4]
cmp ebx, dword [esi + 0xc]
jne 0x40c49a
xor edx, edx
test ebx, ebx
jle 0x40c404
mov edi, dword [esi + 0x10]
mov ecx, dword [ebp - 0xe0]
lea esi, [edi + 4]
sub edi, ecx
jmp 0x40c3e0
mov eax, dword [ecx]
cmp eax, dword [edi + ecx]
jne 0x40c497
mov eax, dword [ecx + 4]
cmp eax, dword [esi]
jne 0x40c497
inc edx
add esi, 8
add ecx, 8
cmp edx, ebx
jl 0x40c3e0
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xd0]
cmp ebx, dword [esi + 0x20]
jne 0x40c49a
xor edx, edx
test ebx, ebx
jle 0x40c443
mov edi, dword [esi + 0x24]
mov ecx, dword [ebp - 0xcc]
lea esi, [edi + 4]
sub edi, ecx
mov eax, dword [ecx]
cmp eax, dword [edi + ecx]
jne 0x40c497
mov eax, dword [ecx + 4]
cmp eax, dword [esi]
jne 0x40c497
inc edx
add esi, 8
add ecx, 8
cmp edx, ebx
jl 0x40c427
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x94]
xor edx, edx
test edi, edi
jle 0x40c47b
mov ecx, dword [esi + 0x60]
mov esi, dword [ebp - 0x90]
sub esi, ecx
lea ebx, [ebx]
mov eax, dword [esi + ecx]
cmp eax, dword [ecx]
jne 0x40c497
mov eax, dword [esi + ecx + 4]
cmp eax, dword [ecx + 4]
jne 0x40c497
inc edx
add ecx, 8
cmp edx, edi
jl 0x40c460
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xbc]
cmp eax, dword [esi + 0x34]
jne 0x40c49a
mov eax, dword [ebp - 0xa8]
cmp eax, dword [esi + 0x48]
je 0x40c936
jmp 0x40c49a
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp + 0x18]
lea ecx, [esi + 0x78]
call fcn.0042f990
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x40c4b9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x74], 0
cmp byte [esi + 0x68], 0
je 0x40c605
push 0x88
call fcn.0042fbc0
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x40c5d2
mov dword [esi + 4], vtable.NCoderMixer::CCoderMixer2.0
mov dword [esi + 8], 0
mov dword [esi], vtable.NCoderMixer::CCoderMixer2MT.0
mov dword [esi + 4], vtable.NCoderMixer::CCoderMixer2MT.1.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 8
mov dword [esi + 0xc], vtable.CRecordVector_struct_NCoderMixer::CCoderStreamsInfo_.0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 8
mov dword [esi + 0x20], vtable.CRecordVector_struct_NCoderMixer::CBindPair_.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 4
mov dword [esi + 0x34], vtable.CRecordVector_unsigned_int_.0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 4
mov dword [esi + 0x48], vtable.CRecordVector_unsigned_int_.0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 4
mov dword [esi + 0x5c], vtable.CObjectVector_class_CStreamBinder_.0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 4
mov dword [esi + 0x74], vtable.CObjectVector_struct_NCoderMixer::CCoder2_.0
jmp 0x40c5d4
xor esi, esi
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x6c], esi
test esi, esi
je 0x40c5e4
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x40c5f1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x74], esi
mov ecx, dword [edi + 0x6c]
lea eax, [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [edi + 0x70], ecx
jmp 0x40c608
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
lea edx, [ebp - 0xec]
push edx
call dword [eax]
mov edi, eax
test edi, edi
jne 0x40ce8a
xor ecx, ecx
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 0x10], ecx
jle 0x40c766
jmp 0x40c630
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + ecx*4]
mov dword [ebp + 8], 0
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp + 8]
push eax
push dword [ebx + 4]
push dword [ebx]
call fcn.0042a7c0
mov esi, dword [ebp + 8]
mov edi, eax
mov eax, dword [ebp - 0x1c]
add esp, 0x14
test edi, edi
jne 0x40cb16
mov dword [ebp - 0x14], 0
cmp dword [ebx + 0x14], 1
mov byte [ebp - 4], 0x10
jne 0x40c6ad
cmp dword [ebx + 0x18], 1
jne 0x40c6ad
test esi, esi
je 0x40cb11
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
cmp byte [ebx + 0x68], 0
je 0x40c6d4
push dword [ebp + 8]
mov ecx, dword [ebx + 0x6c]
call fcn.00422a70
jmp 0x40c6d4
test eax, eax
je 0x40cb11
mov ecx, dword [eax]
mov esi, eax
push eax
call dword [ecx + 4]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
cmp byte [ebx + 0x68], 0
je 0x40c6d4
push dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x6c]
call fcn.00422a30
push 4
call fcn.0042fbc0
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 0x1b
test edi, edi
je 0x40c6f9
mov dword [edi], esi
test esi, esi
je 0x40c6fb
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x40c6fb
xor edi, edi
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 4], 0x10
lea ecx, [ebx + 0x78]
call fcn.0042fb80
mov ecx, dword [ebx + 0x80]
mov eax, dword [ebx + 0x84]
mov dword [eax + ecx*4], edi
inc dword [ebx + 0x80]
mov byte [ebp - 4], 0x1c
test esi, esi
je 0x40c72d
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x40c73e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x40c74f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp + 0x18]
inc ecx
mov byte [ebp - 4], 7
mov dword [ebp - 0x20], ecx
cmp ecx, dword [ebp + 0x10]
jl 0x40c630
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov ecx, ebx
mov dword [ebp + 8], ebx
call fcn.0042f990
mov esi, dword [ebp - 0xe4]
mov ecx, ebx
mov eax, dword [ebx + 8]
add eax, esi
mov dword [ebp - 0x18], esi
push eax
call fcn.0042fab0
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test esi, esi
jle 0x40c7d0
jmp 0x40c7a0
mov eax, dword [ebp - 0xe0]
mov esi, dword [eax + ecx*8]
mov edi, dword [eax + ecx*8 + 4]
mov ecx, ebx
call fcn.0042fb80
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [ecx + eax*8], esi
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [ebp - 0x14]
inc dword [ebx + 8]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x18]
jl 0x40c7a0
lea esi, [ebx + 0x14]
mov ecx, esi
call fcn.0042f990
mov edi, dword [ebp - 0xd0]
mov ecx, esi
mov eax, dword [esi + 8]
add eax, edi
mov dword [ebp - 0x20], edi
push eax
call fcn.0042fab0
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test edi, edi
jle 0x40c833
mov ebx, esi
jmp 0x40c800
mov eax, dword [ebp - 0xcc]
mov esi, dword [eax + ecx*8]
mov edi, dword [eax + ecx*8 + 4]
mov ecx, ebx
call fcn.0042fb80
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [ecx + eax*8], esi
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [ebp - 0x14]
inc dword [ebx + 8]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x20]
jl 0x40c800
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x28]
mov ecx, edi
call fcn.0042f990
mov esi, dword [ebp - 0xbc]
mov ecx, edi
mov eax, dword [edi + 8]
add eax, esi
mov dword [ebp - 0x18], esi
push eax
call fcn.0042fab0
test esi, esi
jle 0x40c885
xor ebx, ebx
lea esp, [esp]
mov eax, dword [ebp - 0xb8]
mov ecx, edi
mov esi, dword [eax + ebx*4]
call fcn.0042fb80
mov ecx, dword [edi + 8]
inc ebx
mov eax, dword [edi + 0xc]
mov dword [eax + ecx*4], esi
inc dword [edi + 8]
cmp ebx, dword [ebp - 0x18]
jl 0x40c860
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x3c]
mov ecx, edi
call fcn.0042f990
mov esi, dword [ebp - 0xa8]
mov ecx, edi
mov eax, dword [edi + 8]
add eax, esi
mov dword [ebp - 0x18], esi
push eax
call fcn.0042fab0
test esi, esi
jle 0x40c8d5
xor ebx, ebx
jmp 0x40c8b0
mov eax, dword [ebp - 0xa4]
mov ecx, edi
mov esi, dword [eax + ebx*4]
call fcn.0042fb80
mov ecx, dword [edi + 8]
inc ebx
mov eax, dword [edi + 0xc]
mov dword [eax + ecx*4], esi
inc dword [edi + 8]
cmp ebx, dword [ebp - 0x18]
jl 0x40c8b0
mov ebx, dword [ebp + 8]
add ebx, 0x50
mov ecx, ebx
call fcn.0042f990
mov esi, dword [ebp - 0x94]
mov ecx, ebx
mov eax, dword [ebx + 8]
add eax, esi
mov dword [ebp - 0x18], esi
push eax
call fcn.0042fab0
xor ecx, ecx
mov dword [ebp + 8], ecx
test esi, esi
jle 0x40c930
mov edi, edi
mov eax, dword [ebp - 0x90]
mov esi, dword [eax + ecx*8]
mov edi, dword [eax + ecx*8 + 4]
mov ecx, ebx
call fcn.0042fb80
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [ecx + eax*8], esi
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [ebp + 8]
inc dword [ebx + 8]
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, dword [ebp - 0x18]
jl 0x40c900
mov esi, dword [ebp - 0x10]
mov byte [esi], 1
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
call dword [eax + 4]
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], edi
cmp dword [ebp + 0x10], ebx
jle 0x40cd8e
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea esp, [esp]
mov eax, dword [ebp + 0x18]
mov dword [ebp + 8], 0
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x2c], edi
mov esi, dword [ecx + eax]
mov eax, dword [esi]
lea edx, [ebp + 8]
push edx
push 0x5b139c
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x1f
call dword [ecx]
mov eax, dword [ebp + 8]
test eax, eax
je 0x40c9b0
push dword [edi + 0xc]
mov ecx, dword [eax]
push dword [edi + 0x10]
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jne 0x40cd3c
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x26
test eax, eax
je 0x40c9be
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp + 0x2c], 0
je 0x40ca0a
mov dword [ebp + 8], 0
mov eax, dword [esi]
lea edx, [ebp + 8]
push edx
push 0x5b13cc
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x27
call dword [ecx]
mov eax, dword [ebp + 8]
test eax, eax
je 0x40c9fc
push dword [ebp + 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jne 0x40cd42
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x40ca0a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 8], 0
mov eax, dword [esi]
lea edx, [ebp + 8]
push edx
push 0x5b143c
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x2c
call dword [ecx]
mov eax, dword [ebp + 8]
test eax, eax
je 0x40cba4
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x40cd72
mov dword [ebp - 0x1c], 0
mov eax, dword [ecx]
lea edx, [ebp - 0x1c]
push edx
push ecx
mov byte [ebp - 4], 0x30
call dword [eax + 0xc]
mov edi, eax
test edi, edi
jne 0x40cd64
mov dword [ebp - 0xfc], vtable.CBuffer_unsigned_char_.0
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x28]
xor edx, edx
mov edi, dword [ebp - 0x1c]
xor esi, esi
mov byte [ebp - 4], 0x34
mov dword [ebp - 0x74], edx
mov byte [eax], 1
mov dword [ebp - 0x6c], edx
cmp word [edi], dx
je 0x40ca97
nop
inc esi
cmp word [edi + esi*2], dx
jne 0x40ca90
lea ebx, [esi + 1]
test ebx, ebx
je 0x40cac6
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053d0bd
mov edx, eax
mov dword [ebp - 0x6c], ebx
add esp, 4
mov dword [ebp - 0x74], edx
xor eax, eax
mov word [edx], ax
mov ecx, edx
sub edi, edx
lea ebx, [ebx]
movzx eax, word [edi + ecx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
test ax, ax
jne 0x40cad0
mov dword [ebp - 0x70], esi
lea edi, [esi + esi]
mov byte [ebp - 4], 0x35
test edi, edi
je 0x40cb3e
push edi
call fcn.0053d0bd
push 0
mov ebx, eax
call fcn.0053d0c6
mov edx, dword [ebp - 0x74]
add esp, 8
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xf8], edi
jmp 0x40cb41
mov edi, 0x80004001
mov byte [ebp - 4], 0x17
test eax, eax
je 0x40cb27
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 0x18
test esi, esi
je 0x40ce8a
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x40ce8a
mov ebx, dword [ebp - 0x28]
test esi, esi
jle 0x40cb65
mov ecx, ebx
sub edx, ebx
lea esp, [esp]
movzx eax, word [edx + ecx]
lea ecx, [ecx + 2]
mov byte [ecx - 2], al
shr eax, 8
mov byte [ecx - 1], al
sub esi, 1
jne 0x40cb50
mov eax, dword [ebp + 8]
push edi
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push dword [ebp - 0x74]
mov edi, eax
call fcn.0053d0c6
push ebx
test edi, edi
jne 0x40cd5c
mov dword [ebp - 0xfc], vtable.CBuffer_unsigned_char_.0
call fcn.0053d0c6
add esp, 8
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x39
test eax, eax
je 0x40cbb2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp - 0x2c]
add dword [ebp - 0x14], 4
mov eax, dword [edi + 0x14]
mov edi, dword [edi + 0x18]
mov dword [ebp + 8], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x40], vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 4
mov dword [ebp - 0x68], vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x3b
call fcn.0042fab0
push edi
lea ecx, [ebp - 0x68]
call fcn.0042fab0
test edi, edi
je 0x40cc4d
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebp - 0x24]
lea esi, [eax + ecx*8]
lea ecx, [ebp - 0x68]
call fcn.0042fb80
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
inc dword [ebp - 0x24]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x60]
sub edi, 1
jne 0x40cc25
mov ebx, dword [ebp - 0x20]
xor edi, edi
cmp dword [ebp + 8], edi
jbe 0x40cd02
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov edx, dword [eax + 0x1c]
test edx, edx
jle 0x40cc7f
mov esi, dword [eax + 0x20]
mov eax, esi
lea esp, [esp]
cmp dword [eax], ebx
je 0x40ccb6
inc ecx
add eax, 8
cmp ecx, edx
jl 0x40cc70
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x30]
xor esi, esi
test ecx, ecx
jle 0x40cc9c
mov eax, dword [eax + 0x34]
jmp 0x40cc90
cmp dword [eax], ebx
je 0x40ccd6
inc esi
add eax, 4
cmp esi, ecx
jl 0x40cc90
lea ecx, [ebp - 0x68]
call fcn.0042f920
lea ecx, [ebp - 0x40]
call fcn.0042f920
mov edi, 0x80004005
jmp 0x40ce8a
mov eax, dword [ebp + 0x18]
mov ecx, dword [esi + ecx*8 + 4]
mov eax, dword [eax + 0x48]
lea esi, [eax + ecx*8]
lea ecx, [ebp - 0x40]
call fcn.0042fb80
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [eax + ecx*4], esi
jmp 0x40ccf1
test esi, esi
js 0x40cc9c
lea ecx, [ebp - 0x40]
call fcn.0042fb80
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x38]
lea edx, [eax + esi*8]
mov eax, dword [ebp - 0x34]
mov dword [eax + ecx*4], edx
inc dword [ebp - 0x38]
inc edi
inc ebx
mov dword [ebp - 0x20], ebx
cmp edi, dword [ebp + 8]
jb 0x40cc58
mov esi, dword [ebp - 0x10]
push dword [ebp - 0x5c]
mov edi, dword [ebp - 0x18]
push dword [ebp - 0x34]
mov ecx, dword [esi + 0x70]
push edi
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x68]
call fcn.0042f920
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.0042f920
inc edi
mov dword [ebp - 0x18], edi
cmp edi, dword [ebp + 0x10]
jge 0x40cd8e
mov ecx, dword [ebp - 0x14]
jmp 0x40c960
mov byte [ebp - 4], 0x23
jmp 0x40cd46
mov byte [ebp - 4], 0x28
mov eax, dword [ebp + 8]
test eax, eax
je 0x40ce8a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40ce8a
call fcn.0053d0c6
add esp, 8
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 8]
jmp 0x40cd77
mov edi, 0x80004005
mov byte [ebp - 4], 0x36
test eax, eax
je 0x40ce8a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40ce8a
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
mov edi, dword [ebp - 0xe4]
mov edx, dword [eax]
test edi, edi
je 0x40cf16
mov eax, dword [ebp - 0xe0]
add eax, 4
nop
mov esi, dword [eax]
cmp edx, esi
jb 0x40cdc6
inc ecx
sub edx, esi
add eax, 8
cmp ecx, edi
jae 0x40cf16
jmp 0x40cdb0
mov ebx, dword [ebp - 0x10]
cmp byte [ebx + 0x68], 0
je 0x40cdd5
mov eax, dword [ebx + 0x6c]
mov dword [eax + 0x70], ecx
cmp dword [ebp + 0x10], 0
jne 0x40cde2
xor edi, edi
jmp 0x40ce8a
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 4
mov dword [ebp - 0x88], vtable.CRecordVector_struct_ISequentialInStream__.0
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x40
call fcn.0042fab0
mov edx, dword [ebp - 0x4c]
xor edi, edi
test edx, edx
jle 0x40ce57
jmp 0x40ce30
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x88]
mov eax, dword [eax + edi*4]
mov esi, dword [eax]
call fcn.0042fb80
mov ecx, dword [ebp - 0x80]
inc edi
mov eax, dword [ebp - 0x7c]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x80]
mov edx, dword [ebp - 0x4c]
cmp edi, edx
jl 0x40ce30
push dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea esi, [ebp - 0xf0]
push 1
push 0
push esi
mov dword [ebp - 0xf0], eax
mov eax, dword [ebx + 0x74]
push edx
push 0
push dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x88]
mov edi, eax
call fcn.0042f920
lea ecx, [ebp - 0x9c]
call fcn.0042f920
lea ecx, [ebp - 0xb0]
call fcn.0042f920
lea ecx, [ebp - 0xc4]
call fcn.0042f920
lea ecx, [ebp - 0xd8]
call fcn.0042f920
lea ecx, [ebp - 0xec]
call fcn.0042f920
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [ebp - 0x118]
mov byte [ebp - 4], 0x41
test ecx, ecx
je 0x40cee2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0x42
mov dword [ebp - 0x54], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
call fcn.0042f990
lea ecx, [ebp - 0x54]
call fcn.0042f920
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
push 0x5ff84c
lea eax, [ebp + 0x2c]
mov dword [ebp + 0x2c], 1
push eax
call fcn.00541d4e
int3