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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
fld qword [ebp + 0x10]
mov eax, dword [0x4dccc0]
fstp qword [ebp - 0x60]
test eax, eax
je 0x43ddd0
sub esp, 0xc
lea ebx, [ebp - 0x20]
push ebx
call fcn.00427700
push 0xdd
push str.external_openssl_crypto_rand_md_rand.c
push 0x13
push 5
call fcn.00427850
add esp, 0x18
push ebx
push 0x4dd170
call fcn.004276a0
add esp, 0x10
test eax, eax
push 0xdf
sete al
and eax, 0xff
push str.external_openssl_crypto_rand_md_rand.c
mov dword [ebp - 0x54], eax
push 0x13
push 6
call fcn.00427850
mov eax, dword [ebp - 0x54]
add esp, 0x10
test eax, eax
je 0x43ddd0
mov eax, dword [0x4dcd10]
mov ebx, dword [0x4dccf0]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4dcd14]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4dd150]
mov dword [ebp - 0x34], eax
mov eax, dword [0x4dd154]
mov dword [ebp - 0x30], eax
mov eax, dword [0x4dd158]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [0x4dd15c]
add edx, ebx
mov dword [ebp - 0x28], eax
mov eax, dword [0x4dd160]
mov dword [ebp - 0x24], eax
mov dword [0x4dccf0], edx
cmp edx, 0x3fe
jle 0x43de8b
mov eax, 0x3ff
mov dword [0x4dcd00], 0x3ff
mov ecx, eax
mov eax, edx
sar edx, 0x1f
idiv ecx
mov dword [0x4dccf0], edx
mov eax, dword [ebp + 0xc]
mov edx, 0x66666667
imul edx
sar edx, 3
mov eax, dword [ebp + 0xc]
sar eax, 0x1f
sub edx, eax
mov eax, dword [0x4dcd14]
mov ecx, edx
lea edx, [edx + edx*4]
add ecx, eax
shl edx, 2
mov eax, dword [ebp + 0xc]
sub eax, edx
test eax, eax
setg al
and eax, 0xff
add ecx, eax
mov eax, dword [ebp - 0x54]
mov dword [0x4dcd14], ecx
test eax, eax
je 0x43dec9
sub esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0045ab80
mov eax, dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jle 0x43de0c
mov dword [ebp - 0x58], 0
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x58]
sub esi, edi
cmp esi, 0x14
jle 0x43dce6
mov esi, 0x14
call fcn.00451980
lea edi, [ebx + esi - 0x3ff]
push ecx
push 0
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0045ae80
add esp, 0xc
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x4c]
push 0x14
push ecx
push eax
call fcn.0045aa60
add esp, 0x10
test edi, edi
jle 0x43ddf2
mov eax, esi
lea ecx, [ebp - 0x4c]
sub eax, edi
push edx
push eax
lea eax, [ebx + 0x4dcd30]
push eax
push ecx
call fcn.0045aa60
add esp, 0xc
lea eax, [ebp - 0x4c]
push edi
push 0x4dcd30
push eax
call fcn.0045aa60
add esp, 0x10
push eax
mov eax, dword [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0045aa60
add esp, 0xc
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x4c]
push 8
push ecx
push eax
call fcn.0045aa60
add esp, 0xc
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x4c]
push 0
push ecx
push eax
call fcn.0045adc0
mov eax, dword [ebp - 0x14]
add esp, 0x10
inc eax
test esi, esi
mov dword [ebp - 0x14], eax
jle 0x43ddb2
xor edx, edx
lea esi, [esi]
mov al, byte [edx + ebp - 0x34]
xor byte [ebx + 0x4dcd30], al
inc ebx
cmp ebx, 0x3ff
setl al
and eax, 0xff
inc edx
neg eax
and ebx, eax
cmp edx, esi
jne 0x43dd90
mov eax, dword [ebp - 0x58]
add eax, 0x14
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
cmp dword [ebp + 0xc], ecx
jle 0x43de0c
mov eax, dword [ebp + 8]
add eax, esi
mov dword [ebp + 8], eax
jmp 0x43dcd4
push 0xe4
push str.external_openssl_crypto_rand_md_rand.c
push 0x12
push 9
call fcn.00427850
add esp, 0x10
mov dword [ebp - 0x54], 0
jmp 0x43dbfa
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebx + 0x4dcd30]
push esi
push eax
push ecx
call fcn.0045aa60
add esp, 0x10
jmp 0x43dd47
sub esp, 0xc
lea eax, [ebp - 0x4c]
push eax
call fcn.0045aa70
mov edi, dword [ebp - 0x54]
add esp, 0x10
test edi, edi
je 0x43deae
mov al, byte [ebp - 0x34]
mov edx, 1
xor byte [0x4dd150], al
mov al, byte [edx + ebp - 0x34]
xor byte [edx + 0x4dd150], al
inc edx
cmp edx, 0x14
jne 0x43de34
fld qword [0x4dcce0]
fld dword [0x4ba908]
fucomp st(1)
fnstsw ax
test ah, 0x45
jne 0x43de64
fadd qword [ebp - 0x60]
fstp qword [0x4dcce0]
jmp 0x43de66
fstp st(0)
mov esi, dword [ebp - 0x54]
test esi, esi
jne 0x43de83
push 0x142
push str.external_openssl_crypto_rand_md_rand.c
push 0x12
push 0xa
call fcn.00427850
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x4dcd00]
cmp eax, 0x3fe
jg 0x43dc6d
cmp edx, eax
jle 0x43dc6d
mov dword [0x4dcd00], edx
jmp 0x43dc6d
push 0x137
push str.external_openssl_crypto_rand_md_rand.c
push 0x12
push 9
call fcn.00427850
add esp, 0x10
jmp 0x43de26
push 0x104
push str.external_openssl_crypto_rand_md_rand.c
push 0x12
push 0xa
call fcn.00427850
add esp, 0x10
jmp 0x43dcb3