Function at 0x41f975
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 0x50394b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x178
push esi
push edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebx + 8]
mov ecx, esp
push eax
call fcn.00465c30
lea ecx, [ebp - 0x50]
call fcn.0040bfe0
push 0x64
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.004debe0
add esp, 0x24
lea eax, [ebx + 0x20]
cmp dword [ebx + 0x34], 0x10
cmovae eax, dword [ebx + 0x20]
push dword [ebx + 0x30]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004de660
add esp, 0xc
lea eax, [ebp - 0x120]
push 0x64
push 0
push eax
call fcn.004debe0
add esp, 0xc
mov eax, 0x532b1c
cmp dword [0x532b30], 0x10
cmovae eax, dword [0x532b1c]
push dword [0x532b2c]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.004de660
add esp, 0xc
lea eax, [ebp - 0x188]
push 0x64
push 0
push eax
call fcn.004debe0
add esp, 0xc
mov eax, 0x532bc4
cmp dword [0x532bd8], 0x10
cmovae eax, dword [0x532bc4]
push dword [0x532bd4]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.004de660
mov ecx, dword [ebp - 0x40]
add esp, 0xc
mov eax, dword [ebp - 0x28]
add ecx, 0x12c
cmp ecx, eax
ja 0x41f8ef
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
mov dword [ebp - 0x28], ecx
cmovae eax, dword [ebp - 0x38]
mov byte [eax + ecx], 0
jmp 0x41f8fc
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x38]
call fcn.004684f0
cmp dword [ebp - 0x24], 0x10
lea edi, [ebp - 0x38]
mov ecx, 0x19
lea esi, [ebp - 0xb8]
cmovae edi, dword [ebp - 0x38]
lea eax, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x24], 0x10
lea edi, [ebp - 0x38]
mov ecx, 0x19
lea esi, [ebp - 0x120]
cmovae edi, dword [ebp - 0x38]
add edi, 0x64
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x24], 0x10
lea edi, [ebp - 0x38]
mov ecx, 0x19
lea esi, [ebp - 0x188]
cmovae edi, dword [ebp - 0x38]
add edi, 0xc8
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x3c], 0x10
lea ecx, [ebp - 0x50]
push dword [ebp - 0x40]
cmovae ecx, dword [ebp - 0x50]
cmp dword [ebp - 0x24], 0x10
push ecx
cmovae eax, dword [ebp - 0x38]
add eax, 0x12c
push eax
call fcn.004de660
add esp, 0xc
push 0
push 0x13085
call fcn.00408920
mov edi, eax
mov dword [ebp - 0x15], 0x21223e
mov eax, dword [0x532aac]
add esp, 8
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov byte [ebp - 0x11], 1
nop dword [eax + eax]
lea eax, [ecx + 0xf]
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 3
jb 0x41f9a0
sub esp, 0x18
mov byte [ebp - 0x11], 0
mov ecx, esp
lea edx, [ebp - 0x15]
xorps xmm0, xmm0
lea esi, [edx + 1]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x41f9d0
sub edx, esi
lea eax, [ebp - 0x15]
push edx
push eax
call fcn.00403410
mov ecx, dword [ebp - 0x1c]
mov edx, edi
call fcn.0041e2d0
push 0
push 0x13079
call fcn.00408920
mov edi, dword [0x532aac]
add esp, 8
mov esi, eax
mov ecx, esp
lea eax, [ebp - 0x38]
push eax
call fcn.00465c30
mov edx, esi
mov ecx, edi
call fcn.0041e2d0
push 0
push 0x13085
call fcn.00408920
mov edi, dword [0x532aac]
lea edx, [ebp - 0x1b]
add esp, 8
mov word [ebp - 0x1b], 0x33
mov ecx, esp
mov byte [ebp - 0x19], 0
mov esi, eax
xorps xmm0, xmm0
lea eax, [edx + 1]
mov dword [ebp - 0x20], eax
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x41fa58
sub edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1b]
push edx
push eax
call fcn.00403410
mov edx, esi
mov ecx, edi
call fcn.0041e2d0
mov ecx, dword [ebp - 0x3c]
add esp, 0x18
cmp ecx, 0x10
jb 0x41faac
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41faa2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fb89
push ecx
push edx
call fcn.004dcc02
add esp, 8
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp ecx, 0x10
jb 0x41faf2
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fae8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fb89
push ecx
push edx
call fcn.004dcc02
add esp, 8
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0x10
jb 0x41fb34
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fb2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fb89
push ecx
push edx
call fcn.004dcc02
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x41fb76
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fb6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fb89
push ecx
push edx
call fcn.004dcc02
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e1ea0
int3