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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5867f8
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xb8]
xor ebp, ebp
cmp ecx, ebp
je 0x4ff97c
push str..OPCPlaybackHistoryTrans.cpp
push 0x53
push str.COPCPlaybackHistoryTrans::Complete
call fcn.004a2510
mov ecx, eax
call fcn.0041ac10
cmp byte [esi + 0x20], 0
je 0x4ff03e
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0xb8]
mov edx, dword [ecx + 0x194]
push eax
push edx
call fcn.004bdfe0
jmp 0x4ff955
push 0x5b1cd4
lea edi, [esi + 0xcc]
push edi
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jne 0x4ff074
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x90]
mov edx, eax
add edx, 0xffffffff
mov ebx, ecx
adc ebx, 0xffffffff
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
jmp 0x4ff085
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, eax
mov dword [esp + 0x5c], edx
mov edx, ecx
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0xbc]
add eax, edx
mov edx, dword [esi + 0xc0]
adc ecx, edx
mov dword [edi + 4], ecx
mov dword [edi], eax
mov edi, dword [esi + 0x54]
sub edi, dword [esi + 0x50]
mov dword [esp + 0x70], ecx
sar edi, 2
mov dword [esp + 0x6c], eax
xor ecx, ecx
mov eax, edi
mov edx, 0x18
mul edx
seto cl
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x44], edi
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov dword [esp + 0x18], eax
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov ecx, dword [esp + 0x1c]
mov ebx, eax
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
add eax, eax
push eax
push ebp
push ecx
mov dword [esp + 0x54], ebx
call sub.MSVCR90.dll_memset
lea edx, [edi*4]
push edx
push ebp
push ebx
call sub.MSVCR90.dll_memset
add esp, 0x20
lea ecx, [esp + 0x8c]
call fcn.0046e2b0
mov dword [esp + 0xc0], ebp
mov byte [esp + 0x1b], 1
mov dword [esp + 0x38], ebp
cmp edi, ebp
jbe 0x4ff47e
mov eax, ebx
xor edi, edi
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 0x54]
sub ecx, dword [esi + 0x50]
mov ebp, dword [esp + 0x38]
sar ecx, 2
cmp ebp, ecx
jb 0x4ff15b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x68]
mov edx, dword [esi + 0x50]
mov ebx, dword [edx + ebp*4]
sar eax, 2
cmp ebp, eax
jb 0x4ff174
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x68]
mov edx, dword [esp + 0x38]
mov ebp, dword [ecx + edx*4]
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
mov dword [esp + 0x1c], ebp
call edx
mov eax, dword [esp + 0x3c]
push eax
push ebp
push ebx
mov ecx, esi
call fcn.004fd4f0
mov ebx, dword [ebx + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [edi + ecx], ebx
mov edx, dword [esp + 0x14]
mov ebp, eax
mov eax, dword [esi + 0xac]
dec eax
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x1c]
xor ebx, ebx
mov dword [edi + edx + 4], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x8c]
mov dword [esp + 0xac], ecx
push edx
mov ecx, ebp
mov dword [esp + 0xac], eax
call fcn.004fef70
mov dword [esp + 0x58], eax
test ebp, ebp
jne 0x4ff1f3
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0xa8], ecx
push eax
mov ecx, ebp
mov dword [esp + 0xb0], edx
call fcn.004c7470
mov ecx, dword [ebp]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x78], edx
test ecx, ecx
je 0x4ff240
cmp ecx, ecx
je 0x4ff246
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x78], eax
je 0x4ff261
lea ecx, [esp + 0x64]
call fcn.00476640
mov byte [esp + 0x1b], 0
mov ecx, dword [ebp + 0x18]
mov ebp, dword [ebp]
mov dword [esp + 0x2c], ecx
test ebp, ebp
je 0x4ff275
cmp ebp, dword [esp + 0x54]
je 0x4ff27b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x2c], eax
je 0x4ff2bb
mov edx, dword [esp + 0x54]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4ff29f
cmp eax, dword [esp + 0x48]
je 0x4ff2a5
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x68], eax
je 0x4ff2bb
lea ecx, [esp + 0x48]
inc ebx
call fcn.00476640
jmp 0x4ff291
mov eax, dword [esp + 0x3c]
cmp dword [eax], 0
jge 0x4ff2d1
mov dword [esp + 0x20], 1
jmp 0x4ff45f
test ebx, ebx
jbe 0x4ff459
mov ecx, dword [esp + 0x14]
mov dword [edi + ecx + 8], ebx
xor ecx, ecx
mov eax, ebx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov ecx, dword [esp + 0x18]
mov dword [edi + ecx + 0xc], eax
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov ecx, dword [esp + 0x1c]
mov dword [edi + ecx + 0x10], eax
xor ecx, ecx
mov eax, ebx
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
add esp, 0xc
mov dword [edi + ecx + 0x14], eax
xor eax, eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4ff36e
cmp eax, ebp
je 0x4ff374
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x68], ebx
je 0x4ff45f
mov edx, dword [esp + 0x14]
mov eax, dword [edi + edx + 0x14]
add eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
test ebp, ebp
jne 0x4ff447
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4ff3ac
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + ecx + 0xc]
mov edx, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x50]
mov dword [eax + ecx], edx
mov edx, dword [ebx + 0x30]
mov dword [eax + ecx + 4], edx
test ebp, ebp
jne 0x4ff44f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4ff3e0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + eax + 0x10]
mov edx, dword [ebx + 0x28]
mov eax, dword [esp + 0x24]
mov dword [eax + ecx], edx
test ebp, ebp
jne 0x4ff454
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, dword [ebp + 0x18]
jne 0x4ff407
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + ecx + 0x14]
add ebx, 0x18
push ebx
mov ebx, dword [esp + 0x20]
add edx, ebx
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
add dword [esp + 0x50], 8
add dword [esp + 0x24], 4
add ebx, 0x10
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], ebx
call fcn.00476640
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
jmp 0x4ff362
mov eax, dword [ebp]
jmp 0x4ff3a1
mov eax, dword [ebp]
jmp 0x4ff3d5
mov ebp, dword [ebp]
jmp 0x4ff3fc
mov dword [eax], 0x40041002
mov eax, dword [esp + 0x38]
add dword [esp + 0x3c], 4
inc eax
add edi, 0x18
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x44]
jb 0x4ff144
mov edi, dword [esp + 0x44]
mov ecx, dword [esi + 0xb8]
push str.COPCPlaybackHistoryTrans::Complete
push 3
call fcn.004a2510
push eax
call fcn.0041a290
add esp, 0xc
test eax, eax
je 0x4ff858
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esi + 0xb8]
call fcn.004a2510
mov edx, dword [esi + 0x18]
mov ecx, dword [eax]
push edx
push str.DWORD_dwTransactionID0x_08x
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esi + 0xb8]
add esp, 0x14
call fcn.004a2510
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
push edx
push str.HRESULT_hrStatus0x_08x
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esi + 0xb8]
add esp, 0x14
call fcn.004a2510
mov ecx, dword [eax]
mov edx, dword [ecx]
push edi
push str.DWORD_dwNumItems_u
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
call edx
mov ebx, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
add esp, 0x14
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x60]
push ecx
call ebx
mov ecx, dword [esi + 0xb8]
call fcn.004a2510
movzx ecx, word [esp + 0x36]
push ecx
movzx ecx, word [esp + 0x38]
push ecx
movzx ecx, word [esp + 0x3a]
push ecx
movzx ecx, word [esp + 0x3c]
mov edx, dword [eax]
push ecx
movzx ecx, word [esp + 0x3e]
mov edx, dword [edx]
push ecx
movzx ecx, word [esp + 0x3e]
push ecx
movzx ecx, word [esp + 0x40]
push ecx
push str.Playback_from__04u__02u__02u__02u:_02u:_02u._03u
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
call edx
add esp, 0x2c
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x70]
push ecx
call ebx
mov ecx, dword [esi + 0xb8]
call fcn.004a2510
movzx ecx, word [esp + 0x36]
mov edx, dword [eax]
push ecx
movzx ecx, word [esp + 0x38]
push ecx
movzx ecx, word [esp + 0x3a]
push ecx
movzx ecx, word [esp + 0x3c]
push ecx
movzx ecx, word [esp + 0x3e]
mov edx, dword [edx]
push ecx
movzx ecx, word [esp + 0x3e]
push ecx
movzx ecx, word [esp + 0x40]
push ecx
push str.___________to__04u__02u__02u__02u:_02u:_02u._03u
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
call edx
xor ebx, ebx
add esp, 0x2c
mov dword [esp + 0x24], ebx
test edi, edi
jbe 0x4ff849
xor ebp, ebp
lea ecx, [ecx]
mov ecx, dword [esi + 0xb8]
call fcn.004a2510
mov edx, dword [esp + 0x40]
mov edx, dword [edx + ebx*4]
mov ecx, dword [eax]
push edx
push ebx
push str.HRESULT_pErrors__d_0x_08x
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esi + 0xb8]
add esp, 0x18
call fcn.004a2510
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebx
push str.OPCHDA_ITEM_pItemValues__u_
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
call edx
mov ecx, dword [esi + 0xb8]
add esp, 0x14
call fcn.004a2510
mov edx, dword [esp + 0x14]
mov edx, dword [edx + ebp]
mov ecx, dword [eax]
push edx
push str.____________hClient0x_08x
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esi + 0xb8]
add esp, 0x14
call fcn.004a2510
mov edx, dword [esp + 0x14]
mov edx, dword [edx + ebp + 4]
mov ecx, dword [eax]
push edx
push str.____________haAggregate_u
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esi + 0xb8]
add esp, 0x14
call fcn.004a2510
mov edx, dword [esp + 0x14]
mov edx, dword [edx + ebp + 8]
mov ecx, dword [eax]
push edx
push str.____________dwCount_u
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x28]
xor edi, edi
add esp, 0x14
cmp dword [eax + ebp + 8], edi
jbe 0x4ff837
mov dword [esp + 0x1c], edi
mov edx, dword [eax + ebp + 0xc]
lea ecx, [esp + 0x28]
lea ebx, [edi*8]
push ecx
add edx, ebx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ecx, dword [esi + 0xb8]
test eax, eax
je 0x4ff728
call fcn.004a2510
movzx edx, word [esp + 0x36]
push edx
movzx edx, word [esp + 0x38]
push edx
movzx edx, word [esp + 0x3a]
push edx
movzx edx, word [esp + 0x3c]
push edx
movzx edx, word [esp + 0x3e]
mov ecx, dword [eax]
push edx
movzx edx, word [esp + 0x3e]
push edx
movzx edx, word [esp + 0x40]
push edx
push edi
push str.____________pftTimeStamps__u__04u__02u__02u__02u:_02u:_02u._03u
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
add esp, 0x30
jmp 0x4ff756
call fcn.004a2510
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + ebp + 0xc]
lea ecx, [edx + ebx]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push ebx
push ecx
push edi
push str.____________pftTimeStamps__u_0x_08x:0x_08x
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
call edx
add esp, 0x1c
mov ecx, dword [esi + 0xb8]
call fcn.004a2510
mov edx, dword [esp + 0x14]
mov edx, dword [edx + ebp + 0x10]
mov edx, dword [edx + edi*4]
mov ecx, dword [eax]
push edx
push edi
push str.____________pdwQualities__u_0x_08x
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esi + 0xb8]
add esp, 0x18
call fcn.004a2510
mov edx, dword [esp + 0x14]
mov edx, dword [edx + ebp + 0x14]
mov ebx, dword [esp + 0x1c]
movzx edx, word [edx + ebx]
mov ecx, dword [eax]
push edx
push edi
push str.____________pvDataValues__u_.vt0x_04x
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + ebp + 0x14]
add esp, 0x18
push 8
push 0
add edx, ebx
push edx
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov ecx, dword [esi + 0xb8]
test eax, eax
jl 0x4ff801
call fcn.004a2510
mov edx, dword [esp + 0x7c]
mov ecx, dword [eax]
push edx
push edi
push str.____________pvDataValues__u___ls_
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
add esp, 0x18
jmp 0x4ff81d
call fcn.004a2510
mov ecx, dword [eax]
mov edx, dword [ecx]
push edi
push str.____________pvDataValues__u_...
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
call edx
add esp, 0x14
mov eax, dword [esp + 0x14]
inc edi
add ebx, 0x10
mov dword [esp + 0x1c], ebx
cmp edi, dword [eax + ebp + 8]
jb 0x4ff6bd
mov ebx, dword [esp + 0x24]
inc ebx
add ebp, 0x18
mov dword [esp + 0x24], ebx
cmp ebx, dword [esp + 0x44]
jb 0x4ff5e0
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esi + 0xb8]
mov eax, dword [ecx + 0x194]
mov ecx, dword [esp + 0x20]
push ebx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi + 0x18]
push edi
push ecx
push edx
push eax
call fcn.004bdc20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4ff913
test edi, edi
jbe 0x4ff906
xor ebx, ebx
mov dword [esp + 0x20], edi
xor edi, edi
cmp dword [ebx + eax + 8], edi
jbe 0x4ff8bd
xor ebp, ebp
mov eax, dword [ebx + eax + 0x14]
add eax, ebp
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
inc edi
add ebp, 0x10
cmp edi, dword [ebx + eax + 8]
jb 0x4ff8a2
mov ecx, dword [ebx + eax + 0xc]
test ecx, ecx
je 0x4ff8d2
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [ebx + eax + 0x10]
test ecx, ecx
je 0x4ff8e7
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [ebx + eax + 0x14]
test ecx, ecx
je 0x4ff8fc
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x18]
add esp, 4
add ebx, 0x18
sub dword [esp + 0x20], 1
jne 0x4ff898
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov ebx, dword [esp + 0x44]
add esp, 4
test ebx, ebx
je 0x4ff920
push ebx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp byte [esp + 0x1b], 0
jne 0x4ff93c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esi + 0xb8]
push esi
call fcn.004a4bb0
mov dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x8c]
call fcn.0046e310
xor ebp, ebp
mov ecx, dword [esi + 0xb8]
push ebp
push 0x5d1d25
push str..OPCPlaybackHistoryTrans.cpp
push 0x12f
push str.COPCPlaybackHistoryTrans::Complete
call fcn.004a2510
mov ecx, eax
call fcn.0041aca0
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret