Function at 0x41ff50
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 0x50462f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xc0
push esi
mov esi, ecx
mov byte [ebp - 0x11], dl
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x1b], 0xdbdb9f
mov byte [ebp - 0x17], 1
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 3
jb 0x41ffa0
lea edx, [ebp - 0x1b]
mov byte [ebp - 0x17], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41ffb7
mov edi, dword [ebx + 0x34]
lea eax, [ebp - 0x1b]
sub edx, ecx
cmp edi, 0x10
push edx
mov edx, dword [ebx + 0x30]
lea ecx, [ebx + 0x20]
cmovae ecx, dword [ebx + 0x20]
push eax
push 0
call fcn.0046b050
add esp, 0xc
test eax, eax
je 0x42003c
mov dword [ebp - 0x1b], 0xdadb9f
xor ecx, ecx
mov byte [ebp - 0x17], 1
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 3
jb 0x41fff0
lea esi, [ebp - 0x1b]
mov byte [ebp - 0x17], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x420007
mov edx, dword [ebx + 0x30]
lea eax, [ebp - 0x1b]
sub esi, ecx
cmp edi, 0x10
push esi
push eax
lea ecx, [ebx + 0x20]
cmovae ecx, dword [ebx + 0x20]
push 0
call fcn.0046b050
add esp, 0xc
test eax, eax
je 0x420039
mov byte [ebp - 0x11], 0
jmp 0x420537
mov esi, dword [ebp - 0x24]
mov eax, dword [ebx + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
cmp eax, 5
jb 0x4205bf
add eax, 0xfffffffb
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push ecx
add eax, 5
lea ecx, [ebp - 0x58]
push eax
call fcn.00402810
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x4200b5
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4200ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205ce
push ecx
push edx
call fcn.004dcbd1
add esp, 8
movq xmm0, qword [ebp - 0x48]
movups xmm1, xmmword [ebp - 0x58]
mov dword [ebp - 0x60], 0
movq qword [ebx + 0x18], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0xf
movups xmmword [ebx + 8], xmm1
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 2
lea ecx, [ebx + 8]
cmp dword [ebx + 0x1c], 0x10
lea edx, [ebp - 0x70]
movd eax, xmm1
cmovae ecx, eax
push ecx
call fcn.0041fe20
add esp, 4
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebx + 8]
cmovae eax, dword [ebp - 0x70]
push dword [ebp - 0x60]
push eax
call fcn.00465640
cmp byte [ebp - 0x11], 0
lea edx, [ebx + 8]
je 0x4201d7
cmp dword [ebx + 0x1c], 0x10
lea edi, [ebx + 0x20]
mov esi, dword [ebx + 0x30]
cmovae edx, dword [ebx + 8]
cmp dword [ebx + 0x34], 0x10
cmovae edi, dword [ebx + 0x20]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28], esp
push dword [ebx + 0x18]
call fcn.00402050
sub esp, 0x14
mov byte [ebp - 4], 3
mov ecx, esp
mov edx, edi
push esi
call fcn.00402050
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0041f930
add esp, 0x30
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x420196
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x40]
cmp edx, eax
je 0x420194
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
mov ecx, edx
push eax
call fcn.00465640
mov ecx, dword [ebp - 0x30]
test ecx, ecx
mov ecx, dword [ebp - 0x2c]
setne byte [ebp - 0x11]
cmp ecx, 0x10
jb 0x420500
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4201c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205c4
push ecx
push edx
call fcn.004dcbd1
add esp, 8
jmp 0x420500
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebp - 0xb8]
push dword [ebx + 0x18]
cmovae edx, dword [ebx + 8]
mov word [ebp - 0x23], 0x2a
mov byte [ebp - 0x21], 0
call fcn.00402050
add esp, 4
mov edi, eax
mov byte [ebp - 4], 5
lea edx, [ebx + 0x20]
cmp dword [ebx + 0x34], 0x10
lea ecx, [ebp - 0xa0]
push dword [ebx + 0x30]
cmovae edx, dword [ebx + 0x20]
mov word [ebp - 0x27], 0x5f
mov byte [ebp - 0x25], 0
call fcn.00402050
add esp, 4
mov edx, eax
mov byte [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0x20], 0xd4a8a4ac
mov dword [ebp - 0x1c], 0xafc5ddd4
mov word [ebp - 0x18], 0x100
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 8
jb 0x420242
push edx
lea edx, [ebp - 0x20]
mov byte [ebp - 0x17], 0
lea ecx, [ebp - 0x88]
call fcn.004698d0
add esp, 4
lea ecx, [ebp - 0x27]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.00465770
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x1a]
lea ecx, [ebp - 0x58]
call fcn.0046d230
lea eax, [ebp - 0x23]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x58]
call fcn.00465770
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x42031d
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420313
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205c9
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0x10
jb 0x42036d
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420363
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205c9
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x4203a8
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42039e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205c9
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x4203fb
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4203f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205c9
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x420454
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42044a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205c9
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
test ecx, ecx
je 0x4204c8
lea eax, [ebp - 0x40]
cmp esi, eax
je 0x42048e
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00465640
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4204c2
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4204b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205ce
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov byte [ebp - 0x11], 1
jmp 0x420500
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4204fc
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4204f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205ce
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov byte [ebp - 0x11], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x420534
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42052a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205ce
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov edi, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x42056a
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42055d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205ce
push ecx
push edx
call fcn.004dcbd1
mov edi, dword [ebx + 0x34]
add esp, 8
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp edi, 0x10
jb 0x4205a9
mov ecx, dword [ebx + 0x20]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x42059f
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205ce
push edi
push ecx
call fcn.004dcbd1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00469030
call fcn.004e1e70
call fcn.004e1e70
call fcn.004e1e70
int3