Function at 0x459bf0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x48a8f4]
sub esp, 0x84
test eax, eax
push ebx
push ebp
je 0x459cda
push 0xd8
push 0x4738f8
push 0x12
push 5
call fcn.00455a20
call fcn.00455a00
mov ebx, dword [0x48a8f8]
xor ecx, ecx
cmp ebx, eax
sete cl
push 0xda
push 0x4738f8
push 0x12
push 6
mov ebp, ecx
mov dword [esp + 0x2c], ebp
call fcn.00455a20
add esp, 0x20
test ebp, ebp
jne 0x459c60
push 0xdf
push 0x4738f8
push 0x11
push 9
call fcn.00455a20
add esp, 0x10
mov edx, dword [0x48a8e0]
mov ecx, dword [0x48a8e4]
mov eax, dword [0x48a8dc]
mov dword [esp + 0x28], edx
mov edx, dword [0x48a8c4]
push esi
mov esi, dword [esp + 0x98]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x48a8c8]
mov dword [esp + 0x18], edx
mov edx, dword [0x48a8cc]
push edi
mov edi, eax
add eax, esi
cmp eax, 0x3ff
mov dword [esp + 0x20], ecx
mov ecx, dword [0x48a8d0]
mov dword [esp + 0x24], edx
mov edx, dword [0x48a8d4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [0x48a8dc], eax
jl 0x459ceb
cdq
mov ecx, 0x3ff
idiv ecx
mov dword [0x48a8d8], ecx
mov dword [0x48a8dc], edx
jmp 0x459d02
mov dword [esp + 0xc], 0
mov ebp, dword [esp + 0xc]
jmp 0x459c4a
mov ecx, dword [0x48a8d8]
cmp ecx, 0x3ff
jge 0x459d02
cmp eax, ecx
jle 0x459d02
mov dword [0x48a8d8], eax
mov eax, esi
cdq
mov ecx, 0x14
idiv ecx
xor ecx, ecx
test edx, edx
mov edx, dword [0x48a8e4]
setg cl
add ecx, eax
add edx, ecx
test ebp, ebp
mov dword [0x48a8e4], edx
jne 0x459d3d
push 0xff
push 0x4738f8
push 0x11
push 0xa
call fcn.00455a20
add esp, 0x10
test esi, esi
jle 0x459e60
mov ebp, dword [esp + 0x98]
mov ecx, esi
dec esi
mov eax, 0xcccccccd
mul esi
shr edx, 4
inc edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
jmp 0x459d68
mov ecx, dword [esp + 0x10]
cmp ecx, 0x14
mov esi, ecx
jle 0x459d74
mov esi, 0x14
lea edx, [esp + 0x38]
push edx
call fcn.004364f0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
push 0x14
push ecx
call fcn.00436530
lea ebx, [esi + edi - 0x3ff]
add esp, 0x10
test ebx, ebx
lea ecx, [edi + 0x48a4b0]
jle 0x459dc8
lea edx, [esp + 0x38]
push edx
mov eax, esi
sub eax, ebx
push eax
push ecx
call fcn.00436530
lea edx, [esp + 0x44]
push edx
push ebx
push 0x48a4b0
call fcn.00436530
add esp, 0x18
jmp 0x459dd7
lea eax, [esp + 0x38]
push eax
push esi
push ecx
call fcn.00436530
add esp, 0xc
lea edx, [esp + 0x38]
push edx
push esi
push ebp
call fcn.00436530
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x40]
push 8
push ecx
call fcn.00436530
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00436600
mov ebx, dword [esp + 0x54]
add esp, 0x20
inc ebx
add ebp, esi
xor eax, eax
test esi, esi
mov dword [esp + 0x34], ebx
jle 0x459e42
jmp 0x459e20
mov bl, byte [edi + 0x48a4b0]
mov cl, byte [esp + eax + 0x1c]
xor bl, cl
mov byte [edi + 0x48a4b0], bl
inc edi
cmp edi, 0x3ff
jl 0x459e3d
xor edi, edi
inc eax
cmp eax, esi
jl 0x459e20
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
sub ecx, 0x14
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jne 0x459d64
mov ebp, dword [esp + 0x14]
xor eax, eax
test ebp, ebp
mov ecx, 0x17
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
pop edi
pop esi
jne 0x459e89
push 0x129
push 0x4738f8
push 0x11
push 9
call fcn.00455a20
add esp, 0x10
xor eax, eax
jmp 0x459e90
mov dl, byte [esp + eax + 0x14]
mov bl, byte [eax + 0x48a8c4]
mov cl, byte [esp + eax + 0x15]
xor bl, dl
mov dl, byte [eax + 0x48a8c5]
xor dl, cl
mov cl, byte [esp + eax + 0x17]
mov byte [eax + 0x48a8c4], bl
mov bl, byte [eax + 0x48a8c6]
mov byte [eax + 0x48a8c5], dl
mov dl, byte [esp + eax + 0x16]
xor bl, dl
mov dl, byte [eax + 0x48a8c7]
xor dl, cl
mov byte [eax + 0x48a8c6], bl
mov bl, byte [eax + 0x48a8c8]
mov byte [eax + 0x48a8c7], dl
mov dl, byte [esp + eax + 0x18]
xor bl, dl
mov byte [eax + 0x48a8c8], bl
add eax, 5
cmp eax, 0x14
jb 0x459e90
fld qword [0x48a8e8]
fcomp qword [0x4738f0]
fnstsw ax
test ah, 5
jp 0x459f18
fld qword [0x48a8e8]
fadd qword [esp + 0x98]
fstp qword [0x48a8e8]
test ebp, ebp
pop ebp
pop ebx
jne 0x459f34
push 0x134
push 0x4738f8
push 0x11
push 0xa
call fcn.00455a20
add esp, 0x10
add esp, 0x84
ret