Function at 0x41b9a0
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 0x52c6f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xd8
push esi
xor al, al
mov dword [ebp - 0x40], 0
push edi
mov dword [ebp - 0x1c], eax
call dword [0x538120]
test eax, eax
jne 0x41b9f6
push 0x15
call dword [0x5380e0]
test eax, eax
je 0x41b9fb
mov al, 1
mov dword [ebp - 0x1c], eax
movaps xmm0, xmmword [0x551cd0]
xor ecx, ecx
movups xmmword [ebp - 0x97], xmm0
mov dword [ebp - 0x77], 0xbfa78cbc
movaps xmm0, xmmword [0x5513d0]
movups xmmword [ebp - 0x87], xmm0
mov dword [ebp - 0x73], 0xa5b3b3bb
xorps xmm0, xmm0
mov dword [ebp - 0x5f], 0
movups xmmword [ebp - 0x6f], xmm0
mov word [ebp - 0x5b], 0
mov byte [ebp - 0x59], 0
nop
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x97], al
inc ecx
cmp ecx, 0x28
jb 0x41ba40
mov dword [0x565584], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x97]
mov byte [ebp - 0x6f], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ba78
sub ecx, edx
lea eax, [ebp - 0x97]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402c40
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x3c]
mov esi, dword [0x538004]
mov eax, 4
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push 0x20019
push 0
push eax
push 0x80000002
call esi
mov ecx, dword [ebp - 0x24]
test eax, eax
sete al
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x41bafc
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41baef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf18
push ecx
push edx
call fcn.00504f31
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
jne 0x41bc12
movaps xmm0, xmmword [0x551cd0]
xor ecx, ecx
movups xmmword [ebp - 0x9a], xmm0
mov dword [ebp - 0x7a], 0x90878cbc
movaps xmm0, xmmword [0x5513d0]
movups xmmword [ebp - 0x8a], xmm0
mov dword [ebp - 0x76], 0xa392acbc
xorps xmm0, xmm0
mov word [ebp - 0x72], 0xabb2
mov byte [ebp - 0x70], 0xad
movups xmmword [ebp - 0x6f], xmm0
mov dword [ebp - 0x5f], 0
mov word [ebp - 0x5b], 0
mov byte [ebp - 0x59], al
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x9a], al
inc ecx
cmp ecx, 0x2b
jb 0x41bb51
mov dword [0x565588], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x9a]
mov byte [ebp - 0x6f], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bb90
sub ecx, edx
lea eax, [ebp - 0x9a]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402c40
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x3c]
push ecx
mov eax, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push 0x20019
push 0
push eax
push 0x80000002
call esi
mov ecx, dword [ebp - 0x24]
test eax, eax
sete al
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x41bc0e
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41bc01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf1d
push ecx
push edx
call fcn.00504f31
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
je 0x41bc23
push dword [ebp - 0x3c]
mov eax, 1
mov dword [ebp - 0x1c], eax
call dword [0x53800c]
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0x10
push eax
lea eax, [ebp - 0xe4]
push eax
call dword [0x538128]
test eax, eax
je 0x41bf02
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bc67
sub ecx, edx
lea eax, [ebp - 0xe4]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00402c40
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0xeafef2f9
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov byte [ebp - 0x1e], 0
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x38], al
inc ecx
cmp ecx, 4
jb 0x41bca8
mov dword [0x5655d8], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x34], 0
movups xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0xc4], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xc0], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bce3
sub ecx, edx
lea eax, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0xd4]
call fcn.00402c40
mov eax, dword [ebp - 0x18]
or eax, 0x10
mov byte [ebp - 4], 1
lea edi, [ebp - 0xd4]
or eax, 1
cmp dword [ebp - 0xc0], 0x10
mov dword [ebp - 0x18], eax
cmovae edi, dword [ebp - 0xd4]
mov edx, edi
mov dword [ebp - 0x40], eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41bd28
mov esi, dword [ebp - 0x44]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x58]
cmp esi, 0x10
push edi
cmovae ecx, dword [ebp - 0x58]
push 0
call fcn.00492370
add esp, 0xc
cmp eax, 0xffffffff
jne 0x41be34
xorps xmm0, xmm0
mov dword [ebp - 0xb7], 0xf3e6fdf9
mov word [ebp - 0xb3], 0xf1e1
xor ecx, ecx
movups xmmword [ebp - 0xb1], xmm0
mov dword [ebp - 0xa1], 0
mov word [ebp - 0x9d], 0
mov byte [ebp - 0x9b], 0
nop
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0xb7], al
inc ecx
cmp ecx, 6
jb 0x41bd90
mov dword [0x565548], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xb7]
mov byte [ebp - 0xb1], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bdd0
sub ecx, edx
lea eax, [ebp - 0xb7]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402c40
or dword [ebp - 0x18], 0x22
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov edi, dword [ebp - 0x38]
cmovae eax, edi
mov edx, eax
mov dword [ebp - 0x40], eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41be02
mov esi, dword [ebp - 0x44]
sub edx, ecx
push edx
push dword [ebp - 0x40]
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x58]
cmp esi, 0x10
push 0
cmovae ecx, dword [ebp - 0x58]
call fcn.00492370
add esp, 0xc
cmp eax, 0xffffffff
jne 0x41be37
mov byte [ebp - 0x11], 0
jmp 0x41be3b
mov edi, dword [ebp - 0x38]
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x18]
test al, 2
je 0x41be7f
mov ecx, dword [ebp - 0x24]
and eax, 0xfffffffd
mov dword [ebp - 0x18], eax
cmp ecx, 0x10
jb 0x41be7f
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x41be6f
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf22
push ecx
push edi
call fcn.00504f31
mov esi, dword [ebp - 0x44]
add esp, 8
mov eax, dword [ebp - 0x18]
test al, 1
je 0x41bebe
mov eax, dword [ebp - 0xc0]
cmp eax, 0x10
jb 0x41bebe
mov edx, dword [ebp - 0xd4]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41beb1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf22
push ecx
push edx
call fcn.00504f31
mov esi, dword [ebp - 0x44]
add esp, 8
mov eax, dword [ebp - 0x1c]
mov ecx, 1
cmp byte [ebp - 0x11], 0
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
cmp esi, 0x10
jb 0x41bf05
mov edx, dword [ebp - 0x58]
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41bef8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf22
push ecx
push edx
call fcn.00504f31
add esp, 8
mov eax, dword [ebp - 0x1c]
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.0050a1d0
call fcn.0050a1d0
call fcn.0050a1d0
int3