Function at 0x10049090
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, 0xa8
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0xa0], ecx
add eax, 0x13
mov dword [esp + 0xa4], eax
mov eax, dword [0x1005f3a8]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
add eax, 0x766dfab1
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x94]
mov eax, dword [eax]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x90]
cmp eax, 1
sete al
mov byte [esp + 0x8f], al
mov cl, byte [esp + 0x8f]
xor eax, eax
test cl, 1
mov dword [esp + 0x88], eax
jne 0x100491c0
jmp 0x10049120
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x80], eax
mov dl, byte [edx + eax]
mov byte [esp + 0x87], dl
mov edi, 0x13
xor edx, edx
div edi
mov eax, dword [esp + 0x80]
mov edi, edx
mov dh, byte [esp + 0x87]
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
xor ecx, ecx
sub ecx, eax
xor eax, eax
sub eax, 1
add ecx, eax
xor eax, eax
sub eax, ecx
cmp eax, 0xa
mov dword [esp + 0x88], eax
jne 0x10049120
mov eax, dword [0x1005f3a8]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x7c]
add eax, 0x766dfab1
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
mov dword [eax], 1
jmp 0x100491c0
mov eax, dword [0x10060be0]
mov dword [esp + 0x70], eax
mov eax, dword [0x10060bdc]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
imul eax, edx
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl al
mov ch, ah
xor ch, 0xff
mov byte [esp + 0x65], ch
mov dl, al
xor dl, 0xff
mov byte [esp + 0x66], dl
mov cl, 1
xor cl, 1
mov byte [esp + 0x67], cl
and ch, 0xff
mov byte [esp + 0x68], ch
and ah, cl
mov byte [esp + 0x69], ah
and dl, 0xff
mov byte [esp + 0x6a], dl
and al, cl
mov byte [esp + 0x6b], al
mov cl, byte [esp + 0x69]
mov al, byte [esp + 0x68]
or al, cl
mov byte [esp + 0x64], al
mov al, byte [esp + 0x64]
mov dl, byte [esp + 0x6b]
mov cl, byte [esp + 0x6a]
or cl, dl
xor al, cl
mov byte [esp + 0x63], al
mov al, byte [esp + 0x63]
mov dl, byte [esp + 0x67]
mov ah, byte [esp + 0x66]
mov cl, byte [esp + 0x65]
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1004927f
jmp 0x10049604
mov eax, dword [0x10060be0]
mov ecx, dword [0x10060bdc]
mov dword [esp + 0x5c], ecx
mov ecx, eax
sub ecx, 0xe67097ce
sub ecx, 1
add ecx, 0xe67097ce
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x62], al
mov cl, byte [esp + 0x62]
mov eax, dword [esp + 0x5c]
cmp eax, 0xa
setl al
mov byte [esp + 0x58], al
xor cl, 0xff
mov byte [esp + 0x59], cl
xor al, 0xff
mov byte [esp + 0x5a], al
mov al, 1
xor al, 1
mov byte [esp + 0x5b], al
mov al, byte [esp + 0x59]
and al, 0xff
mov byte [esp + 0x57], al
mov cl, byte [esp + 0x5a]
mov al, byte [esp + 0x59]
mov dl, byte [esp + 0x57]
mov bl, byte [esp + 0x5b]
mov ch, byte [esp + 0x58]
mov dh, byte [esp + 0x62]
and dh, bl
mov ah, cl
and ah, 0xff
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x55], dl
or al, cl
mov byte [esp + 0x56], al
mov al, byte [esp + 0x55]
mov dl, byte [esp + 0x5b]
mov cl, byte [esp + 0x56]
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0x54], al
mov al, byte [esp + 0x54]
test al, 1
jne 0x1004933c
jmp 0x10049604
mov eax, dword [0x10060be0]
mov ecx, dword [0x10060bdc]
mov dword [esp + 0x4c], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
cmp ecx, 0
sete cl
mov byte [esp + 0x48], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x49], al
xor cl, 0xff
mov byte [esp + 0x4a], cl
xor al, 0xff
mov byte [esp + 0x4b], al
mov al, byte [esp + 0x4a]
mov cl, 1
xor cl, 1
mov byte [esp + 0x46], cl
and al, 0xff
mov byte [esp + 0x47], al
mov al, byte [esp + 0x4b]
mov dl, byte [esp + 0x46]
mov cl, byte [esp + 0x48]
and cl, dl
mov byte [esp + 0x44], cl
and al, 0xff
mov byte [esp + 0x45], al
mov cl, byte [esp + 0x45]
mov ah, byte [esp + 0x44]
mov al, byte [esp + 0x47]
mov ch, byte [esp + 0x46]
mov dl, byte [esp + 0x49]
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x43], al
mov al, byte [esp + 0x43]
mov dl, byte [esp + 0x46]
mov ah, byte [esp + 0x4b]
mov cl, byte [esp + 0x4a]
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x100493fb
jmp 0x100495fa
mov eax, dword [0x10060be0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x10060bdc]
mov dword [esp + 0x34], ecx
sub eax, 0x69f34d41
sub eax, 1
add eax, 0x69f34d41
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
imul eax, ecx
and eax, 1
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x2a], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x2b], dl
xor cl, 0xff
mov byte [esp + 0x2c], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x2d], cl
and dl, 0xff
mov byte [esp + 0x2e], dl
and al, cl
mov byte [esp + 0x2f], al
mov ah, byte [esp + 0x2f]
mov dl, byte [esp + 0x2e]
mov ch, byte [esp + 0x2d]
mov cl, byte [esp + 0x2a]
mov al, byte [esp + 0x2c]
and al, 0xff
and cl, ch
or dl, ah
mov byte [esp + 0x28], dl
or al, cl
mov byte [esp + 0x29], al
mov dl, byte [esp + 0x2d]
mov ah, byte [esp + 0x2c]
mov cl, byte [esp + 0x2b]
mov ch, byte [esp + 0x29]
mov al, byte [esp + 0x28]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x100494c6
jmp 0x100495ff
mov eax, dword [0x10060be0]
mov dword [esp + 0x1c], eax
mov ecx, dword [0x10060bdc]
mov dword [esp + 0x20], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x1b], al
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x20]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x19], cl
xor al, 0xff
mov byte [esp + 0x1a], al
mov al, byte [esp + 0x1a]
mov ch, byte [esp + 0x19]
mov dh, byte [esp + 0x1b]
mov cl, ch
xor cl, 0xff
mov bl, 1
xor bl, 1
mov byte [esp + 0x16], bl
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 + 0x17], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x18], al
mov al, byte [esp + 0x17]
mov cl, byte [esp + 0x18]
mov dl, byte [esp + 0x16]
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0x15], al
mov al, byte [esp + 0x15]
test al, 1
jne 0x10049576
jmp 0x100495ff
mov eax, dword [0x10060be0]
mov dword [esp + 0xc], eax
mov eax, dword [0x10060bdc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 8], eax
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
imul eax, ecx
and eax, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
cmp ecx, 0
sete cl
mov byte [esp + 2], cl
cmp eax, 0xa
setl al
mov byte [esp + 3], al
mov cl, byte [esp + 3]
mov al, byte [esp + 2]
mov dl, al
and dl, cl
mov byte [esp], dl
xor al, cl
mov byte [esp + 1], al
mov cl, byte [esp + 1]
mov al, byte [esp]
or al, cl
test al, 1
jne 0x100495f0
jmp 0x100495fa
add esp, 0xa8
pop esi
pop edi
pop ebx
ret
jmp 0x100493fb
jmp 0x100494c6
jmp 0x1004927f