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

Disassembly:
push 0xffffffffffffffff
push 0x52c92b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x3d], 1
je 0x4bbaec
mov ecx, dword [esi + 0x78]
push str..OPCWriteTrans.cpp
push 0x38
push str.COPCWriteTrans::Complete
call fcn.00472450
mov ecx, eax
call fcn.00402490
cmp byte [esi + 0x3c], 0
jne 0x4bbac1
push 0x3c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
xor ebp, ebp
mov dword [esp + 0x38], ebp
cmp eax, ebp
je 0x4bb848
mov ecx, dword [esi + 0x78]
mov edi, dword [ecx + 0xcc]
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x34]
sub edx, dword [esi + 0x6c]
push ebp
push ecx
sar edx, 2
push edi
push edx
mov ecx, eax
call fcn.004bbfb0
mov ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x4bb84e
mov dword [esp + 0x14], ebp
mov ebx, ebp
mov dword [esp + 0x38], 0xffffffff
mov ecx, ebx
call fcn.004f6710
mov ecx, dword [esi + 0x78]
call fcn.00472450
mov ecx, dword [esi + 0x70]
sub ecx, dword [esi + 0x6c]
mov edx, dword [eax]
mov edx, dword [edx]
push esi
push ebx
sar ecx, 2
push ecx
push str.Adding__d_items_to_stream__x_in_transaction__x
push str.COPCWriteTrans::Complete
push 3
push eax
call edx
mov edi, dword [esi + 0x6c]
add esp, 0x1c
cmp edi, dword [esi + 0x70]
jbe 0x4bb895
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov edi, dword [esi + 0x70]
cmp dword [esi + 0x6c], edi
jbe 0x4bb8b2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x60]
test ecx, ecx
je 0x4bb8bd
cmp ecx, eax
je 0x4bb8c7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x1c], edi
je 0x4bba87
test ecx, ecx
jne 0x4bb9eb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x10]
jb 0x4bb8f0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x78]
mov edi, dword [edx]
push str.COPCWriteTrans::Complete
push 3
call fcn.00472450
push eax
call fcn.00401b30
add esp, 0xc
test eax, eax
je 0x4bba39
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esi + 0x78]
call fcn.00472450
mov edx, dword [edi]
mov ecx, dword [eax]
push edx
push ebp
push str._02d__OPCHANDLE_hClient_x
push str.COPCWriteTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esi + 0x78]
add esp, 0x18
inc ebp
call fcn.00472450
mov edx, dword [edi + 8]
mov ecx, dword [eax]
push edx
mov edx, dword [edi + 4]
push edx
push str.____FILETIME_ftTimeStamp_x._x
push str.COPCWriteTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esi + 0x78]
add esp, 0x18
call fcn.00472450
movzx edx, word [edi + 0xc]
mov ecx, dword [eax]
push edx
push str.____WORD_wQuality_x
push str.COPCWriteTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
add esp, 0x14
push 8
push 0
lea ebx, [edi + 0x10]
push ebx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov ecx, dword [esi + 0x78]
test eax, eax
jl 0x4bb9f2
call fcn.00472450
movzx ecx, word [ebx]
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
push str.____________vDataValue.vt_d
push str.COPCWriteTrans::Complete
push 3
push eax
call edx
mov ecx, dword [esi + 0x78]
add esp, 0x14
call fcn.00472450
mov edx, dword [esp + 0x28]
mov ecx, dword [eax]
push edx
push str.____VARIANT_vDataValue_ls
push str.COPCWriteTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
add esp, 0x14
jmp 0x4bba2a
mov eax, dword [ecx]
jmp 0x4bb8e1
call fcn.00472450
mov ecx, dword [eax]
mov edx, dword [ecx]
push str.____VARIANT_vDataValue
push str.COPCWriteTrans::Complete
push 3
push eax
call edx
mov ecx, dword [esi + 0x78]
add esp, 0x10
push 0x10
push 0
push 0x10
push ebx
push str.COPCWriteTrans::Complete
push 3
call fcn.00472450
mov ecx, eax
call fcn.004021a0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push edi
mov ecx, ebx
call eax
lea ecx, [edi + 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
jne 0x4bba83
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edx, dword [esp + 0x1c]
cmp edx, dword [eax + 0x10]
jb 0x4bba75
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add dword [esp + 0x1c], 4
mov ecx, dword [esp + 0x18]
jmp 0x4bb8a0
mov eax, dword [eax]
jmp 0x4bba66
mov ecx, dword [esi + 0x78]
call fcn.00472450
mov edx, dword [esi + 0x7c]
mov ecx, dword [eax]
push edx
push ebx
push str.Posting_stream__x_to_connection__x
push str.COPCWriteTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
add esp, 0x18
mov ecx, ebx
call fcn.004f6710
mov ecx, dword [esi + 0x7c]
push ebx
call fcn.004ba2f0
mov ecx, ebx
call fcn.004f6830
mov ecx, dword [esi + 0x78]
push esi
call fcn.00475380
mov ecx, dword [esi + 0x78]
push 0
push 0x57ef93
push str..OPCWriteTrans.cpp
push 0x7a
push str.COPCWriteTrans::Complete
call fcn.00472450
mov ecx, eax
call fcn.00402520
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret