Function at 0x1003a790
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
sub esp, 0x114
mov eax, dword [esp + 0x124]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x10c], eax
mov eax, dword [0x10063cd8]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x110]
mov ecx, dword [0x10063cd4]
mov dword [esp + 0x100], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x107], al
mov eax, dword [esp + 0x100]
cmp eax, 0xa
setl al
mov byte [esp + 0xff], al
mov cl, byte [esp + 0xff]
mov al, byte [esp + 0x107]
mov dl, al
and dl, cl
mov byte [esp + 0xfd], dl
xor al, cl
mov byte [esp + 0xfe], al
mov cl, byte [esp + 0xfe]
mov al, byte [esp + 0xfd]
or al, cl
mov byte [esp + 0xfc], al
mov al, byte [esp + 0xfc]
test al, 1
jne 0x1003a851
jmp 0x1003b071
mov eax, dword [esp + 0x108]
add eax, 0x15
mov dword [esp + 0xf4], eax
mov eax, dword [0x10062324]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0xf8]
mov eax, dword [eax + 0x24f25ad8]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xf0]
cmp eax, 1
sete al
mov byte [esp + 0xe9], al
mov eax, dword [0x10063cd8]
mov ecx, dword [0x10063cd4]
mov edx, eax
add edx, 0xd8792eab
sub edx, 1
sub edx, 0xd8792eab
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xea], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xeb], cl
xor al, 0xff
mov byte [esp + 0xec], al
xor cl, 0xff
mov byte [esp + 0xed], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0xee], cl
and al, 0
mov byte [esp + 0xef], al
mov cl, byte [esp + 0xee]
mov al, byte [esp + 0xeb]
mov dl, byte [esp + 0xed]
mov ah, byte [esp + 0xea]
and ah, cl
mov byte [esp + 0xe6], ah
and dl, 0
mov byte [esp + 0xe7], dl
and al, cl
mov byte [esp + 0xe8], al
mov cl, byte [esp + 0xe8]
mov al, byte [esp + 0xe7]
mov ah, byte [esp + 0xe6]
mov dl, byte [esp + 0xef]
or dl, ah
mov byte [esp + 0xe4], dl
or al, cl
mov byte [esp + 0xe5], al
mov dl, byte [esp + 0xee]
mov ah, byte [esp + 0xed]
mov cl, byte [esp + 0xec]
mov ch, byte [esp + 0xe5]
mov al, byte [esp + 0xe4]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1003a99e
jmp 0x1003b071
mov cl, byte [esp + 0xe9]
xor eax, eax
test cl, 1
mov dword [esp + 0xe0], eax
jne 0x1003ab80
jmp 0x1003a9bc
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0xf4]
mov dword [esp + 0xdc], eax
mov bh, byte [edx + eax]
mov esi, 0x15
xor edx, edx
div esi
mov eax, dword [esp + 0xdc]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x82
mov cl, 0xff
xor cl, 0x82
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0x82
and bl, cl
mov ecx, dword [esp + 0x10c]
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, 0xd
mov dword [esp + 0xe0], eax
jne 0x1003a9bc
mov eax, dword [0x10063cd8]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xd8]
mov ecx, dword [0x10063cd4]
mov dword [esp + 0xd0], ecx
add eax, 0x84699887
sub eax, 1
mov dword [esp + 0xd4], eax
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd8]
mov edx, dword [esp + 0xd4]
sub edx, 0x84699887
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0xce], dl
xor al, cl
mov byte [esp + 0xcf], al
mov cl, byte [esp + 0xcf]
mov al, byte [esp + 0xce]
or al, cl
mov byte [esp + 0xcd], al
mov al, byte [esp + 0xcd]
test al, 1
jne 0x1003aac9
jmp 0x1003ae45
mov eax, dword [0x10062324]
add eax, 0x24f25ad8
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
mov dword [eax], 1
mov eax, dword [0x10063cd8]
mov dword [esp + 0xbc], eax
mov ecx, dword [0x10063cd4]
mov dword [esp + 0xc0], ecx
sub eax, 0xaa0bee6f
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xc4]
sub eax, 1
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
add ecx, 0xaa0bee6f
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xb7], al
mov eax, dword [esp + 0xc0]
cmp eax, 0xa
setl al
mov byte [esp + 0xb6], al
mov dl, byte [esp + 0xb6]
mov cl, byte [esp + 0xb7]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1003ab7b
jmp 0x1003ae45
jmp 0x1003ab80
mov eax, dword [0x10063cd8]
mov dword [esp + 0xac], eax
mov eax, dword [0x10063cd4]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xac]
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xa7], al
mov eax, dword [esp + 0xb0]
cmp eax, 0xa
setl al
mov byte [esp + 0xa6], al
mov cl, byte [esp + 0xa6]
mov al, byte [esp + 0xa7]
mov dl, al
and dl, cl
mov byte [esp + 0xa4], dl
xor al, cl
mov byte [esp + 0xa5], al
mov cl, byte [esp + 0xa5]
mov al, byte [esp + 0xa4]
or al, cl
test al, 1
jne 0x1003ac21
jmp 0x1003af87
mov eax, dword [0x10063cd8]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [0x10063cd4]
mov dword [esp + 0x98], ecx
add eax, 0x41d81a30
sub eax, 1
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
sub ecx, 0x41d81a30
imul eax, ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x94]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x93], al
mov al, byte [esp + 0x93]
mov ecx, dword [esp + 0x98]
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x91], dl
xor al, cl
mov byte [esp + 0x92], al
mov cl, byte [esp + 0x92]
mov al, byte [esp + 0x91]
or al, cl
test al, 1
jne 0x1003acca
jmp 0x1003b092
mov eax, dword [0x10063cd8]
mov dword [esp + 0x88], eax
mov eax, dword [0x10063cd4]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x88]
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x82], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x83], al
mov al, byte [esp + 0x83]
mov ah, byte [esp + 0x82]
mov ch, ah
xor ch, 0xff
mov byte [esp + 0x7b], ch
mov dl, al
xor dl, 0xff
mov byte [esp + 0x7c], dl
mov cl, 1
xor cl, 0
mov byte [esp + 0x7d], cl
and ch, 0
mov byte [esp + 0x7e], ch
and ah, cl
mov byte [esp + 0x7f], ah
and dl, 0
mov byte [esp + 0x80], dl
and al, cl
mov byte [esp + 0x81], al
mov cl, byte [esp + 0x7c]
mov al, byte [esp + 0x7b]
mov ch, byte [esp + 0x81]
mov ah, byte [esp + 0x80]
mov dh, byte [esp + 0x7f]
mov dl, byte [esp + 0x7e]
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x79], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x7a], al
mov al, byte [esp + 0x79]
mov cl, byte [esp + 0x7a]
mov dl, byte [esp + 0x7d]
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1003adc0
jmp 0x1003b092
mov eax, dword [0x10063cd8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [0x10063cd4]
mov dword [esp + 0x6c], ecx
sub eax, 0xb771fa73
sub eax, 1
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
add ecx, 0xb771fa73
imul eax, ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
and eax, 1
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
cmp ecx, 0
sete cl
mov byte [esp + 0x62], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x63], al
mov dl, byte [esp + 0x63]
mov cl, byte [esp + 0x62]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1003ae3c
jmp 0x1003af87
add esp, 0x114
pop esi
pop ebx
ret
mov eax, dword [0x10063cd8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [0x10063cd4]
mov dword [esp + 0x54], ecx
sub eax, 0x427d9db9
sub eax, 1
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
add eax, 0x427d9db9
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x5c]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x4d], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x4e], cl
and al, cl
mov byte [esp + 0x4f], al
mov al, byte [esp + 0x4f]
mov dl, byte [esp + 0x4e]
mov cl, byte [esp + 0x4d]
xor cl, dl
or al, cl
test al, 1
jne 0x1003aebe
jmp 0x1003b097
mov eax, dword [0x10062324]
add eax, 0x24f25ad8
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
mov dword [eax], 1
mov eax, dword [0x10063cd8]
mov dword [esp + 0x3c], eax
mov ecx, dword [0x10063cd4]
mov dword [esp + 0x40], ecx
add eax, 0x8677491c
sub eax, 1
sub eax, 0x8677491c
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
imul eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x36], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x37], al
mov ch, byte [esp + 0x37]
mov dh, byte [esp + 0x36]
mov al, dh
xor al, 0xff
mov cl, ch
xor cl, 0xff
mov bl, 1
xor bl, 0
mov byte [esp + 0x33], bl
mov dl, al
and dl, 0
and dh, bl
mov ah, cl
and ah, 0
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x34], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x35], al
mov al, byte [esp + 0x34]
mov cl, byte [esp + 0x35]
mov dl, byte [esp + 0x33]
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1003af82
jmp 0x1003b097
jmp 0x1003aac9
mov eax, dword [0x10063cd8]
mov dword [esp + 0x2c], eax
mov eax, dword [0x10063cd4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
add eax, 0x9eed66ce
sub eax, 1
sub eax, 0x9eed66ce
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x23], al
mov al, byte [esp + 0x23]
mov ecx, dword [esp + 0x28]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x21], cl
and al, cl
mov byte [esp + 0x22], al
mov al, byte [esp + 0x22]
mov dl, byte [esp + 0x21]
mov cl, byte [esp + 0x23]
xor cl, dl
or al, cl
test al, 1
jne 0x1003affb
jmp 0x1003b0ba
mov eax, dword [0x10063cd8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x10063cd4]
mov dword [esp + 0x14], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, 0
sete al
mov byte [esp + 0x11], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x12], cl
and al, cl
mov byte [esp + 0x13], al
mov al, byte [esp + 0x13]
mov dl, byte [esp + 0x12]
mov cl, byte [esp + 0x11]
xor cl, dl
or al, cl
mov byte [esp + 0x10], al
mov al, byte [esp + 0x10]
test al, 1
jne 0x1003b06c
jmp 0x1003b0ba
jmp 0x1003ac21
mov eax, dword [0x10062324]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0x24f25ad8
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
jmp 0x1003a851
jmp 0x1003acca
mov eax, dword [0x10062324]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x24f25ad8
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1003aebe
jmp 0x1003affb