Function at 0x41bf30
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 0x52c747
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x2a8
push esi
xor al, al
mov dword [ebp - 0x7c], 0
push edi
mov dword [ebp - 0x3c], eax
call dword [0x538120]
test eax, eax
jne 0x41bf86
push 0x15
call dword [0x5380e0]
test eax, eax
je 0x41bf8b
mov al, 1
mov dword [ebp - 0x3c], eax
xorps xmm0, xmm0
mov word [ebp - 0x78], 0x8aec
mov byte [ebp - 0x76], 0xed
xor ecx, ecx
movups xmmword [ebp - 0x75], xmm0
mov dword [ebp - 0x65], 0
mov word [ebp - 0x61], 0
mov byte [ebp - 0x5f], 0
nop
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x78], al
inc ecx
cmp ecx, 3
jb 0x41bfb0
mov dword [0x565590], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x75], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x20], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bfe2
sub ecx, edx
lea eax, [ebp - 0x78]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00402c40
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x1b0]
push 0x105
push ecx
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0xa8]
push ecx
push 0x105
lea ecx, [ebp - 0x2b8]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
call dword [0x538050]
mov ecx, dword [ebp - 0x20]
mov esi, eax
cmp ecx, 0x10
jb 0x41c06d
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c063
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c3df
push ecx
push edx
call fcn.00504f31
add esp, 8
test esi, esi
je 0x41c3c9
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0xcadef2f9
mov word [ebp - 0x58], 0xc6f7
xor ecx, ecx
mov byte [ebp - 0x56], 0xc3
movups xmmword [ebp - 0x55], xmm0
mov dword [ebp - 0x45], 0
mov word [ebp - 0x41], 0
mov byte [ebp - 0x3f], 0
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x5c], al
inc ecx
cmp ecx, 7
jb 0x41c0a0
mov dword [0x565560], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0x55], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x64], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c0d2
sub ecx, edx
lea eax, [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.00402c40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1b0]
cmp dword [ebp - 0x64], 0x10
mov eax, 0x19
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
nop dword [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41c130
test dl, dl
je 0x41c12c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41c130
add ecx, 2
add eax, 2
test dl, dl
jne 0x41c110
xor eax, eax
jmp 0x41c135
sbb eax, eax
or eax, 1
test eax, eax
je 0x41c2e3
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0xcadef2f9
mov word [ebp - 0x34], 0xf2e0
xor ecx, ecx
movups xmmword [ebp - 0x32], xmm0
mov dword [ebp - 0x22], 0
mov word [ebp - 0x1e], 0
mov byte [ebp - 0x1c], 0
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x38], al
inc ecx
cmp ecx, 6
jb 0x41c164
mov dword [0x565548], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x32], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x44], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c196
sub ecx, edx
lea eax, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00402c40
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1b0]
cmp dword [ebp - 0x44], 0x10
mov eax, 0x3b
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x58]
cmovae eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41c1f1
test dl, dl
je 0x41c1ed
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41c1f1
add ecx, 2
add eax, 2
test dl, dl
jne 0x41c1d1
xor eax, eax
jmp 0x41c1f6
sbb eax, eax
or eax, 1
test eax, eax
je 0x41c2e6
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0xcadef2f9
mov dword [ebp - 0x98], 0xc5d0c1f4
xor ecx, ecx
mov byte [ebp - 0x94], 0xc3
movups xmmword [ebp - 0x93], xmm0
mov dword [ebp - 0x83], 0
mov word [ebp - 0x7f], 0
mov byte [ebp - 0x7d], 0
nop dword [eax]
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x9c], al
inc ecx
cmp ecx, 9
jb 0x41c240
mov dword [0x565630], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0x93], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x20], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c280
sub ecx, edx
lea eax, [ebp - 0x9c]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00402c40
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x1b0]
mov eax, 0x7f
cmp esi, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41c2d4
test dl, dl
je 0x41c2d0
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41c2d4
add ecx, 2
add eax, 2
test dl, dl
jne 0x41c2b4
xor eax, eax
jmp 0x41c2d9
sbb eax, eax
or eax, 1
test eax, eax
je 0x41c2e9
mov byte [ebp - 0x11], 0
jmp 0x41c2ed
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x20]
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x18]
test al, 4
je 0x41c330
and eax, 0xfffffffb
mov dword [ebp - 0x18], eax
cmp esi, 0x10
jb 0x41c330
mov edx, dword [ebp - 0x34]
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c323
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c3e4
push ecx
push edx
call fcn.00504f31
mov eax, dword [ebp - 0x18]
add esp, 8
test al, 2
je 0x41c36e
mov ecx, dword [ebp - 0x44]
and eax, 0xfffffffd
mov dword [ebp - 0x18], eax
cmp ecx, 0x10
jb 0x41c36e
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x41c361
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c3e4
push ecx
push edi
call fcn.00504f31
mov eax, dword [ebp - 0x18]
add esp, 8
test al, 1
je 0x41c3a4
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x41c3a4
mov edx, dword [ebp - 0x78]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c39a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c3e4
push ecx
push edx
call fcn.00504f31
add esp, 8
mov eax, dword [ebp - 0x3c]
mov ecx, 1
cmp byte [ebp - 0x11], 0
movzx eax, al
cmovne eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
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
int3