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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4268b6
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x431024]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x18]
mov esi, ecx
mov ecx, ebx
call fcn.00405960
test al, al
je 0x401d0d
mov eax, dword [ebp + 0x28]
xor edi, edi
mov byte [eax], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 4
mov dword [esp + 0x28], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x13c], edi
call fcn.00402770
mov byte [esp + 0x138], 1
cmp esi, edi
je 0x4015bf
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x4015cf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x30]
cmp eax, edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x1c], edi
jle 0x4016f6
mov eax, 0x18
call fcn.0040c480
xor edi, edi
cmp eax, edi
je 0x4015ff
mov dword [eax + 4], edi
mov dword [eax], vtable.CLockedSequentialInStreamImp.0
mov ebx, eax
jmp 0x401601
xor ebx, ebx
mov dword [esp + 0x48], ebx
cmp ebx, edi
je 0x401611
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov byte [esp + 0x138], 2
lea edx, [esp + 0x4c]
mov dword [ebx + 8], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x10], edx
mov esi, dword [ecx + eax*8]
mov ecx, dword [ecx + eax*8 + 4]
add edx, esi
adc dword [ebp + 0x10], ecx
mov eax, 0x28
mov dword [ebp + 0xc], edx
call fcn.0040c480
cmp eax, edi
je 0x401660
mov dword [eax + 4], edi
mov dword [eax], vtable.CLimitedSequentialInStream.0
mov dword [eax + 8], edi
mov esi, eax
jmp 0x401662
xor esi, esi
mov dword [esp + 0x3c], esi
cmp esi, edi
je 0x401672
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x138], 3
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
mov eax, dword [esi + 8]
cmp eax, edi
je 0x401691
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ebx
mov eax, dword [edx + ecx*8]
mov ecx, dword [edx + ecx*8 + 4]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
lea eax, [esp + 0x3c]
push eax
lea edi, [esp + 0x2c]
mov dword [esi + 0x14], ecx
call fcn.00402d10
mov byte [esp + 0x138], 2
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov byte [esp + 0x138], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 0x18]
inc eax
cmp eax, dword [edx + 0x30]
mov dword [esp + 0x1c], eax
jl 0x4015e2
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 8]
xor edi, edi
mov dword [esp + 0x1c], ecx
mov ecx, 8
mov edx, 4
mov esi, vtable.CRecordVector_unsigned_int_.0
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x7c], vtable.CRecordVector_struct_NCoderMixer::CCoderStreamsInfo_.0
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x90], vtable.CRecordVector_struct_NCoderMixer::CBindPair_.0
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], edx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], edx
mov dword [esp + 0xb8], esi
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xcc], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
push eax
lea eax, [esp + 0x80]
mov byte [esp + 0x13c], dl
call fcn.00401180
mov ebx, dword [ebp + 8]
cmp byte [ebx], 0
je 0x401803
lea edx, [ebx + 4]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.00401340
test al, al
sete al
test al, al
je 0x401a80
lea ecx, [ebx + 0x78]
call fcn.0040c2c0
mov eax, dword [ebx + 0x74]
cmp eax, edi
je 0x40181d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebx + 0x74], edi
cmp byte [ebx + 0x68], 0
je 0x40186e
mov eax, 0x88
call fcn.0040c480
cmp eax, edi
je 0x40183a
call fcn.004027e0
mov esi, eax
jmp 0x40183c
xor esi, esi
mov dword [ebx + 0x6c], esi
cmp esi, edi
je 0x40184b
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [ebx + 0x74]
cmp eax, edi
je 0x40185a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebx + 0x74], esi
mov eax, dword [ebx + 0x6c]
cmp eax, edi
je 0x401869
add eax, 4
jmp 0x40186b
xor eax, eax
mov dword [ebx + 0x70], eax
mov ecx, dword [ebx + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x7c]
push eax
call edx
mov esi, eax
cmp esi, edi
je 0x4018e6
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x13c], 1
call fcn.004014d0
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x4018b7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x13c], 0xffffffff
call fcn.00402960
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 0x24
cmp dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
jle 0x401a06
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 + 0x14], eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x13c], 6
mov ecx, dword [esi + 4]
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
push ecx
push edx
call fcn.0040e000
mov edi, eax
test edi, edi
jne 0x401be8
mov dword [esp + 0x24], eax
mov byte [esp + 0x138], 9
mov edi, dword [esp + 0x14]
mov eax, 1
cmp dword [esi + 0x14], eax
jne 0x401978
cmp dword [esi + 0x18], eax
jne 0x401978
test edi, edi
je 0x401cab
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
cmp byte [ebx + 0x68], 0
mov esi, edi
mov dword [esp + 0x24], esi
je 0x4019a0
mov eax, dword [ebx + 0x6c]
call fcn.004091b0
jmp 0x4019a0
mov esi, dword [esp + 0x18]
test esi, esi
je 0x401d2a
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
cmp byte [ebx + 0x68], 0
mov dword [esp + 0x24], esi
je 0x4019a0
mov eax, dword [ebx + 0x6c]
mov edi, esi
call fcn.004091f0
lea ecx, [esp + 0x24]
push ecx
lea edi, [ebx + 0x78]
call fcn.00402d10
mov byte [esp + 0x138], 6
test esi, esi
je 0x4019c1
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4019d9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4019f1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
jl 0x4018f4
xor edi, edi
lea esi, [ebx + 4]
mov ecx, esi
call fcn.0040c2c0
lea ecx, [esp + 0x7c]
push ecx
mov eax, esi
call fcn.00403010
lea ecx, [esi + 0x14]
call fcn.0040c2c0
lea edx, [esp + 0x90]
push edx
lea eax, [esi + 0x14]
call fcn.00403010
lea ecx, [esi + 0x28]
call fcn.0040c2c0
lea eax, [esp + 0xa4]
push eax
lea eax, [esi + 0x28]
call fcn.00409c00
lea ecx, [esi + 0x3c]
call fcn.0040c2c0
lea ecx, [esp + 0xb8]
push ecx
lea eax, [esi + 0x3c]
call fcn.00409c00
add esi, 0x50
mov ecx, esi
call fcn.0040c2c0
lea edx, [esp + 0xcc]
push edx
mov eax, esi
call fcn.00403010
mov byte [ebx], 1
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
cmp dword [esp + 0x1c], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], edi
jle 0x4024ca
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebx + 0x84]
mov edx, dword [esp + 0x20]
mov esi, dword [edx + ecx]
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], edi
mov byte [esp + 0x138], 0xa
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x42a854
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x401b14
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0xc]
cmp edx, 0xffffffff
ja 0x4020e4
mov ecx, dword [ecx + 0x10]
mov ebx, dword [eax]
push edx
push ecx
mov ecx, dword [ebx + 0xc]
push eax
call ecx
mov ebx, eax
cmp ebx, edi
jne 0x4021c5
mov eax, dword [esp + 0x14]
mov byte [esp + 0x138], 4
cmp eax, edi
je 0x401b28
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x14], edi
mov byte [esp + 0x138], 0x12
mov esi, dword [esi]
mov ecx, dword [esi]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push 0x42a8d4
push esi
call eax
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x401e41
mov ecx, dword [ebp + 0x24]
cmp ecx, edi
je 0x402270
mov dword [esp + 0x18], edi
lea eax, [esp + 0x18]
mov byte [esp + 0x138], 0x18
mov edx, dword [ecx]
push eax
push ecx
mov ecx, dword [edx + 0xc]
call ecx
mov esi, eax
cmp esi, edi
jne 0x402351
xor esi, esi
mov dword [esp + method.CBuffer_unsigned_char_.virtual_0], vtable.CBuffer_unsigned_char_.0
mov dword [esp + 0x124], edi
mov dword [esp + 0x128], esi
mov edx, dword [ebp + 0x28]
mov byte [esp + 0x138], 0x1b
mov eax, dword [esp + 0x18]
push eax
lea eax, [esp + 0x114]
mov byte [edx], 1
call fcn.00402c50
mov byte [esp + 0x138], 0x1c
mov ebx, dword [esp + 0x114]
add ebx, ebx
cmp ebx, edi
je 0x401dc2
jbe 0x401da9
mov eax, ebx
call fcn.0040c480
mov esi, eax
jmp 0x401dab
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x401c00
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401c18
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x138], 7
call fcn.0040c290
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x13c], 1
call fcn.00401100
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x401c61
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x28], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], 8
call fcn.0040c2c0
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], 0xffffffff
call fcn.0040c290
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 0x24
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x401cc3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x13c], 1
call fcn.004014d0
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x401cf8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x13c], 0xffffffff
call fcn.00402960
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 0x24
mov byte [esp + 0x138], 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401d42
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x13c], 1
call fcn.004014d0
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x401d77
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.00402960
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 0x24
xor esi, esi
push edi
call fcn.0040c4b0
add esp, 4
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], ebx
mov eax, dword [esp + 0x114]
cmp eax, edi
jle 0x401df6
mov edx, dword [esp + 0x110]
mov ecx, esi
sub edx, esi
mov dword [esp + 0x44], eax
lea esp, [esp]
movzx eax, word [edx + ecx]
mov byte [ecx], al
shr eax, 8
mov byte [ecx + 1], al
add ecx, 2
sub dword [esp + 0x44], 1
jne 0x401de0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push esi
push eax
call edx
mov ebx, eax
cmp ebx, edi
jne 0x4023f2
mov eax, dword [esp + 0x110]
push eax
call fcn.0040c4b0
add esp, 4
push esi
mov dword [esp + method.CBuffer_unsigned_char_.virtual_0], vtable.CBuffer_unsigned_char_.0
call fcn.0040c4b0
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x138], 4
cmp eax, edi
je 0x401e55
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x40]
mov edi, dword [eax + 0x14]
mov ebx, dword [eax + 0x18]
xor eax, eax
mov edx, 4
add dword [esp + 0x20], edx
mov ecx, vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov dword [esp + 0x44], edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], edx
mov dword [esp + 0xe8], ecx
lea esi, [esp + 0x68]
mov byte [esp + 0x138], 0x23
call fcn.0040c340
mov edi, ebx
lea esi, [esp + 0xe8]
call fcn.0040c340
test ebx, ebx
jbe 0x401f08
mov edi, dword [esp + 0x48]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x48]
lea eax, [esp + 0xe8]
lea esi, [edx + edi*8]
call fcn.0040c300
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov dword [ecx + eax*4], esi
inc dword [esp + 0xf0]
inc edi
sub ebx, 1
jne 0x401ed1
mov dword [esp + 0x48], edi
cmp dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
jbe 0x402087
mov ebx, dword [esp + 0x3c]
mov edi, dword [ebp + 0x18]
mov edx, dword [edi + 0x1c]
xor eax, eax
test edx, edx
jle 0x401f40
mov esi, dword [edi + 0x20]
mov ecx, esi
cmp dword [ecx], ebx
je 0x402021
inc eax
add ecx, 8
cmp eax, edx
jl 0x401f30
mov ecx, dword [edi + 0x30]
xor esi, esi
test ecx, ecx
jle 0x401f60
mov eax, dword [edi + 0x34]
lea esp, [esp]
cmp dword [eax], ebx
je 0x402049
inc esi
add eax, 4
cmp esi, ecx
jl 0x401f50
lea ecx, [esp + 0xe8]
mov byte [esp + 0x138], 0x22
call fcn.0040c290
lea ecx, [esp + 0x68]
mov byte [esp + 0x138], 4
call fcn.0040c290
lea ecx, [esp + 0xcc]
mov byte [esp + 0x138], 0x24
call fcn.0040c290
lea ecx, [esp + 0xb8]
mov byte [esp + 0x138], 0x27
call fcn.0040c290
lea ecx, [esp + 0xa4]
mov byte [esp + 0x138], 0x26
call fcn.0040c290
lea ecx, [esp + 0x90]
mov byte [esp + 0x138], 0x25
call fcn.0040c290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x138], 1
call fcn.0040c290
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x402009
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x28
jmp 0x402317
test eax, eax
jl 0x401f40
mov edx, dword [esi + eax*8 + 4]
mov eax, dword [edi + 0x48]
lea esi, [eax + edx*8]
lea eax, [esp + 0x68]
call fcn.0040c300
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [edx + ecx*4], esi
jmp 0x40206b
test esi, esi
jl 0x401f60
lea eax, [esp + 0x68]
call fcn.0040c300
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x70]
lea ecx, [eax + esi*8]
mov eax, dword [esp + 0x74]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x40]
inc dword [esp + 0x70]
inc eax
inc ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
cmp eax, dword [esp + 0x44]
jb 0x401f1f
mov eax, dword [esp + 0xf4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ecx]
mov esi, dword [esp + 0x24]
mov edx, dword [edx + 8]
push eax
mov eax, dword [esp + 0x78]
push eax
push esi
call edx
lea ecx, [esp + 0xe8]
mov byte [esp + 0x138], 0x22
call fcn.0040c290
lea ecx, [esp + 0x68]
mov byte [esp + 0x138], 4
call fcn.0040c290
inc esi
cmp esi, dword [esp + 0x1c]
mov dword [esp + 0x24], esi
jge 0x4024ca
mov ebx, dword [ebp + 8]
xor edi, edi
jmp 0x401aa4
mov byte [esp + 0x138], 4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x138], 0xb
call fcn.0040c290
lea ecx, [esp + 0xb8]
mov byte [esp + 0x138], 0xe
call fcn.0040c290
lea ecx, [esp + 0xa4]
mov byte [esp + 0x138], 0xd
call fcn.0040c290
lea ecx, [esp + 0x90]
mov byte [esp + 0x138], 0xc
call fcn.0040c290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x138], 1
call fcn.0040c290
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x402178
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], 0xf
call fcn.0040c2c0
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], 0xffffffff
call fcn.0040c290
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 0x24
mov byte [esp + 0x138], 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4021dd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x138], 0x10
call fcn.0040c290
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x13c], 1
call fcn.00401100
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x402226
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x28], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x11
lea ecx, [esp + 0x28]
call fcn.0040c2c0
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], 0xffffffff
call fcn.0040c290
mov eax, ebx
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov byte [esp + 0x138], 4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x138], 0x13
call fcn.0040c290
lea ecx, [esp + 0xb8]
mov byte [esp + 0x138], 0x16
call fcn.0040c290
lea ecx, [esp + 0xa4]
mov byte [esp + 0x138], 0x15
call fcn.0040c290
lea ecx, [esp + 0x90]
mov byte [esp + 0x138], 0x14
call fcn.0040c290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x138], 1
call fcn.0040c290
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x402304
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x17
lea ecx, [esp + 0x28]
call fcn.0040c2c0
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], 0xffffffff
call fcn.0040c290
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 0x24
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x138], 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x402374
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x138], 0x19
call fcn.0040c290
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x13c], 1
call fcn.00401100
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x4023bd
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x28], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x1a
lea ecx, [esp + 0x28]
call fcn.0040c2c0
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], 0xffffffff
call fcn.0040c290
jmp 0x4018cc
mov ecx, dword [esp + 0x110]
push ecx
call fcn.0040c4b0
add esp, 4
push esi
call fcn.0040c4b0
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x138], 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x40242e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x138], 0x1d
call fcn.0040c290
lea ecx, [esp + 0xb8]
mov byte [esp + 0x138], 0x20
call fcn.0040c290
lea ecx, [esp + 0xa4]
mov byte [esp + 0x138], 0x1f
call fcn.0040c290
lea ecx, [esp + 0x90]
mov byte [esp + 0x138], 0x1e
call fcn.0040c290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x138], 1
call fcn.0040c290
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x4024b2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x21
jmp 0x402239
mov eax, dword [esp + 0xc4]
mov edx, dword [eax]
mov edi, dword [esp + 0x84]
xor eax, eax
test edi, edi
jbe 0x402500
mov esi, dword [esp + 0x88]
add esi, 4
lea ebx, [ebx]
mov ecx, dword [esi]
cmp edx, ecx
jb 0x402517
inc eax
sub edx, ecx
add esi, 8
cmp eax, edi
jb 0x4024f0
push 0x42d768
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], 1
call fcn.00424045
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x68], 0
je 0x402526
mov ecx, dword [ebx + 0x6c]
mov dword [ecx + 0x70], eax
xor esi, esi
cmp dword [esp + 0x1c], esi
jne 0x402600
lea ecx, [esp + 0xcc]
mov byte [esp + 0x138], 0x29
call fcn.0040c290
lea ecx, [esp + 0xb8]
mov byte [esp + 0x138], 0x2c
call fcn.0040c290
lea ecx, [esp + 0xa4]
mov byte [esp + 0x138], 0x2b
call fcn.0040c290
lea ecx, [esp + 0x90]
mov byte [esp + 0x138], 0x2a
call fcn.0040c290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x138], 1
call fcn.0040c290
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x4025b6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x28], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], 0x2d
call fcn.0040c2c0
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], 0xffffffff
call fcn.0040c290
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 0x24
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], esi
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], 4
mov dword [esp + 0xfc], vtable.CRecordVector_struct_ISequentialInStream__.0
mov byte [esp + 0x138], 0x2e
mov edi, dword [esp + 0x30]
lea esi, [esp + 0xfc]
call fcn.0040c340
mov ecx, dword [esp + 0x30]
xor esi, esi
test ecx, ecx
jle 0x402686
lea ecx, [ecx]
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + esi*4]
mov edi, dword [eax]
lea eax, [esp + 0xfc]
call fcn.0040c300
mov edx, dword [esp + 0x104]
mov eax, dword [esp + 0x108]
mov dword [eax + edx*4], edi
mov ecx, dword [esp + 0x30]
inc dword [esp + 0x104]
inc esi
cmp esi, ecx
jl 0x402650
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebx + 0x74]
push esi
push 1
push 0
lea esi, [esp + 0x128]
push esi
push ecx
mov ecx, dword [esp + 0x11c]
push 0
mov dword [esp + 0x134], edx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
push eax
call edx
lea ecx, [esp + 0xfc]
mov esi, eax
mov byte [esp + 0x138], 4
call fcn.0040c290
lea ecx, [esp + 0xcc]
mov byte [esp + 0x138], 0x2f
call fcn.0040c290
lea ecx, [esp + 0xb8]
mov byte [esp + 0x138], 0x32
call fcn.0040c290
lea ecx, [esp + 0xa4]
mov byte [esp + 0x138], 0x31
call fcn.0040c290
lea ecx, [esp + 0x90]
mov byte [esp + 0x138], 0x30
call fcn.0040c290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x138], 1
call fcn.0040c290
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x402750
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], 0x33
jmp 0x4023d0