Function at 0x483d50
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x34
call fcn.004a9710
mov eax, dword [0x50f00c]
test eax, eax
push ebx
push ebp
je 0x483e3b
push 0xd8
push 0x4d9b88
push 0x13
push 5
call fcn.00479520
call fcn.00479330
mov ebx, dword [0x50f010]
xor ecx, ecx
cmp ebx, eax
sete cl
push 0xda
push 0x4d9b88
push 0x13
push 6
mov ebp, ecx
mov dword [esp + 0x28], ebp
call fcn.00479520
add esp, 0x20
test ebp, ebp
jne 0x483dc4
push 0xdf
push 0x4d9b88
push 0x12
push 9
call fcn.00479520
add esp, 0x10
mov edx, dword [0x50eff8]
mov ecx, dword [0x50effc]
mov eax, dword [0x50eff4]
mov dword [esp + 0x10], edx
mov edx, dword [0x50efdc]
push esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x50efe0]
mov dword [esp + 0x2c], edx
mov edx, dword [0x50efe4]
push edi
mov edi, eax
add eax, esi
cmp eax, 0x3ff
mov dword [esp + 0x34], ecx
mov ecx, dword [0x50efe8]
mov dword [esp + 0x38], edx
mov edx, dword [0x50efec]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [0x50eff4], eax
jl 0x483e4c
cdq
mov ecx, 0x3ff
idiv ecx
mov dword [0x50eff0], ecx
mov dword [0x50eff4], edx
jmp 0x483e63
mov dword [esp + 8], 0
mov ebp, dword [esp + 8]
jmp 0x483dae
mov ecx, dword [0x50eff0]
cmp ecx, 0x3ff
jge 0x483e63
cmp eax, ecx
jle 0x483e63
mov dword [0x50eff0], eax
mov eax, esi
cdq
mov ecx, 0x14
idiv ecx
xor ecx, ecx
test edx, edx
mov edx, dword [0x50effc]
setg cl
add ecx, eax
add edx, ecx
test ebp, ebp
mov dword [0x50effc], edx
jne 0x483e9e
push 0xff
push 0x4d9b88
push 0x12
push 0xa
call fcn.00479520
add esp, 0x10
lea edx, [esp + 0x20]
push edx
call fcn.004906d0
add esp, 4
test esi, esi
jle 0x483fd0
mov ebp, dword [esp + 0x48]
mov ecx, esi
dec esi
mov eax, 0xcccccccd
mul esi
shr edx, 4
inc edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], edx
jmp 0x483ed3
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x14
mov esi, ecx
jle 0x483edf
mov esi, 0x14
push 0
call fcn.00490a30
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004906f0
push 0x14
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00490820
lea ebx, [esi + edi - 0x3ff]
add esp, 0x18
test ebx, ebx
lea edx, [esp + 0x20]
lea ecx, [edi + 0x50ebc8]
jle 0x483f3b
mov eax, esi
sub eax, ebx
push eax
push ecx
push edx
call fcn.00490820
push ebx
lea eax, [esp + 0x30]
push 0x50ebc8
push eax
call fcn.00490820
add esp, 0x18
jmp 0x483f46
push esi
push ecx
push edx
call fcn.00490820
add esp, 0xc
push esi
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.00490820
push 8
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00490820
push 0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00490830
mov ebx, dword [esp + 0x40]
add esp, 0x24
inc ebx
add ebp, esi
xor eax, eax
test esi, esi
mov dword [esp + 0x1c], ebx
jle 0x483fb2
jmp 0x483f90
mov bl, byte [edi + 0x50ebc8]
mov dl, byte [esp + eax + 0x30]
xor bl, dl
mov byte [edi + 0x50ebc8], bl
inc edi
cmp edi, 0x3ff
jl 0x483fad
xor edi, edi
inc eax
cmp eax, esi
jl 0x483f90
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
sub ecx, 0x14
dec eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], eax
jne 0x483ecf
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
call fcn.004908b0
add esp, 4
test ebp, ebp
pop edi
pop esi
jne 0x483ff9
push 0x12a
push 0x4d9b88
push 0x12
push 9
call fcn.00479520
add esp, 0x10
xor eax, eax
jmp 0x484000
mov cl, byte [esp + eax + 0x28]
mov dl, byte [eax + 0x50efdc]
mov bl, byte [eax + 0x50efdd]
xor dl, cl
mov cl, byte [esp + eax + 0x2a]
mov byte [eax + 0x50efdc], dl
mov dl, byte [esp + eax + 0x29]
xor bl, dl
mov dl, byte [eax + 0x50efde]
xor dl, cl
mov cl, byte [eax + 0x50efdf]
mov byte [eax + 0x50efde], dl
mov dl, byte [esp + eax + 0x2b]
xor cl, dl
mov byte [eax + 0x50efdd], bl
mov bl, byte [eax + 0x50efe0]
mov byte [eax + 0x50efdf], cl
mov cl, byte [esp + eax + 0x2c]
xor bl, cl
mov byte [eax + 0x50efe0], bl
add eax, 5
cmp eax, 0x14
jl 0x484000
fld qword [0x50f000]
fcomp qword [0x4d9b80]
fnstsw ax
test ah, 5
jp 0x484085
fld qword [0x50f000]
fadd qword [esp + 0x48]
fstp qword [0x50f000]
test ebp, ebp
pop ebp
pop ebx
jne 0x4840a1
push 0x135
push 0x4d9b88
push 0x12
push 0xa
call fcn.00479520
add esp, 0x10
add esp, 0x34
ret