Function at 0x100392d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x6c], eax
mov eax, dword [0x10060cc0]
mov ecx, dword [0x10060cbc]
mov dword [esp + 0x70], ecx
mov ecx, eax
add ecx, 0x881b0667
sub ecx, 1
sub ecx, 0x881b0667
imul eax, ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x63], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x64], al
xor cl, 0xff
mov byte [esp + 0x65], cl
xor al, 0xff
mov byte [esp + 0x66], al
mov al, 1
xor al, 1
mov byte [esp + 0x67], al
mov cl, byte [esp + 0x66]
mov al, byte [esp + 0x65]
mov bl, byte [esp + 0x67]
mov ch, byte [esp + 0x64]
mov dh, byte [esp + 0x63]
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 + 0x61], dl
or al, cl
mov byte [esp + 0x62], al
mov cl, byte [esp + 0x67]
mov al, byte [esp + 0x62]
xor al, 0xff
or cl, 1
and al, cl
mov byte [esp + 0x60], al
mov cl, byte [esp + 0x60]
mov al, byte [esp + 0x61]
or al, cl
mov byte [esp + 0x5f], al
mov al, byte [esp + 0x5f]
test al, 1
jne 0x100393ab
jmp 0x10039627
mov eax, dword [esp + 0x68]
add eax, 0x10
mov dword [esp + 0x48], eax
mov eax, dword [0x1005f32c]
cmp dword [eax + 0x7c932db8], 1
sete al
mov byte [esp + 0x4f], al
mov eax, dword [0x10060cc0]
mov dword [esp + 0x50], eax
mov ecx, dword [0x10060cbc]
mov dword [esp + 0x54], ecx
sub eax, 0x5c1a225c
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
sub eax, 1
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
add edx, 0x5c1a225c
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x3e], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x3f], dl
xor cl, 0xff
mov byte [esp + 0x40], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x41], cl
and dl, 0
mov byte [esp + 0x42], dl
and al, cl
mov byte [esp + 0x43], al
mov ah, byte [esp + 0x43]
mov dl, byte [esp + 0x42]
mov ch, byte [esp + 0x41]
mov cl, byte [esp + 0x3e]
mov al, byte [esp + 0x40]
and al, 0
and cl, ch
or dl, ah
mov byte [esp + 0x3c], dl
or al, cl
mov byte [esp + 0x3d], al
mov cl, byte [esp + 0x40]
mov al, byte [esp + 0x3f]
mov ah, byte [esp + 0x3d]
mov dl, byte [esp + 0x3c]
xor dl, ah
mov byte [esp + 0x3a], dl
or al, cl
mov byte [esp + 0x3b], al
mov al, byte [esp + 0x3a]
mov dl, byte [esp + 0x41]
mov cl, byte [esp + 0x3b]
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x100394a1
jmp 0x10039627
mov cl, byte [esp + 0x4f]
xor eax, eax
test cl, 1
mov dword [esp + 0x34], eax
jne 0x10039620
jmp 0x100394b9
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x48]
mov dh, byte [edx + eax]
mov edi, eax
and edi, 0xf
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
xor ecx, ecx
sub ecx, 1
sub eax, ecx
cmp eax, 0xd
mov dword [esp + 0x34], eax
jne 0x100394b9
mov eax, dword [0x10060cc0]
mov dword [esp + 0x28], eax
mov ecx, dword [0x10060cbc]
mov dword [esp + 0x2c], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
imul eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x2c]
cmp eax, 0xa
setl al
mov byte [esp + 0x22], al
mov dh, byte [esp + 0x22]
mov bl, byte [esp + 0x23]
mov al, bl
xor al, 0xff
mov dl, dh
xor dl, 0xff
mov cl, 1
xor cl, 0
mov ah, al
and ah, 0
and bl, cl
mov ch, dl
and ch, 0
and dh, cl
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x20], ah
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0x21], al
mov cl, byte [esp + 0x21]
mov al, byte [esp + 0x20]
or al, cl
test al, 1
jne 0x10039599
jmp 0x10039648
mov eax, dword [0x1005f32c]
mov dword [eax + 0x7c932db8], 1
mov eax, dword [0x10060cc0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x10060cbc]
mov dword [esp + 0x14], 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 + 0x1b], al
mov eax, dword [esp + 0x14]
cmp eax, 0xa
setl al
mov byte [esp + 0x13], al
mov cl, byte [esp + 0x13]
mov al, byte [esp + 0x1b]
mov dl, al
and dl, cl
mov byte [esp + 0x11], dl
xor al, cl
mov byte [esp + 0x12], al
mov cl, byte [esp + 0x12]
mov al, byte [esp + 0x11]
or al, cl
mov byte [esp + 0x10], al
mov al, byte [esp + 0x10]
test al, 1
jne 0x1003961b
jmp 0x10039648
jmp 0x10039620
add esp, 0x78
pop esi
pop edi
pop ebx
ret
mov eax, dword [0x1005f32c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0x7c932db8
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
jmp 0x100393ab
mov eax, dword [0x1005f32c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x7c932db8
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x10039599