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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55f9f4
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x5b38f0]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x30], esi
mov edi, dword [ebp + 0x18]
mov ecx, edi
call fcn.004279d3
test al, al
jne 0x42d861
mov eax, 0x80004001
jmp 0x42e0fc
mov eax, dword [ebp + 0x28]
xor ebx, ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov byte [eax], bl
mov dword [esp + 0x74], 4
mov dword [esp + 0x64], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x138], ebx
mov dword [esp + 0xa8], ebx
lea ecx, [esp + 0xac]
mov byte [esp + 0x138], 1
call fcn.00425f74
push dword [ebp + 8]
lea ecx, [esp + 0xac]
mov byte [esp + 0x13c], 2
call fcn.004255f1
cmp dword [edi + 0x30], ebx
jle 0x42d9c3
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
push 0x18
call fcn.0041285f
mov esi, eax
pop ecx
test esi, esi
je 0x42d8ea
and dword [esi + 4], 0
mov dword [esi], vtable.CLockedSequentialInStreamImp.0
jmp 0x42d8ec
xor esi, esi
mov dword [esp + 0x28], esi
test esi, esi
je 0x42d8fa
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0xa8]
mov byte [esp + 0x138], 3
mov dword [esi + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
add eax, dword [ecx + ebx*8]
push 0x28
adc edi, dword [ecx + ebx*8 + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
call fcn.0041285f
mov edi, eax
pop ecx
test edi, edi
je 0x42d946
and dword [edi + 4], 0
mov dword [edi], vtable.CLimitedSequentialInStream.0
and dword [edi + 8], 0
jmp 0x42d948
xor edi, edi
mov dword [esp + 0x1c], edi
test edi, edi
je 0x42d956
mov eax, dword [edi]
push edi
call dword [eax + 4]
push esi
lea ecx, [edi + 8]
mov byte [esp + 0x13c], 4
call fcn.00414971
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + ebx*8]
mov ecx, dword [ecx + ebx*8 + 4]
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov byte [edi + 0x20], al
lea eax, [esp + 0x1c]
mov dword [edi + 0x14], ecx
lea ecx, [esp + 0x64]
push eax
call fcn.0042e464
mov byte [esp + 0x138], 3
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [esp + 0x138], 2
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp + 0x18]
inc ebx
mov edi, dword [esp + 0x24]
cmp ebx, dword [eax + 0x30]
jl 0x42d8d0
mov esi, dword [esp + 0x30]
mov edi, eax
mov eax, dword [edi + 8]
lea ecx, [esp + 0xc4]
mov dword [esp + 0x2c], eax
call fcn.0042d797
lea edx, [esp + 0xc4]
mov byte [esp + 0x138], 5
mov ecx, edi
call fcn.0042d59d
cmp byte [esi], 0
je 0x42da0c
lea edx, [esi + 4]
lea ecx, [esp + 0xc4]
call fcn.0042d694
neg al
sbb al, al
inc al
je 0x42dbba
lea ecx, [esi + 0x78]
push dword [ecx + 8]
mov eax, dword [ecx]
push 0
mov dword [esp + 0x2c], ecx
call dword [eax + 4]
lea edi, [esi + 0x74]
mov ecx, dword [edi]
test ecx, ecx
je 0x42da2f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [edi], 0
cmp byte [esi + 0x68], 0
je 0x42da6b
push 0x88
call fcn.0041285f
pop ecx
test eax, eax
je 0x42da4d
mov ecx, eax
call fcn.0042e175
jmp 0x42da4f
xor eax, eax
push eax
mov ecx, edi
mov dword [esi + 0x6c], eax
call fcn.00412c11
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x42da66
add eax, 4
jmp 0x42da68
xor eax, eax
mov dword [esi + 0x70], eax
mov ecx, dword [esi + 0x70]
lea edx, [esp + 0xc4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov ebx, eax
test ebx, ebx
jne 0x42e0c1
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x2c], ecx
jle 0x42dba4
mov eax, dword [ebp + 0x18]
and dword [esp + 0x20], 0
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
and dword [esp + 0x18], 0
mov byte [esp + 0x138], 7
lea edx, [esp + 0x18]
push 0
push dword [eax + 4]
lea ecx, [esp + 0x28]
push dword [eax]
call fcn.00412a29
mov edi, dword [esp + 0x24]
mov ebx, eax
mov esi, dword [esp + 0x2c]
add esp, 0xc
test ebx, ebx
jne 0x42de94
and dword [esp + 0x14], 0
mov byte [esp + 0x138], 8
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x14], 1
jne 0x42db20
cmp dword [eax + 0x18], 1
jne 0x42db20
test esi, esi
je 0x42de8f
push esi
lea ecx, [esp + 0x18]
call fcn.0042e27f
mov ebx, dword [esp + 0x30]
cmp byte [ebx + 0x68], 0
je 0x42db45
mov ecx, dword [ebx + 0x6c]
push esi
call fcn.004347ce
jmp 0x42db45
test edi, edi
je 0x42de8f
push edi
lea ecx, [esp + 0x18]
call fcn.0042e27f
mov ebx, dword [esp + 0x30]
cmp byte [ebx + 0x68], 0
je 0x42db45
mov ecx, dword [ebx + 0x6c]
push edi
call fcn.004347f6
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
call fcn.0042e7ba
mov byte [esp + 0x138], 7
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42db69
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x138], 6
test edi, edi
je 0x42db7b
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [esp + 0x138], 5
test esi, esi
je 0x42db8d
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x2c]
jl 0x42da94
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc4]
push eax
lea ecx, [esi + 4]
call fcn.0042e1ce
mov edi, dword [ebp + 0x18]
mov byte [esi], 1
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
xor ebx, ebx
and dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x2c], eax
jle 0x42dfdd
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 0xc]
and dword [esp + 0x10], 0
mov ebx, dword [eax + ebx*4]
mov eax, dword [esi + 0x84]
mov dword [esp + 0x28], ebx
mov edi, dword [ecx + eax]
mov byte [esp + 0x138], 9
lea edx, [esp + 0x10]
mov eax, dword [edi]
push edx
push 0x582390
push eax
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42dc3f
cmp dword [ebx + 0xc], 0xffffffff
ja 0x42df59
push dword [ebx + 0xc]
mov ecx, dword [eax]
push dword [ebx + 0x10]
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0x42df89
mov byte [esp + 0x138], 5
test eax, eax
je 0x42dc51
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp + 0x2c], 0
je 0x42dca6
and dword [esp + 0x10], 0
mov byte [esp + 0x138], 0xa
lea edx, [esp + 0x10]
mov eax, dword [edi]
push edx
push 0x582490
push eax
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42dc94
push dword [ebp + 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x42df60
mov eax, dword [esp + 0x10]
mov byte [esp + 0x138], 5
test eax, eax
je 0x42dca6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [esp + 0x14], 0
mov byte [esp + 0x138], 0xb
lea edx, [esp + 0x14]
mov eax, dword [edi]
push edx
push 0x582410
push eax
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42ddc5
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x42df84
and dword [esp + 0x20], 0
mov byte [esp + 0x138], 0xc
lea edx, [esp + 0x20]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x42df74
and dword [esp + 0x94], eax
and dword [esp + 0x98], eax
mov dword [esp + 0x90], vtable.CBuffer_unsigned_char_.0
mov eax, dword [ebp + 0x28]
lea ecx, [esp + 0x9c]
mov byte [esp + 0x138], 0xd
push dword [esp + 0x20]
mov byte [eax], 1
call fcn.00424f27
mov byte [esp + 0x138], 0xe
lea ecx, [esp + 0x90]
mov ebx, dword [esp + 0xa0]
lea eax, [ebx + ebx]
push eax
mov dword [esp + 0x14], eax
call fcn.00429fa9
mov edi, dword [esp + 0x98]
test ebx, ebx
jle 0x42dd7f
mov edx, dword [esp + 0x9c]
mov ecx, edi
sub edx, edi
movzx eax, word [edx + ecx]
mov byte [ecx], al
lea ecx, [ecx + 2]
shr eax, 8
mov byte [ecx - 1], al
dec ebx
jne 0x42dd6d
mov eax, dword [esp + 0x14]
push dword [esp + 0x10]
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push dword [esp + 0x9c]
mov ebx, eax
call fcn.00529e12
pop ecx
push edi
test ebx, ebx
jne 0x42df6e
mov dword [esp + 0x94], vtable.CBuffer_unsigned_char_.0
call fcn.00529e12
pop ecx
push dword [esp + 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x138], 5
test eax, eax
je 0x42ddd7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [esp + 0x28]
xor eax, eax
push 4
pop edx
add dword [esp + 0x18], edx
mov ecx, vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov ebx, dword [edi + 0x14]
mov edi, dword [edi + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x50], ecx
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x13c], 0x10
call fcn.0042602b
push edi
lea ecx, [esp + 0x54]
call fcn.0042602b
test edi, edi
je 0x42de62
mov esi, dword [ebp + 0x18]
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 0x48]
lea ecx, [esp + 0x50]
lea eax, [eax + ebx*8]
push eax
call fcn.0042e3d1
inc ebx
dec edi
jne 0x42de42
mov esi, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x28]
xor edi, edi
test ebx, ebx
je 0x42def8
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x18]
push eax
call fcn.00427855
test eax, eax
js 0x42dec1
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + 0x20]
mov ecx, dword [ecx + eax*8 + 4]
mov eax, dword [edx + 0x48]
lea eax, [eax + ecx*8]
jmp 0x42dedc
mov ebx, 0x80004001
mov byte [esp + 0x138], 6
test edi, edi
je 0x42dea6
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [esp + 0x138], 5
test esi, esi
je 0x42e0c1
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x42e0c1
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x18]
push eax
call fcn.0042d55e
test eax, eax
js 0x42dfa4
mov ecx, dword [ebp + 0x14]
lea eax, [ecx + eax*8]
push eax
lea ecx, [esp + 0x40]
call fcn.0042e3d1
mov eax, dword [esp + 0x34]
inc edi
inc eax
mov dword [esp + 0x34], eax
cmp edi, ebx
jb 0x42de70
mov ecx, dword [esi + 0x70]
push dword [esp + 0x5c]
mov ebx, dword [esp + 0x20]
push dword [esp + 0x4c]
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
mov byte [esp + 0x138], 0xf
lea ecx, [esp + 0x50]
mov edi, vtable.CBaseRecordVector.0
mov dword [esp + 0x50], edi
call fcn.00425fb8
mov byte [esp + 0x138], 5
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], edi
call fcn.00425fb8
mov edi, dword [esp + 0x2c]
inc ebx
mov dword [esp + 0x1c], ebx
cmp ebx, edi
jge 0x42dfe1
mov edi, dword [ebp + 0x18]
mov ecx, dword [esp + 0x18]
jmp 0x42dbe2
mov ebx, 0x80004001
jmp 0x42df89
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x10]
jmp 0x42df91
call fcn.00529e12
pop ecx
push dword [esp + 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
jmp 0x42df89
mov ebx, 0x80004005
mov byte [esp + 0x138], 5
test eax, eax
je 0x42e0c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42e0c1
mov byte [esp + 0x138], 0xf
lea ecx, [esp + 0x50]
mov ebx, vtable.CBaseRecordVector.0
mov dword [esp + 0x50], ebx
call fcn.00425fb8
mov byte [esp + 0x138], 5
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], ebx
call fcn.00425fb8
mov ebx, 0x80004005
jmp 0x42e0c1
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x114]
lea ecx, [esp + 0xcc]
push dword [eax]
call fcn.0042d40f
cmp byte [esi + 0x68], 0
je 0x42e010
mov ecx, dword [esi + 0x6c]
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x70], eax
xor ebx, ebx
test edi, edi
je 0x42e0c1
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], 4
mov dword [esp + 0x7c], vtable.CRecordVector_struct_ISequentialInStream__.0
mov byte [esp + 0x138], 0x11
lea ecx, [esp + 0x7c]
push dword [esp + 0x6c]
call fcn.0042602b
mov edx, dword [esp + 0x6c]
mov edi, ebx
test edx, edx
jle 0x42e07c
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x7c]
mov eax, dword [eax + edi*4]
push dword [eax]
call fcn.0042e5c8
mov edx, dword [esp + 0x6c]
inc edi
cmp edi, edx
jl 0x42e061
push dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
push 1
push ebx
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x74]
lea esi, [esp + 0x84]
push esi
push edx
push ebx
push dword [esp + 0xa0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov byte [esp + 0x138], 5
lea ecx, [esp + 0x7c]
mov ebx, eax
mov dword [esp + 0x7c], vtable.CBaseRecordVector.0
call fcn.00425fb8
lea ecx, [esp + 0xc4]
mov byte [esp + 0x138], 2
call fcn.00429164
lea ecx, [esp + 0xa8]
mov byte [esp + 0x138], 0
call fcn.0042e13c
or dword [esp + 0x138], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.0042e417
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 0x2c