Function at 0x4c1b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4c1b38
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x4c1fef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x28]
add eax, 0x44
mov edx, ebx
call fcn.0040554c
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x44]
call fcn.004057d4
cmp eax, 0x2c
je 0x4c1b79
xor eax, eax
jmp 0x4c1c0b
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x44]
call fcn.00409d84
mov eax, dword [ebp - 8]
call fcn.004057d4
mov ebx, eax
test ebx, ebx
jle 0x4c1be4
mov ecx, 1
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ecx - 1]
sub al, 0x2d
je 0x4c1bac
add al, 0xec
sub al, 0x1a
jae 0x4c1bdc
mov eax, dword [ebp - 8]
cmp byte [eax + ecx - 1], 0x2d
jne 0x4c1bc4
mov eax, ecx
mov esi, 9
cdq
idiv esi
test edx, edx
jne 0x4c1bdc
mov eax, dword [ebp - 8]
cmp byte [eax + ecx - 1], 0x2d
je 0x4c1be0
mov eax, ecx
mov esi, 9
cdq
idiv esi
test edx, edx
jne 0x4c1be0
xor eax, eax
jmp 0x4c1c0b
inc ecx
dec ebx
jne 0x4c1b9a
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 1]
sub al, 0x47
je 0x4c1bf5
add al, 0xf4
sub al, 3
jae 0x4c1c05
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
add al, 0xbc
sub al, 3
jb 0x4c1c09
sub al, 9
je 0x4c1c09
xor eax, eax
jmp 0x4c1c0b
mov al, 1
mov byte [ebp - 0x29], al
cmp byte [ebp - 0x29], 0
je 0x4c1f04
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x44]
call fcn.00409d84
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x48]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403bd0
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 0x48]
lea eax, [ebp - 4]
call fcn.00405a04
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x10]
sub edx, 0x41
and edx, 0x80000003
jns 0x4c1c5d
dec edx
or edx, 0xfffffffc
inc edx
add dl, 0x41
mov byte [eax + 0x10], dl
xor esi, esi
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x10]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x58]
call fcn.00403a7c
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x19]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov cl, 2
call fcn.00403a4c
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x60]
call fcn.00403a7c
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x22]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x60]
mov cl, 3
call fcn.00403a4c
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x68]
call fcn.00403a7c
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x2b]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x68]
mov cl, 4
call fcn.00403a4c
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x50]
call fcn.0040575c
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0xc]
call fcn.00409d84
mov eax, dword [ebp - 0xc]
call fcn.004057d4
mov edx, eax
test edx, edx
jle 0x4c1d2c
mov eax, 1
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ecx + eax - 1]
imul esi, esi, 0x1a
add ecx, esi
sub ecx, 0x41
mov esi, ecx
inc eax
dec edx
jne 0x4c1d16
mov word [ebx], si
lea eax, [ebp - 0x6c]
push eax
mov ecx, 7
mov edx, 0xa
mov eax, dword [ebp - 4]
call fcn.00405a0c
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x30], eax
xor esi, esi
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x30]
call fcn.00409d84
mov eax, dword [ebp - 0x10]
call fcn.004057d4
mov edx, eax
test edx, edx
jle 0x4c1d81
mov eax, 1
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + eax - 1]
imul esi, esi, 0x1a
add ecx, esi
sub ecx, 0x41
mov esi, ecx
inc eax
dec edx
jne 0x4c1d6b
mov dword [ebx + 2], esi
lea eax, [ebp - 0x70]
push eax
mov ecx, 7
mov edx, 0x13
mov eax, dword [ebp - 4]
call fcn.00405a0c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x34], eax
xor esi, esi
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00409d84
mov eax, dword [ebp - 0x14]
call fcn.004057d4
mov edx, eax
test edx, edx
jle 0x4c1dd6
mov eax, 1
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx + eax - 1]
imul esi, esi, 0x1a
add ecx, esi
sub ecx, 0x41
mov esi, ecx
inc eax
dec edx
jne 0x4c1dc0
mov dword [ebx + 6], esi
lea eax, [ebp - 0x74]
push eax
mov ecx, 7
mov edx, 0x1c
mov eax, dword [ebp - 4]
call fcn.00405a0c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x38], eax
xor esi, esi
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x38]
call fcn.00409d84
mov eax, dword [ebp - 0x18]
call fcn.004057d4
mov edx, eax
test edx, edx
jle 0x4c1e2b
mov eax, 1
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ecx + eax - 1]
imul esi, esi, 0x1a
add ecx, esi
sub ecx, 0x41
mov esi, ecx
inc eax
dec edx
jne 0x4c1e15
mov dword [ebx + 0xa], esi
lea eax, [ebp - 0x78]
push eax
mov ecx, 7
mov edx, 0x25
mov eax, dword [ebp - 4]
call fcn.00405a0c
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x3c], eax
xor esi, esi
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x3c]
call fcn.00409d84
mov eax, dword [ebp - 0x1c]
call fcn.004057d4
mov edx, eax
test edx, edx
jle 0x4c1e80
mov eax, 1
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + eax - 1]
imul esi, esi, 0x1a
add ecx, esi
sub ecx, 0x41
mov esi, ecx
inc eax
dec edx
jne 0x4c1e6a
mov dword [ebx + 0xe], esi
lea eax, [ebp - 4]
call fcn.00405a04
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 2]
sub edx, 0x41
and edx, 0x80000001
jns 0x4c1ea2
dec edx
or edx, 0xfffffffe
inc edx
add dl, 0x41
mov byte [eax + 2], dl
lea eax, [ebp - 0x7c]
push eax
mov ecx, 6
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00405a0c
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x40], eax
xor esi, esi
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x40]
call fcn.00409d84
mov eax, dword [ebp - 0x20]
call fcn.004057d4
mov edx, eax
test edx, edx
jle 0x4c1efa
mov eax, 1
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ecx + eax - 1]
imul esi, esi, 0x1a
add ecx, esi
sub ecx, 0x41
mov esi, ecx
inc eax
dec edx
jne 0x4c1ee4
mov dword [ebx + 0x12], esi
cmp byte [ebx], 1
sete byte [ebp - 0x29]
cmp byte [ebp - 0x29], 0
jne 0x4c1fb5
mov eax, 0x4c2008
call fcn.004057d4
mov edx, eax
lea eax, [ebp - 0x24]
call fcn.00405c34
mov dword [ebp - 0x44], 0x62419535
movzx esi, word [ebp - 0x44]
movzx eax, byte [ebp - 0x42]
mov byte [ebp - 0x45], al
movzx eax, byte [ebp - 0x41]
mov byte [ebp - 0x46], al
mov ebx, 0x4c2008
mov edi, dword [ebp - 0x24]
mov eax, 0x4c2008
call fcn.004057d4
dec eax
test eax, eax
jl 0x4c1f7f
inc eax
mov dword [ebp - 0x4c], eax
movzx eax, byte [ebx]
movzx edx, si
shr edx, 8
xor dl, byte [ebx]
mov byte [edi], dl
movzx eax, al
add si, ax
movzx eax, byte [ebp - 0x45]
imul si, ax
movzx eax, byte [ebp - 0x46]
add si, ax
inc edi
inc ebx
dec dword [ebp - 0x4c]
jne 0x4c1f56
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0xb
lea edx, [ebp - 0x88]
xor ecx, ecx
mov eax, dword [ebp - 0x24]
call fcn.0040c118
mov ecx, dword [ebp - 0x80]
mov dl, 1
mov eax, dword [0x4b1904]
call fcn.004b1b78
mov eax, dword [ebp - 0x28]
movzx edx, byte [ebp - 0x29]
mov byte [eax + 0x40], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1ff6
lea eax, [ebp - 0x80]
mov edx, 6
call fcn.0040551c
lea eax, [ebp - 0x50]
call fcn.004054f8
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.0040551c
ret