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

Disassembly:
push 0xffffffffffffffff
push 0x52ad59
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], esi
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x14], ebx
cmp esi, ebx
je 0x49a829
mov ecx, dword [esi + 0x6c]
cmp ecx, ebx
je 0x49a829
call fcn.00449750
jmp 0x49a82e
mov eax, dword [0x5b6bb0]
push str..OPCEventSubscription.cpp
push 0x7f1
push str.COOPCEventSubscription::GetRefreshEvents
mov ecx, eax
call fcn.00402490
mov ecx, dword [esp + 0x80]
call fcn.0044c190
mov dword [esp + 0x78], ebx
mov edi, 1
mov dword [esp + 0x14], edi
call fcn.004fa640
mov ecx, eax
call fcn.004f6de0
mov ebp, eax
mov dword [esp + 0x20], ebp
cmp ebp, ebx
je 0x49aaa1
lea eax, [esp + 0x54]
push eax
mov ecx, ebp
call fcn.0050a720
mov dword [esp + 0x78], edi
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x54]
mov edi, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
jmp 0x49a8a0
mov esi, dword [esp + 0x68]
test ebx, ebx
je 0x49a8ae
cmp ebx, dword [esp + 0x54]
je 0x49a8b4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, esi
je 0x49aa86
test ebx, ebx
jne 0x49aa07
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x49a8d7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lea eax, [edi + 8]
push eax
mov ecx, ebp
call fcn.00509a50
mov ebp, eax
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x49aa5a
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call edx
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x30], edi
mov ebx, eax
mov esi, dword [esp + 0x4c]
test edi, edi
je 0x49a922
cmp edi, dword [esp + 0x38]
je 0x49a928
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, esi
je 0x49aa19
test edi, edi
jne 0x49aa0e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x49a94b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [ebp]
mov edx, dword [edx + 0x18]
lea eax, [ebx + 8]
push eax
mov ecx, ebp
call edx
mov ebp, eax
test ebp, ebp
je 0x49a9e5
push 1
push 0
mov ecx, ebp
call fcn.0050c350
mov ecx, ebp
call fcn.0050a9b0
test al, al
je 0x49a9de
mov ecx, ebp
call fcn.0050a9d0
test al, al
jne 0x49a98f
mov ecx, ebp
call fcn.0050aa40
test al, al
jne 0x49a9de
mov eax, dword [0x55eee0]
mov ecx, dword [0x55eedc]
push eax
push ecx
push 0
mov ecx, ebp
call fcn.0050bd90
mov ecx, dword [esp + 0x80]
mov esi, dword [ecx + 0x14]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
push edx
push eax
push esi
call fcn.0043b3f0
mov ecx, dword [esp + 0x80]
push 1
mov edi, eax
call fcn.0043b4a0
mov dword [esi + 4], edi
mov ecx, dword [edi + 4]
mov dword [ecx], edi
mov edi, dword [esp + 0x30]
mov ecx, ebp
call fcn.004f6830
test edi, edi
jne 0x49aa15
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x49a9fc
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x1c]
jmp 0x49a914
mov eax, dword [ebx]
jmp 0x49a8cc
mov eax, dword [edi]
jmp 0x49a940
mov eax, dword [edi]
jmp 0x49a9f1
mov ecx, ebp
call fcn.004f6830
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x38]
call fcn.00429960
mov edx, dword [esp + 0x4c]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov dword [esp + 0x50], 0
mov byte [esp + 0x7c], 1
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
add esp, 8
test ebx, ebx
jne 0x49aa82
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x49aa71
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [edi]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov edi, ecx
jmp 0x49a8a0
mov eax, dword [ebx]
jmp 0x49aa66
mov ecx, ebp
call fcn.004f6830
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x54]
call fcn.0042ad90
mov esi, dword [esp + 0x24]
xor ebx, ebx
cmp esi, ebx
je 0x49aab3
mov ecx, dword [esi + 0x6c]
cmp ecx, ebx
je 0x49aab3
call fcn.00449750
jmp 0x49aab8
mov eax, dword [0x5b6bb0]
push ebx
push 0x57ef93
push str..OPCEventSubscription.cpp
push 0x81d
push str.COOPCEventSubscription::GetRefreshEvents
mov ecx, eax
call fcn.00402520
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4