Function at 0x10003d60
Capabilities:
Encode data using xor
Send data
Send data on socket
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x8000c
call fcn.10020950
mov eax, dword [0x10030040]
xor eax, esp
mov dword [esp + 0x80008], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1013093c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x10030924]
cmp ebx, 0xffffffff
je 0x100040f2
cmp byte [0x10130958], 0
je 0x100040f2
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push esi
push edi
push eax
call fcn.1000ddb0
mov al, byte [esp + 0x1c]
add esp, 0xc
cmp al, 0xc1
jne 0x10003dd2
push dword [esp + 0x12]
lea edx, [esi - 3]
lea ecx, [esp + 0x17]
jmp 0x10003dee
cmp al, 0xc3
jne 0x10003de3
push dword [esp + 0x15]
lea edx, [esi - 6]
lea ecx, [esp + 0x1a]
jmp 0x10003dee
push dword [esp + 0x13]
lea edx, [esi - 4]
lea ecx, [esp + 0x18]
call fcn.1000b9a0
mov eax, dword [0x10130930]
add esp, 4
test eax, eax
jle 0x10003ee3
lea edi, [eax + esi]
cmp edi, 0x80000
jle 0x10003ea4
push 0x100
push 0
push 0x1013c168
call fcn.1000e330
movaps xmm1, xmmword [0x1002c660]
add esp, 0xc
movaps xmm2, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_feeeeeeeeeeeeeeee]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [eax + 0x10028408]
psubb xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [eax + 0x1013c168], xmm0
movups xmm0, xmmword [eax + 0x10028418]
psubb xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [eax + 0x1013c178], xmm0
movups xmm0, xmmword [eax + 0x10028428]
psubb xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [eax + 0x1013c188], xmm0
movups xmm0, xmmword [eax + 0x10028438]
psubb xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [eax + 0x1013c198], xmm0
add eax, 0x40
cmp eax, 0x100
jb 0x10003e40
push edi
jmp 0x10004070
push esi
lea ecx, [esp + 0x14]
push ecx
lea eax, [eax + 0x100b0930]
push eax
call fcn.1000ddb0
add esp, 0xc
add dword [0x10130930], esi
push 0x1013093c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80008]
xor ecx, esp
call fcn.1000c666
mov esp, ebp
pop ebp
ret 8
xor edi, edi
test esi, esi
jle 0x10003ebf
nop dword [eax]
push 0
lea eax, [esp + 0x14]
add eax, edi
push esi
push eax
push ebx
mov dword [esp + 0x1c], eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10003f1a
sub esi, eax
add edi, eax
test esi, esi
jle 0x10003ebf
mov ebx, dword [0x10030924]
jmp 0x10003ef0
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2733
jne 0x10003fde
mov eax, dword [0x10130930]
lea edi, [eax + esi]
cmp edi, 0x80000
jle 0x10003fd4
push 0x100
push 0
push 0x1013c168
call fcn.1000e330
movaps xmm1, xmmword [0x1002c660]
add esp, 0xc
movaps xmm2, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_feeeeeeeeeeeeeeee]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [eax + 0x10028508]
psubb xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [eax + 0x1013c168], xmm0
movups xmm0, xmmword [eax + 0x10028518]
psubb xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [eax + 0x1013c178], xmm0
movups xmm0, xmmword [eax + 0x10028528]
psubb xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [eax + 0x1013c188], xmm0
movups xmm0, xmmword [eax + 0x10028538]
psubb xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [eax + 0x1013c198], xmm0
add eax, 0x40
cmp eax, 0x100
jb 0x10003f70
push edi
jmp 0x10004070
push esi
push dword [esp + 0x10]
jmp 0x10003eaa
call edi
push 0x100
push 0
push 0x1013c168
mov esi, eax
call fcn.1000e330
movaps xmm1, xmmword [0x1002c660]
add esp, 0xc
movaps xmm2, xmmword [str._f_f_f_f_f_f_f_f_f_f_f_f_f_f_f_feeeeeeeeeeeeeeee]
xor ecx, ecx
nop word [eax + eax]
movups xmm0, xmmword [ecx + 0x10028608]
psubb xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [ecx + 0x1013c168], xmm0
movups xmm0, xmmword [ecx + 0x10028618]
psubb xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [ecx + 0x1013c178], xmm0
movups xmm0, xmmword [ecx + 0x10028628]
psubb xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [ecx + 0x1013c188], xmm0
movups xmm0, xmmword [ecx + 0x10028638]
psubb xmm0, xmm1
xorps xmm0, xmm2
movups xmmword [ecx + 0x1013c198], xmm0
add ecx, 0x40
cmp ecx, 0x100
jb 0x10004010
push esi
push 0x1013c168
push 0
push 0x10130ac0
call fcn.100083d0
mov eax, dword [0x10130954]
add esp, 0x10
test eax, eax
je 0x100040b6
push 0
push eax
mov dword [0x1013adfc], 0xffffffff
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x10130954]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10130954], 0
mov eax, dword [0x10030924]
cmp eax, 0xffffffff
je 0x100040d1
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x10030924], 0xffffffff
mov eax, dword [0x10030928]
test eax, eax
je 0x100040eb
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [0x10030928], 0
mov byte [0x10130958], 0
push 0x1013093c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x80014]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000c666
mov esp, ebp
pop ebp
ret 8