Function at 0x462db0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [ebp + 8]
movzx edx, word [ebp + 0x10]
mov esi, dword [ebp + 0xc]
cmp eax, 1
mov dword [ebp - 0x3c], edx
je 0x462e80
test eax, eax
mov edx, 0xffffffff
jne 0x462e76
mov dword [esp], 2
mov ecx, 6
mov edi, 1
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
call sub.WSOCK32.DLL_socket
sub esp, 0xc
cmp eax, 0xffffffff
mov ebx, eax
mov edx, 0xffffffff
je 0x462e76
mov dword [esp], esi
call sub.WSOCK32.DLL_gethostbyname
sub esp, 4
test eax, eax
mov edx, 0xffffffff
je 0x462e76
movsx ecx, word [eax + 0xa]
lea edi, [ebp - 0x34]
mov eax, dword [eax + 0xc]
mov esi, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp], edi
mov dword [esp + 4], esi
lea esi, [ebp - 0x38]
call sym._memcpy
mov word [ebp - 0x38], 2
mov edx, dword [ebp - 0x3c]
mov dword [esp], edx
call sub.WSOCK32.DLL_htons
mov word [ebp - 0x36], ax
sub esp, 4
mov eax, 0x10
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.WSOCK32.DLL_connect
sub esp, 0xc
test eax, eax
mov edx, ebx
jne 0x4630d9
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 6
mov ecx, 0x4e8
mov eax, 1
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sub.WSOCK32.DLL_socket
mov dword [ebp - 0x40], eax
sub esp, 0xc
inc eax
mov edx, 0xffffffff
je 0x462e76
cld
xor eax, eax
mov ecx, 3
lea edi, [ebp - 0x28]
test esi, esi
rep stosd dword es:[edi], eax
mov word [edi], 0
mov ebx, dword [ebp - 0x3c]
mov word [ebp - 0x28], 6
mov word [ebp - 0x1c], bx
je 0x4630f5
mov dword [esp], esi
mov edx, 0x2e
mov dword [esp + 4], edx
call sym._strchr
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4630f5
mov dword [ebp - 0x4c], 3
lea ebx, [ebp - 0x26]
mov dword [ebp - 0x48], ebx
mov ebx, esi
mov esi, esi
movzx edx, byte [ebx]
inc ebx
mov edi, dword [ebp - 0x48]
mov al, dl
lea esi, [edi + 1]
sub al, 0x30
mov dword [ebp - 0x48], esi
cmp al, 9
movzx ecx, al
jbe 0x462f2c
mov cl, dl
sub cl, 0x41
cmp cl, 5
ja 0x4630c0
sub dl, 0x37
movzx ecx, dl
movzx edx, byte [ebx]
mov esi, ecx
shl esi, 4
inc ebx
mov al, dl
sub al, 0x30
cmp al, 9
movzx ecx, al
jbe 0x462f54
mov cl, dl
sub cl, 0x41
cmp cl, 5
ja 0x4630a0
sub dl, 0x37
movzx ecx, dl
mov edx, esi
add dl, cl
mov byte [edi], dl
dec dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x462f00
mov dword [ebp - 0x54], 5
mov ebx, dword [ebp - 0x44]
lea edi, [ebp - 0x22]
mov dword [ebp - 0x50], edi
inc ebx
lea esi, [esi]
lea edi, [edi]
movzx edx, byte [ebx]
inc ebx
mov esi, dword [ebp - 0x50]
mov al, dl
lea ecx, [esi + 1]
sub al, 0x30
mov dword [ebp - 0x50], ecx
cmp al, 9
movzx ecx, al
jbe 0x462faa
mov al, dl
sub al, 0x41
cmp al, 5
ja 0x463080
sub dl, 0x37
movzx ecx, dl
movzx edx, byte [ebx]
mov edi, ecx
shl edi, 4
inc ebx
mov al, dl
sub al, 0x30
cmp al, 9
movzx ecx, al
jbe 0x462fd2
mov cl, dl
sub cl, 0x41
cmp cl, 5
ja 0x463060
sub dl, 0x37
movzx ecx, dl
mov edx, edi
add dl, cl
mov byte [esi], dl
dec dword [ebp - 0x54]
cmp dword [ebp - 0x54], 0xffffffff
jne 0x462f80
mov dword [esp], str.________________________________________n
call method.LogFile.print_char_const__..._
mov edi, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
mov eax, 0xe
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp], edi
call sub.WSOCK32.DLL_connect
sub esp, 0xc
mov esi, eax
mov dword [esp], 0x533afc
call method.LogFile.print_char_const__..._
test esi, esi
mov edx, dword [ebp - 0x40]
je 0x462e76
mov ebx, 2
mov dword [esp + 4], ebx
mov dword [esp], edx
call sub.WSOCK32.DLL_shutdown
mov edx, dword [ebp - 0x40]
sub esp, 8
mov dword [esp], edx
call sub.WSOCK32.DLL_closesocket
sub esp, 4
mov dword [esp], 0x7d0
call sub.KERNEL32.dll_Sleep
sub esp, 4
mov edx, 0xffffffff
jmp 0x462e76
mov al, dl
mov ecx, 0xff
sub al, 0x61
cmp al, 5
ja 0x462fd2
sub dl, 0x57
jmp 0x462fcf
mov al, dl
mov ecx, 0xff
sub al, 0x61
cmp al, 5
ja 0x462faa
sub dl, 0x57
jmp 0x462fa7
mov al, dl
mov ecx, 0xff
sub al, 0x61
cmp al, 5
ja 0x462f54
sub dl, 0x57
jmp 0x462f51
mov al, dl
mov ecx, 0xff
sub al, 0x61
cmp al, 5
ja 0x462f2c
sub dl, 0x57
jmp 0x462f29
mov dword [esp], ebx
mov edx, 2
mov dword [esp + 4], edx
call sub.WSOCK32.DLL_shutdown
sub esp, 8
mov dword [esp], ebx
jmp 0x46303e
mov edx, dword [ebp - 0x40]
mov ebx, 2
mov dword [esp + 4], ebx
jmp 0x46302d