Function at 0x4151ac
Capabilities:
Encode data using xor

Disassembly:
push 0xac
mov eax, 0x433710
call fcn.0041bbd7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x43bf85
call fcn.004040bd
and dword [ebp - 4], 0
cmp byte [0x43c517], 0
mov eax, dword [str.S_X5ncFZPTI_]
push 0x36
mov dword [ebp - 0x14], eax
pop ebx
je 0x4151fa
xor ecx, ecx
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x32
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 4
jl 0x4151e7
sub esp, 0x18
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004040bd
mov byte [ebp - 4], 1
mov eax, dword [0x43d7fc]
mov dword [ebp - 0x24], eax
mov ax, word [0x43d800]
mov word [ebp - 0x20], ax
test ah, ah
je 0x41523a
xor ecx, ecx
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x32
xor byte [ebp + ecx - 0x24], dl
inc ecx
cmp ecx, 6
jl 0x415227
sub esp, 0x18
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004040bd
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x445418
call fcn.004058a5
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00414fb9
mov ebx, eax
push 6
pop ecx
mov byte [ebp - 4], 4
lea edi, [ebp - 0x44]
cmp byte [0x43d9cf], 0
mov esi, 0x43d9b8
rep movsd dword es:[edi], dword [esi]
push 0x36
pop edi
je 0x4152a1
xor ecx, ecx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x32
xor byte [ebp + ecx - 0x44], dl
inc ecx
cmp ecx, 0x18
jl 0x41528e
sub esp, 0x18
lea eax, [ebp - 0x44]
mov esi, esp
mov ecx, ebx
mov dword [ebp - 0x24], esi
push eax
call fcn.0040464d
push eax
mov ecx, esi
call fcn.00404084
xor ebx, ebx
mov byte [ebp - 4], 5
push ebx
mov dl, 1
lea ecx, [ebp - 0x5c]
call fcn.0040878d
add esp, 0x7c
mov ecx, 0x445418
push eax
call fcn.004058f1
lea ecx, [ebp - 0x50]
call fcn.0040412d
lea ecx, [ebp - 0x5c]
call fcn.004041b7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00402636
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x43bf85
call fcn.004040bd
push 6
pop esi
mov dword [ebp - 4], esi
mov eax, dword [str.S_X5ncFZPTI_]
mov dword [ebp - 0x14], eax
cmp byte [0x43c517], bl
je 0x415334
mov ecx, ebx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x32
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 4
jl 0x415321
sub esp, 0x18
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.004040bd
mov byte [ebp - 4], 7
mov eax, dword [0x43d7fc]
mov dword [ebp - 0x1c], eax
mov ax, word [0x43d800]
mov word [ebp - 0x18], ax
test ah, ah
je 0x415373
mov ecx, ebx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x32
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, esi
jl 0x415361
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004040bd
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x445418
call fcn.004058a5
push 0x2a
pop edx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.00405b8b
push 0xa
pop ecx
mov byte [ebp - 4], 0xa
lea edi, [ebp - 0x88]
mov esi, 0x43d680
rep movsd dword es:[edi], dword [esi]
push 0x36
mov ecx, ebx
movsw word es:[edi], word [esi]
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x32
xor byte [ebp + ecx - 0x88], dl
inc ecx
cmp ecx, 0x2a
jl 0x4153c4
sub esp, 0x18
lea eax, [ebp - 0x88]
mov esi, esp
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], esi
push eax
call fcn.0040464d
push eax
mov ecx, esi
call fcn.00404084
push ebx
mov dl, 1
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5c]
call fcn.0040878d
add esp, 0x7c
mov esi, 0x445418
mov ecx, esi
push eax
call fcn.004058f1
lea ecx, [ebp - 0x50]
call fcn.0040412d
lea ecx, [ebp - 0x5c]
call fcn.004041b7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00402636
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x43bf85
call fcn.004040bd
mov dword [ebp - 4], 0xc
cmp byte [0x43c517], 0
mov eax, dword [str.S_X5ncFZPTI_]
mov dword [ebp - 0x14], eax
je 0x415473
mov ecx, ebx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x32
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 4
jl 0x415460
sub esp, 0x18
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.004040bd
mov byte [ebp - 4], 0xd
mov eax, dword [0x43d7fc]
mov dword [ebp - 0x1c], eax
mov ax, word [0x43d800]
mov word [ebp - 0x18], ax
test ah, ah
je 0x4154b3
mov ecx, ebx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x32
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, 6
jl 0x4154a0
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004040bd
sub esp, 0x18
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x1c], esp
push esi
call fcn.004058a5
push 0x26
pop edx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xf
call fcn.00405b8b
push 0xa
pop ecx
mov byte [ebp - 4], 0x10
lea edi, [ebp - 0x88]
mov esi, str.n__SEW
rep movsd dword es:[edi], dword [esi]
push 0x36
mov ecx, ebx
movsw word es:[edi], word [esi]
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x32
xor byte [ebp + ecx - 0x88], dl
inc ecx
cmp ecx, 0x2a
jl 0x415503
sub esp, 0x18
lea eax, [ebp - 0x88]
mov esi, esp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x14], esi
push eax
call fcn.0040464d
push eax
mov ecx, esi
call fcn.00404084
push ebx
mov dl, 1
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xa0]
call fcn.0040878d
add esp, 0x7c
mov ecx, 0x445418
push eax
call fcn.004058f1
lea ecx, [ebp - 0x94]
call fcn.0040412d
lea ecx, [ebp - 0xa0]
call fcn.004041b7
lea ecx, [ebp - 0xb8]
call fcn.00402636
call fcn.0041bba5
ret