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

Disassembly:
push ebx
push edi
push esi
sub esp, 0xd4
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xc8], eax
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0xcc], ecx
add eax, 0x18
mov dword [esp + 0xd0], eax
mov eax, dword [0x1006736c]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xc4]
add eax, 0x858eefd5
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc0]
mov eax, dword [eax]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xbc]
cmp eax, 1
sete al
mov byte [esp + 0xbb], al
mov cl, byte [esp + 0xbb]
xor eax, eax
test cl, 1
mov dword [esp + 0xb4], eax
jne 0x10049269
jmp 0x10048ff0
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xcc]
mov esi, dword [esp + 0xc8]
mov edx, dword [esp + 0xd0]
mov dword [esp + 0xac], eax
mov dl, byte [edx + eax]
mov byte [esp + 0xb3], dl
mov edi, 0x18
xor edx, edx
div edi
mov eax, dword [esp + 0xac]
mov edi, edx
mov dh, byte [esp + 0xb3]
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
sub eax, 0x8c20c06c
add eax, 1
add eax, 0x8c20c06c
cmp eax, 2
mov dword [esp + 0xb4], eax
jne 0x10048ff0
mov eax, dword [0x10068c48]
mov ecx, dword [0x10068c44]
mov dword [esp + 0xa4], 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 + 0xab], al
mov al, byte [esp + 0xab]
mov ecx, dword [esp + 0xa4]
cmp ecx, 0xa
setl cl
mov byte [esp + 0xa2], cl
xor al, 0xff
mov byte [esp + 0xa3], al
mov cl, byte [esp + 0xab]
mov ah, byte [esp + 0xa3]
mov al, byte [esp + 0xa2]
xor al, 0xff
mov byte [esp + 0x9d], al
mov dl, 1
xor dl, 0
mov byte [esp + 0x9e], dl
and ah, 0
mov byte [esp + 0x9f], ah
and cl, dl
mov byte [esp + 0xa0], cl
and al, 0
mov byte [esp + 0xa1], al
mov al, byte [esp + 0xa1]
mov ah, byte [esp + 0xa0]
mov dl, byte [esp + 0x9f]
mov ch, byte [esp + 0x9e]
mov cl, byte [esp + 0xa2]
and cl, ch
or dl, ah
mov byte [esp + 0x9b], dl
or al, cl
mov byte [esp + 0x9c], al
mov al, byte [esp + 0x9e]
mov dl, byte [esp + 0x9d]
mov cl, byte [esp + 0xa3]
mov ch, byte [esp + 0x9c]
mov ah, byte [esp + 0x9b]
xor ah, ch
mov byte [esp + 0x98], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x99], cl
or al, 0
mov byte [esp + 0x9a], al
mov al, byte [esp + 0x98]
mov dl, byte [esp + 0x9a]
mov cl, byte [esp + 0x99]
and cl, dl
or al, cl
test al, 1
jne 0x1004919f
jmp 0x1004962c
mov eax, dword [0x1006736c]
mov dword [eax - 0x7a71102b], 1
mov eax, dword [0x10068c48]
mov dword [esp + 0x90], eax
mov eax, dword [0x10068c44]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x90]
add eax, 0xb4809a93
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
sub edx, 1
sub edx, 0xb4809a93
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x8a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x8b], al
mov cl, byte [esp + 0x8b]
mov al, byte [esp + 0x8a]
mov dl, al
and dl, cl
mov byte [esp + 0x88], dl
xor al, cl
mov byte [esp + 0x89], al
mov cl, byte [esp + 0x89]
mov al, byte [esp + 0x88]
or al, cl
mov byte [esp + 0x87], al
mov al, byte [esp + 0x87]
test al, 1
jne 0x10049264
jmp 0x1004962c
jmp 0x10049269
mov eax, dword [0x10068c48]
mov dword [esp + 0x78], eax
mov eax, dword [0x10068c44]
mov dword [esp + 0x7c], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x80]
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 + 0x72], al
mov ch, dl
xor ch, 0xff
mov byte [esp + 0x73], ch
mov ah, 1
xor ah, 0
mov byte [esp + 0x74], ah
and al, 0
and cl, ah
and ch, 0
mov byte [esp + 0x75], ch
and dl, ah
mov byte [esp + 0x76], dl
or al, cl
mov byte [esp + 0x77], al
mov cl, byte [esp + 0x73]
mov al, byte [esp + 0x72]
mov dl, byte [esp + 0x77]
mov ch, byte [esp + 0x76]
mov ah, byte [esp + 0x75]
or ah, ch
xor dl, ah
mov byte [esp + 0x70], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x71], al
mov al, byte [esp + 0x74]
or al, 0
mov byte [esp + 0x6f], al
mov cl, byte [esp + 0x6f]
mov al, byte [esp + 0x71]
and al, cl
mov byte [esp + 0x6e], al
mov cl, byte [esp + 0x6e]
mov al, byte [esp + 0x70]
or al, cl
test al, 1
jne 0x10049330
jmp 0x10049654
mov eax, dword [0x10068c48]
mov dword [esp + 0x60], eax
mov ecx, dword [0x10068c44]
mov dword [esp + 0x64], ecx
add eax, 0x355bbfa7
sub eax, 1
sub eax, 0x355bbfa7
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
imul eax, ecx
and eax, 1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
cmp eax, 0
sete al
mov byte [esp + 0x5b], al
mov al, byte [esp + 0x5b]
mov ecx, dword [esp + 0x64]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x59], cl
and al, cl
mov byte [esp + 0x5a], al
mov cl, byte [esp + 0x59]
mov al, byte [esp + 0x5b]
xor al, cl
mov byte [esp + 0x58], al
mov cl, byte [esp + 0x58]
mov al, byte [esp + 0x5a]
or al, cl
test al, 1
jne 0x100493b1
jmp 0x10049654
mov eax, dword [0x10068c48]
mov dword [esp + 0x50], eax
mov eax, dword [0x10068c44]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
add eax, 0x4acc2034
sub eax, 1
sub eax, 0x4acc2034
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
imul eax, ecx
and eax, 1
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x46], dl
xor al, cl
mov byte [esp + 0x47], al
mov cl, byte [esp + 0x47]
mov al, byte [esp + 0x46]
or al, cl
mov byte [esp + 0x45], al
mov al, byte [esp + 0x45]
test al, 1
jne 0x1004942b
jmp 0x1004964f
mov eax, dword [0x10068c48]
mov dword [esp + 0x38], eax
mov ecx, dword [0x10068c44]
mov dword [esp + 0x3c], ecx
sub eax, 0x9913b51a
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
sub ecx, 1
add ecx, 0x9913b51a
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x3c]
cmp eax, 0xa
setl al
mov byte [esp + 0x36], al
mov cl, byte [esp + 0x36]
mov al, byte [esp + 0x37]
and al, cl
mov byte [esp + 0x35], al
mov al, byte [esp + 0x35]
mov dl, byte [esp + 0x36]
mov cl, byte [esp + 0x37]
xor cl, dl
or al, cl
mov byte [esp + 0x34], al
mov al, byte [esp + 0x34]
test al, 1
jne 0x100494a9
jmp 0x10049659
mov eax, dword [0x10068c48]
mov dword [esp + 0x30], eax
mov eax, dword [0x10068c44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
sub eax, 0xe119bf17
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sub edx, 1
add edx, 0xe119bf17
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x26], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x27], al
mov dl, byte [esp + 0x27]
mov cl, byte [esp + 0x26]
mov al, cl
xor al, 0xff
mov byte [esp + 0x20], al
mov ch, dl
xor ch, 0xff
mov byte [esp + 0x21], ch
mov ah, 1
xor ah, 0
mov byte [esp + 0x22], ah
and al, 0
and cl, ah
and ch, 0
mov byte [esp + 0x23], ch
and dl, ah
mov byte [esp + 0x24], dl
or al, cl
mov byte [esp + 0x25], al
mov dl, byte [esp + 0x22]
mov ah, byte [esp + 0x21]
mov cl, byte [esp + 0x20]
mov al, byte [esp + 0x25]
mov dh, byte [esp + 0x24]
mov ch, byte [esp + 0x23]
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 0x10049565
jmp 0x10049659
mov eax, dword [0x10068c48]
mov dword [esp + 0x14], eax
mov eax, dword [0x10068c44]
mov dword [esp + 0x18], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xf], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x10], al
xor cl, 0xff
mov byte [esp + 0x11], cl
xor al, 0xff
mov byte [esp + 0x12], al
mov al, 1
xor al, 1
mov byte [esp + 0x13], al
mov cl, byte [esp + 0x12]
mov al, byte [esp + 0x11]
mov bl, byte [esp + 0x13]
mov ch, byte [esp + 0x10]
mov dh, byte [esp + 0xf]
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 + 0xd], dl
or al, cl
xor al, 0xff
mov byte [esp + 0xe], al
mov al, byte [esp + 0x13]
or al, 1
mov byte [esp + 0xc], al
mov cl, byte [esp + 0xc]
mov al, byte [esp + 0xe]
and al, cl
mov byte [esp + 0xb], al
mov cl, byte [esp + 0xb]
mov al, byte [esp + 0xd]
or al, cl
test al, 1
jne 0x10049622
jmp 0x1004964f
add esp, 0xd4
pop esi
pop edi
pop ebx
ret
mov eax, dword [0x1006736c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x858eefd5
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1004919f
jmp 0x1004942b
jmp 0x10049330
jmp 0x100494a9