Function at 0x420ca0
Capabilities:
Create tcp socket
Create udp socket
Get hostname
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, 0x6c3c
call fcn.00458680
push ebx
mov ebx, dword [esp + 0x6c48]
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov dl, byte [0x494b70]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x431]
mov byte [esp + 0x430], dl
mov dword [esp + 0x1c], 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x430]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov al, byte [esp + 0x430]
test al, al
jne 0x420d3c
mov edi, 0x48f40c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x430]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x495070]
mov cl, byte [0x494b70]
test eax, eax
je 0x420d94
mov byte [esp + 0x30], cl
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.6.4.2
lea edx, [esp + 0x34]
push str.220_CCProxy__s_SMTP_Service_Ready_r_n
push edx
stosb byte es:[edi], al
call fcn.004585a3
add esp, 0xc
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
push ebx
call fcn.0041c670
test eax, eax
jne 0x420dd4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c3c
ret 8
mov byte [esp + 0x30], cl
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.6.4.2
lea edx, [esp + 0x34]
push str.220_CCProxy__s_SMTP_Service_Ready_Unregistered__r_n
push edx
stosb byte es:[edi], al
call fcn.004585a3
add esp, 0xc
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
push ebx
call fcn.0041c670
test eax, eax
je 0x4210e7
mov eax, dword [ebp + 8]
xor edi, edi
test eax, eax
mov dword [esp + 0x14], 0x1000
mov dword [esp + 0x18], 9
je 0x4210e7
mov esi, dword [esp + 0x6c50]
cmp dword [esi + 0x1c], 2
jne 0x4210e7
lea ecx, [esp + 0x834]
lea edx, [esp + 0x18]
push ecx
push edx
push esi
push ebx
mov ecx, ebp
call fcn.004205e0
test eax, eax
je 0x4210e7
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
cmp eax, 6
ja case.0x420e30.5
jmp dword [eax*4 + 0x421180]
test edi, edi
je 0x420e45
push str.503_command_out_of_order_r_n
jmp 0x420ec9
lea edi, [esp + 0x834]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x5c48]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x430]
push ecx
push str.250__s_r_n250_AUTH_LOGIN_r_n
push edx
call fcn.004585a3
add esp, 0xc
lea eax, [esp + 0x5c48]
push eax
jmp 0x420ea9
cmp edi, 1
je 0x420f0a
push str.503_command_out_of_order_r_n
jmp 0x420ec9
test edi, edi
jle 0x420e99
push str.250_OK_r_n
push ebx
mov ecx, ebp
call fcn.0041c670
test eax, eax
je 0x4210e7
mov edi, 1
jmp 0x420ef0
test edi, edi
jle 0x420e99
push str.250_OK_r_n
push ebx
mov ecx, ebp
call fcn.0041c670
test eax, eax
je 0x4210e7
jmp 0x420ef0
push str.501_command_argument_is_not_acceptable_r_n
push ebx
mov ecx, ebp
call fcn.0041c670
test eax, eax
je 0x4210e7
mov eax, dword [ebp + 8]
test eax, eax
jne 0x420df1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c3c
ret 8
mov dl, byte [0x494b70]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x2c3d]
mov byte [esp + 0x2c3c], dl
mov byte [esp + 0xc34], dl
rep stosd dword es:[edi], eax
mov ecx, 0x400
lea edi, [esp + 0xc35]
rep stosd dword es:[edi], eax
mov ecx, 0x400
lea edi, [esp + 0x3c41]
mov byte [esp + 0x3c40], dl
mov byte [esp + 0x1c38], dl
rep stosd dword es:[edi], eax
mov ecx, 0x400
lea edi, [esp + 0x1c39]
rep stosd dword es:[edi], eax
mov edi, 0x1000
push str.334_VXNlcm5hbWU6_r_n
push ebx
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.0041c670
test eax, eax
je 0x4210e7
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c3c]
push ecx
push edx
push esi
push ebx
mov ecx, ebp
call fcn.0041ced0
test eax, eax
je 0x4210e7
mov eax, dword [esp + 0x10]
push str.334_UGFzc3dvcmQ6_r_n
push ebx
mov ecx, ebp
mov byte [esp + eax + 0x2c42], 0
call fcn.0041c670
test eax, eax
je 0x4210e7
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc34]
push ecx
push edx
push esi
push ebx
mov ecx, ebp
mov dword [esp + 0x20], edi
call fcn.0041ced0
test eax, eax
je 0x4210e7
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x2c3c]
lea edx, [esp + 0x3c40]
push ecx
push edx
mov byte [esp + eax + 0xc3a], 0
call fcn.00413050
mov dword [esp + 0x18], eax
mov byte [esp + eax + 0x3c48], 0
lea eax, [esp + 0xc3c]
lea ecx, [esp + 0x1c40]
push eax
push ecx
call fcn.00413050
lea edx, [esp + 0x3c50]
push 0x48fb78
push edx
mov dword [esp + 0x28], eax
mov byte [esp + eax + 0x1c50], 0
call fcn.00458600
mov edx, eax
add esp, 0x18
test edx, edx
je 0x4210ba
mov al, byte [0x494b70]
mov ecx, 0x400
mov byte [esp + 0x4c44], al
xor eax, eax
lea edi, [esp + 0x4c45]
rep stosd dword es:[edi], eax
lea edi, [edx + 2]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x4c44]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x3c40]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x4c44]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x3c40]
mov edx, dword [ecx + 0x240b4]
push edx
push eax
call fcn.00458e20
mov esi, eax
add esp, 8
test esi, esi
jne 0x4210f6
push str.535_authentication_failed_r_n
push ebx
mov ecx, ebp
call fcn.0041c670
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c3c
ret 8
push 0
push 1
push 2
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esp + 0x6c50]
mov edi, eax
push edi
push ecx
mov ecx, dword [ebp + 4]
add ecx, 0x36510
call fcn.00442ed0
mov ecx, dword [esp + 0x6c50]
inc esi
lea edx, [esp + 0x1c38]
push esi
lea eax, [esp + 0x3c44]
push edx
push eax
push edi
push ebx
push ecx
mov ecx, ebp
call fcn.00429ef0
test eax, eax
je 0x421157
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x6c3c
ret 8
push str.535_ESMTP_authentication_failed_r_n
jmp 0x4210df
push str.221_SMTP_SERVICE_CLOSED_r_n
push ebx
mov ecx, ebp
call fcn.0041c670
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x6c3c
ret 8