Function at 0x4108d0
Capabilities:
Check mutex on windows
Create thread
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, 0x1c8
mov eax, dword [0x43c0d8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x43ccfe], 0
push esi
mov esi, dword [0x43e228]
push edi
mov edi, 4
lea eax, [edi + 0x1b]
je 0x410a85
xor edx, edx
mov dword [ebp - 8], edx
cmp esi, 2
jl 0x410a55
movaps xmm0, xmmword [str.5555555555555555]
movaps xmm4, xmmword [0x4327b0]
movaps xmm3, xmmword [0x432800]
movaps xmm6, xmmword [0x4327d0]
movaps xmmword [ebp - 0x1c0], xmm0
mov ecx, dword [ebp - 0x1c0]
movd xmm5, edi
movd xmm7, 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
andps xmm1, xmmword [0x4327e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + 0x43cce8]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [edx + 0x43cce8], 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
andps xmm1, xmmword [0x4327e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + 0x43ccec]
xorps xmm1, xmm0
movd dword [edx + 0x43ccec], xmm1
add edx, 8
cmp edx, 0x10
jl 0x410952
mov dword [ebp - 8], edx
cmp edx, 0x17
jge 0x410a85
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x35
xor byte [edx + 0x43cce8], cl
inc edx
mov dword [ebp - 8], edx
cmp edx, 0x17
jl 0x410a55
push 0x43cce8
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp byte [0x43ccfe], 0
mov dword [0x43cae8], eax
jne 0x410c1a
xor ecx, ecx
cmp esi, 2
jl 0x410bf0
movaps xmm0, xmmword [str.5555555555555555]
mov eax, 0x1f
movaps xmm4, xmmword [0x4327b0]
movaps xmm3, xmmword [0x432800]
movaps xmm6, xmmword [0x4327d0]
movaps xmmword [ebp - 0x1c0], xmm0
mov edx, dword [ebp - 0x1c0]
movd xmm5, edi
movd xmm7, eax
nop word [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
andps xmm1, xmmword [0x4327e0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ecx + 0x43cce8]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ecx + 0x43cce8], 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
andps xmm1, xmmword [0x4327e0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ecx + 0x43ccec]
xorps xmm1, xmm0
movd dword [ecx + 0x43ccec], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x410af0
cmp ecx, 0x17
jge 0x410c1a
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x36
sub dl, al
add dl, 0x35
xor byte [ecx + 0x43cce8], dl
inc ecx
cmp ecx, 0x17
jl 0x410bf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x410dde
mov eax, dword fs:[0x2c]
mov ecx, dword [0x43e230]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x43d5f4]
cmp eax, dword [ecx + 4]
jg 0x410df5
cmp byte [0x43ce06], 0
jne 0x410c92
xor edx, edx
mov dword [ebp - 8], edx
nop dword [eax]
mov eax, 0x2f684bdb
mul edx
mov eax, dword [ebp - 8]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 8]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x35
xor byte [edx + 0x43ce00], cl
inc edx
mov dword [ebp - 8], edx
cmp edx, 7
jl 0x410c60
push 0x190
lea eax, [ebp - 0x198]
mov word [0x43cdc4], 0
xorps xmm0, xmm0
mov byte [0x43cdc6], 0
push 0
push eax
movq qword [0x43cdbc], xmm0
call fcn.00424230
add esp, 0xc
mov eax, 0x43d5a4
cmp dword [0x43d5b8], 0x10
cmovae eax, dword [0x43d5a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x410d10
cmp dword [0x43d5b8], 0x10
mov eax, 0x43d5a4
cmovae eax, dword [0x43d5a4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
push 0x43d5a4
mov ecx, 0x43df24
mov dword [0x43d5a0], eax
call fcn.00410310
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [0x43d59c]
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [0x43caec]
call edi
cmp dword [ebp - 8], 0x103
je 0x410d62
push 0
push 0
push 0
push 0x4064e0
push 0
push 0
call esi
mov dword [0x43caec], eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.0040ff40
mov ecx, dword [ebp - 0x1ac]
add esp, 4
cmp ecx, 0x7fffffff
jg 0x410db6
mov eax, dword [ebp - 0x1b0]
jl 0x410d8e
cmp eax, 0xc46535ff
jae 0x410db6
add eax, 0x3b9aca00
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x1a0]
adc ecx, 0
push eax
mov dword [ebp - 0x19c], ecx
call fcn.00402b70
add esp, 4
jmp 0x410d30
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x1a0], 0xffffffff
push eax
mov dword [ebp - 0x19c], closesocket
call fcn.00402b70
add esp, 4
jmp 0x410d30
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0042264a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push 0x43d5f4
call fcn.00422334
add esp, 4
cmp dword [0x43d5f4], 0xffffffff
jne 0x410c4b
cmp byte [0x43ce06], 0
je 0x410e54
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x410e20
mov eax, 0x2f684bdb
mul edx
mov eax, dword [ebp - 8]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 8]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x35
xor byte [edx + 0x43ce00], cl
inc edx
mov dword [ebp - 8], edx
cmp edx, 7
jl 0x410e20
jmp 0x410e54
push 0x43ce00
lea ecx, [ebp - 0x1c0]
call fcn.00405440
cmp byte [0x43cdc6], 0
je 0x410ea8
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x410e74
mov eax, 0x2f684bdb
mul edx
mov eax, dword [ebp - 8]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 8]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x35
xor byte [edx + 0x43cdbc], cl
inc edx
mov dword [ebp - 8], edx
cmp edx, 0xb
jl 0x410e74
jmp 0x410ea8
push 0
push 1
sub esp, 0x18
mov ecx, esp
push 0x43cdbc
call fcn.00405440
sub esp, 0x18
lea ecx, [ebp - 0x1c0]
mov eax, esp
push ecx
push eax
call fcn.00421410
add esp, 8
mov ecx, 0x43d598
call fcn.00403460
lea ecx, [ebp - 0x1c0]
call fcn.00405aa0
push 0x430e40
call fcn.00422635
push 0x43d5f4
call fcn.004222e3
add esp, 8
jmp 0x410c4b