Function at 0x40e770
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c34c
mov eax, dword fs:[0]
push eax
sub esp, 0xa24
mov eax, dword [0x5601cc]
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 edi, dword [ebp + 8]
mov ecx, edi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xa30], edi
mov dword [ebp - 0xa00], eax
mov dword [ebp - 0x9f8], esi
mov dword [ebp - 0x9fc], 0
call dword [0x514ff4]
mov eax, dword [ebp - 0xa00]
mov ebx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x9fc], ebx
test eax, eax
je 0x40eba9
add eax, 8
push eax
call dword [0x514048]
mov eax, dword [ebp - 0xa00]
cmp dword [eax + 0x28], 0xffffffff
lea ecx, [eax + 0x28]
mov dword [ebp - 0xa04], ecx
jne 0x40eb9c
test esi, esi
jne 0x40e838
lea ecx, [ebp - 0x9e8]
push ecx
push dword [eax + 0x20]
call fcn.00452e50
add esp, 8
test eax, eax
jne 0x40eb9c
lea esi, [ebp - 0x9e8]
mov dword [ebp - 0x9f8], esi
cmp dword [esi + 0xa4], 0
je 0x40eb9c
lea ecx, [ebp - 0xa24]
call fcn.00409e80
lea eax, [ebp - 0xa24]
mov dword [ebp - 4], 1
push eax
push ecx
mov ecx, esp
lea eax, [esi + 0x1c]
push 1
push eax
push ecx
call fcn.0040d1f0
add esp, 0xc
call fcn.0040cec0
push 0
call dword [0x514db8]
add esp, 0xc
mov dword [ebp - 0xa2c], eax
lea ecx, [ebp - 0x9f4]
mov dword [ebp - 0xa28], edx
push 0x564c4c
call dword [0x514f9c]
mov eax, dword [ebp - 0x9f4]
mov byte [ebp - 4], 2
cmp dword [eax - 0xc], 0
je 0x40e8e9
push 1
lea eax, [ebp - 0x9f0]
push eax
lea ecx, [ebp - 0x9f4]
call dword [0x514e48]
mov ebx, 3
mov byte [ebp - 4], 3
push 0x515b98
mov ecx, eax
mov dword [ebp - 0x9fc], ebx
call dword [0x514f94]
mov byte [ebp - 0x9e9], 1
test eax, eax
jne 0x40e8f0
mov byte [ebp - 0x9e9], 0
mov dword [ebp - 4], 2
test bl, 2
je 0x40e911
and ebx, 0xfffffffd
lea ecx, [ebp - 0x9f0]
mov dword [ebp - 0x9fc], ebx
call dword [0x514ff0]
cmp byte [ebp - 0x9e9], 0
je 0x40e92b
push 0x515b98
lea ecx, [ebp - 0x9f4]
call dword [0x514fac]
lea ecx, [ebp - 0xa14]
call fcn.00409e80
lea eax, [ebp - 0xa14]
mov byte [ebp - 4], 4
push eax
push ecx
mov ecx, esp
lea eax, [esi + 0xc]
push 1
push eax
push ecx
call fcn.0040d1f0
add esp, 0xc
call fcn.0040cec0
add esp, 8
cmp dword [0x564b88], 0
je 0x40e970
mov esi, dword [0x564b8c]
cmp dword [esi - 0xc], 0
jne 0x40e976
mov esi, dword [ebp - 0xa10]
push str._Y_m_d__H_M_S
lea eax, [ebp - 0x9f0]
push eax
lea ecx, [ebp - 0xa2c]
call fcn.0040a820
mov ecx, eax
mov ebx, dword [ebp - 0x9f8]
mov edx, str.incoming
push esi
mov eax, str.outgoing
mov byte [ebp - 4], 5
cmp dword [ebx + 4], 0
cmovne eax, edx
push eax
push dword [ebp - 0xa20]
push dword [ecx]
push str._s__s__s__s
push edi
call dword [0x514f2c]
add esp, 0x18
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9f0]
call dword [0x514ff0]
push 0
push dword [ebp - 0x9f4]
call dword [0x514040]
mov dword [ebp - 0x1c], 0x253f5c2f
xor esi, esi
mov dword [ebp - 0x18], 0x227c3a2a
mov dword [ebp - 0x14], 0x202e3e3c
nop dword [eax + eax]
movsx ax, byte [ebp + esi - 0x1c]
mov ecx, edi
push 0x5f
movzx eax, ax
push eax
call dword [0x514f8c]
inc esi
cmp esi, 0xc
jb 0x40ea00
push edi
lea eax, [ebp - 0x9f4]
push eax
lea eax, [ebp - 0x9f0]
push eax
call fcn.0040a070
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call dword [0x514fec]
lea ecx, [ebp - 0x9f0]
mov byte [ebp - 4], 4
call dword [0x514ff0]
push 0x515edc
mov ecx, 0x564c50
call dword [0x514f94]
mov ecx, edi
test eax, eax
jne 0x40ea6b
push 0x515ee4
jmp 0x40ea70
push 0x515ef0
call dword [0x514fac]
push edi
lea ecx, [ebp - 0x9f8]
call dword [0x514f9c]
mov eax, dword [ebp - 0x9f8]
mov byte [ebp - 4], 7
mov eax, dword [eax - 0xc]
lea esi, [eax*4 + 1]
push esi
call dword [0x514cc0]
add esp, 4
mov dword [ebp - 0x9f0], eax
lea ecx, [ebp - 0x9f8]
push esi
push eax
push 0xffffffffffffffff
call dword [0x514fa0]
push eax
call fcn.00446a20
add esp, 0x10
lea ecx, [ebp - 0x9f8]
call dword [0x514ff0]
push dword [ebp - 0x9f0]
call fcn.0043dec0
mov esi, dword [ebp - 0xa04]
push esi
push 0
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], edx
call fcn.0045b1b0
add esp, 0x1c
test eax, eax
jne 0x40eb1c
push dword [esi]
call fcn.0045b650
mov esi, eax
push esi
push dword [ebx + 0xa4]
call fcn.0045a820
push esi
push 0
call fcn.0045a820
add esp, 0x14
push 1
push dword [ebp - 0x9f0]
call fcn.0043bf03
add esp, 8
lea ecx, [ebp - 0xa08]
call dword [0x514ff0]
lea ecx, [ebp - 0xa0c]
call dword [0x514ff0]
lea ecx, [ebp - 0xa10]
call dword [0x514ff0]
lea ecx, [ebp - 0xa14]
call dword [0x514ff0]
lea ecx, [ebp - 0x9f4]
call dword [0x514ff0]
lea ecx, [ebp - 0xa18]
mov byte [ebp - 4], 0
call dword [0x514ff0]
lea ecx, [ebp - 0xa1c]
call dword [0x514ff0]
lea ecx, [ebp - 0xa20]
call dword [0x514ff0]
lea ecx, [ebp - 0xa24]
call dword [0x514ff0]
mov eax, dword [ebp - 0xa00]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
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.0043c187
mov esp, ebp
pop ebp
ret