Function at 0x41e2c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, edx
push ecx
call fcn.0045562a
add esp, 4
lea ecx, [ebp + 4]
mov edi, eax
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
jmp 0x41e38e
mov dh, byte [edi]
test dh, dh
sete cl
cmp dh, 0x2c
setne dl
inc edi
xor dl, cl
test dl, dl
jne 0x41e2f8
lea ecx, [edi - 1]
test dh, dh
je 0x41e318
mov byte [ecx], 0
jmp 0x41e31a
mov edi, ecx
cmp dword [esp + 0x2c], 0
jle 0x41e38e
mov esi, dword [esp + 0x10]
xor ebp, ebp
mov dword [esp + 4], eax
push ebx
push dword [esi - 4]
call fcn.0047e370
add esp, 8
test eax, eax
je 0x41e34f
inc ebp
add esi, 0x10
cmp ebp, dword [esp + 0x2c]
jl 0x41e32b
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 4]
jmp 0x41e38e
mov ecx, dword [esi]
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 4]
cmp ecx, 0xffffffff
je 0x41e38e
mov edx, dword [esp + 8]
xor esi, esi
inc esi
shl esi, cl
bt edx, ecx
jb 0x41e38e
or dword [esp + 8], esi
push ecx
mov esi, dword [esp + 4]
push esi
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.00403722
add esp, 0x10
mov eax, dword [esp + 4]
inc esi
mov dword [esp], esi
mov ebx, edi
inc edi
jmp 0x41e395
inc ebx
inc edi
mov cl, byte [ebx]
cmp cl, 0x2c
je 0x41e393
test cl, cl
jne 0x41e2f8
push eax
call fcn.00410de6
add esp, 4
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
cmp dword [esp], edi
jge 0x41e515
test edi, edi
jle 0x41e50c
xor esi, esi
mov dword [esp + 0x14], esi
shl esi, 4
lea eax, [ebp + esi + 4]
mov dword [esp + 4], eax
mov eax, dword [eax]
test eax, eax
jns 0x41e3fa
push 0x17c
push str..._settings.c
push str.mapping_i_.v___0
call fcn.0047b26f
add esp, 0xc
mov eax, dword [esp + 4]
mov eax, dword [eax]
cmp eax, 0x20
jl 0x41e41c
push 0x17d
push str..._settings.c
push str.mapping_i_.v___32
call fcn.0047b26f
add esp, 0xc
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 8]
bt ecx, eax
jb 0x41e4ff
mov eax, dword [ebp + esi + 8]
cmp eax, 0xffffffff
je 0x41e465
mov ecx, dword [esp + 8]
bt ecx, eax
jae 0x41e4ff
cmp dword [esp], 0
jle 0x41e473
lea edi, [ebp + esi + 8]
xor ebp, ebp
push ebp
push dword [esp + 0x38]
push ebx
call fcn.00403121
add esp, 0xc
cmp eax, dword [edi]
je 0x41e48c
inc ebp
cmp ebp, dword [esp]
jl 0x41e44b
jmp 0x41e475
mov edx, dword [ebp + esi + 0xc]
mov eax, dword [esp]
sar edx, 0x1f
and edx, eax
jmp 0x41e49f
xor ebp, ebp
push 0x191
push str..._settings.c
push str.j___n
call fcn.0047b26f
add esp, 0xc
mov eax, dword [esp + 0xc]
mov edx, dword [eax + esi + 0xc]
mov eax, dword [esp]
shr edx, 0x1f
xor edx, 1
add edx, ebp
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
cmp eax, edx
jle 0x41e4d6
mov edi, dword [esp]
mov dword [esp + 0x10], edx
lea ebp, [edi - 1]
push ebp
push esi
push ebx
call fcn.00403121
add esp, 0xc
push eax
push edi
push esi
push ebx
call fcn.00403722
mov edx, dword [esp + 0x20]
add esp, 0x10
cmp ebp, edx
mov edi, ebp
jg 0x41e4b2
mov edi, dword [esp + 4]
push dword [edi]
push edx
push esi
push ebx
call fcn.00403722
add esp, 0x10
mov al, byte [edi]
mov ecx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov edi, dword [esp + 0x2c]
inc dword [esp]
bts ecx, eax
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x14]
inc esi
cmp esi, edi
jne 0x41e3c8
cmp dword [esp], edi
jl 0x41e3be
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret