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

Disassembly:
push ebx
push esi
sub esp, 0x64
mov eax, dword [esp + 0x74]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x5c], ecx
add eax, 0x1c
mov dword [esp + 0x60], eax
mov eax, dword [0x10062358]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
add eax, 0xd0da5b12
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
cmp eax, 1
sete al
mov byte [esp + 0x4b], al
mov cl, byte [esp + 0x4b]
xor eax, eax
test cl, 1
mov dword [esp + 0x44], eax
jne 0x100440ba
jmp 0x10043e92
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x40], eax
mov bh, byte [edx + eax]
mov esi, 0x1c
xor edx, edx
div esi
mov eax, dword [esp + 0x40]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x4c
mov cl, 0xff
xor cl, 0x4c
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0x4c
and bl, cl
mov ecx, dword [esp + 0x5c]
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, 0xa
mov dword [esp + 0x44], eax
jne 0x10043e92
mov eax, dword [0x10063c70]
mov dword [esp + 0x34], eax
mov ecx, dword [0x10063c6c]
mov dword [esp + 0x38], ecx
add eax, 0x7e23a446
sub eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
sub edx, 0x7e23a446
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x30], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x31], al
xor cl, 0xff
mov byte [esp + 0x32], cl
xor al, 0xff
mov byte [esp + 0x33], al
mov al, byte [esp + 0x31]
mov dl, byte [esp + 0x33]
mov ah, byte [esp + 0x30]
mov ch, byte [esp + 0x32]
mov cl, 1
xor cl, 1
mov byte [esp + 0x2b], cl
and ch, 0xff
mov byte [esp + 0x2c], ch
and ah, cl
mov byte [esp + 0x2d], ah
and dl, 0xff
mov byte [esp + 0x2e], dl
and al, cl
mov byte [esp + 0x2f], al
mov cl, byte [esp + 0x33]
mov al, byte [esp + 0x32]
mov ch, byte [esp + 0x2f]
mov ah, byte [esp + 0x2e]
mov dh, byte [esp + 0x2d]
mov dl, byte [esp + 0x2c]
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x29], dl
or al, cl
mov byte [esp + 0x2a], al
mov al, byte [esp + 0x2b]
mov cl, byte [esp + 0x2a]
xor cl, 0xff
mov byte [esp + 0x27], cl
or al, 1
mov byte [esp + 0x28], al
mov al, byte [esp + 0x29]
mov dl, byte [esp + 0x28]
mov cl, byte [esp + 0x27]
and cl, dl
or al, cl
test al, 1
jne 0x10043fd4
jmp 0x100440c0
mov eax, dword [0x10062358]
mov dword [eax - 0x2f25a4ee], 1
mov eax, dword [0x10063c70]
mov dword [esp + 0x18], eax
mov ecx, dword [0x10063c6c]
mov dword [esp + 0x1c], ecx
sub eax, 0x2ce16335
sub eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add ecx, 0x2ce16335
imul eax, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl al
mov ch, ah
xor ch, 0xff
mov byte [esp + 0xd], ch
mov dl, al
xor dl, 0xff
mov byte [esp + 0xe], dl
mov cl, 1
xor cl, 1
mov byte [esp + 0xf], cl
and ch, 0xff
mov byte [esp + 0x10], ch
and ah, cl
mov byte [esp + 0x11], ah
and dl, 0xff
mov byte [esp + 0x12], dl
and al, cl
mov byte [esp + 0x13], al
mov cl, byte [esp + 0xf]
mov dl, byte [esp + 0xe]
mov al, byte [esp + 0xd]
mov dh, byte [esp + 0x13]
mov ch, byte [esp + 0x12]
mov bl, byte [esp + 0x11]
mov ah, byte [esp + 0x10]
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0xb], ah
or al, dl
xor al, 0xff
or cl, 1
and al, cl
mov byte [esp + 0xc], al
mov cl, byte [esp + 0xc]
mov al, byte [esp + 0xb]
or al, cl
mov byte [esp + 0xa], al
mov al, byte [esp + 0xa]
test al, 1
jne 0x100440b5
jmp 0x100440c0
jmp 0x100440ba
add esp, 0x64
pop esi
pop ebx
ret
mov eax, dword [0x10062358]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xd0da5b12
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x10043fd4