Function at 0x10036340
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
sub esp, 0xcc
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xbc], eax
mov eax, dword [0x10063d18]
mov dword [esp + 0xc0], eax
mov ecx, dword [0x10063d14]
mov dword [esp + 0xc4], ecx
add eax, 0x99e6a5c1
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc8]
sub ecx, 1
sub ecx, 0x99e6a5c1
imul eax, ecx
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xb4]
and eax, 1
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb0]
cmp eax, 0
sete al
mov byte [esp + 0xaf], al
mov al, byte [esp + 0xaf]
mov ecx, dword [esp + 0xc4]
cmp ecx, 0xa
setl cl
mov byte [esp + 0xad], cl
and al, cl
mov byte [esp + 0xae], al
mov al, byte [esp + 0xae]
mov dl, byte [esp + 0xad]
mov cl, byte [esp + 0xaf]
xor cl, dl
or al, cl
test al, 1
jne 0x10036419
jmp 0x1003699d
mov eax, dword [esp + 0xb8]
add eax, 0x10
mov dword [esp + 0xa4], eax
mov eax, dword [0x10062304]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa8]
add eax, 0xac1366ac
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa0]
cmp dword [eax], 1
sete al
mov byte [esp + 0x97], al
mov eax, dword [0x10063d18]
mov dword [esp + 0x98], eax
mov eax, dword [0x10063d14]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x98]
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x90]
cmp ecx, 0
sete cl
mov byte [esp + 0x8e], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x8f], al
mov dl, byte [esp + 0x8f]
mov cl, byte [esp + 0x8e]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x100364dd
jmp 0x1003699d
mov cl, byte [esp + 0x97]
xor eax, eax
test cl, 1
mov dword [esp + 0x88], eax
jne 0x1003696f
jmp 0x100364fb
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xa4]
mov bh, byte [edx + eax]
mov edx, eax
and edx, 0xf
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x90
mov cl, 0xff
xor cl, 0x90
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0x90
and bl, cl
mov ecx, dword [esp + 0xbc]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
xor ecx, ecx
sub ecx, eax
xor eax, eax
sub eax, 1
add ecx, eax
xor eax, eax
sub eax, ecx
cmp eax, 0xb
mov dword [esp + 0x88], eax
jne 0x100364fb
mov eax, dword [0x10063d18]
mov dword [esp + 0x84], eax
mov eax, dword [0x10063d14]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x7d], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x7e], cl
xor al, 0xff
mov byte [esp + 0x7f], al
mov al, byte [esp + 0x7e]
xor al, 0xff
mov byte [esp + 0x7c], al
mov cl, byte [esp + 0x7c]
mov al, byte [esp + 0x7f]
mov ch, byte [esp + 0x7e]
mov dh, byte [esp + 0x7d]
mov bl, 1
xor bl, 1
mov byte [esp + 0x79], bl
mov dl, al
and dl, 0xff
and dh, bl
mov ah, cl
and ah, 0xff
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x7a], dl
or al, cl
mov byte [esp + 0x7b], al
mov al, byte [esp + 0x7a]
mov dl, byte [esp + 0x79]
mov cl, byte [esp + 0x7b]
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x10036616
jmp 0x100369be
mov eax, dword [0x10063d18]
mov dword [esp + 0x6c], eax
mov ecx, dword [0x10063d14]
mov dword [esp + 0x70], ecx
add eax, 0xd2349daa
sub eax, 1
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
sub ecx, 0xd2349daa
imul eax, ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl al
mov ch, ah
xor ch, 0xff
mov byte [esp + 0x61], ch
mov dl, al
xor dl, 0xff
mov byte [esp + 0x62], dl
mov cl, 1
xor cl, 0
mov byte [esp + 0x63], cl
and ch, 0
mov byte [esp + 0x64], ch
and ah, cl
mov byte [esp + 0x65], ah
and dl, 0
mov byte [esp + 0x66], dl
and al, cl
mov byte [esp + 0x67], al
mov cl, byte [esp + 0x65]
mov al, byte [esp + 0x64]
or al, cl
mov byte [esp + 0x60], al
mov al, byte [esp + 0x63]
mov dl, byte [esp + 0x62]
mov cl, byte [esp + 0x61]
mov ah, byte [esp + 0x60]
mov dh, byte [esp + 0x67]
mov ch, byte [esp + 0x66]
or ch, dh
xor ah, ch
mov byte [esp + 0x5d], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x5e], cl
or al, 0
mov byte [esp + 0x5f], al
mov al, byte [esp + 0x5d]
mov dl, byte [esp + 0x5f]
mov cl, byte [esp + 0x5e]
and cl, dl
or al, cl
test al, 1
jne 0x100366f0
jmp 0x100369be
mov eax, dword [0x10063d18]
mov dword [esp + 0x50], eax
mov ecx, dword [0x10063d14]
mov dword [esp + 0x54], ecx
sub eax, 0xbc12776d
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
sub eax, 1
add eax, 0xbc12776d
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x4a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x4b], al
mov cl, byte [esp + 0x4b]
mov al, byte [esp + 0x4a]
and al, cl
mov byte [esp + 0x49], al
mov al, byte [esp + 0x49]
mov dl, byte [esp + 0x4b]
mov cl, byte [esp + 0x4a]
xor cl, dl
or al, cl
mov byte [esp + 0x48], al
mov al, byte [esp + 0x48]
test al, 1
jne 0x10036775
jmp 0x10036978
mov eax, dword [0x10063d18]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [0x10063d14]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
imul eax, ecx
and eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
cmp eax, 0
sete al
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x3c]
cmp eax, 0xa
setl al
mov byte [esp + 0x36], al
mov dl, byte [esp + 0x36]
mov cl, byte [esp + 0x37]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x100367e2
jmp 0x100369c3
mov eax, dword [0x10062304]
mov dword [eax - 0x53ec9954], 1
mov eax, dword [0x10063d18]
mov dword [esp + 0x2c], eax
mov eax, dword [0x10063d14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov ecx, eax
sub ecx, 0x4e47732
sub ecx, 1
add ecx, 0x4e47732
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x2b], al
mov cl, byte [esp + 0x2b]
mov eax, dword [esp + 0x30]
cmp eax, 0xa
setl al
mov byte [esp + 0x28], al
xor cl, 0xff
mov byte [esp + 0x29], cl
xor al, 0xff
mov byte [esp + 0x2a], al
mov al, byte [esp + 0x2b]
mov dl, byte [esp + 0x29]
mov cl, 1
xor cl, 1
mov byte [esp + 0x25], cl
and dl, 0xff
mov byte [esp + 0x26], dl
and al, cl
mov byte [esp + 0x27], al
mov dl, byte [esp + 0x25]
mov ah, byte [esp + 0x2a]
mov cl, byte [esp + 0x29]
mov bl, byte [esp + 0x27]
mov al, byte [esp + 0x26]
mov dh, byte [esp + 0x28]
mov ch, ah
and ch, 0xff
and dh, dl
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 + 0x24], al
mov al, byte [esp + 0x24]
test al, 1
jne 0x100368ab
jmp 0x100369c3
mov eax, dword [0x10063d18]
mov ecx, dword [0x10063d14]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x1e], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x1f], cl
xor al, 0xff
mov byte [esp + 0x20], al
xor cl, 0xff
mov byte [esp + 0x21], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x22], cl
and al, 0
mov byte [esp + 0x23], al
mov al, byte [esp + 0x23]
mov ah, byte [esp + 0x22]
mov dl, byte [esp + 0x1f]
mov ch, byte [esp + 0x21]
mov cl, byte [esp + 0x1e]
and cl, ah
and ch, 0
mov byte [esp + 0x1b], ch
and dl, ah
mov byte [esp + 0x1c], dl
or al, cl
mov byte [esp + 0x1d], al
mov al, byte [esp + 0x1d]
mov dl, byte [esp + 0x1c]
mov cl, byte [esp + 0x1b]
or cl, dl
xor al, cl
mov byte [esp + 0x1a], al
mov cl, byte [esp + 0x21]
mov al, byte [esp + 0x20]
or al, cl
mov byte [esp + 0x19], al
mov al, byte [esp + 0x19]
xor al, 0xff
mov byte [esp + 0x18], al
mov al, byte [esp + 0x1a]
mov cl, byte [esp + 0x18]
mov dl, byte [esp + 0x22]
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1003696a
jmp 0x10036978
jmp 0x1003696f
add esp, 0xcc
pop esi
pop ebx
ret
mov eax, dword [0x10062304]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, 0xac1366ac
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [eax], 1
jmp 0x10036775
mov eax, dword [0x10062304]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0xac1366ac
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
jmp 0x10036419
jmp 0x10036616
mov eax, dword [0x10062304]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xac1366ac
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x100367e2