Function at 0x4b3240
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 0x4b36e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x462]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
mov byte [eax + 0x462], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x468], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x398], 1
xor dl, 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x337], dl
mov edx, 0x7530
mov eax, dword [ebp - 4]
call fcn.004a7540
mov eax, dword [ebp - 4]
mov byte [eax + 0x30a], 1
xor edx, edx
push ebp
push 0x4b36b9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x318], 0
setne al
or bl, al
je 0x4b3363
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
test eax, eax
je 0x4b32fa
cmp byte [eax + 0x2e0], 0
je 0x4b32fa
push 2
mov eax, dword [eax + 0x34c]
push eax
call sub.wsock32.dll_shutdown
mov eax, dword [ebp - 4]
cmp byte [eax + 0x44a], 0
jne 0x4b3363
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe4], 0
jne 0x4b3363
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e8], 0
jne 0x4b3363
mov edx, 0x4b36f8
mov eax, dword [ebp - 4]
call fcn.004a62b0
mov ax, word [0x4b36fc]
mov word [ebp - 6], ax
push 1
push 2
lea eax, [ebp - 6]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
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 + 0x34c]
push eax
call sub.wsock32.dll_send
mov eax, dword [ebp - 4]
mov byte [eax + 0x468], 1
xor esi, esi
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x306]
mov edx, eax
sub dx, 0x7d
je 0x4b3388
sub dx, 0x19
je 0x4b3388
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.004b24a4
mov eax, dword [ebp - 4]
movsx eax, word [eax + 0x306]
cmp ebx, eax
je 0x4b33ac
inc esi
mov ebx, eax
lea edx, [ebp - 0x14]
mov eax, 0x4ac400
call fcn.00405c64
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004aec04
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x306]
movsx edx, ax
cmp ebx, edx
je 0x4b33da
inc esi
cmp ax, 0x1f3
jle 0x4b341b
mov eax, dword [ebp - 4]
mov byte [eax + 0x30a], 0
mov edx, 0x3a98
mov eax, dword [ebp - 4]
call fcn.004a7540
mov eax, dword [ebp - 4]
mov byte [eax + 0x30a], 1
lea edx, [ebp - 0x14]
mov eax, 0x4ac400
call fcn.00405c64
mov edx, dword [ebp - 0x14]
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.004aec04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
test eax, eax
je 0x4b3532
call fcn.004a6124
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov cl, 1
xor edx, edx
call fcn.004a8934
cmp esi, 2
je 0x4b3532
mov eax, dword [ebp - 4]
mov byte [eax + 0x30a], 0
mov edx, 0x2710
mov eax, dword [ebp - 4]
call fcn.004a7540
mov eax, dword [ebp - 4]
mov byte [eax + 0x30a], 1
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0x306]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x344]
call fcn.00403ca4
jmp 0x4b3508
lea eax, [ebp - 0x14]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040408c
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov ecx, 3
mov edx, 1
call fcn.0040408c
mov edx, dword [ebp - 0x18]
pop eax
call fcn.00403f98
je 0x4b34f6
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov ecx, 1
mov edx, 4
call fcn.0040408c
mov eax, dword [ebp - 0x14]
mov edx, 0x4b3708
call fcn.00403f98
je 0x4b3532
push 0
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004b24a4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x394], 0
je 0x4b3532
mov eax, dword [ebp - 4]
cmp byte [eax + 0x336], 0
jne 0x4b3532
mov eax, dword [ebp - 4]
movsx eax, word [eax + 0x306]
cmp ebx, eax
je 0x4b348a
xor edx, edx
push ebp
push 0x4b367e
push dword fs:[edx]
mov dword fs:[edx], esp
mov dx, 1
mov eax, dword [ebp - 4]
call fcn.004a90bc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x318], 0
jne 0x4b363a
mov edx, dword [ebp - 4]
cmp word [edx + 0x306], 0
je 0x4b3612
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x306]
cmp ax, 0xe2
je 0x4b363a
cmp ax, 0xe1
je 0x4b363a
cmp ax, 0x1f3
jge 0x4b363a
jmp 0x4b3612
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004a6444
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004a8bdc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x394], 0
je 0x4b35e1
mov eax, dword [ebp - 0xc]
mov edx, dword [0x581dd8]
mov edx, dword [edx]
call fcn.00403f98
je 0x4b35e1
push 1
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004b22b0
lea eax, [ebp - 0x14]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040408c
mov eax, dword [ebp - 0x14]
mov edx, 0x4b3714
call fcn.00403f98
je 0x4b363a
mov dx, 5
mov eax, dword [ebp - 4]
call fcn.004a90bc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x394], 0
je 0x4b363a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x335], 0
jne 0x4b363a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x336], 0
je 0x4b3597
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30c], 0
jle 0x4b3650
mov eax, dword [ebp - 4]
mov byte [eax + 0x30b], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3685
mov eax, dword [ebp - 4]
mov byte [eax + 0x337], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x468], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0xd]
mov byte [eax + 0x462], dl
ret