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

Disassembly:
push 0xffffffffffffffff
push 0x586829
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x6c]
xor ebp, ebp
cmp ecx, ebp
je 0x500264
push str..OPCReadAttributeTrans.cpp
push 0x6c
push str.COPCReadAttributeTrans::Complete
call fcn.004a2510
mov ecx, eax
call fcn.0041ac10
cmp byte [esi + 0x20], 0
je 0x4ffa5c
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx + 0x194]
push eax
push edx
call fcn.004bdfe0
jmp 0x500240
mov ecx, dword [esi + 0x70]
call fcn.004df150
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x74]
xor ecx, ecx
mov edx, 0x14
mul edx
seto cl
mov dword [esp + 0x30], ebp
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov edi, eax
mov eax, dword [esi + 0x74]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x20], edi
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov ebx, eax
mov eax, dword [esi + 0xa4]
sub eax, dword [esi + 0xa0]
add esp, 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], ebp
test eax, 0xfffffffc
je 0x4ffbfe
mov eax, dword [esi + 0xa4]
sub eax, dword [esi + 0xa0]
xor ecx, ecx
sar eax, 2
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov ebx, eax
mov eax, dword [esi + 0xa4]
sub eax, dword [esi + 0xa0]
xor ecx, ecx
sar eax, 2
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x30], ebx
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xa4]
sub eax, dword [esi + 0xa0]
xor ecx, ecx
sar eax, 2
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov ecx, dword [esi + 0xa4]
sub ecx, dword [esi + 0xa0]
add esp, 0xc
sar ecx, 2
xor edi, edi
mov dword [esp + 0x28], eax
test ecx, ecx
jbe 0x4ffbc9
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov ebp, eax
mov dword [esp + 0x24], ecx
lea ecx, [ecx]
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edx, dword [esp + 0x24]
mov dword [edx + ebp], 0x80004005
mov eax, dword [esi + 0xa4]
sub eax, dword [esi + 0xa0]
sar eax, 2
cmp edi, eax
jb 0x4ffb9b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + edi*4]
mov dword [ebp], edx
mov eax, dword [esi + 0xa4]
sub eax, dword [esi + 0xa0]
inc edi
sar eax, 2
add ebx, 0x10
add ebp, 4
cmp edi, eax
jb 0x4ffb70
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0xa4]
sub edx, dword [esi + 0xa0]
push ecx
mov ecx, dword [esp + 0x38]
push ebx
push eax
sar edx, 2
push edx
call fcn.00425140
mov eax, dword [esp + 0x28]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add esp, 4
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esi + 0x74]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
push eax
push 0
push edi
call sub.MSVCR90.dll_memset
mov ecx, dword [esi + 0x74]
add ecx, ecx
add ecx, ecx
push ecx
push 0
push ebx
call sub.MSVCR90.dll_memset
xor ebp, ebp
add esp, 0x18
cmp dword [esi + 0x74], ebp
jbe 0x4fff14
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
add edi, 0x10
jmp 0x4ffc60
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx + 0x10]
mov dword [edi - 0x10], edx
mov eax, dword [esi + 0x8c]
sub eax, dword [esi + 0x88]
sar eax, 2
cmp ebp, eax
jb 0x4ffc82
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x88]
mov edx, dword [ecx + ebp*4]
mov dword [edi - 8], edx
mov eax, dword [esi + 0x78]
cmp dword [eax + ebp*4], 0
je 0x4ffd2e
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x40]
push edx
mov edx, dword [esi + 0x78]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [edx + ebp*4]
call fcn.004b3bb0
mov al, byte [esp + 0x14]
and al, 0xc0
cmp al, 0xc0
jne 0x4ffd1a
push 8
mov dword [edi - 0xc], 1
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
push 0x10
mov dword [edi - 4], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [edi], eax
mov eax, dword [edi - 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi]
add esp, 8
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edx, dword [edi]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
mov dword [ebx + ebp*4], 0
jmp 0x4fff03
mov dword [ebx + ebp*4], 0x80004005
mov dword [esp + 0x30], 1
jmp 0x4fff03
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
test eax, eax
jl 0x4ffd8a
push 8
mov dword [edi - 0xc], 1
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
push 0x10
mov dword [edi - 4], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi], eax
mov eax, dword [edi - 4]
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov edx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov eax, dword [edi]
add esp, 8
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi]
push ecx
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [ebx + ebp*4], ecx
jmp 0x4ffef9
cmp eax, 0xc0040203
jne 0x4ffeee
mov edx, dword [esi + 0x8c]
sub edx, dword [esi + 0x88]
sar edx, 2
cmp ebp, edx
jb 0x4ffdae
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x88]
mov eax, dword [eax + ebp*4]
mov ebx, 1
sub eax, ebx
je 0x4ffddb
sub eax, 0xc
je 0x4ffddb
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ebx
mov dword [ecx + ebp*4], 0xc004100c
mov ebx, ecx
jmp 0x4ffef9
push 8
mov dword [edi - 0xc], ebx
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
push 0x10
mov dword [edi - 4], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi], eax
mov edx, dword [esp + 0x40]
mov eax, dword [edi - 4]
mov dword [eax], edx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov edx, dword [edi]
add esp, 8
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x24]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
mov edx, dword [esi + 0x8c]
sub edx, dword [esi + 0x88]
sar edx, 2
cmp ebp, edx
jb 0x4ffe34
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x88]
cmp dword [eax + ebp*4], ebx
jne 0x4ffe6c
mov ecx, dword [edi]
mov edx, 2
mov word [ecx], dx
mov ecx, dword [esp + 0x34]
push 0
call fcn.0046d020
mov ecx, dword [edi]
mov edx, dword [esp + 0x18]
mov word [ecx + 8], ax
mov dword [edx + ebp*4], 0
mov ebx, edx
jmp 0x4ffef9
mov edx, dword [esi + 0x8c]
sub edx, eax
sar edx, 2
cmp ebp, edx
jb 0x4ffe81
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x88]
cmp dword [eax + ebp*4], 0xd
jne 0x4ffedf
mov ecx, dword [edi]
mov edx, 8
lea eax, [esp + 0x60]
mov word [ecx], dx
mov ecx, dword [esp + 0x34]
push eax
call fcn.0044d5a0
mov dword [esp + 0x84], 0
cmp dword [eax + 0x18], 8
jb 0x4ffebb
mov eax, dword [eax + 4]
jmp 0x4ffebe
add eax, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [edi]
mov dword [ecx + 8], eax
mov dword [esp + 0x84], 0xffffffff
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [esp + 0x18]
mov dword [edx + ebp*4], 0
mov ebx, edx
jmp 0x4ffef9
mov dword [ebx + ebp*4], eax
mov dword [esp + 0x30], 1
add dword [esp + 0x24], 0x10
add dword [esp + 0x28], 4
inc ebp
add edi, 0x14
cmp ebp, dword [esi + 0x74]
jb 0x4ffc60
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4fff25
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4fff36
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esi + 0x6c]
push str.COPCReadAttributeTrans::Complete
push 3
call fcn.004a2510
push eax
call fcn.0041a290
add esp, 0xc
test eax, eax
je 0x500177
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp dword [esi + 0x74], ebx
jbe 0x500173
add edi, 4
lea esp, [esp]
mov ecx, dword [esi + 0x6c]
call fcn.004a2510
mov ebp, dword [esp + 0x18]
mov edx, dword [ebp + ebx*4]
mov ecx, dword [eax]
push edx
push ebx
push str.HRESULT_phrErrors__d_0x_08x
push str.COPCReadAttributeTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
add esp, 0x18
cmp dword [ebp + ebx*4], 0
jl 0x50015e
mov ecx, dword [esi + 0x6c]
call fcn.004a2510
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebx
push str.OPCHDA_ATTRIBUTE_pAttributeValues__u_
push str.COPCReadAttributeTrans::Complete
push 3
push eax
call edx
mov ecx, dword [esi + 0x6c]
add esp, 0x14
call fcn.004a2510
mov edx, dword [edi - 4]
mov ecx, dword [eax]
push edx
push str._________________hClient0x_08x
push str.COPCReadAttributeTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esi + 0x6c]
add esp, 0x14
call fcn.004a2510
mov edx, dword [edi]
mov ecx, dword [eax]
push edx
push str._________________dwNumValues_u
push str.COPCReadAttributeTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esi + 0x6c]
add esp, 0x14
call fcn.004a2510
mov edx, dword [edi + 4]
mov ecx, dword [eax]
push edx
push str._________________dwAttributeID0x_08x
push str.COPCReadAttributeTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
xor ebp, ebp
add esp, 0x14
cmp dword [edi], ebp
jbe 0x50015e
mov dword [esp + 0x2c], ebp
mov edx, dword [edi + 8]
lea ecx, [esp + 0x40]
lea ebx, [ebp*8]
push ecx
add edx, ebx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ecx, dword [esi + 0x6c]
test eax, eax
je 0x50009c
call fcn.004a2510
movzx edx, word [esp + 0x4e]
push edx
movzx edx, word [esp + 0x50]
push edx
movzx edx, word [esp + 0x52]
push edx
movzx edx, word [esp + 0x54]
push edx
movzx edx, word [esp + 0x56]
mov ecx, dword [eax]
push edx
movzx edx, word [esp + 0x56]
push edx
movzx edx, word [esp + 0x58]
push edx
push ebp
push str._________________ftTimeStamps__u__04u__02u__02u__02u:_02u:_02u._03u
push str.COPCReadAttributeTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
add esp, 0x30
jmp 0x5000c4
call fcn.004a2510
mov ecx, dword [edi + 8]
mov edx, dword [eax]
mov edx, dword [edx]
add ecx, ebx
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
push ebx
push ecx
push ebp
push str._________________ftTimeStamps__u_0x_08x:0x_08x
push str.COPCReadAttributeTrans::Complete
push 3
push eax
call edx
add esp, 0x1c
mov ecx, dword [esi + 0x6c]
call fcn.004a2510
mov edx, dword [edi + 0xc]
mov ebx, dword [esp + 0x2c]
movzx edx, word [ebx + edx]
mov ecx, dword [eax]
push edx
push ebp
push str._________________vAttributeValues__u_.vt0x_04x
push str.COPCReadAttributeTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [edi + 0xc]
add esp, 0x18
push 8
push 0
add ecx, ebx
push ecx
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov ecx, dword [esi + 0x6c]
test eax, eax
jl 0x50012e
call fcn.004a2510
mov edx, dword [esp + 0x58]
mov ecx, dword [eax]
push edx
push ebp
push str._________________vAttributeValues__u___ls_
push str.COPCReadAttributeTrans::Complete
push 3
push eax
mov eax, dword [ecx]
call eax
add esp, 0x18
jmp 0x50014a
call fcn.004a2510
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebp
push str._________________vAttributeValues__u_...
push str.COPCReadAttributeTrans::Complete
push 3
push eax
call edx
add esp, 0x14
inc ebp
add ebx, 0x10
mov dword [esp + 0x2c], ebx
cmp ebp, dword [edi]
jb 0x500035
mov ebx, dword [esp + 0x20]
inc ebx
add edi, 0x14
mov dword [esp + 0x20], ebx
cmp ebx, dword [esi + 0x74]
jb 0x4fff70
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x70]
mov eax, dword [edx + 0x10]
mov edx, dword [esi + 0x18]
push ebx
push edi
push ecx
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esi + 0x6c]
push ecx
mov ecx, dword [eax + 0x194]
push edx
push ecx
call fcn.004bda40
xor ebp, ebp
cmp edi, ebp
je 0x500228
mov dword [esp + 0x20], ebp
cmp dword [esi + 0x74], ebp
jbe 0x50021d
add edi, 0xc
lea esp, [esp]
xor ebp, ebp
cmp dword [edi - 8], ebp
jbe 0x5001e9
xor ebx, ebx
lea esp, [esp]
mov edx, dword [edi + 4]
add edx, ebx
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc ebp
add ebx, 0x10
cmp ebp, dword [edi - 8]
jb 0x5001d0
mov ebx, dword [esp + 0x18]
mov eax, dword [edi]
test eax, eax
je 0x5001f8
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x500208
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x20]
inc eax
add edi, 0x14
mov dword [esp + 0x20], eax
cmp eax, dword [esi + 0x74]
jb 0x5001c0
mov edi, dword [esp + 0x1c]
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
xor ebp, ebp
cmp ebx, ebp
je 0x500235
push ebx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esi + 0x6c]
push ebp
push 0x5d1d25
push str..OPCReadAttributeTrans.cpp
push 0x15c
push str.COPCReadAttributeTrans::Complete
call fcn.004a2510
mov ecx, eax
call fcn.0041aca0
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret