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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x50], ecx
add eax, 0x1c
mov dword [esp + 0x54], eax
mov eax, dword [0x1005e388]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
add eax, 0xf27f3fab
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
cmp eax, 1
sete al
mov byte [esp + 0x3f], al
mov cl, byte [esp + 0x3f]
xor eax, eax
test cl, 1
mov dword [esp + 0x38], eax
jne 0x100449ec
jmp 0x10044833
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x30], eax
mov dl, byte [edx + eax]
mov byte [esp + 0x37], dl
mov edi, 0x1c
xor edx, edx
div edi
mov eax, dword [esp + 0x30]
mov edi, edx
mov dh, byte [esp + 0x37]
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, 0x347291f4
add eax, 1
sub eax, 0x347291f4
cmp eax, 6
mov dword [esp + 0x38], eax
jne 0x10044833
mov eax, dword [0x1005fc20]
mov dword [esp + 0x28], eax
mov eax, dword [0x1005fc1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
sub eax, 0x69fcdabf
sub eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add ecx, 0x69fcdabf
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x2c]
cmp eax, 0xa
setl al
mov byte [esp + 0x22], al
mov cl, byte [esp + 0x22]
mov al, byte [esp + 0x23]
mov dl, al
and dl, cl
mov byte [esp + 0x20], dl
xor al, cl
mov byte [esp + 0x21], al
mov cl, byte [esp + 0x21]
mov al, byte [esp + 0x20]
or al, cl
test al, 1
jne 0x1004490c
jmp 0x100449f3
mov eax, dword [0x1005e388]
mov dword [eax - 0xd80c055], 1
mov eax, dword [0x1005fc20]
mov dword [esp + 0x18], eax
mov eax, dword [0x1005fc1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x12], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x13], al
mov al, byte [esp + 0x13]
mov ah, byte [esp + 0x12]
mov ch, ah
xor ch, 0xff
mov byte [esp + 0xb], ch
mov dl, al
xor dl, 0xff
mov byte [esp + 0xc], dl
mov cl, 1
xor cl, 1
mov byte [esp + 0xd], cl
and ch, 0xff
mov byte [esp + 0xe], ch
and ah, cl
mov byte [esp + 0xf], ah
and dl, 0xff
mov byte [esp + 0x10], dl
and al, cl
mov byte [esp + 0x11], al
mov cl, byte [esp + 0xd]
mov dl, byte [esp + 0xc]
mov al, byte [esp + 0xb]
mov dh, byte [esp + 0x11]
mov ch, byte [esp + 0x10]
mov bl, byte [esp + 0xf]
mov ah, byte [esp + 0xe]
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 9], ah
or al, dl
xor al, 0xff
or cl, 1
and al, cl
mov byte [esp + 0xa], al
mov cl, byte [esp + 0xa]
mov al, byte [esp + 9]
or al, cl
test al, 1
jne 0x100449e7
jmp 0x100449f3
jmp 0x100449ec
add esp, 0x58
pop esi
pop edi
pop ebx
ret
mov eax, dword [0x1005e388]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xf27f3fab
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1004490c