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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff54
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], 0x6db9c0
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x28], eax
mov word [ebp - 0x1c], 0
mov dword [ebp - 0x10], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x2c]
mov dword fs:[0], eax
mov edx, dword [ebx + 0x70]
test edx, edx
je 0x58fa9f
mov cl, byte [ebx + 0x75]
test cl, cl
je 0x58fa80
mov eax, dword [ebx + 0x128]
test eax, eax
je 0x58fa68
mov edx, dword [ebx + 0x13c]
test edx, edx
jne 0x58fa9f
push ebx
call fcn.0058b74c
pop ecx
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x58fea4
mov cl, byte [ebx + 0x76]
test cl, cl
je 0x58fa9f
push ebx
call fcn.0058b7c0
pop ecx
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x58fea4
mov ecx, dword [ebx + 0x10]
cmp ecx, 0xffffffff
jne 0x58fab8
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x58fea4
mov ecx, dword [ebx + 0x128]
test ecx, ecx
jne 0x58fb0c
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x58fafb
mov edx, dword [eax + 8]
mov cl, byte [eax + 0x18]
test cl, cl
jne 0x58fae8
push 0x64
lea eax, [ebp - 0xac]
push eax
push edx
call dword [0x6ebec8]
add esp, 0xc
jmp 0x58fafb
push 0x64
lea ecx, [ebp - 0xac]
push ecx
push edx
push eax
call fcn.0060cdec
add esp, 0x10
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x58fea4
mov ecx, dword [ebx + 0x50]
test ecx, ecx
je 0x58fb1d
xor eax, eax
xor edx, edx
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x54], edx
test si, si
je 0x58fb8b
movzx edi, si
push edi
push ebx
call fcn.0058f584
add esp, 8
mov byte [ebx + 0x130], al
push edi
push ebx
call fcn.0058f584
add esp, 8
push eax
push 3
push ebx
call fcn.0058f630
add esp, 0xc
mov eax, dword [ebx + 0x12c]
test eax, eax
je 0x58fb62
mov edx, dword [ebx + 0x134]
push edx
call fcn.0067ac5a
pop ecx
xor ecx, ecx
mov dword [ebx + 0x12c], ecx
mov dword [ebx + 0x128], ecx
push 3
push ebx
mov eax, dword [ebx]
call dword [eax]
add esp, 8
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x58fea4
xor eax, eax
mov edx, dword [ebx + 0x13c]
mov ecx, dword [ebx + 0x14c]
cmp edx, ecx
jge 0x58fba5
mov esi, dword [ebx + 0x13c]
jmp 0x58fbab
mov esi, dword [ebx + 0x14c]
mov edx, dword [0x6db42c]
test edx, edx
je 0x58fbf1
mov cl, byte [ebx + 0xd]
test cl, cl
jne 0x58fbf1
mov edx, dword [0x6db438]
test edx, edx
jg 0x58fbda
mov eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
jmp 0x58fea4
mov edx, dword [ebx + 0x70]
test edx, edx
jne 0x58fbf1
mov ecx, dword [0x6db438]
cmp esi, ecx
jle 0x58fbf1
mov esi, dword [0x6db438]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x58fc2b
mov cl, byte [ebx + 0xd]
test cl, cl
jne 0x58fc2b
mov edx, dword [ebx + 0x6c]
test edx, edx
jg 0x58fc1a
mov eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
jmp 0x58fea4
mov edx, dword [ebx + 0x70]
test edx, edx
jne 0x58fc2b
mov ecx, dword [ebx + 0x6c]
cmp esi, ecx
jle 0x58fc2b
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x58fd65
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x58fc66
mov dl, byte [ebx + 0x75]
test dl, dl
jne 0x58fc66
lea ecx, [ebp - 0x2d]
push ecx
push esi
mov edx, dword [ebx + 0x138]
push edx
push eax
call fcn.006096ac
add esp, 0x10
test eax, eax
jg 0x58fd08
or eax, 0xffffffff
jmp 0x58fd08
mov ecx, dword [ebx + 0x14]
cmp ecx, 7
jne 0x58fcb4
mov edi, esi
mov eax, dword [ebx + 0x138]
mov dword [ebp - 0x34], eax
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ebx
mov ecx, dword [ebp - 0x3c]
mov al, byte [ecx + 0xc]
test al, al
jne 0x58fc9e
push 0
push edi
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x38]
push ecx
call sub.WSOCK32.DLL_send
jmp 0x58fd08
push 0
push edi
mov eax, dword [ebp - 0x34]
push eax
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.005924bc
jmp 0x58fd08
mov eax, dword [ebx + 0x134]
mov edi, dword [ebx + 0x140]
mov dword [ebp - 0x40], eax
lea esi, [ebx + 0xe8]
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], ebx
mov ecx, dword [ebp - 0x48]
mov al, byte [ecx + 0xc]
test al, al
jne 0x58fcf1
push 0x10
push esi
push 0
push edi
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x44]
push ecx
call sub.WSOCK32.DLL_sendto
jmp 0x58fd08
push 0x10
push esi
push 0
push edi
mov eax, dword [ebp - 0x40]
push eax
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00592568
cmp eax, 0xffffffff
je 0x58fd65
sub dword [ebx + 0x13c], eax
add dword [ebx + 0x138], eax
add dword [ebx + 0x144], eax
mov edx, dword [ebx + 0x12c]
test edx, edx
jne 0x58fd3b
mov ecx, dword [ebx + 0x148]
test ecx, ecx
je 0x58fd3b
mov edx, dword [ebx + 0x148]
add dword [edx], eax
mov cl, byte [ebx + 0xd]
test cl, cl
jne 0x58fd65
add dword [ebx + 0x5c], eax
add dword [0x6db490], eax
mov edx, dword [0x6db42c]
test edx, edx
je 0x58fd5b
sub dword [0x6db438], eax
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x58fd65
sub dword [ebx + 0x6c], eax
mov edx, dword [ebx + 0x13c]
test edx, edx
jne 0x58fda8
mov al, byte [ebx + 0x75]
test al, al
jne 0x58fd85
push 0
push 3
push ebx
call fcn.0058f630
add esp, 0xc
jmp 0x58fd9b
push 1
mov eax, dword [0x6db3d4]
mov ecx, dword [ebx + 0x10]
push ecx
push 0x401
push eax
call sub.USER32.DLL_PostMessageA
xor edx, edx
mov dword [ebx + 0x128], edx
jmp 0x58fe8e
inc eax
jne 0x58fb8b
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x58fdc2
mov dl, byte [ebp - 0x2d]
cmp dl, 7
je 0x58fe8e
test eax, eax
je 0x58fe13
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x58fded
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov word [ebp - 0x1c], 0x14
push 3
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [edx]
call dword [ecx]
mov word [ebp - 0x1c], 8
add esp, 8
xor eax, eax
mov dword [ebx + 0x70], eax
xor edx, edx
mov byte [ebx + 0x76], dl
mov byte [ebx + 0x75], dl
mov al, byte [ebp - 0x2d]
cmp al, 0xa
jne 0x58fe0a
mov byte [ebx + 0x130], 0x25
jmp 0x58fe4c
mov byte [ebx + 0x130], 0x19
jmp 0x58fe4c
mov esi, ebx
mov cl, byte [esi + 0xc]
test cl, cl
jne 0x58fe23
call sub.WSOCK32.DLL_WSAGetLastError
jmp 0x58fe29
push esi
call fcn.00592df0
mov esi, eax
cmp esi, 0x2733
je 0x58fe45
push esi
push ebx
call fcn.0058f584
add esp, 8
mov byte [ebx + 0x130], al
jmp 0x58fe4c
mov byte [ebx + 0x130], 0
mov al, byte [ebx + 0x130]
test al, al
je 0x58fe8e
push eax
push 3
push ebx
call fcn.0058f630
add esp, 0xc
mov edx, dword [ebx + 0x12c]
test edx, edx
je 0x58fe79
mov ecx, dword [ebx + 0x134]
push ecx
call fcn.0067ac5a
pop ecx
xor eax, eax
mov dword [ebx + 0x12c], eax
mov dword [ebx + 0x128], eax
jmp 0x58fe8e
push 3
push ebx
mov edx, dword [ebx]
call dword [edx]
add esp, 8
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret