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

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 [0x10060d00]
mov dword [esp + 0x110], eax
mov eax, dword [0x10060cfc]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x110]
sub eax, 0xf63d027f
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
sub eax, 1
add eax, 0xf63d027f
mov dword [esp + 0xfc], eax
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0xfc]
mov eax, dword [esp + 0x110]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xf9], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xfa], cl
and al, cl
mov byte [esp + 0xfb], al
mov al, byte [esp + 0xfb]
mov dl, byte [esp + 0xfa]
mov cl, byte [esp + 0xf9]
xor cl, dl
or al, cl
test al, 1
jne 0x10037b89
jmp 0x10038091
mov eax, dword [0x10060d00]
mov dword [esp + 0xec], eax
mov ecx, dword [0x10060cfc]
mov dword [esp + 0xf0], ecx
sub eax, 0x1a8ad980
sub eax, 1
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xf4]
add ecx, 0x1a8ad980
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xeb], al
mov cl, byte [esp + 0xeb]
mov eax, dword [esp + 0xf0]
cmp eax, 0xa
setl al
mov byte [esp + 0xe7], al
xor cl, 0xff
mov byte [esp + 0xe8], cl
xor al, 0xff
mov byte [esp + 0xe9], al
mov al, 1
xor al, 1
mov byte [esp + 0xea], al
mov ch, byte [esp + 0xea]
mov cl, byte [esp + 0xe7]
mov al, byte [esp + 0xe9]
mov ah, byte [esp + 0xeb]
mov dl, byte [esp + 0xe8]
and dl, 0xff
and ah, ch
and al, 0xff
and cl, ch
or dl, ah
mov byte [esp + 0xe5], dl
or al, cl
mov byte [esp + 0xe6], al
mov dl, byte [esp + 0xea]
mov ah, byte [esp + 0xe9]
mov cl, byte [esp + 0xe8]
mov ch, byte [esp + 0xe6]
mov al, byte [esp + 0xe5]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0xe4], al
mov al, byte [esp + 0xe4]
test al, 1
jne 0x10037c9b
jmp 0x10038399
mov eax, dword [esp + 0x108]
add eax, 0x12
mov dword [esp + 0xdc], eax
mov eax, dword [0x1005f30c]
add eax, 0xd6d77023
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xe0]
cmp dword [eax], 1
sete al
mov byte [esp + 0xd7], al
mov eax, dword [0x10060d00]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xd8]
mov ecx, dword [0x10060cfc]
mov dword [esp + 0xcc], ecx
sub eax, 0xf7acf42c
mov dword [esp + 0xd0], eax
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0xd8]
mov edx, dword [esp + 0xd0]
sub edx, 1
add edx, 0xf7acf42c
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 + 0xca], dl
xor al, cl
mov byte [esp + 0xcb], al
mov cl, byte [esp + 0xcb]
mov al, byte [esp + 0xca]
or al, cl
mov byte [esp + 0xc9], al
mov al, byte [esp + 0xc9]
test al, 1
jne 0x10037d6c
jmp 0x10038399
mov eax, dword [0x10060d00]
mov dword [esp + 0xc0], eax
mov eax, dword [0x10060cfc]
mov dword [esp + 0xc4], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xb8]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xb6], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xb7], al
mov cl, byte [esp + 0xb7]
mov al, byte [esp + 0xb6]
mov dl, al
and dl, cl
mov byte [esp + 0xb4], dl
xor al, cl
mov byte [esp + 0xb5], al
mov cl, byte [esp + 0xb5]
mov al, byte [esp + 0xb4]
or al, cl
test al, 1
jne 0x10037e16
jmp 0x10038091
mov cl, byte [esp + 0xd7]
xor eax, eax
test cl, 1
mov dword [esp + 0xb0], eax
jne 0x10038088
jmp 0x10037e34
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xac], eax
mov bh, byte [edx + eax]
mov esi, 0x12
xor edx, edx
div esi
mov eax, dword [esp + 0xac]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0xa6
mov cl, 0xff
xor cl, 0xa6
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0xa6
and bl, cl
mov ecx, dword [esp + 0x10c]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
sub eax, 0x3f133283
add eax, 1
add eax, 0x3f133283
cmp eax, 0xb
mov dword [esp + 0xb0], eax
jne 0x10037e34
mov eax, dword [0x10060d00]
mov dword [esp + 0xa8], eax
mov eax, dword [0x10060cfc]
mov dword [esp + 0xa0], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa8]
add eax, ecx
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0xa8]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x9b], al
mov al, byte [esp + 0x9b]
mov ecx, dword [esp + 0xa0]
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x99], dl
xor al, cl
mov byte [esp + 0x9a], al
mov cl, byte [esp + 0x9a]
mov al, byte [esp + 0x99]
or al, cl
test al, 1
jne 0x10037f4d
jmp 0x100383b2
mov eax, dword [0x1005f30c]
mov dword [eax - 0x29288fdd], 1
mov eax, dword [0x10060d00]
mov dword [esp + 0x90], eax
mov eax, dword [0x10060cfc]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x90]
mov ecx, eax
sub ecx, 0xc23df356
sub ecx, 1
add ecx, 0xc23df356
imul eax, ecx
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x8c]
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x86], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x87], dl
xor cl, 0xff
mov byte [esp + 0x88], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x89], cl
and dl, 0
mov byte [esp + 0x8a], dl
and al, cl
mov byte [esp + 0x8b], al
mov cl, byte [esp + 0x8b]
mov al, byte [esp + 0x8a]
mov ah, byte [esp + 0x89]
mov dl, byte [esp + 0x86]
mov ch, byte [esp + 0x88]
and ch, 0
mov byte [esp + 0x83], ch
and dl, ah
mov byte [esp + 0x84], dl
or al, cl
mov byte [esp + 0x85], al
mov cl, byte [esp + 0x84]
mov al, byte [esp + 0x83]
or al, cl
mov byte [esp + 0x82], al
mov dl, byte [esp + 0x89]
mov ah, byte [esp + 0x88]
mov cl, byte [esp + 0x87]
mov ch, byte [esp + 0x82]
mov al, byte [esp + 0x85]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x10038083
jmp 0x100383b2
jmp 0x10038088
add esp, 0x114
pop esi
pop ebx
ret
mov eax, dword [0x10060d00]
mov dword [esp + 0x74], eax
mov ecx, dword [0x10060cfc]
mov dword [esp + 0x78], ecx
sub eax, 0x4a16c5d
sub eax, 1
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
add edx, 0x4a16c5d
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x72], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x73], al
mov cl, byte [esp + 0x73]
mov al, byte [esp + 0x72]
mov dl, al
and dl, cl
mov byte [esp + 0x70], dl
xor al, cl
mov byte [esp + 0x71], al
mov cl, byte [esp + 0x71]
mov al, byte [esp + 0x70]
or al, cl
mov byte [esp + 0x6f], al
mov al, byte [esp + 0x6f]
test al, 1
jne 0x10038111
jmp 0x100382ad
mov eax, dword [0x10060d00]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [0x10060cfc]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x66], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x67], al
mov dl, byte [esp + 0x67]
mov cl, byte [esp + 0x66]
mov al, cl
xor al, 0xff
mov byte [esp + 0x60], al
mov ch, dl
xor ch, 0xff
mov byte [esp + 0x61], ch
mov ah, 1
xor ah, 0
mov byte [esp + 0x62], ah
and al, 0
and cl, ah
and ch, 0
mov byte [esp + 0x63], ch
and dl, ah
mov byte [esp + 0x64], dl
or al, cl
mov byte [esp + 0x65], al
mov cl, byte [esp + 0x61]
mov al, byte [esp + 0x60]
mov dl, byte [esp + 0x65]
mov ch, byte [esp + 0x64]
mov ah, byte [esp + 0x63]
or ah, ch
xor dl, ah
mov byte [esp + 0x5e], dl
or al, cl
mov byte [esp + 0x5f], al
mov al, byte [esp + 0x5f]
xor al, 0xff
mov byte [esp + 0x5d], al
mov al, byte [esp + 0x5e]
mov cl, byte [esp + 0x5d]
mov dl, byte [esp + 0x62]
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x100381cb
jmp 0x100383d7
mov eax, dword [0x10060d00]
mov ecx, dword [0x10060cfc]
mov dword [esp + 0x54], ecx
mov ecx, eax
sub ecx, 0x71c943c1
sub ecx, 1
add ecx, 0x71c943c1
imul eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x53], al
mov al, byte [esp + 0x53]
mov ecx, dword [esp + 0x54]
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x51], dl
xor al, cl
mov byte [esp + 0x52], al
mov cl, byte [esp + 0x52]
mov al, byte [esp + 0x51]
or al, cl
mov byte [esp + 0x50], al
mov al, byte [esp + 0x50]
test al, 1
jne 0x1003823e
jmp 0x100383d7
mov eax, dword [0x10060d00]
mov dword [esp + 0x4c], eax
mov eax, dword [0x10060cfc]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
sub eax, 0x2ec64c5b
sub eax, 1
add eax, 0x2ec64c5b
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
imul eax, ecx
and eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
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 + 0x3f], al
mov al, byte [esp + 0x3f]
test al, 1
jne 0x100382a8
jmp 0x100382ad
jmp 0x10037b89
mov eax, dword [0x10060d00]
mov dword [esp + 0x34], eax
mov eax, dword [0x10060cfc]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
sub eax, 0xb67c492c
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
sub eax, 1
add eax, 0xb67c492c
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x2b], al
mov al, byte [esp + 0x2b]
mov ecx, dword [esp + 0x38]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x29], cl
and al, cl
mov byte [esp + 0x2a], al
mov al, byte [esp + 0x2a]
mov dl, byte [esp + 0x29]
mov cl, byte [esp + 0x2b]
xor cl, dl
or al, cl
test al, 1
jne 0x10038329
jmp 0x100383ee
mov eax, dword [0x1005f30c]
add eax, 0xd6d77023
mov eax, dword [0x10060d00]
mov dword [esp + 0x1c], eax
mov ecx, dword [0x10060cfc]
mov dword [esp + 0x20], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
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 + 0x1a], dl
xor al, cl
mov byte [esp + 0x1b], al
mov cl, byte [esp + 0x1b]
mov al, byte [esp + 0x1a]
or al, cl
test al, 1
jne 0x10038394
jmp 0x100383ee
jmp 0x10038111
mov eax, dword [0x1005f30c]
add eax, 0xd6d77023
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
jmp 0x10037c9b
mov eax, dword [0x1005f30c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add eax, 0xd6d77023
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [eax], 1
jmp 0x10037f4d
mov eax, dword [0x1005f30c]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add eax, 0xd6d77023
jmp 0x100381cb
mov eax, dword [0x1005f30c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xd6d77023
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x10038329