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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52c328
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xcc]
xor ebp, ebp
cmp ecx, ebp
je 0x4b6738
push str..OPCPlaybackHistoryTrans.cpp
push 0x52
push str.COPCPlaybackHistoryTrans::Complete
call fcn.00449750
mov ecx, eax
call fcn.00402490
cmp byte [esi + 0x3c], 0
je 0x4b5dee
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0xcc]
mov edx, dword [ecx + 0x1c4]
push eax
push edx
call fcn.0046b070
jmp 0x4b6711
push 0x565000
lea edi, [esi + 0xe0]
push edi
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jne 0x4b5e24
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
mov edx, eax
add edx, 0xffffffff
mov ebx, ecx
adc ebx, 0xffffffff
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
jmp 0x4b5e35
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 + 0xd0]
add eax, edx
mov edx, dword [esi + 0xd4]
adc ecx, edx
mov dword [edi + 4], ecx
mov dword [edi], eax
mov edi, dword [esi + 0x70]
sub edi, dword [esi + 0x6c]
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 + 0x4c], edi
neg ecx
or ecx, eax
push ecx
call fcn.0051965e
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.0051965e
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 + 0x5c], 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.004e4820
mov dword [esp + 0xc0], ebp
mov byte [esp + 0x1b], 1
mov dword [esp + 0x38], ebp
cmp edi, ebp
jbe 0x4b6233
mov eax, ebx
xor edi, edi
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 0x70]
sub ecx, dword [esi + 0x6c]
mov ebp, dword [esp + 0x38]
sar ecx, 2
cmp ebp, ecx
jb 0x4b5f0b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x88]
sub eax, dword [esi + 0x84]
mov edx, dword [esi + 0x6c]
mov ebx, dword [edx + ebp*4]
sar eax, 2
cmp ebp, eax
jb 0x4b5f2a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x84]
mov edx, dword [esp + 0x38]
mov ebp, dword [ecx + edx*4]
mov ecx, ebx
mov dword [esp + 0x1c], ebp
call fcn.004f6710
mov eax, dword [esp + 0x3c]
push eax
push ebp
push ebx
mov ecx, esi
call fcn.004b40f0
mov ebx, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x14]
mov dword [edi + ecx], ebx
mov edx, dword [esp + 0x14]
mov ebp, eax
mov eax, dword [esi + 0xc8]
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.004b5d30
mov dword [esp + 0x68], eax
test ebp, ebp
jne 0x4b5faa
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 + 0x64], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0xa8], ecx
push eax
mov ecx, ebp
mov dword [esp + 0xb0], edx
call fcn.0047ed70
mov ecx, dword [ebp]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x78], edx
test ecx, ecx
je 0x4b5ff7
cmp ecx, ecx
je 0x4b5ffd
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x78], eax
je 0x4b6018
lea ecx, [esp + 0x50]
call fcn.00411970
mov byte [esp + 0x1b], 0
mov ecx, dword [ebp + 0x18]
mov ebp, dword [ebp]
mov dword [esp + 0x2c], ecx
test ebp, ebp
je 0x4b602c
cmp ebp, dword [esp + 0x64]
je 0x4b6032
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x2c], eax
je 0x4b6072
mov edx, dword [esp + 0x64]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4b6056
cmp eax, dword [esp + 0x40]
je 0x4b605c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x54], eax
je 0x4b6072
lea ecx, [esp + 0x40]
inc ebx
call fcn.00411970
jmp 0x4b6048
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
test eax, eax
je 0x4b608a
mov dword [esp + 0x20], 1
jl 0x4b6212
test ebx, ebx
jbe 0x4b6212
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.0051965e
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.0051965e
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.0051965e
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
add esp, 0xc
mov dword [edi + ecx + 0x14], eax
xor eax, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4b6127
cmp eax, ebp
je 0x4b612d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x54], ebx
je 0x4b6218
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 0x4b6200
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4b6165
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 + 0x58]
mov dword [eax + ecx], edx
mov edx, dword [ebx + 0x30]
mov dword [eax + ecx + 4], edx
test ebp, ebp
jne 0x4b6208
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4b6199
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 0x4b620d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, dword [ebp + 0x18]
jne 0x4b61c0
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 + 0x58], 8
add dword [esp + 0x24], 4
add ebx, 0x10
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], ebx
call fcn.00411970
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
jmp 0x4b611b
mov eax, dword [ebp]
jmp 0x4b615a
mov eax, dword [ebp]
jmp 0x4b618e
mov ebp, dword [ebp]
jmp 0x4b61b5
mov dword [ecx], 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 + 0x4c]
jb 0x4b5ef4
mov ecx, dword [esi + 0xcc]
push str.COPCPlaybackHistoryTrans::Complete
push 3
call fcn.00449750
push eax
call fcn.00401b30
add esp, 0xc
test eax, eax
je 0x4b6614
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esi + 0xcc]
call fcn.00449750
mov edx, dword [esi + 0x34]
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 + 0xcc]
add esp, 0x14
call fcn.00449750
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 + 0xcc]
add esp, 0x14
call fcn.00449750
mov ebp, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebp
push str.DWORD_dwNumItems_u
push str.COPCPlaybackHistoryTrans::Complete
push 3
push eax
call edx
mov edi, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
add esp, 0x14
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x60]
push ecx
call edi
mov ecx, dword [esi + 0xcc]
call fcn.00449750
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 edi
mov ecx, dword [esi + 0xcc]
call fcn.00449750
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 ebp, ebp
jbe 0x4b6609
xor ebp, ebp
jmp 0x4b63a0
mov ecx, dword [esi + 0xcc]
call fcn.00449750
mov edx, dword [esp + 0x48]
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 + 0xcc]
add esp, 0x18
call fcn.00449750
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 + 0xcc]
add esp, 0x14
call fcn.00449750
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 + 0xcc]
add esp, 0x14
call fcn.00449750
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 + 0xcc]
add esp, 0x14
call fcn.00449750
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 0x4b65f7
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 + 0xcc]
test eax, eax
je 0x4b64e8
call fcn.00449750
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 0x4b6516
call fcn.00449750
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 + 0xcc]
call fcn.00449750
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 + 0xcc]
add esp, 0x18
call fcn.00449750
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 + 0xcc]
test eax, eax
jl 0x4b65c1
call fcn.00449750
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 0x4b65dd
call fcn.00449750
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 0x4b647d
mov ebx, dword [esp + 0x24]
inc ebx
add ebp, 0x18
mov dword [esp + 0x24], ebx
cmp ebx, dword [esp + 0x4c]
jb 0x4b63a0
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, dword [esp + 0x48]
mov ecx, dword [esi + 0xcc]
mov eax, dword [ecx + 0x1c4]
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
push edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi + 0x34]
push ebx
push ecx
push edx
push eax
call fcn.0046ac90
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b66d1
test ebx, ebx
jbe 0x4b66c4
xor edi, edi
mov dword [esp + 0x20], ebx
xor ebx, ebx
cmp dword [edi + eax + 8], ebx
jbe 0x4b667b
xor ebp, ebp
mov edi, edi
mov eax, dword [edi + eax + 0x14]
add eax, ebp
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
inc ebx
add ebp, 0x10
cmp ebx, dword [edi + eax + 8]
jb 0x4b6660
mov ecx, dword [edi + eax + 0xc]
test ecx, ecx
je 0x4b6690
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [edi + eax + 0x10]
test ecx, ecx
je 0x4b66a5
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [edi + eax + 0x14]
test ecx, ecx
je 0x4b66ba
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x18]
add esp, 4
add edi, 0x18
sub dword [esp + 0x20], 1
jne 0x4b6654
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov edi, dword [esp + 0x4c]
add esp, 4
test edi, edi
je 0x4b66de
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp byte [esp + 0x1b], 0
jne 0x4b66f8
mov ecx, esi
call fcn.004f6710
mov ecx, dword [esi + 0xcc]
push esi
call fcn.0044be50
mov dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x8c]
call fcn.004e4850
xor ebp, ebp
mov ecx, dword [esi + 0xcc]
push ebp
push 0x57ef93
push str..OPCPlaybackHistoryTrans.cpp
push 0x12f
push str.COPCPlaybackHistoryTrans::Complete
call fcn.00449750
mov ecx, eax
call fcn.00402520
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