Function at 0x1002b620
Capabilities:
Print debug messages
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
push 0x10f
push 0
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1009ee30
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
mov ax, word [edx + 0xc]
mov word [ecx], ax
push 0x100
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 0x20]
mov word [ecx + 2], ax
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp - 0x20]
mov word [edx + 4], ax
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov word [ecx + 6], ax
xor edx, edx
mov eax, dword [ebp - 0x20]
mov word [eax + 8], dx
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov word [edx + 0xa], cx
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x10], ax
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x24]
mov al, byte [edx]
mov byte [ebp - 1], al
add dword [ebp - 0x24], 1
cmp byte [ebp - 1], 0
jne 0x1002b6bb
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov dx, word [ebp - 0x38]
mov word [ebp - 0xc], dx
movzx eax, word [ebp - 0xc]
add eax, 2
push eax
call fcn.100aade3
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1002b6fe
xor eax, eax
jmp 0x1002b7eb
movzx ecx, word [ebp - 0xc]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.1002adc0
test eax, eax
jne 0x1002b72c
push str.YB_EncodeDotStr_Erro
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x1002b7eb
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x28]
mov cl, byte [eax]
mov byte [ebp - 2], cl
add dword [ebp - 0x28], 1
cmp byte [ebp - 2], 0
jne 0x1002b73b
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
add eax, 1
mov word [ebp - 8], ax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc
mov dword [ebp - 0x1c], ecx
movzx edx, word [ebp - 8]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1009e8b0
add esp, 0xc
movzx edx, word [ebp - 8]
add edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov cx, word [ebp - 0x10]
mov word [eax], cx
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov cx, word [ebp - 0x14]
mov word [eax], cx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100a2ae1
add esp, 4
movzx eax, word [ebp - 8]
add eax, 0x10
mov word [ebp - 0x18], ax
push 0x10
lea ecx, [ebp + 8]
push ecx
push 0
movzx edx, word [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x1002b7e6
xor eax, eax
jmp 0x1002b7eb
mov eax, 1
mov esp, ebp
pop ebp
ret 0x14