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

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov ecx, dword [esi + 0x98]
test ecx, ecx
je 0x4b896f
push str..OPCUpdateHistoryTrans.cpp
push 0x2c
push str.COPCUpdateHistoryTrans::Complete
call fcn.00449750
mov ecx, eax
call fcn.00402490
cmp byte [esi + 0x3c], 0
je 0x4b86bd
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx + 0x1c4]
push eax
push edx
call fcn.0046b070
jmp 0x4b894a
push ebx
push ebp
mov ebp, dword [esi + 0x70]
sub ebp, dword [esi + 0x6c]
xor ecx, ecx
sar ebp, 2
mov eax, ebp
mov edx, 4
mul edx
seto cl
push edi
mov dword [esp + 0x24], 0
neg ecx
or ecx, eax
push ecx
call fcn.0051965e
mov dword [esp + 0x24], eax
xor ecx, ecx
mov eax, ebp
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051965e
mov ecx, dword [esi + 0x78]
mov ebx, eax
mov eax, dword [esi + 0x8c]
mov edi, dword [eax]
add esp, 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], 0
test ebp, ebp
jbe 0x4b8806
mov eax, dword [esp + 0x20]
sub eax, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
jmp 0x4b8740
mov eax, dword [esi + 0x78]
mov ebx, dword [esi + 0x8c]
test eax, eax
je 0x4b8753
cmp eax, dword [esp + 0x28]
je 0x4b8759
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, edi
je 0x4b8802
mov edx, dword [esi + 0x70]
sub edx, dword [esi + 0x6c]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
sar edx, 2
cmp dword [esp + 0x14], edx
jb 0x4b8778
call ebx
mov eax, dword [esi + 0x6c]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [ecx + edx], eax
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4b87b9
call ebx
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4b87a3
call ebx
mov eax, dword [edi + 8]
cmp word [eax + 8], 0xa
je 0x4b87bd
mov eax, dword [esp + 0x10]
mov dword [eax], 0x80004005
jmp 0x4b87c6
mov eax, dword [eax]
jmp 0x4b879c
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
cmp dword [eax], 0
je 0x4b87d3
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4b8974
call ebx
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4b87ea
call ebx
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], 4
mov edi, dword [edi]
inc eax
mov dword [esp + 0x14], eax
cmp eax, ebp
jb 0x4b8740
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x98]
push str.COPCUpdateHistoryTrans::Complete
push 3
call fcn.00449750
push eax
call fcn.00401b30
add esp, 0xc
test eax, eax
je 0x4b890b
mov ecx, dword [esi + 0x98]
call fcn.00449750
mov ecx, dword [esi + 0x34]
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
push str.DWORD_dwTransactionID0x_08x
push str.COPCUpdateHistoryTrans::Complete
push 3
push eax
call edx
mov ecx, dword [esi + 0x98]
add esp, 0x14
call fcn.00449750
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push edx
push str.HRESULT_hrStatus0x_08x
push str.COPCUpdateHistoryTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esi + 0x98]
add esp, 0x14
call fcn.00449750
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebp
push str.DWORD_dwCount_u
push str.COPCUpdateHistoryTrans::Complete
push 3
push eax
call edx
add esp, 0x14
xor edi, edi
test ebp, ebp
jbe 0x4b890b
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jmp 0x4b88b0
mov ecx, dword [esi + 0x98]
call fcn.00449750
mov edx, dword [esp + 0x18]
mov edx, dword [ebx + edx]
mov ecx, dword [eax]
push edx
push edi
push str.OPCHANDLE_phClients__d_0x_08x
push str.COPCUpdateHistoryTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esi + 0x98]
add esp, 0x18
call fcn.00449750
mov edx, dword [ebx]
mov ecx, dword [eax]
push edx
push edi
push str.HRESULT_pErrors__d_0x_08x
push str.COPCUpdateHistoryTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
inc edi
add esp, 0x18
add ebx, 4
cmp edi, ebp
jb 0x4b88b0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x98]
push ebx
push edi
push ebp
push ecx
mov ecx, dword [eax + 0x1c4]
push edx
push ecx
call fcn.0046ae80
test edi, edi
je 0x4b893a
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
test ebx, ebx
je 0x4b8947
push ebx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
pop edi
pop ebp
pop ebx
mov ecx, dword [esi + 0x98]
push 0
push 0x57ef93
push str..OPCUpdateHistoryTrans.cpp
push 0x7a
push str.COPCUpdateHistoryTrans::Complete
call fcn.00449750
mov ecx, eax
call fcn.00402520
pop esi
add esp, 0x20
ret
mov eax, dword [eax]
jmp 0x4b87e3