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

Disassembly:
push 0xffffffffffffffff
push 0x52b765
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5b339c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, ecx
cmp byte [ebp + 0x3d], 1
je 0x4a4674
mov ecx, dword [ebp + 0x80]
push str..OPCReadTrans.cpp
push 0x3f
push str.COPCReadTrans::Complete
call fcn.00472450
mov ecx, eax
call fcn.00402490
cmp byte [ebp + 0x3c], 0
jne 0x4a4640
cmp byte [ebp + 0x88], 0
lea ebx, [ebp + 0x64]
je 0x4a3f20
mov ecx, dword [ebp + 0x80]
push 0
push ebx
call fcn.00473780
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
lea ecx, [esp + 0x1c]
sar eax, 2
push eax
call fcn.004a0fc0
mov dword [esp + 0x80], 0
mov esi, dword [ebx + 0x10]
sub esi, dword [ebx + 0xc]
xor ecx, ecx
sar esi, 2
mov eax, esi
mov edx, 0x20
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051965e
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
xor esi, esi
sar eax, 2
add esp, 4
mov dword [esp + 0x14], esi
test eax, eax
jbe 0x4a3fcf
mov dword [esp + 0x34], esi
lea ecx, [ecx]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
sar ecx, 5
cmp dword [esp + 0x14], ecx
jb 0x4a3f97
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
lea esi, [eax + edx]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0x10]
sub edx, dword [ebx + 0xc]
mov ecx, dword [esp + 0x14]
inc ecx
add eax, 0x20
sar edx, 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], eax
cmp ecx, edx
jb 0x4a3f80
xor esi, esi
mov eax, dword [ebp + 0x60]
mov edx, dword [esp + 0x18]
cmp eax, 2
sete al
movzx ecx, al
push esi
push ecx
mov ecx, dword [ebp + 0x80]
push edx
push ebx
call fcn.00473930
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x14], esi
sar eax, 2
test eax, eax
jbe 0x4a41d9
mov dword [esp + 0x34], 0
jmp 0x4a4010
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
sar ecx, 5
cmp dword [esp + 0x14], ecx
jb 0x4a4027
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
lea esi, [eax + edx]
lea edi, [eax + ecx]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0x10]
sub edx, dword [ebx + 0xc]
sar edx, 2
cmp dword [esp + 0x14], edx
jb 0x4a4055
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 0xc]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x58]
lea eax, [eax + edi*4]
push ecx
mov ecx, dword [eax]
call fcn.0045abb0
mov byte [esp + 0x80], 1
mov ecx, dword [ebp + 0x80]
push 2
lea edx, [esp + 0x5c]
push edx
call fcn.00473600
test al, al
jne 0x4a41a6
mov ecx, dword [ebp + 0x80]
call fcn.00472450
mov ecx, dword [ebp + 0x80]
mov esi, eax
lea eax, [esp + 0x3c]
push eax
call fcn.00473540
mov byte [esp + 0x80], 2
mov ecx, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push str.Security:__DA_READ__permission_denied_for_path___ls__and_name___ls_
push str.COPCReadTrans::Complete
push 1
push esi
call eax
add esp, 0x18
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
sar ecx, 5
cmp edi, ecx
jb 0x4a410b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
lea eax, [esi + edx + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
sar ecx, 5
cmp edi, ecx
jb 0x4a4133
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x28]
lea eax, [esi + edx + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
sar ecx, 5
cmp edi, ecx
jb 0x4a4157
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
xor edx, edx
mov word [esi + eax + 0xc], dx
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
sar ecx, 5
cmp edi, ecx
jb 0x4a4177
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x28]
mov dword [esi + edx + 8], 0
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
sar eax, 5
cmp edi, eax
jb 0x4a4198
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x28]
mov dword [esi + ecx + 4], 0
jmp 0x4a41aa
mov esi, dword [esp + 0x34]
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [ebx + 0x10]
sub edx, dword [ebx + 0xc]
inc edi
add esi, 0x20
sar edx, 2
mov dword [esp + 0x14], edi
mov dword [esp + 0x34], esi
cmp edi, edx
jb 0x4a4010
mov eax, dword [esp + 0x18]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
push 0x54
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
mov dword [esp + 0x18], eax
mov byte [esp + 0x80], 3
test eax, eax
je 0x4a4244
mov ecx, dword [ebp + 0x84]
movzx esi, word [ecx + 0x8c]
mov edx, dword [ebp + 0x80]
mov edi, dword [edx + 0xcc]
mov edx, dword [ebx + 0x10]
sub edx, dword [ebx + 0xc]
movzx ecx, si
sar edx, 2
cmp ecx, dword [0x5b6bc0]
sete cl
movzx ecx, cl
push ecx
mov ecx, dword [ebp + 0x34]
push 0
push ecx
push edi
push edx
mov ecx, eax
call fcn.004baa30
mov dword [esp + 0x14], eax
jmp 0x4a424c
mov dword [esp + 0x14], 0
mov byte [esp + 0x80], 0
mov ecx, dword [esp + 0x14]
call fcn.004f6710
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp esi, eax
jbe 0x4a4273
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
jmp 0x4a4280
mov dword [esp + 0x18], eax
cmp dword [esp + 0x28], eax
jbe 0x4a4290
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test edi, edi
je 0x4a429a
cmp edi, dword [esp + 0x1c]
je 0x4a42a0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x18]
je 0x4a42ef
test edi, edi
jne 0x4a42e7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4a42bd
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x14]
push esi
call fcn.004ba800
test edi, edi
jne 0x4a42eb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4a42de
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
add esi, 0x20
jmp 0x4a4280
mov eax, dword [edi]
jmp 0x4a42b2
mov eax, dword [edi]
jmp 0x4a42d3
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.004ba8c0
mov ecx, dword [ebp + 0x80]
call fcn.00472450
mov ecx, dword [ebp + 0x34]
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
push esi
sar ecx, 2
push ecx
push str.Adding__d_items_to_stream__x_in_transaction__x
push str.COPCReadTrans::Complete
push 2
push eax
call edx
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
add esp, 0x1c
xor edi, edi
cmp esi, eax
jbe 0x4a4342
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov ebx, esi
mov dword [esp + 0x34], ecx
add esi, 0x10
nop
mov dword [esp + 0x18], eax
cmp dword [esp + 0x28], eax
jbe 0x4a4364
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4a436e
cmp ecx, dword [esp + 0x1c]
je 0x4a4378
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x34]
cmp ebx, dword [esp + 0x18]
je 0x4a452f
test ecx, ecx
jne 0x4a44a1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4a439d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp + 0x80]
push str.COPCReadTrans::Complete
push 3
call fcn.00472450
push eax
call fcn.00401b30
add esp, 0xc
test eax, eax
je 0x4a44ee
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp + 0x80]
call fcn.00472450
mov edx, dword [ebx]
mov ecx, dword [eax]
push edx
push edi
push str._02d__OPCHANDLE_hClient_x
push str.COPCReadTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [ebp + 0x80]
add esp, 0x18
inc edi
call fcn.00472450
mov edx, dword [esi - 8]
mov ecx, dword [eax]
push edx
mov edx, dword [esi - 0xc]
push edx
push str.____FILETIME_ftTimeStamp_x._x
push str.COPCReadTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [ebp + 0x80]
add esp, 0x18
call fcn.00472450
movzx edx, word [esi - 4]
mov ecx, dword [eax]
push edx
push str.____WORD_wQuality_x
push str.COPCReadTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
add esp, 0x14
push 8
push 0
push esi
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov ecx, dword [ebp + 0x80]
test eax, eax
jl 0x4a44a8
call fcn.00472450
movzx ecx, word [esi]
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
push str.____________vDataValue.vt_d
push str.COPCReadTrans::Complete
push 3
push eax
call edx
mov ecx, dword [ebp + 0x80]
add esp, 0x14
call fcn.00472450
mov edx, dword [esp + 0x60]
mov ecx, dword [eax]
push edx
push str.____VARIANT_vDataValue_ls
push str.COPCReadTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
add esp, 0x14
jmp 0x4a44e3
mov eax, dword [ecx]
jmp 0x4a4392
call fcn.00472450
mov ecx, dword [eax]
mov edx, dword [ecx]
push str.____VARIANT_vDataValue
push str.COPCReadTrans::Complete
push 3
push eax
call edx
mov ecx, dword [ebp + 0x80]
add esp, 0x10
push 0x10
push 0
push 0x10
push esi
push str.COPCReadTrans::Complete
push 3
call fcn.00472450
mov ecx, eax
call fcn.004021a0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
cmp dword [esp + 0x34], 0
jne 0x4a4527
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4a4514
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
add ebx, 0x20
add esi, 0x20
jmp 0x4a4350
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
jmp 0x4a4509
mov ecx, dword [esp + 0x14]
call fcn.004ba860
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp esi, eax
jbe 0x4a454e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
mov ebx, eax
cmp dword [esp + 0x28], eax
jbe 0x4a4560
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test edi, edi
je 0x4a456a
cmp edi, dword [esp + 0x1c]
je 0x4a4570
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x4a45b7
test edi, edi
jne 0x4a45af
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, dword [eax + 0x10]
jb 0x4a458d
call ebx
lea edx, [esi + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test edi, edi
jne 0x4a45b3
call ebx
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4a45a6
call ebx
mov eax, dword [esp + 0x2c]
add esi, 0x20
jmp 0x4a4552
mov eax, dword [edi]
jmp 0x4a4580
mov eax, dword [edi]
jmp 0x4a459f
mov ecx, dword [ebp + 0x80]
call fcn.00472450
mov edx, dword [ebp + 0x84]
mov esi, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push esi
push str.Posting_stream__x_to_connection__x
push str.COPCReadTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
add esp, 0x18
mov ecx, esi
call fcn.004f6710
mov ecx, dword [ebp + 0x84]
push esi
call fcn.004ba2f0
mov ecx, esi
call fcn.004f6830
mov dword [esp + 0x80], 4
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, esi
je 0x4a461c
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x80], 0xffffffff
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp + 0x80]
push ebp
call fcn.00475380
mov ecx, dword [ebp + 0x80]
push 0
push 0x57ef93
push str..OPCReadTrans.cpp
push 0xbb
push str.COPCReadTrans::Complete
call fcn.00472450
mov ecx, eax
call fcn.00402520
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0051973e
add esp, 0x70
ret