Function at 0x5b3d2c
Capabilities:
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket

Disassembly:
test dword [0x7eeab0], 0xffffff80
jne 0x5b3d54
test dword [0x7eeab0], 0xffffffff
jne 0x5b3ef8
call fcn.006a7b4c
jmp fcn.005b3d2c
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x1c
call fcn.00697340
mov ecx, dword [esp + 0x1c]
mov ebp, ecx
mov dword [esp + 0x10], 0x10
lea edx, [esp]
lea eax, [esp + 0x10]
push eax
push edx
push dword [ebp + 8]
call sub.WSOCK32.dll_getsockname
lea eax, [esp + 4]
push 2
push 0x10
push eax
call sub.WSOCK32.dll_gethostbyaddr
test eax, eax
je 0x5b3edd
lea ecx, [esp + 0x14]
mov edx, dword [eax]
call fcn.004f5c14
mov ecx, dword [esp + 0x14]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b3dbe
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b3da9
dec eax
add eax, 0xa
mov ecx, eax
call fcn.004dbe28
mov dword [esp + 0x18], eax
push str.ESMTP
push 0x7e9d20
call fcn.00697440
add esp, 8
test eax, eax
je 0x5b3ec5
push dword [esp + 0x14]
push str.EHLO__s_r_n
mov eax, dword [esp + 0x20]
push eax
call fcn.006974c6
add esp, 0xc
mov ecx, dword [esp + 0x18]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b3e17
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b3e02
dec eax
push eax
mov edx, dword [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.005b5798
cmp eax, 1
je 0x5b3ebe
mov esi, dword [ebp + 8]
mov byte [0x7e9d20], 0
xor ebx, ebx
lea eax, [esp + 0x1c]
push 0
push 1
push eax
push esi
call sub.WSOCK32.dll_recv
test eax, eax
jne 0x5b3e78
mov byte [ebx + 0x7e9d20], 0
push 3
push 0x7e9d20
push 0x6d60dc
call fcn.00698880
add esp, 0xc
test eax, eax
jne 0x5b3ebe
cmp byte [0x7e9d23], 0x2d
je 0x5b3e2d
xor ebp, ebp
jmp 0x5b3ea2
cmp eax, 0xffffffff
je 0x5b3e9d
movzx eax, byte [esp + 0x1c]
mov byte [ebx + 0x7e9d20], al
inc ebx
cmp eax, 0xa
je 0x5b3e4c
cmp ebx, 0x3e8
jb 0x5b3e39
mov byte [0x7e9d20], 0
mov ebp, 1
mov ecx, dword [esp + 0x14]
call fcn.004db4f8
mov ecx, dword [esp + 0x18]
call fcn.004db4f8
mov eax, ebp
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret
mov ebp, 1
jmp 0x5b3ea2
push dword [esp + 0x14]
push str.HELO__s_r_n
mov eax, dword [esp + 0x20]
push eax
call fcn.006974c6
jmp 0x5b3df9
push dword [esp + 4]
call sub.WSOCK32.dll_inet_ntoa
lea ecx, [esp + 0x14]
mov edx, eax
call fcn.004f5c14
jmp 0x5b3da3
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x1c
call fcn.00697340
mov ecx, dword [esp + 0x1c]
mov ebp, ecx
mov dword [esp + 0x10], 0x10
lea edx, [esp]
lea eax, [esp + 0x10]
push eax
push edx
push dword [ebp + 8]
call sub.WSOCK32.dll_getsockname
lea eax, [esp + 4]
push 2
push 0x10
push eax
call sub.WSOCK32.dll_gethostbyaddr
test eax, eax
je 0x5b4083
lea ecx, [esp + 0x14]
mov edx, dword [eax]
call fcn.004f5c14
mov ecx, dword [esp + 0x14]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b3f62
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b3f4d
dec eax
add eax, 0xa
mov ecx, eax
call fcn.004dbe28
mov dword [esp + 0x18], eax
push str.ESMTP
push 0x7e9d20
call fcn.00697440
add esp, 8
test eax, eax
je 0x5b406b
push dword [esp + 0x14]
push str.EHLO__s_r_n
mov eax, dword [esp + 0x20]
push eax
call fcn.006974c6
add esp, 0xc
mov ecx, dword [esp + 0x18]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5b3fbb
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5b3fa6
dec eax
push eax
mov edx, dword [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.005b5798
cmp eax, 1
je 0x5b405b
mov esi, dword [ebp + 8]
mov byte [0x7e9d20], 0
xor ebx, ebx
cmp ebx, 0x3e8
jae 0x5b4062
lea eax, [esp + 0x1c]
push 0
push 1
push eax
push esi
call sub.WSOCK32.dll_recv
test eax, eax
je 0x5b4015
cmp eax, 0xffffffff
jne 0x5b4004
mov ebp, 1
jmp 0x5b403f
movzx eax, byte [esp + 0x1c]
mov byte [ebx + 0x7e9d20], al
inc ebx
cmp eax, 0xa
jne 0x5b3fdd
mov byte [ebx + 0x7e9d20], 0
push 3
push 0x7e9d20
push 0x6d60dc
call fcn.00698880
add esp, 0xc
test eax, eax
jne 0x5b405b
cmp byte [0x7e9d23], 0x2d
je 0x5b3fd1
xor ebp, ebp
mov ecx, dword [esp + 0x14]
call fcn.004db4f8
mov ecx, dword [esp + 0x18]
call fcn.004db4f8
mov eax, ebp
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret
mov ebp, 1
jmp 0x5b403f
mov byte [0x7e9d20], 0
jmp 0x5b3ffd
push dword [esp + 0x14]
push str.HELO__s_r_n
mov eax, dword [esp + 0x20]
push eax
call fcn.006974c6
jmp 0x5b3f9d
push dword [esp + 4]
call sub.WSOCK32.dll_inet_ntoa
lea ecx, [esp + 0x14]
mov edx, eax
call fcn.004f5c14
jmp 0x5b3f47