Function at 0x103e5d80
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
xor esi, esi
call fcn.103e7370
cmp dword [0x103fd678], esi
jne 0x103e6421
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
test eax, eax
mov dword [0x103fd678], eax
mov ecx, 9
cmove esi, ecx
xor eax, eax
mov ecx, 0x103fd674
xchg dword [ecx], eax
test esi, esi
jne 0x103e642a
mov ecx, dword [sym.imp.WS2_32.dll_recv]
mov edx, 0x103e5cc0
push 0x103fd65c
call fcn.103e73c0
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esi + 4]
mov esi, dword [0x103fd62c]
test eax, eax
je 0x103e5fee
movups xmm0, xmmword [0x103f6e68]
mov ax, word [0x103f6e78]
mov word [ebp - 0x24], ax
movups xmmword [ebp - 0x34], xmm0
test ah, ah
je 0x103e5f8e
xor edx, edx
mov dword [ebp - 4], edx
cmp esi, 2
jl 0x103e5f60
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 0x1f
movaps xmm4, xmmword [0x103f7350]
movaps xmm3, xmmword [0x103f73a0]
movaps xmm6, xmmword [0x103f7370]
movd xmm5, ecx
movaps xmmword [ebp - 0x20], xmm0
mov ecx, dword [ebp - 0x20]
movd xmm7, eax
nop
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x103f7380]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x34]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x34], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x103f7380]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x30]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x30], xmm1
add edx, 8
cmp edx, 0x10
jl 0x103e5e60
mov dword [ebp - 4], edx
cmp edx, 0x12
jge 0x103e5f8e
nop
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0x34], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0x12
jl 0x103e5f60
mov ax, word [0x103f6eb8]
movq xmm0, qword [0x103f6eb0]
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x14], ax
test ah, ah
je 0x103e5fe0
xor edx, edx
mov dword [ebp - 4], edx
nop
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 4]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 4]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0xa
jl 0x103e5fb0
push 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
call edi
mov ecx, dword [sym.imp.WS2_32.dll_connect]
mov edx, 0x103e55c0
push 0x103fd664
call fcn.103e73c0
test eax, eax
je 0x103e61fe
movups xmm0, xmmword [0x103f6e68]
mov ax, word [0x103f6e78]
mov word [ebp - 0x24], ax
movups xmmword [ebp - 0x34], xmm0
test ah, ah
je 0x103e619e
xor edx, edx
mov dword [ebp - 4], edx
cmp esi, 2
jl 0x103e6170
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 4
movaps xmm4, xmmword [0x103f7350]
movaps xmm3, xmmword [0x103f73a0]
movaps xmm6, xmmword [0x103f7370]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x20], xmm0
mov ecx, dword [ebp - 0x20]
movd xmm7, eax
nop dword [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x103f7380]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x34]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x34], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x103f7380]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x30]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x30], xmm1
add edx, 8
cmp edx, 0x10
jl 0x103e6070
mov dword [ebp - 4], edx
cmp edx, 0x12
jge 0x103e619e
nop
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0x34], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0x12
jl 0x103e6170
mov ax, word [0x103f734c]
movq xmm0, qword [0x103f7344]
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x14], ax
test ah, ah
je 0x103e61f0
xor edx, edx
mov dword [ebp - 4], edx
nop
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 4]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 4]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0xa
jl 0x103e61c0
push 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
call edi
mov ecx, dword [sym.imp.WS2_32.dll_send]
mov edx, 0x103e5c90
push 0x103fd66c
call fcn.103e73c0
test eax, eax
je 0x103e640e
movups xmm0, xmmword [0x103f6e68]
mov ax, word [0x103f6e78]
mov word [ebp - 0x24], ax
movups xmmword [ebp - 0x34], xmm0
test ah, ah
je 0x103e63a8
xor ecx, ecx
cmp esi, 2
jl 0x103e6380
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 4
movaps xmm4, xmmword [0x103f7350]
movaps xmm3, xmmword [0x103f73a0]
movaps xmm6, xmmword [0x103f7370]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x20]
movd xmm7, eax
nop dword [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x103f7380]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x34]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x34], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x103f7380]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x30]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x30], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x103e6280
cmp ecx, 0x12
jge 0x103e63a8
nop dword [eax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x35
sub dl, al
add dl, 0x39
xor byte [ebp + ecx - 0x34], dl
inc ecx
cmp ecx, 0x12
jl 0x103e6380
mov ax, word [0x103f6ec4]
movq xmm0, qword [0x103f6ebc]
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x14], ax
test ah, ah
je 0x103e6400
xor edx, edx
mov dword [ebp - 4], edx
nop dword [eax + eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 4]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 4]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0xa
jl 0x103e63d0
push 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
call edi
call fcn.103e7370
cmp dword [0x103fd678], 0
je 0x103e6421
call fcn.103e7280
mov ecx, 0x103fd674
xor eax, eax
xchg dword [ecx], eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret