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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42cc38
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x437024]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x18]
push edi
call fcn.0040d8d0
test al, al
je 0x409616
mov eax, dword [ebp + 0x28]
xor esi, esi
mov byte [eax], 0
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 4
mov dword [esp + 0x5c], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
lea ecx, [esp + 0x88]
push ecx
mov dword [esp + 0x13c], esi
call fcn.0040a070
mov byte [esp + 0x138], 1
cmp ebx, esi
je 0x408e71
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [esp + 0x88]
cmp eax, esi
je 0x408e84
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [edi + 0x30]
mov dword [esp + 0x88], ebx
xor ebx, ebx
cmp eax, esi
jle 0x408fa1
push 0x18
call fcn.00420dfb
mov edi, eax
add esp, 4
cmp edi, esi
je 0x409103
mov dword [edi + 4], 0
mov dword [edi], vtable.CLockedSequentialInStreamImp.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
mov dword [esp + 0x5c], edi
call ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov byte [esp + 0x138], 2
lea edx, [esp + 0x88]
mov dword [edi + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov esi, dword [edx + ebx*8]
add eax, esi
mov dword [ebp + 0xc], eax
mov eax, dword [edx + ebx*8 + 4]
adc ecx, eax
push 0x28
mov dword [ebp + 0x10], ecx
call fcn.00420dfb
mov esi, eax
add esp, 4
test esi, esi
je 0x409118
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], eax
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
mov dword [esp + 0x20], esi
call edx
mov byte [esp + 0x138], 3
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x408f44
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 + 0x1c]
mov dword [esi + 0x10], eax
xor eax, eax
push ecx
lea ecx, [esp + 0x60]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
call fcn.0040a760
mov byte [esp + 0x138], 2
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov byte [esp + 0x138], 1
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov eax, dword [ebp + 0x18]
inc ebx
xor esi, esi
cmp ebx, dword [eax + 0x30]
jl 0x408e98
mov edi, eax
mov eax, dword [edi + 8]
mov dword [esp + 0x40], eax
mov eax, 8
mov ecx, 4
mov edx, vtable.CRecordVector_unsigned_int_.0
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], eax
mov dword [esp + 0xa4], vtable.CRecordVector_struct_NCoderMixer::CCoderStreamsInfo_.0
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb8], vtable.CRecordVector_struct_NCoderMixer::CBindPair_.0
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xe0], edx
mov dword [esp + 0xf8], esi
mov dword [esp + 0xfc], esi
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], eax
mov dword [esp + 0xf4], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov byte [esp + 0x138], cl
lea ecx, [esp + 0xa4]
push ecx
push edi
call fcn.004089d0
mov edi, dword [ebp + 8]
cmp byte [edi], 0
je 0x4090ac
lea edx, [edi + 4]
push edx
lea ebx, [esp + 0xa8]
call fcn.00408c10
test al, al
sete al
test al, al
je 0x40939d
mov edx, dword [edi + 0x80]
mov eax, dword [edi + 0x78]
mov eax, dword [eax + 4]
lea ecx, [edi + 0x78]
push edx
xor ebx, ebx
push ebx
call eax
mov eax, dword [edi + 0x74]
cmp eax, ebx
je 0x4090d3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x74], ebx
cmp byte [edi + 0x68], 0
je 0x409166
push 0x88
call fcn.00420dfb
add esp, 4
cmp eax, ebx
jne 0x40912d
xor al, al
mov byte [esp + 0x17], al
push 0x433bc0
lea eax, [esp + 0x1b]
push eax
call fcn.0042a275
push 0x433bc0
lea ecx, [esp + 0x1b]
xor al, al
push ecx
mov byte [esp + 0x1f], al
call fcn.0042a275
push 0x433bc0
lea edx, [esp + 0x1b]
xor al, al
push edx
mov byte [esp + 0x1f], al
call fcn.0042a275
call fcn.0040a0f0
mov esi, eax
mov dword [edi + 0x6c], esi
cmp esi, ebx
je 0x409143
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [edi + 0x74]
cmp eax, ebx
je 0x409152
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x74], esi
mov eax, dword [edi + 0x6c]
cmp eax, ebx
je 0x409161
add eax, 4
jmp 0x409163
xor eax, eax
mov dword [edi + 0x70], eax
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0xa4]
push edx
call eax
mov esi, eax
cmp esi, ebx
je 0x4091ea
lea ecx, [esp + 0xa4]
push ecx
mov byte [esp + 0x13c], 1
call fcn.00408d60
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x4091bb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.0040a2a0
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 + 0x40], ebx
mov dword [esp + 0x28], ebx
jle 0x409369
jmp 0x409200
mov ecx, dword [ebp + 0x18]
mov eax, dword [esp + 0x28]
mov edx, dword [ecx + 0xc]
mov esi, dword [edx + eax*4]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x13c], 6
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.00413630
mov ebx, eax
test ebx, ebx
jne 0x40950e
mov dword [esp + 0x20], eax
mov byte [esp + 0x138], 7
mov ebx, dword [esp + 0x24]
mov eax, 1
cmp dword [esi + 0x14], eax
jne 0x4092bc
cmp dword [esi + 0x18], eax
jne 0x4092bc
cmp dword [esp + 0x18], 0
je 0x4095ab
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
cmp byte [edi + 0x68], 0
mov dword [esp + 0x20], esi
je 0x409305
mov esi, dword [edi + 0x6c]
call fcn.00412820
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x80]
mov eax, dword [esp + 0x18]
mov esi, dword [edx + ecx*4 - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4092b3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov dword [esi + 0x14], eax
jmp 0x409305
test ebx, ebx
je 0x409633
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
cmp byte [edi + 0x68], 0
mov dword [esp + 0x20], ebx
je 0x409305
mov esi, dword [edi + 0x6c]
call fcn.00412820
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x80]
mov edx, dword [ebx]
mov esi, dword [ecx + eax*4 - 4]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x409302
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x18], ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x78]
call fcn.0040a760
mov byte [esp + 0x138], 6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40932a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 5
test ebx, ebx
je 0x40933e
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov byte [esp + 0x138], 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x409356
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x28]
inc eax
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
jl 0x409200
lea esi, [edi + 4]
lea eax, [esp + 0xa4]
call fcn.0040a190
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 + 0xf4]
push eax
mov eax, esi
call fcn.00412030
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 + 0x40], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x58], esi
jle 0x409dd9
mov dword [esp + 0x28], esi
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x58]
mov ebx, dword [edx + eax*4]
mov ecx, dword [edi + 0x84]
mov edx, dword [esp + 0x28]
mov edi, dword [edx + ecx]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov byte [esp + 0x138], 8
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x430a30
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x409432
mov ecx, dword [ebx + 0xc]
cmp ecx, 0xffffffff
ja 0x409b18
mov ebx, dword [ebx + 0x10]
mov edx, dword [eax]
push ecx
push ebx
push eax
mov eax, dword [edx + 0xc]
call eax
mov ebx, eax
cmp ebx, esi
jne 0x409b98
mov eax, dword [esp + 0x18]
mov byte [esp + 0x138], 4
cmp eax, esi
je 0x409446
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], esi
mov byte [esp + 0x138], 9
mov edi, dword [edi]
mov eax, dword [edi]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push 0x430ab0
push edi
call edx
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x409755
mov ecx, dword [ebp + 0x24]
cmp ecx, esi
je 0x409c03
mov dword [esp + 0x20], esi
mov byte [esp + 0x138], 0xa
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x20]
push edx
push ecx
call eax
mov edi, eax
cmp edi, esi
jne 0x409c83
mov dword [esp + method.CBuffer_unsigned_char_.virtual_0], vtable.CBuffer_unsigned_char_.0
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], esi
mov ecx, dword [ebp + 0x28]
mov byte [esp + 0x138], 0xb
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x120]
mov byte [ecx], 1
call fcn.00404b30
mov byte [esp + 0x138], 0xc
mov edi, dword [esp + 0x124]
lea ebx, [edi + edi]
test ebx, ebx
je 0x4096d5
jbe 0x4096bb
push ebx
call fcn.00420dfb
add esp, 4
test eax, eax
je 0x409d13
mov esi, eax
jmp 0x4096bd
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x24]
test eax, eax
je 0x409526
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x138], 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40953e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xa4]
push eax
mov byte [esp + 0x13c], 1
call fcn.00408d60
lea ecx, [esp + 0x8c]
push ecx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x40957c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x138], 0xffffffff
push ecx
call fcn.0040a2a0
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], 5
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4095c3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0xa4]
push ecx
mov byte [esp + 0x13c], 1
call fcn.00408d60
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x409601
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.0040a2a0
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 + 0x18]
test eax, eax
je 0x40964b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xa4]
push eax
mov byte [esp + 0x13c], 1
call fcn.00408d60
lea ecx, [esp + 0x8c]
push ecx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x409689
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x13c], 0xffffffff
call fcn.0040a2a0
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 0
call fcn.00420d1e
add esp, 4
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], ebx
test edi, edi
jle 0x4096f8
mov edx, dword [esp + 0x120]
mov ecx, esi
sub edx, esi
movzx eax, word [edx + ecx]
mov byte [ecx], al
shr eax, 8
mov byte [ecx + 1], al
add ecx, 2
sub edi, 1
jne 0x4096e4
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ebx
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
mov edi, eax
mov byte [esp + 0x138], 0xb
test edi, edi
jne 0x409d28
mov ecx, dword [esp + 0x120]
push ecx
call fcn.00420d1e
add esp, 4
mov byte [esp + 0x138], 0xa
push esi
mov dword [esp + method.CBuffer_unsigned_char_.virtual_0], vtable.CBuffer_unsigned_char_.0
call fcn.00420d1e
mov edx, dword [esp + 0x24]
add esp, 4
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x18]
xor esi, esi
mov byte [esp + 0x138], 4
cmp eax, esi
je 0x409769
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x14]
mov ebx, dword [eax + 0x18]
xor eax, eax
mov ecx, 4
add dword [esp + 0x28], ecx
mov edx, vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], edx
lea esi, [esp + 0x2c]
mov byte [esp + 0x138], 0xe
call fcn.004051e0
mov edi, ebx
lea esi, [esp + 0x44]
call fcn.004051e0
test ebx, ebx
jbe 0x40983d
mov dword [esp + 0x18], ebx
mov ecx, 1
jmp 0x4097e0
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + 0x48]
mov eax, dword [esp + 0x84]
lea ebx, [edx + eax*8]
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x4c], eax
jne 0x409821
cmp eax, 0x40
jl 0x409806
mov ecx, eax
shr ecx, 2
jmp 0x409810
cmp eax, 8
jl 0x409810
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x44]
call fcn.004051e0
mov ecx, 1
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
add dword [esp + 0x84], ecx
mov dword [edx + eax*4], ebx
add dword [esp + 0x4c], ecx
sub dword [esp + 0x18], ecx
jne 0x4097e0
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
jbe 0x409a7e
mov edi, dword [ebp + 0x18]
mov edx, dword [edi + 0x1c]
xor eax, eax
test edx, edx
jle 0x409875
mov esi, dword [edi + 0x20]
mov ebx, dword [esp + 0x24]
mov ecx, esi
cmp dword [ecx], ebx
je 0x4099c9
inc eax
add ecx, 8
cmp eax, edx
jl 0x409865
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x30]
xor edi, edi
xor ebx, ebx
cmp ecx, edi
jle 0x4098a0
mov eax, dword [eax + 0x34]
mov edx, dword [esp + 0x24]
lea ebx, [ebx]
cmp dword [eax], edx
je 0x409a19
inc ebx
add eax, 4
cmp ebx, ecx
jl 0x409890
mov byte [esp + 0x138], 0xd
mov ecx, dword [esp + 0x4c]
push ecx
mov esi, vtable.CBaseRecordVector.0
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], esi
call dword [0x42ff00]
mov edx, dword [esp + 0x50]
push edx
call fcn.00420d1e
mov byte [esp + 0x13c], 4
mov eax, dword [esp + 0x38]
add esp, 4
push eax
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x34], esi
call dword [0x42ff00]
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00420d1e
add esp, 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov byte [esp + 0x138], 0xf
mov edx, dword [esp + 0xfc]
push edx
push edi
lea ecx, [esp + 0xfc]
mov dword [esp + 0xfc], esi
call dword [0x42ff00]
mov eax, dword [esp + 0x100]
push eax
call fcn.00420d1e
add esp, 4
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0xfc], edi
mov dword [esp + 0x100], edi
mov dword [esp + 0x104], edi
mov byte [esp + 0x13c], 1
call fcn.00408830
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x88]
cmp eax, edi
je 0x409997
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.0040a2a0
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
test eax, eax
jl 0x409875
mov ecx, dword [esi + eax*8 + 4]
mov eax, dword [esp + 0x30]
mov edx, dword [edi + 0x48]
lea ebx, [edx + ecx*8]
cmp dword [esp + 0x34], eax
jne 0x409a0c
cmp eax, 0x40
mov ecx, 1
jl 0x4099f6
mov ecx, eax
shr ecx, 2
jmp 0x409a00
cmp eax, 8
jl 0x409a00
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x2c]
call fcn.004051e0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [eax + ecx*4], ebx
jmp 0x409a63
cmp ebx, edi
jl 0x4098a0
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x34], ecx
jne 0x409a52
cmp ecx, 0x40
mov eax, 1
jl 0x409a3c
mov eax, ecx
shr eax, 2
jmp 0x409a46
cmp ecx, 8
jl 0x409a46
mov eax, 8
lea edi, [ecx + eax]
lea esi, [esp + 0x2c]
call fcn.004051e0
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x38]
lea eax, [edx + ebx*8]
mov edx, dword [esp + 0x34]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x18]
inc dword [esp + 0x34]
inc dword [esp + 0x24]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jb 0x409850
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
mov eax, dword [esp + 0x50]
mov edx, dword [ecx]
mov esi, dword [esp + 0x58]
mov edx, dword [edx + 8]
push eax
mov eax, dword [esp + 0x3c]
push eax
push esi
call edx
mov byte [esp + 0x138], 0xd
mov eax, dword [esp + 0x4c]
push eax
xor ebx, ebx
mov edi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], edi
call dword [0x42ff00]
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00420d1e
mov byte [esp + 0x13c], 4
mov edx, dword [esp + 0x38]
add esp, 4
push edx
push ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x34], edi
call dword [0x42ff00]
mov eax, dword [esp + 0x38]
push eax
call fcn.00420d1e
mov edi, dword [ebp + 8]
inc esi
add esp, 4
cmp esi, dword [esp + 0x40]
mov dword [esp + 0x58], esi
jge 0x409dd9
xor esi, esi
jmp 0x4093c6
mov byte [esp + 0x138], 4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xa4]
push eax
mov byte [esp + 0x13c], 1
call fcn.00408d60
lea ecx, [esp + 0x8c]
push ecx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x88]
cmp eax, esi
je 0x409b66
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x13c], 0xffffffff
call fcn.0040a2a0
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 + 0x18]
cmp eax, esi
je 0x409bb0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0xa4]
push ecx
mov byte [esp + 0x13c], 1
call fcn.00408d60
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x88]
cmp eax, esi
je 0x409bee
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x5c]
mov dword [esp + 0x138], 0xffffffff
push eax
jmp 0x40958c
mov byte [esp + 0x138], 4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xa4]
push eax
mov byte [esp + 0x13c], 1
call fcn.00408d60
lea ecx, [esp + 0x8c]
push ecx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x88]
cmp eax, esi
je 0x409c51
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x13c], 0xffffffff
call fcn.0040a2a0
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 edx, dword [esp + 0x20]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x138], 4
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x409ca6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xa4]
push eax
mov byte [esp + 0x13c], 1
call fcn.00408d60
lea ecx, [esp + 0x8c]
push ecx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x88]
cmp eax, esi
je 0x409ce4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x13c], 0xffffffff
call fcn.0040a2a0
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
push 0x433bc0
lea edx, [esp + 0x1b]
xor al, al
push edx
mov byte [esp + 0x1f], al
call fcn.0042a275
mov eax, dword [esp + 0x120]
push eax
call fcn.00420d1e
add esp, 4
push esi
mov byte [esp + 0x13c], 0xa
call fcn.00420d1e
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x138], 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x409d6c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0xa4]
push ecx
mov byte [esp + 0x13c], 1
call fcn.00408d60
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x409daa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.0040a2a0
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 ebx, dword [esp + 0xac]
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx]
xor eax, eax
test ebx, ebx
jbe 0x409e10
mov esi, dword [esp + 0xb0]
add esi, 4
lea esp, [esp]
mov ecx, dword [esi]
cmp edx, ecx
jb 0x409e27
inc eax
sub edx, ecx
add esi, 8
cmp eax, ebx
jb 0x409e00
push 0x433b8c
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 1
call fcn.0042a275
cmp byte [edi + 0x68], 0
je 0x409e33
mov edi, dword [edi + 0x6c]
mov dword [edi + 0x70], eax
cmp dword [esp + 0x40], 0
jne 0x409ea7
lea edx, [esp + 0xa4]
push edx
mov byte [esp + 0x13c], 1
call fcn.00408d60
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x409e78
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.0040a2a0
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
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 4
mov dword [esp + 0x70], vtable.CRecordVector_struct_ISequentialInStream__.0
mov byte [esp + 0x138], 0x10
mov edi, dword [esp + 0x64]
lea esi, [esp + 0x70]
call fcn.004051e0
mov ecx, dword [esp + 0x64]
test ecx, ecx
jle 0x409f3f
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + ebx*4]
mov edx, dword [eax]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x78], eax
jne 0x409f23
cmp eax, 0x40
mov ecx, 1
jl 0x409f0d
mov ecx, eax
shr ecx, 2
jmp 0x409f17
cmp eax, 8
jl 0x409f17
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x70]
call fcn.004051e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x64]
inc dword [esp + 0x78]
inc ebx
cmp ebx, ecx
jl 0x409ee5
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
push esi
push 1
xor esi, esi
push esi
lea edi, [esp + 0x128]
push edi
push ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x130], eax
mov eax, dword [edx + 0x74]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push esi
push ecx
push eax
call edx
mov byte [esp + 0x138], 4
mov edi, eax
mov eax, dword [esp + 0x78]
push eax
mov ebx, vtable.CBaseRecordVector.0
push esi
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], ebx
call dword [0x42ff00]
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00420d1e
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov byte [esp + 0x138], 0x11
mov edx, dword [esp + 0xfc]
push edx
push esi
lea ecx, [esp + 0xfc]
mov dword [esp + 0xfc], ebx
call dword [0x42ff00]
mov eax, dword [esp + 0x100]
push eax
call fcn.00420d1e
add esp, 4
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0xfc], esi
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], esi
mov byte [esp + 0x13c], 1
call fcn.00408830
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x13c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x88]
cmp eax, esi
je 0x40a036
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.0040a2a0
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