Function at 0x10049cc0
Capabilities:
Encode data using xor

Disassembly:
push ebx
sub esp, 0x70
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x64], eax
mov eax, dword [0x10063c28]
mov dword [esp + 0x68], eax
mov eax, dword [0x10063c24]
mov dword [esp + 0x6c], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x5b], al
mov eax, dword [esp + 0x6c]
cmp eax, 0xa
setl al
mov byte [esp + 0x5a], al
mov dl, byte [esp + 0x5a]
mov cl, byte [esp + 0x5b]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x59], al
mov al, byte [esp + 0x59]
test al, 1
jne 0x10049d3e
jmp 0x10049ff5
mov eax, dword [esp + 0x60]
add eax, 0x10
mov dword [esp + 0x50], eax
mov eax, dword [0x1006237c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x42f5fc2b], 1
sete al
mov byte [esp + 0x47], al
mov eax, dword [0x10063c28]
mov dword [esp + 0x48], eax
mov eax, dword [0x10063c24]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edx, eax
sub edx, 0xa7693ef
sub edx, 1
add edx, 0xa7693ef
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x41], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x42], cl
xor al, 0xff
mov byte [esp + 0x43], al
xor cl, 0xff
mov byte [esp + 0x44], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x45], cl
and al, 0xff
mov byte [esp + 0x46], al
mov cl, byte [esp + 0x45]
mov al, byte [esp + 0x42]
mov dl, byte [esp + 0x44]
mov ah, byte [esp + 0x41]
and ah, cl
mov byte [esp + 0x3e], ah
and dl, 0xff
mov byte [esp + 0x3f], dl
and al, cl
mov byte [esp + 0x40], al
mov dl, byte [esp + 0x45]
mov ah, byte [esp + 0x44]
mov cl, byte [esp + 0x43]
mov dh, byte [esp + 0x40]
mov ch, byte [esp + 0x3f]
mov bl, byte [esp + 0x3e]
mov al, byte [esp + 0x46]
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0x3d], al
mov al, byte [esp + 0x3d]
test al, 1
jne 0x10049e2b
jmp 0x10049ff5
mov cl, byte [esp + 0x47]
xor eax, eax
test cl, 1
mov dword [esp + 0x38], eax
jne 0x10049ff0
jmp 0x10049e43
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x50]
mov bh, byte [edx + eax]
mov edx, eax
and edx, 0xf
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x91
mov cl, 0xff
xor cl, 0x91
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0x91
and bl, cl
mov ecx, dword [esp + 0x64]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
xor ecx, ecx
sub ecx, 1
sub eax, ecx
cmp eax, 2
mov dword [esp + 0x38], eax
jne 0x10049e43
mov eax, dword [0x10063c28]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [0x10063c24]
mov dword [esp + 0x2c], ecx
add eax, 0xed7b35ee
sub eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
sub eax, 0xed7b35ee
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x25], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x26], cl
and al, cl
mov byte [esp + 0x27], al
mov al, byte [esp + 0x27]
mov dl, byte [esp + 0x26]
mov cl, byte [esp + 0x25]
xor cl, dl
or al, cl
mov byte [esp + 0x24], al
mov al, byte [esp + 0x24]
test al, 1
jne 0x10049f15
jmp 0x1004a016
mov eax, dword [0x1006237c]
mov dword [eax + 0x42f5fc2b], 1
mov eax, dword [0x10063c28]
mov ecx, dword [0x10063c24]
mov dword [esp + 0x1c], ecx
mov ecx, eax
sub ecx, 0xa06ca04d
sub ecx, 1
add ecx, 0xa06ca04d
imul eax, ecx
and eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp ecx, 0
sete cl
mov byte [esp + 0x1a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x1b], al
mov al, byte [esp + 0x1b]
mov cl, byte [esp + 0x1a]
xor cl, 0xff
mov byte [esp + 0x18], cl
xor al, 0xff
mov byte [esp + 0x19], al
mov cl, byte [esp + 0x1b]
mov al, byte [esp + 0x19]
mov ah, byte [esp + 0x1a]
mov dl, byte [esp + 0x18]
mov ch, 1
xor ch, 1
mov byte [esp + 0x15], ch
and dl, 0xff
and ah, ch
and al, 0xff
and cl, ch
or dl, ah
mov byte [esp + 0x16], dl
or al, cl
mov byte [esp + 0x17], al
mov cl, byte [esp + 0x19]
mov al, byte [esp + 0x18]
mov ah, byte [esp + 0x17]
mov dl, byte [esp + 0x16]
xor dl, ah
mov byte [esp + 0x13], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x14], al
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x14]
mov dl, byte [esp + 0x15]
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x10049feb
jmp 0x1004a016
jmp 0x10049ff0
add esp, 0x70
pop ebx
ret
mov eax, dword [0x1006237c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0x42f5fc2b
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
jmp 0x10049d3e
mov eax, dword [0x1006237c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x42f5fc2b
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x10049f15