Function at 0x1003e460
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
sub esp, 0x128
mov eax, dword [esp + 0x138]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x11c], eax
mov ecx, dword [0x10060c68]
mov eax, dword [0x10060c64]
mov edx, ecx
add edx, 0xf426fe54
sub edx, 1
sub edx, 0xf426fe54
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl al
mov byte [esp + 0x121], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 0x122], ah
xor al, 0xff
mov byte [esp + 0x123], al
mov dl, 1
xor dl, 1
mov byte [esp + 0x124], dl
and ah, 0xff
mov byte [esp + 0x125], ah
and cl, dl
mov byte [esp + 0x126], cl
and al, 0xff
mov byte [esp + 0x127], al
mov cl, byte [esp + 0x124]
mov al, byte [esp + 0x121]
and al, cl
mov byte [esp + 0x117], al
mov cl, byte [esp + 0x124]
mov dl, byte [esp + 0x123]
mov al, byte [esp + 0x122]
mov dh, byte [esp + 0x117]
mov ch, byte [esp + 0x127]
mov bl, byte [esp + 0x126]
mov ah, byte [esp + 0x125]
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x115], ah
or al, dl
xor al, 0xff
or cl, 1
and al, cl
mov byte [esp + 0x116], al
mov cl, byte [esp + 0x116]
mov al, byte [esp + 0x115]
or al, cl
mov byte [esp + 0x114], al
mov al, byte [esp + 0x114]
test al, 1
jne 0x1003e586
jmp 0x1003ef2c
mov eax, dword [esp + 0x118]
add eax, 0x19
mov dword [esp + 0x100], eax
mov eax, dword [0x1005f360]
cmp dword [eax - 0x48bcbb91], 1
sete al
mov byte [esp + 0x107], al
mov eax, dword [0x10060c68]
mov dword [esp + 0x108], eax
mov eax, dword [0x10060c64]
mov dword [esp + 0x10c], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x108]
mov esi, dword [esp + 0x110]
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
xor al, 0xff
mov byte [esp + 0xfa], al
mov ch, dl
xor ch, 0xff
mov byte [esp + 0xfb], ch
mov ah, 1
xor ah, 0
mov byte [esp + 0xfc], ah
and al, 0
and cl, ah
and ch, 0
mov byte [esp + 0xfd], ch
and dl, ah
mov byte [esp + 0xfe], dl
or al, cl
mov byte [esp + 0xff], al
mov cl, byte [esp + 0xfb]
mov al, byte [esp + 0xfa]
mov dl, byte [esp + 0xff]
mov ch, byte [esp + 0xfe]
mov ah, byte [esp + 0xfd]
or ah, ch
xor dl, ah
mov byte [esp + 0xf8], dl
or al, cl
mov byte [esp + 0xf9], al
mov al, byte [esp + 0xf8]
mov dl, byte [esp + 0xfc]
mov cl, byte [esp + 0xf9]
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0xf7], al
mov al, byte [esp + 0xf7]
test al, 1
jne 0x1003e6b0
jmp 0x1003ef2c
mov cl, byte [esp + 0x107]
xor eax, eax
test cl, 1
mov dword [esp + 0xf0], eax
jne 0x1003ec37
jmp 0x1003e6ce
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x100]
mov dword [esp + 0xec], eax
mov bh, byte [edx + eax]
mov esi, 0x19
xor edx, edx
div esi
mov eax, dword [esp + 0xec]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x47
mov cl, 0xff
xor cl, 0x47
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0x47
and bl, cl
mov ecx, dword [esp + 0x11c]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
sub eax, 0x706d47e6
add eax, 1
add eax, 0x706d47e6
cmp eax, 0xa
mov dword [esp + 0xf0], eax
jne 0x1003e6ce
mov eax, dword [0x10060c68]
mov dword [esp + 0xe8], eax
mov eax, dword [0x10060c64]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xe8]
mov ecx, eax
add ecx, 0xf15f602e
sub ecx, 1
sub ecx, 0xf15f602e
imul eax, ecx
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xe0]
and eax, 1
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xdc]
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 + 0xdb], al
mov al, byte [esp + 0xdb]
test al, 1
jne 0x1003e7ce
jmp 0x1003ef07
mov eax, dword [0x1005f360]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xd4]
add eax, 0xb743446f
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xd0]
mov dword [eax], 1
mov eax, dword [0x10060c68]
mov dword [esp + 0xc4], eax
mov eax, dword [0x10060c64]
mov dword [esp + 0xc8], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
mov esi, dword [esp + 0xcc]
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl al
mov byte [esp + 0xbd], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 0xbe], ah
xor al, 0xff
mov byte [esp + 0xbf], al
mov dl, 1
xor dl, 0
mov byte [esp + 0xc0], dl
and ah, 0
mov byte [esp + 0xc1], ah
and cl, dl
mov byte [esp + 0xc2], cl
and al, 0
mov byte [esp + 0xc3], al
mov cl, byte [esp + 0xc0]
mov al, byte [esp + 0xbd]
and al, cl
mov byte [esp + 0xbc], al
mov dl, byte [esp + 0xc0]
mov ah, byte [esp + 0xbf]
mov cl, byte [esp + 0xbe]
mov dh, byte [esp + 0xbc]
mov ch, byte [esp + 0xc3]
mov bl, byte [esp + 0xc2]
mov al, byte [esp + 0xc1]
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1003e8f4
jmp 0x1003ef07
mov eax, dword [0x10060c68]
mov dword [esp + 0xb8], eax
mov eax, dword [0x10060c64]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xb8]
mov ecx, eax
sub ecx, 0x2562ede3
sub ecx, 1
add ecx, 0x2562ede3
imul eax, ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov cl, bl
xor cl, 0xff
mov dl, dh
xor dl, 0xff
mov al, 1
xor al, 1
mov ah, cl
and ah, 0xff
and bl, al
mov ch, dl
and ch, 0xff
and dh, al
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0xad], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0xae], cl
or al, 1
mov byte [esp + 0xaf], al
mov cl, byte [esp + 0xaf]
mov al, byte [esp + 0xae]
and al, cl
mov byte [esp + 0xac], al
mov cl, byte [esp + 0xac]
mov al, byte [esp + 0xad]
or al, cl
test al, 1
jne 0x1003e9bd
jmp 0x1003ef4b
mov eax, dword [0x10060c68]
mov dword [esp + 0xa0], eax
mov ecx, dword [0x10060c64]
mov dword [esp + 0xa4], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
imul eax, edx
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl al
mov ch, ah
xor ch, 0xff
mov byte [esp + 0x99], ch
mov dl, al
xor dl, 0xff
mov byte [esp + 0x9a], dl
mov cl, 1
xor cl, 1
mov byte [esp + 0x9b], cl
and ch, 0xff
mov byte [esp + 0x9c], ch
and ah, cl
mov byte [esp + 0x9d], ah
and dl, 0xff
mov byte [esp + 0x9e], dl
and al, cl
mov byte [esp + 0x9f], al
mov dl, byte [esp + 0x9f]
mov cl, byte [esp + 0x9e]
mov ah, byte [esp + 0x9d]
mov al, byte [esp + 0x9c]
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x98], al
mov al, byte [esp + 0x98]
mov dl, byte [esp + 0x9b]
mov ah, byte [esp + 0x9a]
mov cl, byte [esp + 0x99]
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0x97], al
mov al, byte [esp + 0x97]
test al, 1
jne 0x1003eac1
jmp 0x1003ef4b
mov eax, dword [0x10060c68]
mov dword [esp + 0x8c], eax
mov eax, dword [0x10060c64]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl cl
mov dl, ah
xor dl, 0xff
mov byte [esp + 0x87], dl
mov al, cl
xor al, 0xff
mov byte [esp + 0x88], al
mov ch, 1
xor ch, 0
mov byte [esp + 0x89], ch
and dl, 0
and ah, ch
and al, 0
and cl, ch
or dl, ah
mov byte [esp + 0x8a], dl
or al, cl
mov byte [esp + 0x8b], al
mov cl, byte [esp + 0x8b]
mov al, byte [esp + 0x8a]
xor al, cl
mov byte [esp + 0x86], al
mov cl, byte [esp + 0x88]
mov al, byte [esp + 0x87]
or al, cl
xor al, 0xff
mov byte [esp + 0x85], al
mov al, byte [esp + 0x86]
mov cl, byte [esp + 0x85]
mov dl, byte [esp + 0x89]
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x84], al
mov al, byte [esp + 0x84]
test al, 1
jne 0x1003eba7
jmp 0x1003ef55
mov eax, dword [0x10060c68]
mov dword [esp + 0x78], eax
mov ecx, dword [0x10060c64]
mov dword [esp + 0x7c], ecx
add eax, 0x1f59feae
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
sub eax, 1
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
sub eax, 0x1f59feae
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x6d], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x6e], cl
and al, cl
mov byte [esp + 0x6f], al
mov al, byte [esp + 0x6f]
mov dl, byte [esp + 0x6e]
mov cl, byte [esp + 0x6d]
xor cl, dl
or al, cl
mov byte [esp + 0x6c], al
mov al, byte [esp + 0x6c]
test al, 1
jne 0x1003ec32
jmp 0x1003ef55
jmp 0x1003ec37
mov eax, dword [0x10060c68]
mov dword [esp + 0x64], eax
mov eax, dword [0x10060c64]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x5e], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x5f], al
mov al, byte [esp + 0x5f]
mov ah, byte [esp + 0x5e]
mov ch, ah
xor ch, 0xff
mov byte [esp + 0x57], ch
mov dl, al
xor dl, 0xff
mov byte [esp + 0x58], dl
mov cl, 1
xor cl, 0
mov byte [esp + 0x59], cl
and ch, 0
mov byte [esp + 0x5a], ch
and ah, cl
mov byte [esp + 0x5b], ah
and dl, 0
mov byte [esp + 0x5c], dl
and al, cl
mov byte [esp + 0x5d], al
mov cl, byte [esp + 0x5d]
mov al, byte [esp + 0x5c]
mov ah, byte [esp + 0x5b]
mov dl, byte [esp + 0x5a]
or dl, ah
mov byte [esp + 0x55], dl
or al, cl
mov byte [esp + 0x56], al
mov dl, byte [esp + 0x59]
mov ah, byte [esp + 0x58]
mov cl, byte [esp + 0x57]
mov ch, byte [esp + 0x56]
mov al, byte [esp + 0x55]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1003ed06
jmp 0x1003ef5a
mov eax, dword [0x10060c68]
mov dword [esp + 0x48], eax
mov ecx, dword [0x10060c64]
mov dword [esp + 0x4c], ecx
add eax, 0x68fe35ee
sub eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
sub eax, 0x68fe35ee
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x42], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x43], al
mov al, byte [esp + 0x42]
xor al, 0xff
mov byte [esp + 0x41], al
mov al, byte [esp + 0x41]
mov cl, byte [esp + 0x43]
xor cl, 0xff
mov byte [esp + 0x3e], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x3f], cl
and al, 0
mov byte [esp + 0x40], al
mov dl, byte [esp + 0x3f]
mov ah, byte [esp + 0x3e]
mov cl, byte [esp + 0x41]
mov al, byte [esp + 0x40]
mov dh, byte [esp + 0x43]
mov bl, byte [esp + 0x42]
and bl, dl
mov ch, ah
and ch, 0
and dh, dl
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1003edc0
jmp 0x1003ef5a
mov eax, dword [0x10060c68]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [0x10060c64]
mov dword [esp + 0x30], ecx
sub eax, 0xffe5d99d
sub eax, 1
add eax, 0xffe5d99d
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
imul eax, ecx
and eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0
sete cl
mov byte [esp + 0x2a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x2b], al
mov dl, byte [esp + 0x2b]
mov cl, byte [esp + 0x2a]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x29], al
mov al, byte [esp + 0x29]
test al, 1
jne 0x1003ee3b
jmp 0x1003ef50
mov eax, dword [0x10060c68]
mov dword [esp + 0x1c], eax
mov ecx, dword [0x10060c64]
mov dword [esp + 0x20], ecx
sub eax, 0xab12057c
sub eax, 1
add eax, 0xab12057c
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
imul eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x16], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x17], al
mov al, byte [esp + 0x17]
mov cl, byte [esp + 0x16]
xor cl, 0xff
mov byte [esp + 0x13], cl
xor al, 0xff
mov byte [esp + 0x14], al
mov al, 1
xor al, 1
mov byte [esp + 0x15], al
mov cl, byte [esp + 0x14]
mov al, byte [esp + 0x13]
mov bl, byte [esp + 0x15]
mov ch, byte [esp + 0x17]
mov dh, byte [esp + 0x16]
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 + 0x11], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x12], al
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x12]
mov dl, byte [esp + 0x15]
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1003eefe
jmp 0x1003ef50
add esp, 0x128
pop esi
pop ebx
ret
mov eax, dword [0x1005f360]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0xb743446f
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [eax], 1
jmp 0x1003e7ce
mov eax, dword [0x1005f360]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xb743446f
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x1003e586
jmp 0x1003e9bd
jmp 0x1003ee3b
jmp 0x1003eba7
jmp 0x1003ed06