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

Disassembly:
push 0xffffffffffffffff
push 0x52afb1
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
test esi, esi
je 0x49ce25
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x49ce25
call fcn.00449750
jmp 0x49ce2a
mov eax, dword [0x5b6bb0]
push str..OPCEventSubscription.cpp
push 0x736
push str.COOPCEventSubscription::SendEvents
mov ecx, eax
call fcn.00402490
mov edi, dword [esp + 0x100]
mov ecx, dword [esi + 0x78]
mov eax, dword [edi + 0x18]
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
test ecx, ecx
jbe 0x49ce65
cmp eax, ecx
jbe 0x49ce65
mov eax, ecx
mov dword [esp + 0x38], ecx
test eax, eax
jbe 0x49d56b
xor ecx, ecx
mov edx, 0x48
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051965e
mov ecx, dword [edi]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
add esp, 4
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], ebx
nop
mov eax, dword [esp + 0x100]
mov edi, dword [esp + 0x20]
mov esi, dword [eax + 0x14]
mov eax, dword [eax]
test edi, edi
je 0x49ceb8
cmp edi, eax
je 0x49cebe
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebp, dword [esp + 0x24]
cmp ebp, esi
mov esi, dword [esp + 0x1c]
je 0x49d558
mov edx, dword [esi + 0xe8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x49d558
test edi, edi
jne 0x49d0b9
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [edi + 0x14]
jne 0x49cefe
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 8]
lea ecx, [ebx + ebx*8]
push 0x48
lea esi, [edx + ecx*8]
push 0
push esi
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, edi
call fcn.004e5b00
mov ebp, eax
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
lea ecx, [ebp + 0x24]
lea edx, [esp + 0x9c]
push edx
call eax
mov dword [esp + 0xf8], 0
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call fcn.004594a0
add esp, 4
mov dword [esi + 4], eax
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x9c]
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 ecx, ebp
call fcn.004f6830
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
call fcn.004e5b20
mov edx, dword [eax]
lea ecx, [esp + 0xd4]
mov dword [esi + 8], edx
mov eax, dword [eax + 4]
push ecx
mov ecx, edi
mov dword [esi + 0xc], eax
call fcn.00414230
mov dword [esp + 0xf8], 1
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call fcn.004594a0
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0xd4]
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 + 8]
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 0x5b1d20
push 0x5b01f4
push 0
push edi
mov dword [esi + 0x1c], eax
call sub.MSVCR90.dll___RTDynamicCast
push 0
push 0x5b1cfc
push 0x5b01f4
push 0
push edi
mov ebp, eax
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x28
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x49d0c0
mov ecx, ebp
mov dword [esi + 0x14], 4
call fcn.00510220
mov ecx, ebp
mov word [esi], ax
call fcn.00510230
mov ecx, ebp
mov word [esi + 2], ax
call fcn.00510240
push eax
call fcn.00459d90
add esp, 4
mov ecx, ebp
mov dword [esi + 0x20], eax
call fcn.00510250
push eax
call fcn.00459d90
add esp, 4
mov ecx, ebp
mov dword [esi + 0x24], eax
call fcn.00510260
mov ecx, ebp
mov word [esi + 0x28], ax
call fcn.00510270
movzx ecx, al
lea edx, [esp + 0x8c]
mov dword [esi + 0x2c], ecx
push edx
mov ecx, ebp
call fcn.00510280
mov ecx, dword [eax]
mov dword [esi + 0x30], ecx
mov edx, dword [eax + 4]
mov ecx, ebp
mov dword [esi + 0x34], edx
call fcn.005102a0
mov ecx, ebp
mov dword [esi + 0x38], eax
call fcn.005102b0
push eax
call fcn.00459d90
add esp, 4
jmp 0x49d15d
mov edi, dword [edi]
jmp 0x49cef3
mov ebp, dword [esp + 0x14]
push 0x57ea28
test ebp, ebp
je 0x49d134
mov dword [esi + 0x14], 2
call fcn.004594a0
push 0x57ea28
mov dword [esi + 0x20], eax
call fcn.004594a0
mov dword [esi + 0x24], eax
add esp, 8
lea eax, [esp + 0xb8]
push eax
mov ecx, ebp
call fcn.0050ffb0
mov dword [esp + 0xf8], 2
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call fcn.004594a0
add esp, 4
mov dword [esi + 0x44], eax
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0xb8]
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 0x49d160
mov dword [esi + 0x14], 1
call fcn.004594a0
push 0x57ea28
mov dword [esi + 0x20], eax
call fcn.004594a0
push 0x57ea28
mov dword [esi + 0x24], eax
call fcn.004594a0
add esp, 0xc
mov dword [esi + 0x44], eax
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x84]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x50]
add ecx, 0x70
push eax
call fcn.00498d50
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
mov dword [esp + 0x2c], 0
call fcn.00498a10
add esp, 0x18
cmp dword [esp + 0x14], 0
je 0x49d429
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebx + 0x84]
add ecx, 0x70
mov dword [esp + 0x18], eax
call fcn.0049b680
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 edx, dword [edi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x5c]
push eax
mov ecx, edi
call edx
mov dword [esp + 0xf8], 3
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
mov dword [esp + 0x14], 0
call edx
mov ecx, dword [ebx + 0x84]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
add ecx, 0x70
call fcn.0049b680
mov ebp, eax
mov ebx, dword [ebp + 0xc]
cmp ebx, dword [ebp + 0x10]
jbe 0x49d250
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x3c], 0
mov ecx, dword [ebp]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
jbe 0x49d396
mov dword [esp + 0x18], 0
lea ecx, [ecx]
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [edx + 0x84]
add ecx, 0x70
mov dword [esp + 0x44], eax
call fcn.0049b680
mov ebp, eax
mov ebx, dword [ebp + 0x10]
cmp dword [ebp + 0xc], ebx
jbe 0x49d2a4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebp]
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x49d2b3
cmp ebp, eax
je 0x49d2b9
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x2c], ebx
je 0x49d396
mov eax, dword [esi + 0x40]
add eax, dword [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
test ebp, ebp
jne 0x49d3f6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [ebp + 0x10]
jb 0x49d2ee
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x64]
call fcn.0046f770
mov ebp, dword [eax]
mov ecx, dword [esp + 0x74]
mov ebx, dword [eax + 4]
mov dword [esp + 0x80], ecx
test ebp, ebp
je 0x49d31e
cmp ebp, dword [esp + 0x5c]
je 0x49d324
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, dword [esp + 0x80]
je 0x49d358
test ebp, ebp
jne 0x49d3fe
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, dword [ebp + 0x18]
jne 0x49d346
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0x40]
add edx, dword [esp + 0x18]
add ebx, 0x18
push ebx
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
mov eax, dword [esp + 0x28]
inc dword [esp + 0x14]
add dword [esp + 0x18], 0x10
test eax, eax
jne 0x49d406
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [eax + 0x10]
jb 0x49d384
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x14]
add dword [esp + 0x2c], 4
cmp edx, dword [esi + 0x3c]
jb 0x49d270
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov esi, dword [esp + 0x5c]
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
mov edi, dword [esp + 0x74]
test esi, esi
je 0x49d3be
cmp esi, dword [esp + 0x5c]
je 0x49d3c4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, edi
je 0x49d411
test esi, esi
jne 0x49d40d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 0x18]
jne 0x49d3dd
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add ebx, 0x18
push ebx
call ebp
lea ecx, [esp + 0x44]
call fcn.00427870
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
jmp 0x49d3b0
mov ebp, dword [ebp]
jmp 0x49d2df
mov ebp, dword [ebp]
jmp 0x49d33b
mov eax, dword [eax]
jmp 0x49d375
mov esi, dword [esi]
jmp 0x49d3d2
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.0046f9c0
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x49d4b4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edi, dword [esp + 0x24]
cmp edi, dword [eax + 0x14]
jne 0x49d44c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebp, dword [edi]
inc ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], ebx
cmp ebx, dword [esp + 0x38]
jae 0x49d487
mov eax, dword [esp + 0x100]
mov edi, dword [eax + 0x14]
mov eax, dword [eax]
test esi, esi
je 0x49d471
cmp esi, eax
je 0x49d477
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, edi
jne 0x49cea0
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp byte [esp + 0x104], 0
je 0x49d4b8
mov eax, dword [esp + 0x100]
mov edi, dword [eax + 0x14]
mov eax, dword [eax]
test esi, esi
je 0x49d4a5
cmp esi, eax
je 0x49d4ab
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebp, edi
sete al
jmp 0x49d4ba
mov eax, dword [esi]
jmp 0x49d43d
xor eax, eax
mov ecx, dword [esp + 0x30]
xor edx, edx
cmp byte [esp + 0x104], dl
push ecx
setne dl
push ebx
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x7c]
push edx
mov edx, dword [eax + 0xc0]
push ecx
push edx
call fcn.004b9580
mov dword [esp + 0x3c], eax
test ebx, ebx
jbe 0x49cea0
mov ecx, dword [esp + 0x30]
lea eax, [ebx + ebx*8]
lea esi, [ecx + eax*8 + 0x10]
lea esp, [esp]
mov edx, dword [esi - 0x54]
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esi, 0x48
push edx
dec ebx
call edi
mov eax, dword [esi]
push eax
call edi
mov ecx, dword [esi + 0x10]
push ecx
call edi
mov edx, dword [esi + 0x14]
push edx
call edi
mov eax, dword [esi + 0x34]
push eax
call edi
xor edi, edi
cmp dword [esi + 0x2c], edi
jbe 0x49d545
xor ebp, ebp
mov ecx, dword [esi + 0x30]
add ecx, ebp
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc edi
add ebp, 0x10
cmp edi, dword [esi + 0x2c]
jb 0x49d530
mov edx, dword [esi + 0x30]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
ja 0x49d500
jmp 0x49ce9b
mov eax, dword [esp + 0x30]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov ebx, dword [esp + 0x40]
add esp, 4
jmp 0x49d59e
cmp byte [esp + 0x104], bl
je 0x49d59e
push 0
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0xc0]
mov edi, eax
push edi
push 0
push 1
push 1
push ecx
push edx
call fcn.004b9580
push edi
mov ebx, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x49d5ac
call fcn.00449750
jmp 0x49d5b1
mov eax, dword [0x5b6bb0]
push 0
push 0x57ef93
push str..OPCEventSubscription.cpp
push 0x7cd
push str.COOPCEventSubscription::SendEvents
mov ecx, eax
call fcn.00402520
mov eax, ebx
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret 8