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

Disassembly:
push 0xffffffffffffffff
push 0x584f09
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [ebx + 0x6c]
xor edi, edi
cmp ecx, edi
je 0x4e2d20
push str..OPCReadTrans2.cpp
push 0x44
push str.COPCReadTrans2::Complete
call fcn.004b7610
mov ecx, eax
call fcn.0041ac10
cmp byte [ebx + 0x20], 0
je 0x4e23ba
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + 0x6c]
mov edx, dword [ebx + 0x18]
mov eax, dword [eax + 0xa0]
push ecx
push edx
push eax
call fcn.004e06b0
jmp 0x4e2cf2
cmp byte [ebx + 0x71], 0
mov dword [esp + 0x44], edi
mov dword [esp + 0x50], edi
lea esi, [ebx + 0x48]
je 0x4e23d4
mov ecx, dword [ebx + 0x6c]
push esi
call fcn.004b8b00
mov ebp, dword [esi + 0x10]
sub ebp, dword [esi + 0xc]
sar ebp, 2
push ebp
mov dword [esp + 0x30], ebp
call fcn.0051ecf5
push ebp
push 0
push eax
mov dword [esp + 0x48], eax
call sub.MSVCR90.dll_memset
add esp, 0x10
cmp dword [ebx + 0x68], edi
mov dword [esp + 0x14], edi
setne byte [esp + 0x23]
test ebp, ebp
jbe 0x4e2ce5
jmp 0x4e2410
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
cmp dword [esp + 0x14], ecx
jb 0x4e2425
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
add ebx, ebx
add ebx, ebx
mov ecx, dword [eax + ebx]
add eax, ebx
call fcn.004df150
xor ebp, ebp
mov dword [esp + 0x4c], ebp
test eax, eax
je 0x4e2457
mov edx, dword [eax + 0x44]
mov ebp, dword [eax + 0x40]
mov dword [esp + 0x4c], edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
cmp byte [esp + 0x23], 0
jne 0x4e2468
test ebp, ebp
jne 0x4e2468
cmp dword [esp + 0x4c], ebp
je 0x4e24dc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov byte [ecx + eax], 1
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
cmp eax, edx
jb 0x4e2487
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx + eax]
cmp byte [ecx + 0xad], 0
je 0x4e24db
mov edx, dword [esi + 0x10]
sub edx, eax
sar edx, 2
cmp dword [esp + 0x14], edx
jb 0x4e24aa
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx + eax]
cmp dword [ecx + 0xcc], 0
jbe 0x4e24db
mov edx, dword [esi + 0x10]
sub edx, eax
sar edx, 2
cmp dword [esp + 0x14], edx
jb 0x4e24cd
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx + eax]
add edi, dword [ecx + 0xcc]
jmp 0x4e24dc
inc edi
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x2c]
jb 0x4e2410
mov dword [esp + 0x1c], edi
test edi, edi
jbe 0x4e2ce1
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov dword [esp + 0x38], eax
xor ecx, ecx
mov eax, edi
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov dword [esp + 0x48], eax
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov dword [esp + 0x34], eax
xor ecx, ecx
mov eax, edi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov dword [esp + 0x40], eax
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
add esp, 0x14
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], eax
call fcn.004e1590
xor ebx, ebx
mov dword [esp + 0xd8], ebx
xor ecx, ecx
mov eax, edi
mov edx, 0x20
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov ecx, edi
shl ecx, 5
push ecx
push ebx
push eax
mov dword [esp + 0x4c], eax
call sub.MSVCR90.dll_memset
add esp, 0x10
lea ecx, [esp + 0xb0]
call fcn.0042f740
mov byte [esp + 0xd8], 1
xor ebp, ebp
mov dword [esp + 0x14], ebx
jmp 0x4e25f0
mov edx, dword [esp + 0x38]
cmp byte [edx + ebp], 0
je 0x4e27dd
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp ebp, eax
jb 0x4e2611
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
lea edi, [ebp*4]
mov ecx, dword [edi + eax]
cmp byte [ecx + 0xad], 0
je 0x4e2772
mov edx, dword [esi + 0x10]
sub edx, eax
sar edx, 2
cmp ebp, edx
jb 0x4e263d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
mov ecx, dword [edi + eax]
cmp dword [ecx + 0xcc], 0
jbe 0x4e2772
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
cmp ebp, edx
jb 0x4e2663
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
mov ecx, dword [edi + eax]
cmp dword [ecx + 0xcc], 0
jbe 0x4e27d9
lea ecx, [esp + 0x80]
call fcn.0046d600
mov byte [esp + 0xd8], 2
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
cmp ebp, edx
jb 0x4e269d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov ecx, dword [edi + ecx]
lea eax, [esp + 0x80]
push eax
call fcn.004b57c0
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x24]
mov dword [eax + ebx*4], edx
cmp dword [esp + 0xa8], 0
je 0x4e26f5
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
cmp ebp, ecx
jb 0x4e26db
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + edi]
add eax, edi
call fcn.004df150
test eax, eax
je 0x4e26f5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov edx, dword [esp + 0x3c]
mov ecx, ebx
shl ecx, 5
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x9c]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xa0]
mov dword [eax + 8], edx
mov cx, word [esp + 0x98]
lea edx, [esp + 0x88]
mov word [eax + 0xc], cx
push edx
add eax, 0x10
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xb4]
call fcn.004e2290
lea ecx, [esp + 0x88]
push ecx
mov dword [eax], ebp
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0xd8], 1
lea ecx, [esp + 0x80]
call fcn.0046d690
jmp 0x4e2650
mov edx, dword [esi + 0x10]
sub edx, eax
sar edx, 2
cmp ebp, edx
jb 0x4e2784
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
mov ecx, ebx
shl ecx, 5
add ecx, dword [esp + 0x3c]
push 1
add eax, edi
push ecx
mov ecx, dword [eax]
call fcn.004b4230
mov edx, dword [esp + 0x24]
mov dword [edx + ebx*4], eax
test eax, eax
je 0x4e27d4
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp ebp, eax
jb 0x4e27ba
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + edi]
add eax, edi
call fcn.004df150
test eax, eax
je 0x4e27d4
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
inc ebx
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x1c]
inc ebp
cmp ebp, dword [esp + 0x2c]
jb 0x4e25f0
xor ebp, ebp
mov dword [esp + 0x14], ebp
cmp edi, ebp
jbe 0x4e2850
xor ebx, ebx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xb4]
call fcn.004e2290
mov edx, dword [eax]
mov eax, dword [esp + 0x38]
cmp byte [eax + edx], 0
je 0x4e2843
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
sar ecx, 5
cmp ebp, ecx
jb 0x4e2826
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x3c]
lea esi, [ebx + edx]
lea edi, [ebx + eax]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
inc ebp
add ebx, 0x20
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, edi
jb 0x4e27f4
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c]
push str.COPCReadTrans2::Complete
push 3
call fcn.004b7610
push eax
call fcn.0041a290
add esp, 0xc
test eax, eax
je 0x4e2896
mov edx, dword [esi + 0x18]
mov eax, dword [0x63dd80]
mov ecx, dword [eax]
push esi
push edx
mov edx, dword [esp + 0x34]
push edx
push edi
push str.Adding_changed__d_items___d__to_transaction__d__0x_x_
push str.COPCReadTrans2::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
add esp, 0x20
mov edi, dword [esp + 0x60]
cmp edi, dword [esp + 0x64]
jbe 0x4e28a6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x30]
xor ebp, ebp
sub edx, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x60], eax
jbe 0x4e28e2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x4e28ec
cmp ecx, dword [esp + 0x54]
je 0x4e28f6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x48]
cmp edi, dword [esp + 0x2c]
je 0x4e2b17
cmp ebp, dword [esp + 0x1c]
jae 0x4e2b17
test ecx, ecx
jne 0x4e2a8b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor ecx, ecx
cmp edi, dword [ecx + 0x10]
jb 0x4e2925
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
cmp dword [ecx + eax], 0
jge 0x4e293b
mov dword [esp + 0x50], 1
mov edx, dword [edi]
mov dword [eax], edx
mov eax, dword [edi + 0x10]
mov dword [esi], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 4], ecx
mov edx, dword [edi + 0x18]
mov ecx, dword [esp + 0x28]
mov dword [esi + 8], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0xc], eax
movzx eax, word [edi + 0xc]
mov word [ecx + ebp*2], ax
and al, 0xc0
cmp al, 0xc0
je 0x4e2970
mov dword [esp + 0x44], 1
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x18]
mov dword [ebx], edx
mov eax, dword [edi + 8]
push str.COPCReadTrans2::Complete
mov dword [ebx + 4], eax
mov ecx, dword [ecx + 0x6c]
push 3
call fcn.004b7610
push eax
call fcn.0041a290
add esp, 0xc
test eax, eax
je 0x4e2ae0
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x6c]
call fcn.004b7610
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
mov ecx, dword [eax]
push edx
push ebp
push str._02d__OPCHANDLE_hClient_x
push str.COPCReadTrans2::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x6c]
add esp, 0x18
call fcn.004b7610
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
mov ecx, dword [ebx]
push ecx
push str.____FILETIME_ftTimeStamp_x._x
push str.COPCReadTrans2::Complete
push 3
push eax
call edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x6c]
add esp, 0x18
call fcn.004b7610
mov edx, dword [esp + 0x28]
movzx edx, word [edx + ebp*2]
mov ecx, dword [eax]
push edx
push str.____WORD_wQuality_x
push str.COPCReadTrans2::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
add esp, 0x14
push 8
push 0
push esi
lea ecx, [esp + 0x7c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jl 0x4e2a92
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x6c]
call fcn.004b7610
movzx edx, word [esi]
mov ecx, dword [eax]
push edx
push str.____________vDataValue.vt_d
push str.COPCReadTrans2::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x6c]
add esp, 0x14
call fcn.004b7610
mov ecx, dword [esp + 0x78]
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
push str.____VARIANT_vDataValue_ls
push str.COPCReadTrans2::Complete
push 3
push eax
call edx
add esp, 0x14
jmp 0x4e2ad5
mov ecx, dword [ecx]
jmp 0x4e291a
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x6c]
call fcn.004b7610
mov ecx, dword [eax]
mov edx, dword [ecx]
push str.____VARIANT_vDataValue
push str.COPCReadTrans2::Complete
push 3
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x6c]
add esp, 0x10
push 0x10
push 0
push 0x10
push esi
push str.COPCReadTrans2::Complete
push 3
call fcn.004b7610
mov ecx, eax
call fcn.0041a920
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4e2b13
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4e2afb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add dword [esp + 0x14], 4
mov ecx, dword [esp + 0x48]
add edi, 0x20
inc ebp
add ebx, 8
add esi, 0x10
jmp 0x4e28ca
mov eax, dword [eax]
jmp 0x4e2af0
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x70], 0
push str.COPCReadTrans2::Complete
mov esi, edx
mov ecx, dword [esi + 0x6c]
push 3
je 0x4e2b9e
call fcn.004b7610
push eax
call fcn.0041a290
add esp, 0xc
test eax, eax
je 0x4e2b5d
mov ecx, dword [esi + 0x6c]
call fcn.004b7610
mov ecx, dword [eax]
mov edx, dword [ecx]
push str.Firing_OnDataChange.
push str.COPCReadTrans2::Complete
push 3
push eax
call edx
add esp, 0x10
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax + 0x6c]
push edx
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0xa0]
push edx
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x5c]
push ebp
push ebx
push edi
push edx
mov edx, dword [esp + 0x60]
push edx
push ecx
mov ecx, dword [esi + 0x18]
push ecx
push eax
call fcn.004e00d0
jmp 0x4e2c19
call fcn.004b7610
push eax
call fcn.0041a290
add esp, 0xc
test eax, eax
je 0x4e2bce
mov ecx, dword [esi + 0x6c]
call fcn.004b7610
mov edx, dword [eax]
push str.Firing_OnReadComplete.
push str.COPCReadTrans2::Complete
push 3
push eax
mov eax, dword [edx]
call eax
add esp, 0x10
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax + 0x6c]
push edx
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0xa0]
push edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x60]
push edx
push ecx
mov ecx, dword [esi + 0x18]
push ecx
push eax
call fcn.004e02d0
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
test ebx, ebx
je 0x4e2c33
push ebx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
test edi, edi
jbe 0x4e2c4b
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, ebp
nop
push esi
call ebx
add esi, 0x10
sub edi, 1
jne 0x4e2c40
xor esi, esi
cmp ebp, esi
je 0x4e2c5a
push ebp
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x4e2c6b
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x4e2c7c
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x4e2c8d
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov byte [esp + 0xd8], 0
lea ecx, [esp + 0xb0]
call fcn.0042f760
mov dword [esp + 0xd8], 4
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x4e2cbd
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0xd8], 0xffffffff
mov eax, dword [esp + 0x54]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [ebx + 0x6c]
push ebx
call fcn.004ba360
mov ecx, dword [ebx + 0x6c]
push 0
push 0x5d1d25
push str..OPCReadTrans2.cpp
push 0x15a
push str.COPCReadTrans2::Complete
call fcn.004b7610
mov ecx, eax
call fcn.0041aca0
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret