Function at 0x41a640
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 0x52c5b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x80
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
cmp byte [ebx + 8], 2
jne 0x41a8cd
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebx + 8]
call fcn.0048a3a0
mov edx, ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], edx
movzx eax, byte [edx]
mov ecx, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x80000000
sub ecx, 1
je 0x41a6f9
sub ecx, 1
je 0x41a6ee
mov dword [ebp - 0x24], 0x80000000
sub eax, 1
je 0x41a6f9
sub eax, 1
je 0x41a6ee
mov dword [ebp - 0x24], 1
jmp 0x41a701
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
jmp 0x41a701
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
call fcn.00489ed0
test al, al
je 0x41a8cd
lea ecx, [ebp - 0x40]
call fcn.00489fe0
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0xd9c3d1c2
mov edi, eax
mov dword [ebp - 0x8c], 0xdbd4daec
mov byte [ebp - 0x88], 0xd2
xor eax, eax
movups xmmword [ebp - 0x87], xmm0
mov dword [ebp - 0x77], 0
mov word [ebp - 0x73], 0
mov byte [ebp - 0x71], 0
nop word [eax + eax]
lea ecx, [eax - 0x51]
xor byte [ebp + eax - 0x90], cl
inc eax
cmp eax, 9
jb 0x41a760
xorps xmm0, xmm0
mov dword [0x565630], eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 0x87], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x44], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a7a0
sub ecx, edx
lea eax, [ebp - 0x90]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00402c40
mov byte [ebp - 4], 2
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
mov ecx, edi
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00490ca0
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.00490de0
cmp dword [ebx + 0x2c], 0x10
lea ecx, [ebx + 0x18]
cmovae ecx, dword [ebx + 0x18]
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x41a7f1
mov eax, dword [eax]
push dword [ebx + 0x28]
push ecx
mov ecx, eax
call fcn.0049c9a0
mov ecx, dword [ebp - 0x5c]
add esp, 8
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x41a836
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a82c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a96b
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0x10
jb 0x41a880
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a876
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a96b
push ecx
push edx
call fcn.00504f31
add esp, 8
cmp byte [ebp - 0x11], 0
jne 0x41a916
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
sub eax, 1
je 0x41a8a5
sub eax, 1
je 0x41a89f
inc dword [ebp - 0x34]
jmp 0x41a8b9
add dword [ebp - 0x38], 0x10
jmp 0x41a8b9
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
call fcn.0048e170
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
call fcn.00489ed0
test al, al
jne 0x41a715
xorps xmm0, xmm0
lea ecx, [ebx + 8]
movq qword [esi + 8], xmm0
mov byte [esi], 5
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0048a7b0
mov ecx, dword [ebx + 0x2c]
cmp ecx, 0x10
jb 0x41a956
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a94c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a96b
jmp 0x41a94c
push edi
mov ecx, esi
call fcn.0048a810
lea ecx, [ebx + 8]
call fcn.0048a7b0
mov ecx, dword [ebx + 0x2c]
cmp ecx, 0x10
jb 0x41a956
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a94c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a96b
push ecx
push edx
call fcn.00504f31
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0050a1d0
int3