Function at 0x42ef10
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f7788
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x90cf34]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edx, [esi + 0x3e4]
mov dword [ebp - 0x1c], 0
mov ecx, edx
mov dword [ebp - 0x18], 7
xor eax, eax
mov word [ebp - 0x2c], ax
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ef70
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040d800
push 0xffffffffffffffff
push 0x8d2ad8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004160b0
cmp eax, 0xffffffff
jne 0x42efb3
mov dword [esi + 0x7b0], 0
jmp 0x42f341
dec eax
lea ecx, [ebp - 0x2c]
push eax
push 0x8d2ad8
call fcn.004160b0
mov edi, eax
cmp edi, 0xffffffff
jne 0x42efd8
mov dword [esi + 0x7b0], 0
jmp 0x42f341
xor eax, eax
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x1c], edi
mov ecx, edi
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x2c]
cmovb ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 8
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
push eax
mov dword [ebp - 0x48], 7
call fcn.0040d800
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
cmp eax, edi
jb 0x42f395
sub eax, edi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x44]
lea eax, [eax + edi*2]
push eax
call fcn.0040d800
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
push 0x104
cmovae eax, dword [ebp - 0x5c]
push eax
lea eax, [esi + 0x1dc]
push eax
call dword [0x810364]
movups xmm0, xmmword [0x8d41d8]
mov ax, word [0x8d4200]
xor ecx, ecx
cmp dword [0x18011f4], 2
movups xmmword [ebp - 0x88], xmm0
mov word [ebp - 0x60], ax
movups xmm0, xmmword [0x8d41e8]
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [0x8d41f8]
movq qword [ebp - 0x68], xmm0
jl 0x42f1d2
movaps xmm4, xmmword [0x8d5c60]
mov eax, 1
movaps xmm3, xmmword [0x8d5cd0]
movaps xmm6, xmmword [0x8d5c80]
movd xmm5, eax
mov eax, 0x1f
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
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
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
movq xmm0, qword [0x8d5cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x88]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0x88], 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
movq xmm0, qword [0x8d5cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x80]
pxor xmm1, xmm0
movq qword [ebp + ecx*2 - 0x80], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x42f0e0
cmp ecx, 0x15
jge 0x42f1fa
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul eax, eax, 0x37
sub edx, eax
add edx, 0x32
xor word [ebp + ecx*2 - 0x88], dx
inc ecx
cmp ecx, 0x15
jl 0x42f1d2
cmp dword [ebp - 0x30], 8
lea ecx, [esi + 0x15c]
push 0x20
push ecx
push 0x20
lea edi, [esi + 0x11c]
push edi
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call fcn.00450300
add esp, 0x18
cmp eax, 2
jne 0x42f29f
push edi
call dword [0x810388]
test eax, eax
jle 0x42f2a9
lea eax, [esi + 0x15c]
push eax
call dword [0x810388]
test eax, eax
jle 0x42f2a9
cmp word [edi], 0x30
jne 0x42f26f
movzx eax, word [esi + 0x11e]
mov word [edi], ax
movzx eax, word [esi + 0x120]
mov word [esi + 0x11e], ax
xor eax, eax
mov word [esi + 0x120], ax
lea eax, [ebp - 0x2c]
mov ecx, 0x1807ec0
push eax
call fcn.0040d7d0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f282
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, 0x1807ed8
call fcn.0040d800
jmp 0x42f2a9
mov dword [esi + 0x7b0], 0
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x42f2e3
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f2d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f39a
push edx
push ecx
call fcn.0059982b
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x42f32d
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f323
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f39f
push edx
push ecx
call fcn.0059982b
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x42f377
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f36d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f3a4
push edx
push ecx
call fcn.0059982b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059961f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00403e50
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
int3