Function at 0x4d9840
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1110
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x1c], 0x39463338
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x18], 0x43373941
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x170]
push eax
mov dword [ebp - 0x60], 0x6e657665
mov dword [ebp - 0x5c], 0x5f725f74
mov dword [ebp - 0x58], 0x637072
mov dword [ebp - 0x4c], 0x115
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
call fcn.004254c0
add esp, 4
push str.asw::event_routing::rpc::impl::Module::Close
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], 0
call fcn.0043ba60
lea ecx, [ebp - 0x170]
call fcn.00426740
xor al, al
mov ecx, 0x68ac4c
xchg byte [ecx], al
lea ecx, [esi + 0xe0]
call fcn.004a3280
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [esi + 0xbc]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esi, 0xd4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4d9978
mov ecx, eax
call fcn.004db920
mov edx, dword [esi]
mov edi, edx
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x4d997d
xor edi, edi
mov dword [ebp - 0x2c], edi
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ebp - 0x30], edi
cmp ecx, edx
je 0x4d9997
push ecx
call fcn.004dce00
mov eax, dword [esi]
add esp, 4
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x34]
add eax, 0xbc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x2c]
cmp edi, ecx
je 0x4d9a02
nop dword [eax]
mov edi, dword [edi + 0x14]
test edi, edi
je 0x4d99ef
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4d99ef
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5f3508]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4d99ec
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5f3508]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
add edi, 0x18
mov dword [ebp - 0x30], edi
cmp edi, ecx
jne 0x4d99b0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
call fcn.004da600
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x18]
mov esi, dword [edi]
cmp byte [esi + 0xd], 0
jne 0x4d9a88
mov eax, dword [esi + 0x28]
push dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
push dword [ebp + 8]
mov eax, dword [eax]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [0x5f3508]
mov ecx, dword [ebp - 0x34]
call edi
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4d9a69
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4d9a65
cmp esi, dword [eax + 8]
jne 0x4d9a65
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4d9a55
mov esi, eax
jmp 0x4d9a7f
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4d9a7f
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4d9a73
cmp byte [esi + 0xd], 0
je 0x4d9a25
mov edi, dword [ebp - 0x18]
push dword [edi + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.004dce70
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.004dce70
push 0x30
push dword [ebp - 0x18]
call fcn.0059a0ba
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.004db920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599e5b
mov esp, ebp
pop ebp
ret 8