Function at 0x10038310
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x84
mov eax, dword [esp + 0x98]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x7c], eax
mov eax, dword [0x10066d10]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [0x10066d0c]
mov dword [esp + 0x70], ecx
sub eax, 0xb756d5bc
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x74]
sub ecx, 1
add ecx, 0xb756d5bc
imul eax, ecx
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x66], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x67], cl
xor al, 0xff
mov byte [esp + 0x68], al
xor cl, 0xff
mov byte [esp + 0x69], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x6a], cl
and al, 0
mov byte [esp + 0x6b], al
mov cl, byte [esp + 0x69]
mov al, byte [esp + 0x68]
mov dl, byte [esp + 0x6b]
mov bl, byte [esp + 0x6a]
mov ch, byte [esp + 0x67]
mov dh, byte [esp + 0x66]
and dh, bl
mov ah, cl
and ah, 0
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x64], dl
or al, cl
mov byte [esp + 0x65], al
mov al, byte [esp + 0x64]
mov dl, byte [esp + 0x6a]
mov cl, byte [esp + 0x65]
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x100383ff
jmp 0x1003860e
mov eax, dword [esp + 0x78]
add eax, 0x1f
mov dword [esp + 0x60], eax
mov eax, dword [0x1006530c]
mov eax, dword [eax - 0x7ab8311d]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
cmp eax, 1
sete al
mov byte [esp + 0x4f], al
mov eax, dword [0x10066d10]
mov dword [esp + 0x50], eax
mov ecx, dword [0x10066d0c]
mov dword [esp + 0x54], ecx
sub eax, 0x64cdebfd
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
sub ecx, 1
add ecx, 0x64cdebfd
imul eax, ecx
and eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x47], al
mov al, byte [esp + 0x47]
test al, 1
jne 0x1003848f
jmp 0x1003860e
mov cl, byte [esp + 0x4f]
xor eax, eax
test cl, 1
mov dword [esp + 0x40], eax
jne 0x1003852a
jmp 0x100384a7
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x38], eax
mov dl, byte [edx + eax]
mov byte [esp + 0x3f], dl
mov edi, 0x1f
xor edx, edx
div edi
mov eax, dword [esp + 0x38]
mov edi, edx
mov dh, byte [esp + 0x3f]
mov bl, byte [esi + edi]
mov bh, dh
xor bh, 0xff
mov dl, bl
and dl, bh
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [ecx + eax], dl
add eax, 0xaac272a1
add eax, 1
sub eax, 0xaac272a1
cmp eax, 0xb
mov dword [esp + 0x40], eax
jne 0x100384a7
mov eax, dword [0x1006530c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
add eax, 0x8547cee3
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [eax], 1
jmp 0x1003852a
mov eax, dword [0x10066d10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x10066d0c]
mov dword [esp + 0x24], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x24]
cmp eax, 0xa
setl al
mov byte [esp + 0x22], al
mov dl, byte [esp + 0x22]
mov cl, byte [esp + 0x23]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x21], al
mov al, byte [esp + 0x21]
test al, 1
jne 0x10038595
jmp 0x1003862d
mov eax, dword [0x10066d10]
mov dword [esp + 0x14], eax
mov ecx, dword [0x10066d0c]
mov dword [esp + 0x18], ecx
sub eax, 0xd5c7945f
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
sub eax, 1
add eax, 0xd5c7945f
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
imul eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0xb], al
mov al, byte [esp + 0xb]
test al, 1
jne 0x10038604
jmp 0x1003862d
add esp, 0x84
pop esi
pop edi
pop ebx
ret
mov eax, dword [0x1006530c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x8547cee3
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x100383ff
jmp 0x10038595