Function at 0x4eaaf0
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x28]
sub esp, 0x28
push 0xffffffffffffffff
push 0x58c19f
mov eax, dword fs:[0]
push eax
sub esp, 0x578
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp + 0x24], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x38]
mov ebx, dword [ebp + 0x3c]
xor edi, edi
mov dword [ebp + 0x20], edx
mov edx, dword [ebp + 0x34]
mov dword [ebp], ecx
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x14], eax
or eax, 0xffffffff
cmp edx, 8
mov dword [ebp + 0x1c], ecx
mov dword [ebp - 0x584], edi
mov dword [ebp - 0x580], edi
mov dword [ebp - 0x57c], eax
mov dword [ebp - 0x578], eax
mov dword [ebp - 0x570], edi
jb 0x4eae05
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx]
cmp eax, edx
jne 0x4eae05
lea esi, [eax - 4]
cmp esi, 4
jb 0x4eae05
add ecx, 4
push esi
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004e60e0
push 1
push edi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], edi
call fcn.00414fd0
lea ecx, [ebp - 0x88]
lea edx, [ebp - 0x584]
mov dword [ebp + 0x20], ecx
push edx
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 2
mov dword [ebp + 0x1c], edi
call fcn.004e8e90
mov eax, dword [ebp - 0x584]
cmp eax, 0x13882
je case.default.0x4eac3a
cmp eax, 0x15f91
jne case.default.0x4eac3a
cmp esi, 0x14
jb case.default.0x4eac3a
lea eax, [ebp - 0x57c]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004e8e90
lea ecx, [ebp - 0x570]
push ecx
lea ecx, [ebp + 0x1c]
call fcn.004e8e90
lea edx, [ebp - 0x578]
push edx
lea ecx, [ebp + 0x1c]
call fcn.004e8e90
lea eax, [ebp - 0x574]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004e8e90
mov ecx, dword [ebp - 0x570]
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x4eac3a
jmp dword [eax*4 + 0x4eaf50]
cmp dword [ebp - 0x574], 0x11172
jne case.default.0x4eac3a
cmp ecx, 3
jne 0x4eac60
mov dword [ebp - 0x570], 1
cmp dword [ebp + 0x34], 0x24
jb case.default.0x4eac3a
lea ecx, [ebp - 0x56c]
push ecx
lea ecx, [ebp + 0x1c]
call fcn.004e8e90
lea edx, [ebp - 0x564]
push edx
lea ecx, [ebp + 0x1c]
call fcn.004e8e90
lea eax, [ebp - 0x568]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004e8e90
lea ecx, [ebp - 0x560]
push ecx
lea ecx, [ebp + 0x1c]
call fcn.004e8e90
push 0x64
lea edx, [ebp - 0x55c]
push edx
lea ecx, [ebp + 0x1c]
call fcn.004e8ee0
push 0x400
lea eax, [ebp - 0x4f8]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004e8ee0
mov ecx, dword [ebp - 0x57c]
push ecx
mov ecx, dword [ebp]
mov dword [ebp - 4], 1
call fcn.004e5560
mov edi, eax
cmp edi, 2
je case.default.0x4eac3a
mov ecx, dword [ebp - 0x57c]
lea esi, [ebp - 0xf8]
call fcn.004e75d0
mov esi, eax
push str.Recv_MsgId:
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 4
call fcn.0040dcb0
push esi
push eax
lea edx, [ebp - 0xa4]
push edx
mov byte [ebp - 4], 5
call fcn.0040cec0
push str._From:
push eax
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 6
call fcn.0040cf70
add esp, 0x18
mov esi, eax
push ebx
mov byte [ebp - 4], 7
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp + 8]
push esi
push ecx
call fcn.0040cf70
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x4ead64
mov eax, dword [eax + 4]
jmp 0x4ead67
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp + 8]
call fcn.004074a0
lea ecx, [ebp - 0xc0]
call fcn.004074a0
lea ecx, [ebp - 0xa4]
call fcn.004074a0
lea ecx, [ebp - 0xdc]
call fcn.004074a0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.004074a0
test edi, edi
jne 0x4eae26
cmp dword [ebp - 0x574], 0x11171
jne 0x4eae26
mov eax, dword [ebp - 0x570]
cmp eax, 1
je 0x4eadc6
cmp eax, 4
jne 0x4eae26
mov edx, dword [ebp - 0x56c]
mov eax, dword [ebp - 0x57c]
mov ebx, dword [ebp]
push edx
push 0x11171
push eax
mov ecx, ebx
call fcn.004ea470
test al, al
jne 0x4eae29
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.00402e90
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.00404c20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x24]
xor ecx, ebp
call fcn.00552d63
add ebp, 0x28
mov esp, ebp
pop ebp
ret 0x18
mov ebx, dword [ebp]
push 0
push str.noaccount
lea ecx, [ebx + 0x1c]
mov byte [ebp + 7], 0
call fcn.004063e0
test eax, eax
sete al
test al, al
jne 0x4eae93
test edi, edi
jne 0x4eae93
cmp dword [ebp - 0x570], 1
jne 0x4eae93
mov eax, dword [ebp - 0x564]
cmp eax, 2
je 0x4eae62
cmp eax, 7
jne 0x4eae93
mov eax, dword [ebp - 0x560]
cmp eax, 2
je 0x4eae72
cmp eax, 3
jne 0x4eae93
lea ecx, [ebp - 0x4f8]
push ecx
lea edx, [ebp - 0x55c]
push edx
push eax
mov eax, dword [ebp - 0x57c]
push eax
mov ecx, ebx
mov byte [ebp + 7], 1
call fcn.004ea4d0
lea esi, [ebx + 0x68]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0x584]
push ecx
lea ecx, [ebx + 0x38]
call fcn.004e8690
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x568]
test eax, eax
je 0x4eaee0
cmp dword [ebx + 0xb0], eax
je 0x4eaee0
mov ecx, dword [ebp - 0x570]
cmp ecx, 2
je 0x4eaee6
cmp eax, 6
jne 0x4eaf1b
cmp dword [0x5ce9d8], 0
jne 0x4eaf1b
jmp 0x4eaee6
mov ecx, dword [ebp - 0x570]
xor eax, eax
cmp byte [ebp + 7], al
je 0x4eaef4
mov eax, 2
jmp 0x4eaf0c
cmp ecx, 4
je 0x4eaefe
cmp ecx, 1
jne 0x4eaf0c
cmp dword [ebp - 0x564], 3
jne 0x4eaf0c
mov eax, 1
mov edx, dword [ebp - 0x57c]
push eax
push edx
mov ecx, ebx
call fcn.004e8620
cmp dword [ebp - 0x578], 0
je case.default.0x4eac3a
mov eax, dword [ebp - 0x574]
mov ecx, dword [ebp - 0x57c]
push eax
push ecx
mov ecx, ebx
call fcn.004e9740
jmp case.default.0x4eac3a