Function at 0x41f880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x4ccbf8]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.qpie7r4fl3nb54fy879w8s6d508273h4gfd87aytsdb]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
mov eax, dword [0x4a1284]
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x4c]
movups xmmword [ebp - 0x4c], xmm0
cmovne eax, ecx
mov dword [ebp - 0xc0], edx
movups xmm0, xmmword [0x4a126c]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xd0], eax
mov eax, edx
push esi
mov esi, dword [ebp + 0x10]
and eax, 0x20
movups xmmword [ebp - 0x3c], xmm0
push edi
movq xmm0, qword [0x4a127c]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], ebx
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc4], eax
je 0x41f90f
lea eax, [ebp - 0xb8]
jmp 0x41f91a
test esi, esi
lea eax, [ebp - 0xbc]
cmovne eax, esi
mov dword [ebp - 0xb8], eax
test ebx, ebx
jg 0x41f956
mov ebx, edi
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x41f930
sub ebx, ecx
mov dword [ebp - 0xc8], ebx
test ebx, ebx
jne 0x41f956
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047f41c
mov esp, ebp
pop ebp
ret
test dl, 2
je 0x41fa48
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.0046e4a0
push ebx
lea eax, [ebp - 0xb4]
push edi
push eax
call fcn.0046eb60
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0046e400
mov ebx, dword [ebp - 0xc0]
add esp, 0x18
test bl, 4
je 0x41f9fe
mov esi, dword [ebp - 0xc4]
test esi, esi
jne 0x41f9c9
mov eax, dword [ebp - 0xb8]
push 0x20
push dword [eax]
call fcn.00483b6d
mov ecx, dword [ebp - 0xb8]
add esp, 8
mov dword [ecx], eax
mov eax, dword [ebp - 0xb8]
and ebx, 1
push ebx
push dword [eax]
lea eax, [ebp - 0x20]
push 0x10
push eax
call fcn.0041f6f0
add esp, 0x10
lea edi, [eax + 1]
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x41f9f0
sub edi, ecx
jmp 0x41fcf4
cmp dword [ebp - 0xc4], 0
jne 0x41fa21
mov eax, dword [ebp - 0xb8]
push 0x10
push dword [eax]
call fcn.00483b6d
mov ecx, dword [ebp - 0xb8]
add esp, 8
mov dword [ecx], eax
mov eax, dword [ebp - 0xb8]
mov edi, 0x10
movups xmm0, xmmword [ebp - 0x20]
mov eax, dword [eax]
movups xmmword [eax], xmm0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047f41c
mov esp, ebp
pop ebp
ret
test dl, 0x10
je 0x41fa86
mov eax, dword [0x4dc5f4]
xor ecx, ecx
mov dword [ebp - 0x54], ecx
test eax, eax
je 0x41fa66
push 1
lea ecx, [ebp - 0x54]
push ecx
call eax
mov ecx, dword [ebp - 0x54]
mov eax, 0x80808081
mul ecx
shr edx, 7
imul eax, edx, 0xff
mov edx, dword [ebp - 0xc0]
sub ecx, eax
movzx eax, cx
mov dword [ebp - 0x50], eax
jmp 0x41fa8d
mov dword [ebp - 0x50], 0
mov esi, edx
mov ecx, 1
and esi, 8
mov eax, 0x19
cmovne eax, ecx
xor ecx, ecx
mov dword [ebp - 0x58], eax
lea edi, [ebx + eax]
mov eax, edi
add eax, 0x3e8
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.00486927
mov ecx, dword [ebp - 0x50]
add esp, 4
mov dword [ebp - 0x54], eax
mov byte [eax], cl
test esi, 8
je 0x41faeb
mov esi, dword [ebp - 0xcc]
push ebx
mov ebx, eax
mov eax, dword [ebp - 0x58]
add eax, ebx
push esi
push eax
call fcn.00480c20
add esp, 0xc
jmp 0x41fbdf
xor esi, esi
lea edi, [eax + 1]
xor ebx, ebx
mov eax, dword [0x4dc5f4]
xor ecx, ecx
mov dword [ebp - 0x58], ecx
test eax, eax
je 0x41fb0b
push 1
lea ecx, [ebp - 0x58]
push ecx
call eax
mov ecx, dword [ebp - 0x58]
mov eax, 0x80808081
mul ecx
shr edx, 7
add dl, cl
mov byte [edi + esi], dl
inc esi
movzx eax, dl
xor ebx, eax
cmp esi, 0x10
jl 0x41faf2
mov eax, dword [ebp - 0x54]
push 2
mov esi, dword [ebp - 0xcc]
push 0x20
push 2
push 0
push 3
push 0x1000000
push 5
lea edi, [eax + 0x19]
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0xc8]
mov dword [eax + 0x15], ebx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x5c], 5
push eax
push ebx
push esi
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
push eax
push edi
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
call fcn.0046ecf0
test eax, eax
je 0x41fb8b
push ebx
push esi
push edi
mov dword [ebp - 0x50], ebx
call fcn.00480c20
add esp, 0xc
jmp 0x41fb8e
mov ebx, dword [ebp - 0x50]
lea edi, [ebx + 0x19]
mov ebx, dword [ebp - 0x54]
lea eax, [edi - 0x19]
push eax
lea eax, [ebx + 0x19]
push eax
push 0
lea esi, [ebx + 0x11]
call fcn.00423060
mov ecx, dword [ebp - 0x58]
mov dword [esi], eax
mov eax, 0x66666667
imul ecx
push 0x6801
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push 1
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
lea eax, [ebx + 1]
add ecx, 6
push ecx
push eax
lea eax, [edi - 0x11]
push eax
push esi
call fcn.0041c130
add esp, 0x24
mov ecx, 1
cmp edi, ecx
jle 0x41fbf4
mov al, byte [ecx + ebx - 1]
xor byte [ecx + ebx], al
inc ecx
cmp ecx, edi
jl 0x41fbe8
mov esi, dword [ebp - 0xd0]
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41fc00
push 0x6801
push 1
sub ecx, edx
push ecx
push esi
push edi
push ebx
call fcn.0041c130
add esp, 0x18
test eax, eax
je 0x41fce3
mov eax, dword [ebp - 0xc0]
mov esi, eax
and esi, 0x20
test al, 4
je 0x41fcb2
test esi, esi
jne 0x41fc68
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
mov eax, dword [ebp - 0xb8]
push ecx
push dword [eax]
call fcn.00483b6d
mov ecx, dword [ebp - 0xb8]
add esp, 8
mov dword [ecx], eax
mov eax, dword [ebp - 0xc0]
and eax, 1
push eax
mov eax, dword [ebp - 0xb8]
push dword [eax]
push edi
push ebx
call fcn.0041f6f0
mov eax, dword [ebp - 0xb8]
add esp, 0x10
mov ecx, dword [eax]
mov edi, ecx
lea edx, [edi + 1]
nop dword [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x41fc90
sub edi, edx
inc edi
test esi, esi
jne 0x41fce5
push edi
push ecx
call fcn.00483b6d
mov ecx, dword [ebp - 0xb8]
add esp, 8
mov dword [ecx], eax
jmp 0x41fce5
test esi, esi
jne 0x41fccf
mov eax, dword [ebp - 0xb8]
push edi
push dword [eax]
call fcn.00483b6d
mov ecx, dword [ebp - 0xb8]
add esp, 8
mov dword [ecx], eax
mov eax, dword [ebp - 0xb8]
push edi
push ebx
push dword [eax]
call fcn.00480c20
add esp, 0xc
jmp 0x41fce5
xor edi, edi
push ebx
call fcn.0048690c
mov esi, dword [ebp - 0xc4]
add esp, 4
test edi, edi
jne 0x41fd41
mov eax, dword [ebp - 0xb8]
test esi, esi
je 0x41fd1a
mov eax, dword [eax]
mov byte [eax], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047f41c
mov esp, ebp
pop ebp
ret
cmp dword [eax], 0
je 0x41fd41
push eax
call fcn.0041f010
mov ecx, dword [ebp - 0xb8]
push dword [ecx]
call fcn.0048690c
mov ecx, dword [ebp - 0xb8]
add esp, 8
mov dword [ecx], 0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047f41c
mov esp, ebp
pop ebp
ret