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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x497989
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x141e]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
mov byte [eax + 0x141e], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1425], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x1368], 1
xor dl, 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x32b], dl
mov edx, 0x7530
mov eax, dword [ebp - 4]
call fcn.0048c93c
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f1], 1
xor edx, edx
push ebp
push 0x49795f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
setne al
or bl, al
je 0x497607
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1405], 0
jne 0x497607
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0
jne 0x497607
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e8], 0
jne 0x497607
mov edx, 0x4979a0
mov eax, dword [ebp - 4]
call fcn.0048b7c0
mov ax, word [0x4979a4]
mov word [ebp - 6], ax
push 1
push 2
lea eax, [ebp - 6]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
push eax
call sub.wsock32.dll_send
push 1
push 2
lea eax, [ebp - 6]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
push eax
call sub.wsock32.dll_send
mov eax, dword [ebp - 4]
mov byte [eax + 0x1425], 1
xor esi, esi
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2d8]
cmp ax, 0x96
je 0x497624
inc esi
movsx ebx, ax
push 0
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00496764
mov eax, dword [ebp - 4]
movsx eax, word [eax + 0x2d8]
cmp ebx, eax
je 0x497648
inc esi
mov ebx, eax
xor ecx, ecx
mov edx, 0x4979b0
mov eax, dword [ebp - 4]
call fcn.004938d8
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2d8]
movsx edx, ax
cmp ebx, edx
je 0x49766b
inc esi
cmp ax, 0x1f3
jle 0x4976a1
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f1], 0
mov edx, 0x3a98
mov eax, dword [ebp - 4]
call fcn.0048c93c
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f1], 1
mov edx, 0x4979b0
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.004938d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
test eax, eax
je 0x4977da
call fcn.0048b63c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1369], 0
je 0x4976dd
push 0
push 0
push 0x46a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
push eax
call sub.user32.dll_PostMessageA
jmp 0x4976eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.0048f164
cmp esi, 2
je 0x4977da
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f1], 0
mov edx, 0x2710
mov eax, dword [ebp - 4]
call fcn.0048c93c
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f1], 1
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0x2d8]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x334]
call fcn.00403c40
jmp 0x4977b0
lea eax, [ebp - 0x14]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404028
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov ecx, 3
mov edx, 1
call fcn.00404028
mov edx, dword [ebp - 0x18]
pop eax
call fcn.00403f34
je 0x49779e
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov ecx, 1
mov edx, 4
call fcn.00404028
mov eax, dword [ebp - 0x14]
mov edx, 0x4979c0
call fcn.00403f34
je 0x4977da
push 0
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00496764
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x4977da
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x4977da
mov eax, dword [ebp - 4]
movsx eax, word [eax + 0x2d8]
cmp ebx, eax
je 0x497732
xor edx, edx
push ebp
push 0x497924
push dword fs:[edx]
mov dword fs:[edx], esp
mov dx, 1
mov eax, dword [ebp - 4]
call fcn.0048e164
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x4978e0
mov edx, dword [ebp - 4]
cmp word [edx + 0x2d8], 0
je 0x4978b8
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2d8]
cmp ax, 0xe2
je 0x4978e0
cmp ax, 0xe1
je 0x4978e0
cmp ax, 0x1f3
jge 0x4978e0
jmp 0x4978b8
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0048b94c
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0048dc38
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x497887
mov eax, dword [ebp - 0xc]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
je 0x497887
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004965e8
lea eax, [ebp - 0x14]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404028
mov eax, dword [ebp - 0x14]
mov edx, 0x4979cc
call fcn.00403f34
je 0x4978e0
mov dx, 5
mov eax, dword [ebp - 4]
call fcn.0048e164
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x4978e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x4978e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
je 0x49783f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2f4], 0
jle 0x4978f6
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f2], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49792b
mov eax, dword [ebp - 4]
mov byte [eax + 0x32b], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1425], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0xd]
mov byte [eax + 0x141e], dl
ret