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

Disassembly:
push 0xffffffffffffffff
push 0x58419b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
xor ebp, ebp
cmp ebx, ebp
je 0x4d9147
mov ecx, dword [ebx + 0x28]
cmp ecx, ebp
je 0x4d9147
call fcn.004a2510
jmp 0x4d914c
mov eax, dword [0x63dd80]
push str..OPCEventSubscription.cpp
push 0x88e
push str.COOPCEventSubscription::SendEvents
mov ecx, eax
call fcn.0041ac10
mov esi, dword [esp + 0xdc]
mov eax, dword [ebx + 0x34]
mov edi, dword [esi + 0x18]
mov dword [esp + 0x4c], edi
cmp eax, ebp
jbe 0x4d9181
cmp edi, eax
jbe 0x4d9181
mov edi, eax
mov dword [esp + 0x4c], eax
cmp edi, ebp
jbe 0x4d9923
xor ecx, ecx
mov eax, edi
mov edx, 0x48
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov dword [esp + 0x3c], eax
xor ecx, ecx
mov eax, edi
mov edx, 0x48
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov edi, dword [esi]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
mov ebp, dword [sym.imp.ole32.dll_CoTaskMemFree]
add esp, 8
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], eax
mov ebx, dword [esi + 0x14]
mov esi, dword [esi]
test edi, edi
je 0x4d91ee
cmp edi, esi
je 0x4d91f4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x40], ebx
je 0x4d97fb
test edi, edi
jne 0x4d925d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x40]
cmp eax, dword [edi + 0x14]
jne 0x4d9217
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x40]
mov edi, dword [ecx + 8]
mov edx, dword [edi]
mov eax, dword [edx + 0x20]
mov ecx, edi
call eax
mov edx, dword [edi]
xor ecx, ecx
cmp al, 1
mov eax, dword [edx + 0x28]
sete cl
mov esi, ecx
mov ecx, edi
mov dword [esp + 0x58], esi
call eax
xor ecx, ecx
cmp al, 1
sete cl
mov dword [esp + 0x54], ecx
cmp esi, 1
jne 0x4d9261
mov eax, dword [esp + 0x14]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x2c]
lea esi, [eax + edx*8]
jmp 0x4d926f
mov edi, dword [edi]
jmp 0x4d9208
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
lea ecx, [eax + eax*8]
lea esi, [edx + ecx*8]
push 0x48
push 0
push esi
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, edi
call fcn.0046a2f0
test eax, eax
je 0x4d9297
mov ecx, dword [esp + 0x1c]
push eax
push esi
call fcn.004d7350
jmp 0x4d9675
mov ecx, edi
call fcn.0046a300
mov ebx, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0xd4], 0
cmp dword [eax + 0x18], 8
jb 0x4d92c4
mov eax, dword [eax + 4]
jmp 0x4d92c7
add eax, 4
push eax
call fcn.004d33d0
add esp, 4
mov dword [esi + 4], eax
mov dword [esp + 0xd4], 0xffffffff
lea ecx, [esp + 0x78]
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 eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
lea eax, [esp + 0x70]
push eax
mov ecx, edi
call fcn.0046a380
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x94]
push eax
mov ecx, edi
mov dword [esi + 0xc], edx
call fcn.0046a320
mov dword [esp + 0xd4], 1
cmp dword [eax + 0x18], 8
jb 0x4d932d
mov eax, dword [eax + 4]
jmp 0x4d9330
add eax, 4
push eax
call fcn.004d33d0
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esp + 0xd4], 0xffffffff
lea ecx, [esp + 0x94]
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 [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov dword [esi + 0x18], eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
push 0
push 0x63d9dc
push 0x63c53c
push 0
push edi
mov dword [esi + 0x1c], eax
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x14
mov ebx, eax
push 0x5d1aa8
test ebx, ebx
je 0x4d93fb
mov dword [esi + 0x14], 2
call fcn.004d33d0
push 0x5d1aa8
mov dword [esi + 0x20], eax
call fcn.004d33d0
add esp, 8
lea ecx, [esp + 0xb0]
push ecx
mov ecx, ebx
mov dword [esi + 0x24], eax
call fcn.0046a8d0
mov dword [esp + 0xd4], 2
cmp dword [eax + 0x18], 8
jb 0x4d93d2
mov eax, dword [eax + 4]
jmp 0x4d93d5
add eax, 4
push eax
call fcn.004d33d0
add esp, 4
mov dword [esi + 0x44], eax
mov dword [esp + 0xd4], 0xffffffff
lea ecx, [esp + 0xb0]
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_]
jmp 0x4d9427
mov dword [esi + 0x14], 1
call fcn.004d33d0
push 0x5d1aa8
mov dword [esi + 0x20], eax
call fcn.004d33d0
push 0x5d1aa8
mov dword [esi + 0x24], eax
call fcn.004d33d0
add esp, 0xc
mov dword [esi + 0x44], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + 0x60]
lea edx, [esp + 0x64]
push edx
add ecx, 0x74
call fcn.004d5110
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
mov dword [esp + 0x40], 0
call fcn.004d4f20
add esp, 0x18
cmp dword [esp + 0x28], 0
je 0x4d9675
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [ebx + 0x60]
add ecx, 0x74
mov dword [esp + 0x24], eax
call fcn.004d83f0
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
sar ecx, 2
mov dword [esi + 0x3c], ecx
shl ecx, 4
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x3c]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x3c]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051ecf5
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
add esp, 8
mov ecx, edi
mov dword [esp + 0x50], 0
call edx
mov ecx, dword [ebx + 0x60]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
add ecx, 0x74
call fcn.004d83f0
mov ebx, eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
cmp eax, dword [ebx + 0x10]
jbe 0x4d9536
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x3c], 0
mov ecx, dword [ebx]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jbe 0x4d9647
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x60]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
push eax
add ecx, 0x74
call fcn.004d83f0
mov ebx, eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x44], eax
cmp dword [ebx + 0xc], eax
jbe 0x4d959d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x30]
mov ebx, dword [ebx]
test eax, eax
je 0x4d95ab
cmp eax, ebx
je 0x4d95b1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x44]
cmp dword [esp + 0x34], edx
je 0x4d9647
mov eax, dword [esi + 0x40]
add eax, dword [esp + 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
cmp dword [esp + 0x30], 0
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x24]
mov dword [ecx + ebx], 0x80004005
jne 0x4d9686
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax + 0x10]
jb 0x4d95fe
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
inc dword [esp + 0x50]
add dword [esp + 0x48], 0x10
mov dword [ebx], eax
mov eax, dword [esp + 0x30]
add ebx, 4
mov dword [esp + 0x24], ebx
test eax, eax
jne 0x4d9691
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax + 0x10]
jb 0x4d9635
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x50]
add dword [esp + 0x34], 4
cmp edx, dword [esi + 0x3c]
jb 0x4d9568
mov ebx, dword [esp + 0x20]
mov ecx, dword [esi + 0x40]
mov edx, dword [esp + 0x28]
mov eax, dword [edi]
push ebx
push ecx
mov ecx, dword [esi + 0x3c]
push edx
mov edx, dword [eax + 0x30]
push ecx
mov ecx, edi
call edx
push ebx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x2c]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 8
mov eax, 1
cmp dword [esp + 0x58], eax
jne 0x4d9695
add dword [esp + 0x14], eax
jmp 0x4d9699
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
jmp 0x4d95ef
mov eax, dword [eax]
jmp 0x4d9626
add dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x4c]
jb 0x4d9723
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x80]
push esi
mov edi, ecx
push edi
push 0
push 0
push edx
push eax
call fcn.00502a40
test edi, edi
jbe 0x4d9723
mov eax, edi
lea ecx, [eax + eax*8]
lea esi, [esi + ecx*8 + 0x10]
mov edx, dword [esi - 0x54]
dec dword [esp + 0x18]
sub esi, 0x48
push edx
call ebp
mov eax, dword [esi]
push eax
call ebp
mov ecx, dword [esi + 0x10]
push ecx
call ebp
mov edx, dword [esi + 0x14]
push edx
call ebp
mov eax, dword [esi + 0x34]
push eax
call ebp
xor edi, edi
cmp dword [esi + 0x2c], edi
jbe 0x4d9716
xor ebx, ebx
mov ecx, dword [esi + 0x30]
add ecx, ebx
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc edi
add ebx, 0x10
cmp edi, dword [esi + 0x2c]
jb 0x4d9701
mov edx, dword [esi + 0x30]
push edx
call ebp
cmp dword [esp + 0x18], 0
ja 0x4d96d4
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x4c]
jae 0x4d9738
cmp dword [esp + 0x54], 1
jne 0x4d97c2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x80]
push esi
push ecx
push 1
push edx
push eax
call fcn.00502a40
test esi, esi
jbe 0x4d97c2
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + eax*8]
lea esi, [edx + ecx*8 + 0x10]
lea esp, [esp]
mov eax, dword [esi - 0x54]
dec dword [esp + 0x14]
sub esi, 0x48
push eax
call ebp
mov ecx, dword [esi]
push ecx
call ebp
mov edx, dword [esi + 0x10]
push edx
call ebp
mov eax, dword [esi + 0x14]
push eax
call ebp
mov ecx, dword [esi + 0x34]
push ecx
call ebp
xor edi, edi
cmp dword [esi + 0x2c], edi
jbe 0x4d97b5
xor ebx, ebx
lea ecx, [ecx]
mov edx, dword [esi + 0x30]
add edx, ebx
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc edi
add ebx, 0x10
cmp edi, dword [esi + 0x2c]
jb 0x4d97a0
mov eax, dword [esi + 0x30]
push eax
call ebp
cmp dword [esp + 0x14], 0
ja 0x4d9770
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4d97f7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov esi, dword [esp + 0x40]
cmp esi, dword [eax + 0x14]
jne 0x4d97e1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi]
mov esi, dword [esp + 0xdc]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x40], ecx
jmp 0x4d91e1
mov eax, dword [eax]
jmp 0x4d97d2
cmp dword [esp + 0x18], 0
jbe 0x4d9882
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x80]
push esi
push edi
push 0
push 0
push edx
push eax
call fcn.00502a40
lea ecx, [edi + edi*8]
lea esi, [esi + ecx*8 + 0x10]
nop
mov edx, dword [esi - 0x54]
dec dword [esp + 0x18]
sub esi, 0x48
push edx
call ebp
mov eax, dword [esi]
push eax
call ebp
mov ecx, dword [esi + 0x10]
push ecx
call ebp
mov edx, dword [esi + 0x14]
push edx
call ebp
mov eax, dword [esi + 0x34]
push eax
call ebp
xor edi, edi
cmp dword [esi + 0x2c], edi
jbe 0x4d9875
xor ebx, ebx
lea ecx, [ecx]
mov ecx, dword [esi + 0x30]
add ecx, ebx
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc edi
add ebx, 0x10
cmp edi, dword [esi + 0x2c]
jb 0x4d9860
mov edx, dword [esi + 0x30]
push edx
call ebp
cmp dword [esp + 0x18], 0
ja 0x4d9830
mov eax, dword [esp + 0x38]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp dword [esp + 0x14], 0
jbe 0x4d9912
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x80]
push esi
push edi
push 0
push 1
push ecx
push edx
call fcn.00502a40
lea eax, [edi + edi*8]
lea esi, [esi + eax*8 + 0x10]
mov ecx, dword [esi - 0x54]
dec dword [esp + 0x14]
sub esi, 0x48
push ecx
call ebp
mov edx, dword [esi]
push edx
call ebp
mov eax, dword [esi + 0x10]
push eax
call ebp
mov ecx, dword [esi + 0x14]
push ecx
call ebp
mov edx, dword [esi + 0x34]
push edx
call ebp
xor edi, edi
cmp dword [esi + 0x2c], edi
jbe 0x4d9905
xor ebx, ebx
mov eax, dword [esi + 0x30]
add eax, ebx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc edi
add ebx, 0x10
cmp edi, dword [esi + 0x2c]
jb 0x4d98f0
mov ecx, dword [esi + 0x30]
push ecx
call ebp
cmp dword [esp + 0x14], 0
ja 0x4d98c3
mov edx, dword [esp + 0x2c]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov ebx, dword [esp + 0x20]
add esp, 4
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x4d9931
call fcn.004a2510
jmp 0x4d9936
mov eax, dword [0x63dd80]
push 0
push 0x5d1d25
push str..OPCEventSubscription.cpp
push 0x99e
push str.COOPCEventSubscription::SendEvents
mov ecx, eax
call fcn.0041aca0
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret 4