Function at 0x4ea540
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1196
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x2c], eax
call fcn.0050c8e0
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x4ea596
mov dword [esi], eax
mov eax, esi
jmp 0x4ea8fa
lea eax, [ebp - 0x28]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov edi, 1
lock xadd dword [ebx + 0x20c], edi
inc edi
mov ecx, dword [ebp - 0x28]
lea eax, [ebx + 0x58]
push edi
mov edx, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x5c], eax
call fcn.0050c960
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 1
test esi, esi
jne 0x4ea5f5
mov edi, dword [ebp - 0x58]
mov dword [edi], eax
cmp byte [ebp - 0x1c], al
jne 0x4ea8f8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
jmp 0x4ea8f3
lea ecx, [ebp - 0x158]
call fcn.004e1eb0
push str.asw::event_routing::rpc::impl::RpcEndpoint::CreateCallContext1_
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0043b960
mov ecx, dword [ebp - 0x2c]
add ecx, 0x4c
mov dword [ebp - 0x3c], ecx
push ecx
mov ecx, eax
call fcn.00428480
push str.___cookie
mov ecx, eax
call fcn.0043b960
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.004087a0
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 1
call fcn.00426780
push edi
mov ecx, ebx
call fcn.004eb0b0
test eax, eax
jne 0x4ea711
mov dword [ebp - 0x38], 0x41443335
mov edx, 7
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x34], 0x43414444
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x158]
push eax
mov dword [ebp - 0x54], 0x6e657665
mov dword [ebp - 0x50], 0x5f725f74
mov dword [ebp - 0x4c], 0x637072
mov dword [ebp - 0x40], 0x3f4
call fcn.00425500
add esp, 4
push str.asw::event_routing::rpc::impl::RpcEndpoint::CreateCallContext1
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 4
call fcn.0043b960
push 0x63bdd4
mov ecx, eax
call fcn.0043b960
push dword [ebp - 0x3c]
mov ecx, eax
call fcn.00428480
push ecx
mov ecx, eax
call fcn.004f81f0
lea ecx, [ebp - 0x158]
call fcn.00426780
mov edi, dword [ebp - 0x58]
mov dword [edi], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], esi
call fcn.0050cbe0
cmp byte [ebp - 0x1c], 0
jne 0x4ea8f8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
jmp 0x4ea8f3
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xf4]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4ea934
mov eax, dword [eax]
mov edi, dword [eax + 8]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call dword [0x5f2510]
mov ecx, dword [ebp - 0x24]
call edi
test al, al
jne 0x4ea7fd
mov dword [ebp - 0x38], 0x41443335
mov edx, 7
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x34], 0x43414444
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x158]
push eax
mov dword [ebp - 0x54], 0x6e657665
mov dword [ebp - 0x50], 0x5f725f74
mov dword [ebp - 0x4c], 0x637072
mov dword [ebp - 0x40], 0x3f8
call fcn.00425500
add esp, 4
push str.asw::event_routing::rpc::impl::RpcEndpoint::CreateCallContext1
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 6
call fcn.0043b960
push 0x63bdd4
mov ecx, eax
call fcn.0043b960
push dword [ebp - 0x3c]
mov ecx, eax
call fcn.00428480
push ecx
mov ecx, eax
call fcn.004f8270
lea ecx, [ebp - 0x158]
call fcn.00426780
mov edi, dword [ebp - 0x58]
mov dword [edi], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], esi
call fcn.0050cbe0
cmp byte [ebp - 0x1c], 0
jne 0x4ea8f8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
jmp 0x4ea8f3
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.004eb130
mov edi, dword [eax]
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x2c]
add edx, 0x34
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], eax
cmp ecx, eax
je 0x4ea87e
mov dword [ebp - 0x3c], ecx
mov esi, eax
cmp dword [edx + 0x14], 7
mov eax, edx
jbe 0x4ea83c
mov eax, dword [edx]
cmp dword [ecx + 0x50], 7
lea ebx, [ecx + 0x3c]
mov edi, dword [ecx + 0x4c]
jbe 0x4ea84a
mov ebx, dword [ebx]
cmp edi, dword [edx + 0x10]
jne 0x4ea91e
test edi, edi
je 0x4ea87b
sub ebx, eax
nop dword [eax]
movzx edx, word [eax + ebx]
movzx ecx, word [eax]
cmp dx, cx
jne 0x4ea918
add eax, 2
sub edi, 1
jne 0x4ea860
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x20]
push dword [ebp - 0x14]
xor eax, eax
cmp ecx, dword [ebp - 0x2c]
cmovne eax, ecx
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4ea8ce
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x4ea8ce
mov eax, dword [ebx]
mov edi, dword [eax]
mov ecx, edi
call dword [0x5f2510]
mov ecx, ebx
call edi
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x4ea8ce
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x5f2510]
mov ecx, ebx
call edi
cmp dword [ebp - 0x24], 0
jne 0x4ea8df
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x28]
call fcn.0050ce60
mov edi, dword [ebp - 0x58]
mov dword [edi], esi
cmp byte [ebp - 0x1c], 0
jne 0x4ea8f8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x5c]
call fcn.004dc600
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x24]
add ecx, 0x98
mov dword [ebp - 0x3c], ecx
cmp ecx, esi
jne 0x4ea832
jmp 0x4ea87b
call fcn.005953da
int3