Function at 0x1004e4d0
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, 0xfc
mov eax, dword [esp + 0x110]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0xf4], eax
mov eax, dword [0x10066be0]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0xf8]
mov ecx, dword [0x10066bdc]
mov dword [esp + 0xe8], ecx
sub eax, 0xbf484c22
sub eax, 1
add eax, 0xbf484c22
mov dword [esp + 0xec], eax
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0xf8]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xe7], al
mov cl, byte [esp + 0xe7]
mov eax, dword [esp + 0xe8]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0xe6], al
mov al, byte [esp + 0xe6]
test al, 1
jne 0x1004e581
jmp 0x1004ebf3
mov eax, dword [0x10066be0]
mov dword [esp + 0xe0], eax
mov eax, dword [0x10066bdc]
mov dword [esp + 0xdc], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0xe0]
mov esi, dword [esp + 0xd8]
mov edx, eax
add edx, esi
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 + 0xd6], dl
xor al, cl
mov byte [esp + 0xd7], al
mov cl, byte [esp + 0xd7]
mov al, byte [esp + 0xd6]
or al, cl
mov byte [esp + 0xd5], al
mov al, byte [esp + 0xd5]
test al, 1
jne 0x1004e60f
jmp 0x1004ebf3
mov eax, dword [0x10066be0]
mov dword [esp + 0xc8], eax
mov ecx, dword [0x10066bdc]
mov dword [esp + 0xcc], ecx
add eax, 0x23d39da8
sub eax, 1
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xd0]
sub eax, 0x23d39da8
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc8]
imul eax, ecx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc0]
and eax, 1
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xbc]
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 + 0xbb], al
mov al, byte [esp + 0xbb]
test al, 1
jne 0x1004e6b0
jmp 0x1004eaf3
mov eax, dword [0x10066be0]
mov dword [esp + 0xac], eax
mov ecx, dword [0x10066bdc]
mov dword [esp + 0xb0], ecx
add eax, 0x7ed9b306
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xb4]
sub eax, 1
sub eax, 0x7ed9b306
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
imul eax, ecx
and eax, 1
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xa4]
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0xa2], dl
xor al, cl
mov byte [esp + 0xa3], al
mov cl, byte [esp + 0xa3]
mov al, byte [esp + 0xa2]
or al, cl
mov byte [esp + 0xa1], al
mov al, byte [esp + 0xa1]
test al, 1
jne 0x1004e75f
jmp 0x1004ebda
mov eax, dword [esp + 0xf0]
add eax, 0x14
mov dword [esp + 0x98], eax
mov eax, dword [0x100653a8]
mov eax, dword [eax + 0x3c35069]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x9c]
cmp eax, 1
sete al
mov byte [esp + 0x8f], al
mov eax, dword [0x10066be0]
mov dword [esp + 0x90], eax
mov eax, dword [0x10066bdc]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x90]
add eax, 0x4c0d13ed
sub eax, 1
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x88]
sub edx, 0x4c0d13ed
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x85], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x86], cl
and al, cl
mov byte [esp + 0x87], al
mov al, byte [esp + 0x87]
mov dl, byte [esp + 0x86]
mov cl, byte [esp + 0x85]
xor cl, dl
or al, cl
mov byte [esp + 0x84], al
mov al, byte [esp + 0x84]
test al, 1
jne 0x1004e83c
jmp 0x1004ebda
mov eax, dword [0x10066be0]
mov dword [esp + 0x7c], eax
mov eax, dword [0x10066bdc]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov edx, eax
add edx, 0x65cbd8c1
sub edx, 1
sub edx, 0x65cbd8c1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x76], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x77], cl
xor al, 0xff
mov byte [esp + 0x78], al
xor cl, 0xff
mov byte [esp + 0x79], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x7a], cl
and al, 0xff
mov byte [esp + 0x7b], al
mov al, byte [esp + 0x7b]
mov ch, byte [esp + 0x7a]
mov dl, byte [esp + 0x77]
mov cl, byte [esp + 0x79]
mov ah, byte [esp + 0x76]
and ah, ch
and cl, 0xff
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x75], al
mov cl, byte [esp + 0x79]
mov al, byte [esp + 0x78]
or al, cl
mov byte [esp + 0x74], al
mov al, byte [esp + 0x74]
xor al, 0xff
mov byte [esp + 0x73], al
mov al, byte [esp + 0x75]
mov cl, byte [esp + 0x73]
mov dl, byte [esp + 0x7a]
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1004e900
jmp 0x1004eaf3
mov eax, dword [0x10066be0]
mov dword [esp + 0x64], eax
mov ecx, dword [0x10066bdc]
mov dword [esp + 0x68], ecx
add eax, 0x9221abb5
sub eax, 1
sub eax, 0x9221abb5
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x5e], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x5f], dl
xor cl, 0xff
mov byte [esp + 0x60], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x61], cl
and dl, 0xff
mov byte [esp + 0x62], dl
and al, cl
mov byte [esp + 0x63], al
mov ah, byte [esp + 0x63]
mov al, byte [esp + 0x62]
mov ch, byte [esp + 0x61]
mov dl, byte [esp + 0x5e]
mov cl, byte [esp + 0x60]
and cl, 0xff
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x5d], al
mov al, byte [esp + 0x5d]
mov dl, byte [esp + 0x61]
mov ah, byte [esp + 0x60]
mov cl, byte [esp + 0x5f]
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0x5c], al
mov al, byte [esp + 0x5c]
test al, 1
jne 0x1004e9c0
jmp 0x1004ebf8
mov eax, dword [0x10066be0]
mov dword [esp + 0x50], eax
mov ecx, dword [0x10066bdc]
mov dword [esp + 0x54], ecx
add eax, 0x777ac697
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
sub eax, 1
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
sub ecx, 0x777ac697
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x4b], al
mov al, byte [esp + 0x4b]
mov ecx, dword [esp + 0x54]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x49], cl
and al, cl
mov byte [esp + 0x4a], al
mov al, byte [esp + 0x4a]
mov dl, byte [esp + 0x49]
mov cl, byte [esp + 0x4b]
xor cl, dl
or al, cl
mov byte [esp + 0x48], al
mov al, byte [esp + 0x48]
test al, 1
jne 0x1004ea42
jmp 0x1004ebf8
mov cl, byte [esp + 0x8f]
xor eax, eax
test cl, 1
mov dword [esp + 0x44], eax
jne 0x1004eae9
jmp 0x1004ea5d
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xf4]
mov esi, dword [esp + 0xf0]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x3c], eax
mov dl, byte [edx + eax]
mov byte [esp + 0x43], dl
mov edi, 0x14
xor edx, edx
div edi
mov eax, dword [esp + 0x3c]
mov edi, edx
mov dh, byte [esp + 0x43]
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
add eax, 0xdcee10f1
add eax, 1
sub eax, 0xdcee10f1
cmp eax, 0xa
mov dword [esp + 0x44], eax
jne 0x1004ea5d
mov eax, dword [0x100653a8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
add eax, 0x3c35069
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov dword [eax], 1
jmp 0x1004eae9
add esp, 0xfc
pop esi
pop edi
pop ebx
ret
mov eax, dword [0x10066be0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [0x10066bdc]
mov dword [esp + 0x28], ecx
sub eax, 0x174f5332
sub eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
add eax, 0x174f5332
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
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 + 0x23], al
mov al, byte [esp + 0x23]
test al, 1
jne 0x1004eb5e
jmp 0x1004ebfd
mov eax, dword [0x100653a8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add eax, 0x3c35069
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov eax, dword [0x10066be0]
mov ecx, dword [0x10066bdc]
mov dword [esp + 0x10], ecx
mov ecx, eax
sub ecx, 0xeccee6f2
sub ecx, 1
add ecx, 0xeccee6f2
imul eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
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 + 0xf], al
mov al, byte [esp + 0xf]
test al, 1
jne 0x1004ebd5
jmp 0x1004ebfd
jmp 0x1004e6b0
mov eax, dword [0x100653a8]
add eax, 0x3c35069
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
jmp 0x1004e75f
jmp 0x1004e581
jmp 0x1004e9c0
mov eax, dword [0x100653a8]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x3c35069
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x1004eb5e