Function at 0x472c40
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x4aa024]
sub esp, 0x84
test eax, eax
push ebx
push ebp
je 0x472d2a
push 0xd8
push 0x495290
push 0x12
push 5
call fcn.0046f010
call fcn.0046eff0
mov ebx, dword [0x4aa028]
xor ecx, ecx
cmp ebx, eax
sete cl
push 0xda
push 0x495290
push 0x12
push 6
mov ebp, ecx
mov dword [esp + 0x2c], ebp
call fcn.0046f010
add esp, 0x20
test ebp, ebp
jne 0x472cb0
push 0xdf
push 0x495290
push 0x11
push 9
call fcn.0046f010
add esp, 0x10
mov edx, dword [0x4aa010]
mov ecx, dword [0x4aa014]
mov eax, dword [0x4aa00c]
mov dword [esp + 0x28], edx
mov edx, dword [0x4a9ff4]
push esi
mov esi, dword [esp + 0x98]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x4a9ff8]
mov dword [esp + 0x18], edx
mov edx, dword [0x4a9ffc]
push edi
mov edi, eax
add eax, esi
cmp eax, 0x3ff
mov dword [esp + 0x20], ecx
mov ecx, dword [0x4aa000]
mov dword [esp + 0x24], edx
mov edx, dword [0x4aa004]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [0x4aa00c], eax
jl 0x472d3b
cdq
mov ecx, 0x3ff
idiv ecx
mov dword [0x4aa008], ecx
mov dword [0x4aa00c], edx
jmp 0x472d52
mov dword [esp + 0xc], 0
mov ebp, dword [esp + 0xc]
jmp 0x472c9a
mov ecx, dword [0x4aa008]
cmp ecx, 0x3ff
jge 0x472d52
cmp eax, ecx
jle 0x472d52
mov dword [0x4aa008], eax
mov eax, esi
cdq
mov ecx, 0x14
idiv ecx
xor ecx, ecx
test edx, edx
mov edx, dword [0x4aa014]
setg cl
add ecx, eax
add edx, ecx
test ebp, ebp
mov dword [0x4aa014], edx
jne 0x472d8d
push 0xff
push 0x495290
push 0x11
push 0xa
call fcn.0046f010
add esp, 0x10
test esi, esi
jle 0x472eb0
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 0x472db8
mov ecx, dword [esp + 0x10]
cmp ecx, 0x14
mov esi, ecx
jle 0x472dc4
mov esi, 0x14
lea edx, [esp + 0x38]
push edx
call fcn.0043cd60
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
push 0x14
push ecx
call fcn.0043cda0
lea ebx, [esi + edi - 0x3ff]
add esp, 0x10
test ebx, ebx
lea ecx, [edi + 0x4a9be0]
jle 0x472e18
lea edx, [esp + 0x38]
push edx
mov eax, esi
sub eax, ebx
push eax
push ecx
call fcn.0043cda0
lea edx, [esp + 0x44]
push edx
push ebx
push 0x4a9be0
call fcn.0043cda0
add esp, 0x18
jmp 0x472e27
lea eax, [esp + 0x38]
push eax
push esi
push ecx
call fcn.0043cda0
add esp, 0xc
lea edx, [esp + 0x38]
push edx
push esi
push ebp
call fcn.0043cda0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x40]
push 8
push ecx
call fcn.0043cda0
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0043ce70
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 0x472e92
jmp 0x472e70
mov bl, byte [edi + 0x4a9be0]
mov cl, byte [esp + eax + 0x1c]
xor bl, cl
mov byte [edi + 0x4a9be0], bl
inc edi
cmp edi, 0x3ff
jl 0x472e8d
xor edi, edi
inc eax
cmp eax, esi
jl 0x472e70
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 0x472db4
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 0x472ed9
push 0x129
push 0x495290
push 0x11
push 9
call fcn.0046f010
add esp, 0x10
xor eax, eax
jmp 0x472ee0
mov dl, byte [esp + eax + 0x14]
mov bl, byte [eax + 0x4a9ff4]
mov cl, byte [esp + eax + 0x15]
xor bl, dl
mov dl, byte [eax + 0x4a9ff5]
xor dl, cl
mov cl, byte [esp + eax + 0x17]
mov byte [eax + 0x4a9ff4], bl
mov bl, byte [eax + 0x4a9ff6]
mov byte [eax + 0x4a9ff5], dl
mov dl, byte [esp + eax + 0x16]
xor bl, dl
mov dl, byte [eax + 0x4a9ff7]
xor dl, cl
mov byte [eax + 0x4a9ff6], bl
mov bl, byte [eax + 0x4a9ff8]
mov byte [eax + 0x4a9ff7], dl
mov dl, byte [esp + eax + 0x18]
xor bl, dl
mov byte [eax + 0x4a9ff8], bl
add eax, 5
cmp eax, 0x14
jb 0x472ee0
fld qword [0x4aa018]
fcomp qword [0x495288]
fnstsw ax
test ah, 5
jp 0x472f68
fld qword [0x4aa018]
fadd qword [esp + 0x98]
fstp qword [0x4aa018]
test ebp, ebp
pop ebp
pop ebx
jne 0x472f84
push 0x134
push 0x495290
push 0x11
push 0xa
call fcn.0046f010
add esp, 0x10
add esp, 0x84
ret