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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49b564
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x141a]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
mov byte [eax + 0x141a], 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.004909e4
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f1], 1
xor edx, edx
push ebp
push 0x49b53f
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 0x49b280
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1401], 0
jne 0x49b280
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0
jne 0x49b280
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e8], 0
jne 0x49b280
mov edx, 0x49b57c
mov eax, dword [ebp - 4]
call fcn.0048f7cc
mov ax, word [0x49b580]
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 0x49b29d
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.0049a424
mov eax, dword [ebp - 4]
movsx eax, word [eax + 0x2d8]
cmp ebx, eax
je 0x49b2c1
inc esi
mov ebx, eax
xor ecx, ecx
mov edx, 0x49b58c
mov eax, dword [ebp - 4]
call fcn.00497564
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2d8]
movsx edx, ax
cmp ebx, edx
je 0x49b2e4
inc esi
cmp ax, 0x1f3
jle 0x49b31a
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f1], 0
mov edx, 0x3a98
mov eax, dword [ebp - 4]
call fcn.004909e4
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f1], 1
mov edx, 0x49b58c
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.00497564
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
test eax, eax
je 0x49b3ba
call fcn.0048f648
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1369], 0
je 0x49b356
push 0
push 0
push 0x46a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
push eax
call sub.user32.dll_PostMessageA
jmp 0x49b364
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.00493084
cmp esi, 2
je 0x49b3ba
mov edx, 0x2710
mov eax, dword [ebp - 4]
call fcn.004909e4
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0x2d8]
jmp 0x49b394
push 0
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0049a424
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x49b3ba
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x49b3ba
mov eax, dword [ebp - 4]
movsx eax, word [eax + 0x2d8]
cmp ebx, eax
je 0x49b382
xor edx, edx
push ebp
push 0x49b504
push dword fs:[edx]
mov dword fs:[edx], esp
mov dx, 1
mov eax, dword [ebp - 4]
call fcn.00492158
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x49b4c0
mov edx, dword [ebp - 4]
cmp word [edx + 0x2d8], 0
je 0x49b498
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2d8]
cmp ax, 0xe2
je 0x49b4c0
cmp ax, 0xe1
je 0x49b4c0
cmp ax, 0x1f3
jge 0x49b4c0
jmp 0x49b498
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0048f958
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00491c7c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x49b467
mov eax, dword [ebp - 0xc]
mov edx, dword [0x54988c]
mov edx, dword [edx]
call fcn.00403fa0
je 0x49b467
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0049a2a8
lea eax, [ebp - 0x14]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404094
mov eax, dword [ebp - 0x14]
mov edx, 0x49b59c
call fcn.00403fa0
je 0x49b4c0
mov dx, 5
mov eax, dword [ebp - 4]
call fcn.00492158
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x49b4c0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x49b4c0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
je 0x49b41f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2f4], 0
jle 0x49b4d6
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 0x49b50b
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 + 0x141a], dl
ret