Function at 0x100484c0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
sub esp, 0x80
mov eax, dword [esp + 0x90]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x78], ecx
add eax, 0x1b
mov dword [esp + 0x7c], eax
mov eax, dword [0x1005e3a4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
add eax, 0x46b7aa90
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
cmp eax, 1
sete al
mov byte [esp + 0x67], al
mov cl, byte [esp + 0x67]
xor eax, eax
test cl, 1
mov dword [esp + 0x60], eax
jne 0x1004868d
jmp 0x1004852b
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x5c], eax
mov bh, byte [edx + eax]
mov esi, 0x1b
xor edx, edx
div esi
mov eax, dword [esp + 0x5c]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0xc9
mov cl, 0xff
xor cl, 0xc9
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0xc9
and bl, cl
mov ecx, dword [esp + 0x78]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
xor ecx, ecx
sub ecx, 1
sub eax, ecx
cmp eax, 0xb
mov dword [esp + 0x60], eax
jne 0x1004852b
mov eax, dword [0x1005fbe8]
mov dword [esp + 0x54], eax
mov eax, dword [0x1005fbe4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
add eax, 0xe5e6d09f
sub eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
sub eax, 0xe5e6d09f
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
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 + 0x4b], al
mov al, byte [esp + 0x4b]
test al, 1
jne 0x100485f2
jmp 0x10048696
mov eax, dword [0x1005e3a4]
add eax, 0x46b7aa90
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
mov dword [eax], 1
mov eax, dword [0x1005fbe8]
mov dword [esp + 0x38], eax
mov ecx, dword [0x1005fbe4]
mov dword [esp + 0x3c], ecx
sub eax, 0x25b23c21
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
sub edx, 1
add edx, 0x25b23c21
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x35], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x36], cl
and al, cl
mov byte [esp + 0x37], al
mov cl, byte [esp + 0x36]
mov al, byte [esp + 0x35]
xor al, cl
mov byte [esp + 0x34], al
mov cl, byte [esp + 0x34]
mov al, byte [esp + 0x37]
or al, cl
mov byte [esp + 0x33], al
mov al, byte [esp + 0x33]
test al, 1
jne 0x10048688
jmp 0x10048696
jmp 0x1004868d
add esp, 0x80
pop esi
pop ebx
ret
mov eax, dword [0x1005fbe8]
mov dword [esp + 0x24], eax
mov ecx, dword [0x1005fbe4]
mov dword [esp + 0x28], ecx
add eax, 0xa97746bb
sub eax, 1
sub eax, 0xa97746bb
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
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, 1
mov byte [esp + 0x22], cl
and al, 0xff
mov byte [esp + 0x23], al
mov al, byte [esp + 0x21]
mov dl, byte [esp + 0x22]
mov cl, byte [esp + 0x1e]
and cl, dl
mov byte [esp + 0x1c], cl
and al, 0xff
mov byte [esp + 0x1d], al
mov cl, byte [esp + 0x1c]
mov al, byte [esp + 0x23]
mov ah, byte [esp + 0x22]
mov dl, byte [esp + 0x1f]
and dl, ah
mov byte [esp + 0x1a], dl
or al, cl
mov byte [esp + 0x1b], al
mov cl, byte [esp + 0x21]
mov al, byte [esp + 0x20]
mov dl, byte [esp + 0x1b]
mov ch, byte [esp + 0x1a]
mov ah, byte [esp + 0x1d]
or ah, ch
xor dl, ah
mov byte [esp + 0x18], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x19], al
mov al, byte [esp + 0x18]
mov cl, byte [esp + 0x19]
mov dl, byte [esp + 0x22]
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x10048774
jmp 0x1004885f
mov eax, dword [0x1005e3a4]
mov dword [eax + 0x46b7aa90], 1
mov ecx, dword [0x1005fbe8]
mov eax, dword [0x1005fbe4]
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 + 0x16], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x17], al
mov al, byte [esp + 0x16]
mov cl, byte [esp + 0x17]
mov dl, al
xor dl, 0xff
mov byte [esp + 0x11], dl
xor cl, 0xff
mov byte [esp + 0x12], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x13], cl
and dl, 0xff
mov byte [esp + 0x14], dl
and al, cl
mov byte [esp + 0x15], al
mov cl, byte [esp + 0x15]
mov al, byte [esp + 0x14]
mov ah, byte [esp + 0x13]
mov dl, byte [esp + 0x17]
mov ch, byte [esp + 0x12]
and ch, 0xff
mov byte [esp + 0xe], ch
and dl, ah
mov byte [esp + 0xf], dl
or al, cl
mov byte [esp + 0x10], al
mov al, byte [esp + 0x13]
mov dl, byte [esp + 0x12]
mov cl, byte [esp + 0x11]
mov ah, byte [esp + 0x10]
mov dh, byte [esp + 0xf]
mov ch, byte [esp + 0xe]
or ch, dh
xor ah, ch
mov byte [esp + 0xb], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0xc], cl
or al, 1
mov byte [esp + 0xd], al
mov al, byte [esp + 0xb]
mov dl, byte [esp + 0xd]
mov cl, byte [esp + 0xc]
and cl, dl
or al, cl
mov byte [esp + 0xa], al
mov al, byte [esp + 0xa]
test al, 1
jne 0x1004885a
jmp 0x1004885f
jmp 0x100485f2
mov eax, dword [0x1005e3a4]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x46b7aa90
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x10048774