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

Disassembly:
push ebx
push esi
sub esp, 0x160
mov eax, dword [esp + 0x170]
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0x16c]
mov dword [esp + 0x154], eax
mov eax, dword [0x1005fc90]
mov ecx, dword [0x1005fc8c]
mov dword [esp + 0x158], ecx
mov ecx, eax
sub ecx, 0xa8bff799
sub ecx, 1
add ecx, 0xa8bff799
imul eax, ecx
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x15c]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x14c], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x14d], al
xor cl, 0xff
mov byte [esp + 0x14e], cl
xor al, 0xff
mov byte [esp + 0x14f], al
mov al, 1
xor al, 0
mov byte [esp + 0x14b], al
mov ah, byte [esp + 0x14b]
mov dl, byte [esp + 0x14d]
mov ch, byte [esp + 0x14f]
mov cl, byte [esp + 0x14c]
mov al, byte [esp + 0x14e]
and al, 0
and cl, ah
and ch, 0
mov byte [esp + 0x148], ch
and dl, ah
mov byte [esp + 0x149], dl
or al, cl
mov byte [esp + 0x14a], al
mov dl, byte [esp + 0x14b]
mov ah, byte [esp + 0x14f]
mov cl, byte [esp + 0x14e]
mov al, byte [esp + 0x14a]
mov dh, byte [esp + 0x149]
mov ch, byte [esp + 0x148]
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x147], al
mov al, byte [esp + 0x147]
test al, 1
jne 0x1003bd42
jmp 0x1003c882
mov eax, dword [esp + 0x150]
add eax, 0x12
mov dword [esp + 0x130], eax
mov eax, dword [0x1005e350]
cmp dword [eax + 0x4fea1346], 1
sete al
mov byte [esp + 0x137], al
mov eax, dword [0x1005fc90]
mov dword [esp + 0x138], eax
mov ecx, dword [0x1005fc8c]
mov dword [esp + 0x13c], ecx
sub eax, 0xbb79d0f1
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x140]
sub ecx, 1
add ecx, 0xbb79d0f1
imul eax, ecx
mov dword [esp + 0x12c], eax
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0x12c]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x126], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x127], cl
xor al, 0xff
mov byte [esp + 0x128], al
xor cl, 0xff
mov byte [esp + 0x129], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x12a], cl
and al, 0
mov byte [esp + 0x12b], al
mov al, byte [esp + 0x129]
mov dl, byte [esp + 0x12a]
mov cl, byte [esp + 0x126]
and cl, dl
mov byte [esp + 0x124], cl
and al, 0
mov byte [esp + 0x125], al
mov cl, byte [esp + 0x12a]
mov dl, byte [esp + 0x129]
mov al, byte [esp + 0x128]
mov ch, byte [esp + 0x125]
mov bl, byte [esp + 0x124]
mov ah, byte [esp + 0x12b]
mov dh, byte [esp + 0x127]
and dh, cl
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x122], ah
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0x123], al
mov cl, byte [esp + 0x123]
mov al, byte [esp + 0x122]
or al, cl
test al, 1
jne 0x1003be96
jmp 0x1003c882
mov cl, byte [esp + 0x137]
xor eax, eax
test cl, 1
mov dword [esp + 0x11c], eax
jne 0x1003c0b4
jmp 0x1003beb4
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x130]
mov dword [esp + 0x118], eax
mov bh, byte [edx + eax]
mov esi, 0x12
xor edx, edx
div esi
mov eax, dword [esp + 0x118]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0xac
mov cl, 0xff
xor cl, 0xac
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0xac
and bl, cl
mov ecx, dword [esp + 0x154]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
sub eax, 0x8d1adc1b
add eax, 1
add eax, 0x8d1adc1b
cmp eax, 6
mov dword [esp + 0x11c], eax
jne 0x1003beb4
mov eax, dword [0x1005fc90]
mov dword [esp + 0x114], eax
mov eax, dword [0x1005fc8c]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x114]
sub eax, 0x777b2536
sub eax, 1
add eax, 0x777b2536
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x114]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x107], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x108], al
xor cl, 0xff
mov byte [esp + 0x109], cl
xor al, 0xff
mov byte [esp + 0x10a], al
mov al, 1
xor al, 1
mov byte [esp + 0x10b], al
mov al, byte [esp + 0x109]
and al, 0xff
mov byte [esp + 0x106], al
mov dl, byte [esp + 0x10b]
mov ah, byte [esp + 0x10a]
mov cl, byte [esp + 0x109]
mov al, byte [esp + 0x106]
mov dh, byte [esp + 0x108]
mov bl, byte [esp + 0x107]
and bl, dl
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
test al, 1
jne 0x1003c014
jmp 0x1003c730
mov eax, dword [0x1005e350]
mov dword [eax + 0x4fea1346], 1
mov eax, dword [0x1005fc90]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
mov ecx, dword [0x1005fc8c]
mov dword [esp + 0xf8], ecx
sub eax, 0x2f85d874
sub eax, 1
add eax, 0x2f85d874
mov dword [esp + 0xfc], eax
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0x100]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xf7], al
mov eax, dword [esp + 0xf8]
cmp eax, 0xa
setl al
mov byte [esp + 0xf6], al
mov dl, byte [esp + 0xf6]
mov cl, byte [esp + 0xf7]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1003c0af
jmp 0x1003c730
jmp 0x1003c0b4
mov eax, dword [0x1005fc90]
mov dword [esp + 0xe8], eax
mov ecx, dword [0x1005fc8c]
mov dword [esp + 0xec], ecx
sub eax, 0xa4d795c1
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xf0]
sub eax, 1
add eax, 0xa4d795c1
mov dword [esp + 0xe4], eax
mov ecx, dword [esp + 0xe4]
mov eax, dword [esp + 0xe8]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xe3], al
mov cl, byte [esp + 0xe3]
mov eax, dword [esp + 0xec]
cmp eax, 0xa
setl al
mov byte [esp + 0xdf], al
xor cl, 0xff
mov byte [esp + 0xe0], cl
xor al, 0xff
mov byte [esp + 0xe1], al
mov al, 1
xor al, 0
mov byte [esp + 0xe2], al
mov al, byte [esp + 0xe1]
mov dl, byte [esp + 0xe2]
mov cl, byte [esp + 0xe3]
mov ah, byte [esp + 0xe0]
and ah, 0
mov byte [esp + 0xdc], ah
and cl, dl
mov byte [esp + 0xdd], cl
and al, 0
mov byte [esp + 0xde], al
mov dl, byte [esp + 0xe2]
mov ah, byte [esp + 0xe1]
mov cl, byte [esp + 0xe0]
mov ch, byte [esp + 0xde]
mov bl, byte [esp + 0xdd]
mov al, byte [esp + 0xdc]
mov dh, byte [esp + 0xdf]
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 0x1003c1d3
jmp 0x1003c8a3
mov eax, dword [0x1005fc90]
mov dword [esp + 0xd0], eax
mov ecx, dword [0x1005fc8c]
mov dword [esp + 0xd4], ecx
sub eax, 0x8d5a6241
sub eax, 1
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xd8]
add eax, 0x8d5a6241
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0xd0]
imul eax, ecx
and eax, 1
mov dword [esp + 0xc8], eax
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0xc8]
cmp eax, 0
sete al
mov byte [esp + 0xc5], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xc6], cl
and al, cl
mov byte [esp + 0xc7], al
mov al, byte [esp + 0xc7]
mov dl, byte [esp + 0xc6]
mov cl, byte [esp + 0xc5]
xor cl, dl
or al, cl
mov byte [esp + 0xc4], al
mov al, byte [esp + 0xc4]
test al, 1
jne 0x1003c28e
jmp 0x1003c8a3
mov eax, dword [0x1005fc90]
mov dword [esp + 0xbc], eax
mov eax, dword [0x1005fc8c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xbc]
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xbc]
imul eax, ecx
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0xb4]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xb1], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xb2], cl
and al, cl
mov byte [esp + 0xb3], al
mov al, byte [esp + 0xb3]
mov dl, byte [esp + 0xb2]
mov cl, byte [esp + 0xb1]
xor cl, dl
or al, cl
mov byte [esp + 0xb0], al
mov al, byte [esp + 0xb0]
test al, 1
jne 0x1003c33b
jmp 0x1003c87d
mov eax, dword [0x1005fc90]
mov dword [esp + 0xa8], eax
mov eax, dword [0x1005fc8c]
mov dword [esp + 0xac], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0xa4]
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xa1], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xa2], cl
xor al, 0xff
mov byte [esp + 0xa3], al
mov al, byte [esp + 0xa2]
xor al, 0xff
mov byte [esp + 0x9f], al
mov al, 1
xor al, 0
mov byte [esp + 0xa0], al
mov cl, byte [esp + 0xa0]
mov dl, byte [esp + 0x9f]
mov al, byte [esp + 0xa3]
mov dh, byte [esp + 0xa2]
mov bl, byte [esp + 0xa1]
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 + 0x9d], ah
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0x9e], al
mov cl, byte [esp + 0x9e]
mov al, byte [esp + 0x9d]
or al, cl
test al, 1
jne 0x1003c427
jmp 0x1003c8a8
mov eax, dword [0x1005fc90]
mov dword [esp + 0x90], eax
mov ecx, dword [0x1005fc8c]
mov dword [esp + 0x94], ecx
add eax, 0x57bd238a
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
sub eax, 1
sub eax, 0x57bd238a
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl al
mov byte [esp + 0x85], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 0x86], ah
xor al, 0xff
mov byte [esp + 0x87], al
mov dl, 1
xor dl, 0
mov byte [esp + 0x88], dl
and ah, 0
mov byte [esp + 0x89], ah
and cl, dl
mov byte [esp + 0x8a], cl
and al, 0
mov byte [esp + 0x8b], al
mov cl, byte [esp + 0x87]
mov al, byte [esp + 0x86]
mov ah, byte [esp + 0x8b]
mov dh, byte [esp + 0x8a]
mov dl, byte [esp + 0x89]
mov bl, byte [esp + 0x88]
mov ch, byte [esp + 0x85]
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x83], dl
or al, cl
mov byte [esp + 0x84], al
mov al, byte [esp + 0x84]
xor al, 0xff
mov byte [esp + 0x82], al
mov al, byte [esp + 0x83]
mov cl, byte [esp + 0x82]
mov dl, byte [esp + 0x88]
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1003c54f
jmp 0x1003c8a8
mov eax, dword [0x1005fc90]
mov dword [esp + 0x74], eax
mov ecx, dword [0x1005fc8c]
mov dword [esp + 0x78], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
imul eax, ecx
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
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 cl, byte [esp + 0x6e]
mov al, byte [esp + 0x6d]
xor al, cl
mov byte [esp + 0x6c], al
mov cl, byte [esp + 0x6c]
mov al, byte [esp + 0x6f]
or al, cl
mov byte [esp + 0x6b], al
mov al, byte [esp + 0x6b]
test al, 1
jne 0x1003c5ce
jmp 0x1003c87d
mov eax, dword [0x1005fc90]
mov dword [esp + 0x5c], eax
mov ecx, dword [0x1005fc8c]
mov dword [esp + 0x60], ecx
add eax, 0x6fae8e5a
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
sub ecx, 1
sub ecx, 0x6fae8e5a
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x5b], al
mov al, byte [esp + 0x5b]
mov ecx, dword [esp + 0x60]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x55], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x56], dl
xor cl, 0xff
mov byte [esp + 0x57], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x58], cl
and dl, 0xff
mov byte [esp + 0x59], dl
and al, cl
mov byte [esp + 0x5a], al
mov ah, byte [esp + 0x5a]
mov dl, byte [esp + 0x59]
mov ch, byte [esp + 0x58]
mov cl, byte [esp + 0x55]
mov al, byte [esp + 0x57]
and al, 0xff
and cl, ch
or dl, ah
mov byte [esp + 0x53], dl
or al, cl
mov byte [esp + 0x54], al
mov al, byte [esp + 0x58]
mov dl, byte [esp + 0x57]
mov cl, byte [esp + 0x56]
mov ch, byte [esp + 0x54]
mov ah, byte [esp + 0x53]
xor ah, ch
mov byte [esp + 0x50], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x51], cl
or al, 1
mov byte [esp + 0x52], al
mov al, byte [esp + 0x50]
mov dl, byte [esp + 0x52]
mov cl, byte [esp + 0x51]
and cl, dl
or al, cl
test al, 1
jne 0x1003c6ad
jmp 0x1003c8ad
mov eax, dword [0x1005fc90]
mov dword [esp + 0x48], eax
mov eax, dword [0x1005fc8c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
sub eax, 0x226b4811
sub eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
add eax, 0x226b4811
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x3e], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x3f], al
mov dl, byte [esp + 0x3f]
mov cl, byte [esp + 0x3e]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x3d], al
mov al, byte [esp + 0x3d]
test al, 1
jne 0x1003c727
jmp 0x1003c8ad
add esp, 0x160
pop esi
pop ebx
ret
mov eax, dword [0x1005fc90]
mov ecx, dword [0x1005fc8c]
mov dword [esp + 0x34], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp eax, 0
sete al
mov byte [esp + 0x2e], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x2f], cl
xor al, 0xff
mov byte [esp + 0x30], al
xor cl, 0xff
mov byte [esp + 0x31], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x32], cl
and al, 0xff
mov byte [esp + 0x33], al
mov dl, byte [esp + 0x33]
mov ch, byte [esp + 0x32]
mov cl, byte [esp + 0x2f]
mov al, byte [esp + 0x31]
mov ah, byte [esp + 0x2e]
and ah, ch
and al, 0xff
and cl, ch
or dl, ah
mov byte [esp + 0x2c], dl
or al, cl
mov byte [esp + 0x2d], al
mov cl, byte [esp + 0x31]
mov al, byte [esp + 0x30]
mov ah, byte [esp + 0x2d]
mov dl, byte [esp + 0x2c]
xor dl, ah
mov byte [esp + 0x2a], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x2b], al
mov al, byte [esp + 0x32]
or al, 1
mov byte [esp + 0x29], al
mov al, byte [esp + 0x2a]
mov dl, byte [esp + 0x29]
mov cl, byte [esp + 0x2b]
and cl, dl
or al, cl
test al, 1
jne 0x1003c7f5
jmp 0x1003c8b2
mov eax, dword [0x1005e350]
add eax, 0x4fea1346
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [eax], 1
mov eax, dword [0x1005fc90]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [0x1005fc8c]
mov dword [esp + 0x18], ecx
add eax, 0x3c2564f0
sub eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
sub eax, 0x3c2564f0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
imul ecx, edx
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 + 0x13], al
mov al, byte [esp + 0x13]
test al, 1
jne 0x1003c878
jmp 0x1003c8b2
jmp 0x1003c014
jmp 0x1003c33b
mov eax, dword [0x1005e350]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0x4fea1346
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
jmp 0x1003bd42
jmp 0x1003c1d3
jmp 0x1003c427
jmp 0x1003c6ad
mov eax, dword [0x1005e350]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x4fea1346
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1003c7f5