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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x533e0b
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
mov ecx, dword [0x5b6bb0]
push str..EventDispatcher.cpp
push 0x2c0
push str.bil::CEventDispatcher::UpdateGlobalFilter
call fcn.00402490
push 0x90
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x28], eax
xor ecx, ecx
mov dword [esp + 0x80], ecx
cmp eax, ecx
je 0x4f780a
mov ecx, eax
call fcn.0050fee0
mov edi, eax
mov dword [esp + 0x1c], edi
jmp 0x4f7810
mov dword [esp + 0x1c], ecx
mov edi, ecx
mov dword [esp + 0x80], 0xffffffff
mov ecx, edi
call fcn.004f6710
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax]
mov esi, dword [ebx + 0x54]
mov ebp, eax
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1b], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebp
mov edi, edi
mov ecx, dword [esp + 0x20]
mov ebx, dword [ebx + 0x6c]
mov eax, dword [ecx + 0x54]
test esi, esi
je 0x4f7852
cmp esi, eax
je 0x4f7858
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, ebx
je 0x4f7a9f
test esi, esi
jne 0x4f78dc
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [esi + 0x18]
jne 0x4f7875
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x24]
or dword [edi + 0x24], edx
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x28], ebx
cmp dword [edi + 0x28], eax
jbe 0x4f788d
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
cmp dword [edi + 0x2c], eax
jae 0x4f7898
mov dword [edi + 0x2c], eax
cmp byte [esp + 0x1a], 0
jne 0x4f7990
cmp dword [ebx + 0x4c], 0
jne 0x4f78e0
mov eax, dword [edi + 0x48]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x30]
push ecx
mov ecx, esi
mov byte [esp + 0x1e], 1
call fcn.0050f040
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov esi, dword [esi + 0x18]
mov dword [esi + 8], esi
jmp 0x4f7990
mov esi, dword [esi]
jmp 0x4f786a
mov edx, dword [ebx + 0x48]
mov ebp, dword [edx]
mov esi, dword [ebx + 0x30]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebp
mov edi, dword [ebx + 0x48]
mov eax, dword [ebx + 0x30]
test esi, esi
je 0x4f78fe
cmp esi, eax
je 0x4f7904
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, edi
je 0x4f798c
test esi, esi
jne 0x4f7988
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [esi + 0x18]
jne 0x4f7921
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
mov ebx, dword [esi + 0x48]
mov ebp, dword [esi + 0x30]
lea ecx, [esp + 0x24]
add esi, 0x30
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.004f7430
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x4f7952
cmp eax, ebp
je 0x4f7958
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [edi + 4], ebx
jne 0x4f796e
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.004b1450
lea ecx, [esp + 0x34]
call fcn.004bc600
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
jmp 0x4f78f0
mov esi, dword [esi]
jmp 0x4f7916
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x1b], 0
jne 0x4f79a9
cmp dword [ebx + 0x6c], 0
jne 0x4f79c3
mov ecx, edi
mov byte [esp + 0x1b], 1
call fcn.0050f680
lea ecx, [esp + 0x3c]
call fcn.004bc600
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
jmp 0x4f7840
mov edx, dword [ebx + 0x68]
mov eax, dword [edx]
mov ebp, dword [ebx + 0x50]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], eax
mov esi, dword [ebx + 0x68]
mov eax, dword [ebx + 0x50]
test ebp, ebp
je 0x4f79e1
cmp ebp, eax
je 0x4f79e7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x30], esi
je 0x4f79a9
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x50]
lea esi, [edi + 0x50]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
test ebp, ebp
jne 0x4f7a92
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edx, dword [esp + 0x30]
cmp edx, dword [eax + 0x18]
jne 0x4f7a1d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x30]
add eax, 0xc
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.004f7430
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x4f7a43
cmp eax, dword [esp + 0x44]
je 0x4f7a49
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x48]
cmp dword [edi + 4], ecx
jne 0x4f7a7c
test ebp, ebp
jne 0x4f7a9a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x30]
cmp edx, dword [ebp + 0x18]
jne 0x4f7a6b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.004b1450
lea ecx, [esp + 0x2c]
call fcn.004bc600
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
jmp 0x4f79d3
mov eax, dword [ebp]
jmp 0x4f7a0e
mov ebp, dword [ebp]
jmp 0x4f7a5c
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x74]
push edi
push eax
call fcn.0050fc80
add esp, 8
test al, al
je 0x4f7ac1
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x74]
push edi
call fcn.0050fa30
mov ecx, edi
call fcn.004f6830
mov ecx, dword [0x5b6bb0]
push 0
push 0x57ef93
push str..EventDispatcher.cpp
push 0x331
push str.bil::CEventDispatcher::UpdateGlobalFilter
call fcn.00402520
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret