Function at 0x4e8540
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x528667
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
xor ebx, ebx
mov dword [ebp], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [esp + 0x84], ebx
mov eax, dword [esp + 0x98]
mov dword [ebp + 0x14], eax
call fcn.004efc00
mov dword [ebp + 0x1c], eax
mov cl, 1
mov byte [eax + 0xc1], cl
mov eax, dword [ebp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], eax
mov eax, dword [ebp + 0x1c]
mov dword [eax + 8], eax
mov dword [ebp + 0x20], ebx
mov byte [esp + 0x84], cl
mov ecx, dword [esp + 0x9c]
lea esi, [ebp + 0x28]
call fcn.0041c2c0
mov ecx, dword [esp + 0xa0]
lea esi, [ebp + 0x48]
mov byte [esp + 0x84], 2
call fcn.0041c2c0
mov ecx, dword [esp + 0x90]
mov byte [esp + 0x84], 3
mov dword [ebp + 0x6c], ecx
sub esp, 8
mov dword [ebp + 0x68], ebx
movzx edx, byte [0x55e1af]
movzx eax, byte [0x55e1a9]
movzx ecx, byte [0x55e1ad]
mov dword [esp + 0xa0], esp
mov esi, esp
push edx
push eax
push ecx
push ecx
mov eax, esp
mov ecx, ebp
mov dword [esp + 0xb0], esp
call fcn.004f60f0
push esi
call fcn.004eff50
add esp, 0x14
lea edi, [esp + 0x5c]
call fcn.004f0040
lea edx, [esp + 0x98]
push edx
mov byte [esp + 0x88], 4
xor ecx, ecx
mov dword [esp + 0x9c], ebx
push str.239.255.255.250
mov ebx, 0x55e1bc
lea edx, [ecx + 2]
call fcn.004353b0
xor ecx, ecx
add esp, 8
test eax, eax
setle cl
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ebx
sub ecx, 1
and ecx, dword [esp + 0x98]
mov eax, ecx
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov ecx, 0x76c
lea edi, [esp + 0x1c]
lea esi, [esp + 0x38]
call fcn.00439600
lea edx, [esp + 0x54]
push edx
mov eax, esi
push eax
lea edi, [ebp + 0x70]
push edi
call fcn.004d25f0
mov byte [esp + 0x84], 6
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x4e86ee
test al, 1
jne 0x4e86ea
and eax, 0xfffffffe
mov eax, dword [eax]
cmp eax, ebx
je 0x4e86ea
lea ecx, [esp + 0x5c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x90]
mov esi, dword [eax + 4]
call fcn.004750b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebp + 0xd0], eax
mov dword [ebp + 0xe4], ebx
mov dword [ebp + 0xe8], ebx
mov dword [ebp + 0xf0], ebx
mov dword [ebp + 0xf4], ebx
mov dword [ebp + 0xd8], ecx
mov dword [ebp + 0xdc], edx
mov byte [ebp + 0xe0], bl
mov eax, dword [esp + 0x90]
mov byte [esp + 0x84], 7
mov esi, dword [eax + 4]
call fcn.004750b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebp + 0xf8], eax
mov dword [ebp + 0x10c], ebx
mov dword [ebp + 0x110], ebx
mov dword [ebp + 0x118], ebx
mov dword [ebp + 0x11c], ebx
mov dword [ebp + 0x100], ecx
mov dword [ebp + 0x104], edx
mov byte [ebp + 0x108], bl
mov al, byte [esp + 0xa4]
mov ecx, dword [esp + 0x94]
mov byte [esp + 0x84], 8
mov byte [ebp + 0x122], al
lea eax, [ebp + 0x128]
push eax
mov byte [ebp + 0x120], bl
mov byte [ebp + 0x121], bl
mov dword [ebp + 0x124], ecx
call fcn.00438a60
mov esi, eax
call fcn.005147f0
mov dword [esp + 0x14], esi
neg esi
sbb esi, esi
test esi, fcn.004b2590
mov dword [esp + 0x18], eax
je 0x4e87e8
lea edx, [esp + 0x14]
push edx
mov ecx, str.mutex
call fcn.00436c20
lea ecx, [ebp + 0x140]
mov byte [esp + 0x84], 9
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x84], 0xa
mov dword [esp + 0x14], ebx
call fcn.005147f0
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push ecx
push edi
call fcn.004d2680
lea ecx, [ebp + 4]
call fcn.004ee550
mov eax, ebp
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0x1c