Function at 0x415bce
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0x42c96c]
sub esp, 0x34
mov ecx, dword [0x42c99c]
xor al, 0x6c
mov byte [0x42c97c], al
push ebx
push ebp
lea eax, [ecx - 0x50]
push esi
mov byte [0x42c9ba], al
imul eax, ecx, 0xad70
push edi
push 4
pop ecx
mov word [0x42c96c], ax
call fcn.0041eb12
mov edi, eax
test edi, edi
je 0x416158
mov cl, byte [0x42c984]
xor cl, 0xa7
mov byte [0x42c9ba], cl
movzx ecx, byte [0x42c998]
imul ecx, ecx, 0x89
push 0x429f24
push edi
and cl, 0xe2
mov byte [0x42c97c], cl
call fcn.00405af6
pop ecx
pop ecx
test eax, eax
je 0x416133
movzx eax, byte [0x42c9ba]
mov ecx, 0x71da
add byte [0x42c998], 0x4b
xor ax, cx
mov word [0x42c96c], ax
mov eax, dword [0x42c99c]
add eax, 0xffffec42
push 0x1000
mov word [0x42c984], ax
call fcn.0040570b
pop ecx
movzx ecx, byte [0x42c998]
mov esi, eax
mov eax, 0xa40
xor cx, ax
mov word [0x42c96c], cx
mov cl, byte [0x42c99c]
lea edx, [ecx + 0x55]
movzx ecx, cl
imul ecx, ecx, 0x9d
mov byte [0x42c998], cl
test esi, esi
je 0x416139
push 0x7c
pop eax
mov word [esp + 0x1c], ax
xor eax, eax
mov word [esp + 0x1e], ax
movzx eax, cl
mov ecx, 0x3bca
xor ax, cx
and dword [esp + 0x20], 0
mov word [0x42c984], ax
mov eax, 0x21d
movzx ecx, dl
and dl, 0x63
imul ecx, eax
mov eax, 0xf21c
mov byte [0x42c97c], dl
or cx, ax
movzx eax, dl
add eax, 0x20551f55
mov word [0x42c96c], cx
mov dword [0x42c99c], eax
sub cl, 0x6d
lea eax, [esp + 0x20]
mov byte [0x42c998], cl
push eax
lea eax, [esp + 0x20]
add cl, 0x29
push eax
push edi
mov byte [0x42c9ba], cl
call fcn.004057dc
mov bl, byte [0x42c9ba]
mov edx, eax
mov cl, bl
add esp, 0xc
and cl, 0x31
mov byte [0x42c97c], cl
test edx, edx
je 0x416113
mov word [esp + 0x14], 0x9750
mov byte [esp + 0x16], 0x9e
xor ecx, ecx
movzx eax, byte [esp + ecx + 0x14]
mov ebp, 0xff
sub ax, 0x2b
and ax, bp
mov word [esp + ecx*2 + 0x30], ax
inc ecx
cmp ecx, 3
jl 0x415d59
movzx ecx, word [0x42c96c]
xor eax, eax
mov word [esp + 0x36], ax
movzx eax, bl
imul eax, eax, 0xb5
push edx
mov byte [0x42c9ba], al
mov eax, 0xfa4c
imul ecx, eax
mov al, byte [0x42c998]
add al, 0x4e
mov byte [0x42c97c], al
lea eax, [esp + 0x34]
push eax
mov word [0x42c96c], cx
call fcn.004233ac
pop ecx
pop ecx
mov cl, byte [0x42c99c]
add cl, 0x45
mov dword [esp + 0x24], eax
mov byte [0x42c998], cl
test eax, eax
je 0x4160da
mov cl, byte [0x42c9ba]
add cl, 0x1d
movzx eax, cl
imul eax, eax, 0x3d3e78f9
mov byte [0x42c97c], cl
mov dword [0x42c99c], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 0
call fcn.004057dc
mov cl, byte [0x42c998]
add esp, 0xc
movzx edx, word [0x42c96c]
or cl, 0xbd
mov byte [0x42c97c], cl
mov ecx, 0x20d1
imul edx, ecx
movzx ecx, word [0x42c984]
xor ecx, 0xcf9ff70b
mov dword [0x42c99c], ecx
xor ecx, ecx
push 0x800
mov word [0x42c96c], dx
inc ecx
push esi
push eax
mov edx, 0x5060ff33
call fcn.00415333
call eax
test eax, eax
je 0x416087
mov word [esp + 0x18], 0xaae3
xor ecx, ecx
mov byte [esp + 0x1a], 0xb5
mov al, byte [esp + ecx + 0x18]
xor al, 0xc6
movzx eax, al
mov word [esp + ecx*2 + 0x38], ax
inc ecx
cmp ecx, 3
jl 0x415e69
mov cx, word [0x42c984]
xor eax, eax
mov word [esp + 0x3e], ax
mov edx, 0x4169
mov eax, 0x5b7c
add cx, ax
movzx eax, byte [0x42c97c]
imul eax, eax, 0xb9
push esi
mov word [0x42c96c], cx
mov byte [0x42c97c], al
movzx eax, al
sub ax, dx
mov word [0x42c984], ax
movzx eax, cx
add eax, 0xb011b7a
mov dword [0x42c99c], eax
call fcn.0040581e
pop ecx
movzx ecx, byte [0x42c998]
mov ebx, eax
movzx eax, word [esi + ebx*2 - 2]
lea edx, [ecx + 0x7e1094b2]
mov ch, byte [0x42c9ba]
mov cl, ch
mov dword [0x42c99c], edx
sub cl, 8
mov byte [0x42c998], cl
cmp eax, 0x5c
je 0x415f06
cmp eax, 0x2f
jne 0x415f27
mov al, dl
xor al, 0xba
mov byte [0x42c998], al
movzx eax, ch
mov ecx, 0x5f12
or ax, cx
mov word [0x42c96c], ax
xor eax, eax
mov word [esi + ebx*2 - 2], ax
movzx eax, byte [0x42c97c]
mov ecx, 0x750f
or ax, cx
xor dl, 0x9d
mov word [0x42c984], ax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
mov byte [0x42c97c], dl
push eax
push 0
call fcn.004057dc
mov cl, byte [0x42c96c]
add esp, 0xc
and cl, 0x17
mov byte [0x42c998], cl
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004233ac
mov dx, word [0x42c984]
mov bl, byte [0x42c9ba]
pop ecx
pop ecx
mov ecx, 0x2069
mov dword [esp + 0x2c], eax
sub dx, cx
movzx ecx, bl
imul ecx, ecx, 0xa0
movzx ebp, dx
mov word [0x42c984], dx
mov byte [0x42c998], cl
test eax, eax
je 0x4160b3
movzx eax, bl
and cl, 0x24
or eax, 0xf804b5ad
mov byte [esp + 0x28], 0
mov dword [0x42c99c], eax
or ebp, 0x8d98
lea eax, [esp + 0x20]
mov word [0x42c984], bp
push eax
lea eax, [esp + 0x20]
mov byte [0x42c9ba], cl
push eax
push 0
call fcn.004057dc
mov dl, byte [0x42c998]
add esp, 0xc
sub dl, 0x7a
mov byte [0x42c97c], dl
cmp word [eax], 0x31
jne 0x416026
movzx ecx, byte [0x42c9ba]
mov eax, 0x3b8a
or cx, ax
mov byte [esp + 0x28], 1
and dl, 0xd3
mov word [0x42c984], cx
mov byte [0x42c9ba], dl
jmp 0x41602d
mov cx, word [0x42c984]
movzx eax, word [0x42c96c]
or cl, 0xa7
push dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov edx, ebp
imul eax, eax, 0x668fdf3e
mov byte [0x42c998], cl
mov ecx, esi
push ebx
mov dword [0x42c99c], eax
call fcn.00416175
movzx eax, word [0x42c984]
or eax, 0xe2e3a1be
push ebx
mov dword [0x42c99c], eax
call fcn.004056f0
mov bl, byte [0x42c9ba]
add esp, 0xc
mov dx, word [0x42c984]
jmp 0x4160b7
mov dx, word [0x42c984]
mov eax, 0x3177
mov bl, byte [0x42c9ba]
and dx, ax
mov eax, dword [0x42c99c]
xor eax, 0xac5f
mov word [0x42c984], dx
mov word [0x42c96c], ax
mov ebp, dword [esp + 0x24]
movzx eax, bl
and dl, 0xe4
xor eax, 0xad38e244
mov byte [0x42c97c], dl
push ebp
mov dword [0x42c99c], eax
call fcn.004056f0
pop ecx
mov cl, byte [0x42c998]
movzx eax, cl
imul eax, eax, 0xbf
mov byte [0x42c9ba], al
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 0
call fcn.004057dc
mov edx, eax
add esp, 0xc
test edx, edx
je 0x41610d
mov bl, byte [0x42c9ba]
jmp 0x415d57
mov cl, byte [0x42c97c]
movzx eax, cl
or eax, 0x266113e2
mov dword [0x42c99c], eax
imul eax, eax, 0xf6f1
push esi
mov word [0x42c96c], ax
call fcn.004056f0
pop ecx
mov cl, byte [0x42c998]
mov al, cl
and al, 0x27
mov byte [0x42c97c], al
movzx eax, cl
add eax, 0x13aacaab
push edi
mov dword [0x42c99c], eax
call fcn.004056f0
pop ecx
jmp 0x41616d
movzx eax, byte [0x42c998]
mov ecx, 0x7b3d
xor ax, cx
mov word [0x42c96c], ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret