Function at 0x41e3a0
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.0041aa80
lea eax, [ebp - 0xfc]
push eax
call fcn.0041aa80
lea eax, [ebx + 0x34]
push 0
push eax
mov dword [ebp - 0xf4], eax
call fcn.0041a9e0
add esp, 0x10
cmp eax, 1
je 0x41e42b
pop esi
mov eax, 0xffffb080
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427b91
mov esp, ebp
pop ebp
ret
push edi
push 0
push esi
call fcn.0041a9e0
test eax, eax
lea eax, [ebp - 0x118]
push esi
push eax
sete byte [ebp - 0x108]
call fcn.00419570
mov edi, dword [ebp + 0x20]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x41e5bc
push esi
push dword [ebp - 0xf4]
lea eax, [ebp - 0xfc]
push eax
call fcn.0041bfb0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x41e5bc
push dword [ebp - 0x108]
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0041b8e0
mov ebx, eax
add esp, 0xc
mov dword [ebp - 0x124], ebx
test ebx, ebx
jne 0x41e5bc
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0xc8]
push ebx
push eax
call fcn.00429000
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0xf4], ecx
test edi, edi
je 0x41e53e
movzx eax, byte [ebp + 0x1c]
mov dword [ebp - 0x11c], eax
xor esi, esi
test eax, eax
je 0x41e52d
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.0041a9e0
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 0x41e4f0
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 0x41e4d0
mov ebx, dword [ebp - 0x124]
xor al, al
mov esi, 1
mov byte [ebp - 0xe9], al
cmp edi, esi
jb 0x41e5bc
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 0x41e550
lea eax, [ebp - 0xfc]
push eax
call fcn.0041a6e0
lea eax, [ebp - 0x118]
push eax
call fcn.0041a6e0
add esp, 8
jmp 0x41e5df
lea eax, [ebp - 0xfc]
push eax
call fcn.0041a6e0
lea eax, [ebp - 0x118]
push eax
call fcn.0041a6e0
add esp, 8
test ebx, ebx
jne 0x41e827
lea eax, [ebp - 0x13c]
push eax
call fcn.0041aa80
lea eax, [ebp - 0x134]
push eax
call fcn.0041aa80
lea eax, [ebp - 0x12c]
push eax
call fcn.0041aa80
add esp, 0xc
lea esi, [ebp - 0xe8]
mov ebx, 4
push esi
call fcn.0041aa80
add esp, 4
add esi, 8
sub ebx, 1
jne 0x41e611
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.0041ff60
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x41e6f8
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x41e67d
push dword [ebp - 0x110]
push eax
push ebx
push dword [ebp - 0xf0]
call fcn.0041f9e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41e6f8
test edi, edi
je 0x41e6f8
lea eax, [ebp - 0xe8]
dec edi
push eax
push ebx
push ebx
push dword [ebp - 0xf0]
call fcn.0041dc30
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41e6f8
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.0041ff60
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x41e6f8
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x13c]
push eax
push ebx
push ebx
push dword [ebp - 0xf0]
call fcn.0041d660
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x41e6f8
test edi, edi
jne 0x41e685
lea eax, [ebp - 0x13c]
push eax
call fcn.0041a6e0
lea eax, [ebp - 0x134]
push eax
call fcn.0041a6e0
lea eax, [ebp - 0x12c]
push eax
call fcn.0041a6e0
add esp, 0xc
lea edi, [ebp - 0xe8]
mov ebx, 4
nop word [eax + eax]
push edi
call fcn.0041a6e0
add esp, 4
add edi, 8
sub ebx, 1
jne 0x41e730
test esi, esi
jne 0x41e814
lea eax, [ebp - 0xfc]
push eax
call fcn.0041aa80
mov esi, dword [ebp - 0x104]
push 0
lea ebx, [esi + 8]
push ebx
call fcn.00419440
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.0041bfb0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x41e7b4
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.0041b8e0
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0041a6e0
add esp, 4
test edi, edi
jne 0x41e801
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x41e7e6
push dword [ebp - 0x110]
push eax
push esi
push ebx
call fcn.0041f9e0
add esp, 0x10
test eax, eax
jne 0x41e829
push esi
push ebx
call fcn.0041ec80
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427b91
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.00427b91
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.00427b91
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.00427b91
mov esp, ebp
pop ebp
ret