Function at 0x41e2c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x44e054]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x28]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x104], esi
mov esi, dword [ebp + 0x10]
push eax
mov dword [ebp - 0xf0], ebx
call fcn.0041a9a0
lea eax, [ebp - 0xfc]
push eax
call fcn.0041a9a0
lea eax, [ebx + 0x34]
push 0
push eax
mov dword [ebp - 0xf4], eax
call fcn.0041a900
add esp, 0x10
cmp eax, 1
je 0x41e34b
pop esi
mov eax, 0xffffb080
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427ab1
mov esp, ebp
pop ebp
ret
push edi
push 0
push esi
call fcn.0041a900
test eax, eax
lea eax, [ebp - 0x118]
push esi
push eax
sete byte [ebp - 0x108]
call fcn.00419490
mov edi, dword [ebp + 0x20]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x41e4dc
push esi
push dword [ebp - 0xf4]
lea eax, [ebp - 0xfc]
push eax
call fcn.0041bed0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x41e4dc
push dword [ebp - 0x108]
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0041b800
mov ebx, eax
add esp, 0xc
mov dword [ebp - 0x124], ebx
test ebx, ebx
jne 0x41e4dc
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0xc8]
push ebx
push eax
call fcn.00428f20
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0xf4], ecx
test edi, edi
je 0x41e45e
movzx eax, byte [ebp + 0x1c]
mov dword [ebp - 0x11c], eax
xor esi, esi
test eax, eax
je 0x41e44d
lea eax, [ebp - 0xc8]
mov ebx, ecx
add eax, ecx
mov dword [ebp - 0x120], eax
mov al, byte [eax]
mov byte [ebp - 0xe9], al
nop
lea eax, [ebp - 0x118]
push ebx
push eax
call fcn.0041a900
mov ecx, esi
add esp, 8
shl al, cl
inc esi
mov cl, byte [ebp - 0xe9]
add ebx, edi
or cl, al
mov eax, dword [ebp - 0x11c]
mov byte [ebp - 0xe9], cl
cmp esi, eax
jb 0x41e410
mov edx, dword [ebp - 0x120]
mov byte [edx], cl
mov ecx, dword [ebp - 0xf4]
inc ecx
mov dword [ebp - 0xf4], ecx
cmp ecx, edi
jb 0x41e3f0
mov ebx, dword [ebp - 0x124]
xor al, al
mov esi, 1
mov byte [ebp - 0xe9], al
cmp edi, esi
jb 0x41e4dc
nop
mov bl, byte [ebp + esi - 0xc8]
mov bh, 1
mov dl, byte [ebp + esi - 0xc9]
mov dh, bl
and bl, byte [ebp - 0xe9]
xor dh, al
mov al, dh
movzx ecx, dl
and al, 1
sub bh, al
movzx eax, bh
imul ecx, eax
shl bh, 7
or bh, dl
mov byte [ebp + esi - 0xc9], bh
mov al, cl
xor cl, dh
and al, dh
mov byte [ebp + esi - 0xc8], cl
or al, bl
inc esi
mov byte [ebp - 0xe9], al
cmp esi, edi
jbe 0x41e470
lea eax, [ebp - 0xfc]
push eax
call fcn.0041a600
lea eax, [ebp - 0x118]
push eax
call fcn.0041a600
add esp, 8
jmp 0x41e4ff
lea eax, [ebp - 0xfc]
push eax
call fcn.0041a600
lea eax, [ebp - 0x118]
push eax
call fcn.0041a600
add esp, 8
test ebx, ebx
jne 0x41e747
lea eax, [ebp - 0x13c]
push eax
call fcn.0041a9a0
lea eax, [ebp - 0x134]
push eax
call fcn.0041a9a0
lea eax, [ebp - 0x12c]
push eax
call fcn.0041a9a0
add esp, 0xc
lea esi, [ebp - 0xe8]
mov ebx, 4
push esi
call fcn.0041a9a0
add esp, 4
add esi, 8
sub ebx, 1
jne 0x41e531
movzx eax, byte [ebp + edi - 0xc8]
mov ebx, dword [ebp - 0x104]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0x100]
push ebx
push dword [ebp - 0xf0]
call fcn.0041fe80
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x41e618
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x41e59d
push dword [ebp - 0x110]
push eax
push ebx
push dword [ebp - 0xf0]
call fcn.0041f900
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41e618
test edi, edi
je 0x41e618
lea eax, [ebp - 0xe8]
dec edi
push eax
push ebx
push ebx
push dword [ebp - 0xf0]
call fcn.0041db50
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41e618
movzx eax, byte [ebp + edi - 0xc8]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x13c]
push dword [ebp - 0x100]
push eax
push dword [ebp - 0xf0]
call fcn.0041fe80
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x41e618
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x13c]
push eax
push ebx
push ebx
push dword [ebp - 0xf0]
call fcn.0041d580
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x41e618
test edi, edi
jne 0x41e5a5
lea eax, [ebp - 0x13c]
push eax
call fcn.0041a600
lea eax, [ebp - 0x134]
push eax
call fcn.0041a600
lea eax, [ebp - 0x12c]
push eax
call fcn.0041a600
add esp, 0xc
lea edi, [ebp - 0xe8]
mov ebx, 4
nop word [eax + eax]
push edi
call fcn.0041a600
add esp, 4
add edi, 8
sub ebx, 1
jne 0x41e650
test esi, esi
jne 0x41e734
lea eax, [ebp - 0xfc]
push eax
call fcn.0041a9a0
mov esi, dword [ebp - 0x104]
push 0
lea ebx, [esi + 8]
push ebx
call fcn.00419360
push ebx
mov ebx, dword [ebp - 0xf0]
test eax, eax
setne byte [ebp - 0xe9]
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0041bed0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x41e6d4
mov al, byte [ebp - 0xe9]
and al, byte [ebp - 0x108]
movzx eax, al
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [esi + 8]
push eax
call fcn.0041b800
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0041a600
add esp, 4
test edi, edi
jne 0x41e721
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x41e706
push dword [ebp - 0x110]
push eax
push esi
push ebx
call fcn.0041f900
add esp, 0x10
test eax, eax
jne 0x41e749
push esi
push ebx
call fcn.0041eba0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427ab1
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427ab1
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427ab1
mov esp, ebp
pop ebp
ret
mov eax, ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00427ab1
mov esp, ebp
pop ebp
ret