Function at 0x4489c4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov edi, 0x4e048c
xor ebx, ebx
push 0x100
push 0
push edi
call fcn.004bcd2c
add esp, 0xc
mov eax, dword [ebp + 0xc]
sub eax, 1
jb 0x448a08
je 0x448a91
dec eax
je 0x448ad3
dec eax
je 0x448b71
jmp 0x448c2f
mov byte [edi], 4
mov byte [edi + 1], 1
mov dx, word [esi + 0x64]
push edx
call sub.WSOCK32.dll_ntohs
mov word [edi + 2], ax
push esi
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 0xc], eax
mov cl, byte [ebp - 0xc]
mov byte [edi + 4], cl
mov al, byte [ebp - 0xb]
mov byte [edi + 5], al
mov dl, byte [ebp - 0xa]
mov byte [edi + 6], dl
mov cl, byte [ebp - 9]
mov byte [edi + 7], cl
cmp byte [0x4e03c4], 0
je 0x448a82
push esi
push edi
lea esi, [edi + 8]
mov edi, 0x4e03c4
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x4e03c4
call fcn.004bceac
pop ecx
mov ebx, eax
add ebx, 8
jmp 0x448a87
mov ebx, 8
mov byte [edi + ebx], 0
inc ebx
jmp 0x448c2f
mov byte [edi], 5
cmp byte [0x4e03c4], 0
je 0x448ab9
cmp byte [0x4e0428], 0
je 0x448ab9
mov byte [edi + 1], 2
mov byte [edi + 2], 0
mov byte [edi + 3], 2
mov ebx, 4
jmp 0x448aca
mov byte [edi + 1], 1
mov byte [edi + 2], 0
mov byte [edi + 3], 0
mov ebx, 3
mov byte [edi + ebx], 0
jmp 0x448c2f
mov byte [edi], 1
push 0x4e03c4
call fcn.004bceac
pop ecx
mov byte [edi + 1], al
push esi
push edi
lea esi, [edi + 2]
mov edi, 0x4e03c4
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x4e03c4
call fcn.004bceac
pop ecx
mov ebx, eax
add ebx, 2
push 0x4e0428
call fcn.004bceac
pop ecx
mov byte [edi + ebx], al
lea eax, [edi + 1]
add eax, ebx
push esi
push edi
mov esi, eax
mov edi, 0x4e0428
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x4e0428
call fcn.004bceac
pop ecx
add eax, ebx
inc eax
mov ebx, eax
mov byte [edi + ebx], 0
jmp 0x448c2f
mov byte [edi], 5
mov eax, dword [esi + 0x68]
test eax, eax
jne 0x448b81
mov byte [edi + 1], 1
jmp 0x448b9d
dec eax
jne 0x448b8a
mov byte [edi + 1], 2
jmp 0x448b9d
push 0
mov edx, dword [esi + 0x70]
push edx
push esi
call fcn.0044840c
xor eax, eax
jmp 0x448c70
mov byte [edi + 2], 0
push esi
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x448bf0
mov byte [edi + 3], 3
push esi
call fcn.004bceac
pop ecx
mov byte [edi + 4], al
push esi
push edi
lea eax, [edi + 5]
mov edi, esi
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push esi
call fcn.004bceac
pop ecx
mov ebx, eax
add ebx, 5
jmp 0x448c1a
mov byte [edi + 3], 1
push esi
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 0xc], eax
mov al, byte [ebp - 0xc]
mov byte [edi + 4], al
mov dl, byte [ebp - 0xb]
mov byte [edi + 5], dl
mov cl, byte [ebp - 0xa]
mov byte [edi + 6], cl
mov al, byte [ebp - 9]
mov byte [edi + 7], al
mov ebx, 8
mov ax, word [esi + 0x64]
push eax
call sub.WSOCK32.dll_ntohs
mov word [edi + ebx], ax
add ebx, 2
mov byte [edi + ebx], 0
test ebx, ebx
jle 0x448c62
push 0
push ebx
push edi
mov edx, dword [esi + 0x7c]
push edx
call sub.WSOCK32.dll_send
cmp ebx, eax
jne 0x448c62
push 0x21
push 0x432
mov ecx, dword [0x4d429c]
push ecx
mov eax, dword [esi + 0x7c]
push eax
call sub.WSOCK32.dll_WSAAsyncSelect
mov eax, 1
jmp 0x448c70
push 7
mov edx, dword [esi + 0x70]
push edx
push esi
call fcn.0044840c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8