Function at 0x405724
Capabilities:
Encode data using xor

Disassembly:
push 0xc4
mov eax, 0x42105e
call fcn.00420a4f
mov ebx, ecx
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
xor edx, edx
push 0xf
pop esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x58], dl
mov dword [ebp - 4], edx
mov al, 0x1f
mov dword [ebp - 0x18], 0x747f5e1f
mov ecx, edx
mov word [ebp - 0x14], 0x7081
mov byte [ebp - 0x12], dl
movsx eax, al
and eax, 0x8000000f
jns 0x405772
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 5
jae 0x405781
mov al, byte [ebp - 0x18]
jmp 0x405763
push ecx
lea eax, [ebp - 0x17]
mov byte [ebp - 0x12], dl
push eax
mov ecx, ebx
call fcn.004065de
cmp eax, 0xffffffff
je 0x405831
push 0x35
pop eax
mov byte [ebp - 0x14], al
mov cl, 0x61
movsx eax, al
mov byte [ebp - 0x12], 0
and eax, 0x8000000f
jns 0x4057b4
dec eax
or eax, 0xfffffff0
inc eax
sub cl, al
mov byte [ebp - 0x12], 0
lea edx, [ebp - 0x13]
mov byte [ebp - 0x13], cl
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4057c3
sub edx, ecx
mov ecx, ebx
cmp dword [ebx + 0x14], esi
jbe 0x4057d5
mov ecx, dword [ebx]
push edx
mov edx, dword [ebx + 0x10]
lea eax, [ebp - 0x13]
push eax
push ecx
call fcn.00406953
add esp, 0xc
mov ecx, ebx
push eax
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.00406590
mov edx, eax
mov byte [ebp - 4], 1
mov cl, 0x66
mov dword [ebp - 0x20], 0x92a3a66
xor eax, eax
mov dword [ebp - 0x1c], 0x460a0705
mov dword [ebp - 0x18], 0x12071235
mov word [ebp - 0x14], 3
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x405828
mov cl, byte [ebp - 0x20]
jmp 0x405819
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x1f]
jmp 0x4058af
mov cl, 0x3c
mov dword [ebp - 0x20], 0x594f693c
mov dword [ebp - 0x1c], 0x5d781c4e
xor eax, eax
mov dword [ebp - 0x18], 0x605d48
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xa
jae 0x405859
mov cl, byte [ebp - 0x20]
jmp 0x40584a
push ecx
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x15], 0
push eax
mov ecx, ebx
call fcn.004065de
push eax
push 0
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.00406590
mov edx, eax
mov byte [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [0x4024e0]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x495c7b08
mov word [ebp - 0x14], 0x4d5c
mov byte [ebp - 0x12], 0
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x15
jb 0x40589b
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x27]
push eax
lea ecx, [ebp - 0x88]
call fcn.0040691f
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00406612
lea ecx, [ebp - 0x88]
call fcn.0040400e
lea ecx, [ebp - 0x70]
call fcn.0040400e
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x40], 0
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
mov ecx, esp
lea esi, [ebp - 0x40]
push eax
call fcn.004051dd
mov ecx, esi
call fcn.0041b255
add esp, 0x18
cmp dword [ebp - 0x30], 0
je 0x405b5c
movaps xmm0, xmmword [0x402870]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x6971
mov byte [ebp - 0x12], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x40592c
push ecx
lea eax, [ebp - 0x23]
mov byte [ebp - 0x12], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.004065de
movaps xmm0, xmmword [0x402830]
mov esi, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x6b6d6774
xor ecx, ecx
mov word [ebp - 0x14], 0x2878
mov byte [ebp - 0x12], 0
movsx eax, byte [ebp - 0x28]
and eax, 0x8000000f
jns 0x40597a
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x15
jb 0x40596a
push ecx
lea eax, [ebp - 0x27]
mov byte [ebp - 0x12], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.004065de
cmp esi, 0xffffffff
je 0x405b5c
cmp eax, 0xffffffff
jne 0x4059e4
movaps xmm0, xmmword [0x402270]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x3f252e3f
mov word [ebp - 0x14], 0x69
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x14
jb 0x4059bd
push ecx
lea eax, [ebp - 0x27]
mov byte [ebp - 0x13], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.004065de
cmp eax, 0xffffffff
je 0x405b5c
sub eax, esi
lea ecx, [ebp - 0x40]
push eax
push esi
lea eax, [ebp - 0xb8]
push eax
call fcn.00406590
mov byte [ebp - 4], 4
cmp dword [ebp - 0xa8], 0
je 0x405b51
movaps xmm0, xmmword [0x402680]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x534b
mov byte [ebp - 0x12], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x405a1f
push ecx
lea eax, [ebp - 0x23]
mov byte [ebp - 0x12], 0
push eax
lea ecx, [ebp - 0xb8]
call fcn.004065de
push 0
push ecx
push 0x11
push eax
lea ecx, [ebp - 0xb8]
call fcn.00406732
push eax
lea ecx, [ebp - 0x88]
call fcn.004051dd
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x88]
mov ecx, esp
push eax
call fcn.004051dd
lea ecx, [ebp - 0xa0]
call fcn.00403d82
add esp, 0x18
mov byte [ebp - 4], 6
cmp dword [ebp - 0x90], 0
je 0x405b3b
push 0x50
pop eax
mov byte [ebp - 0x18], al
xor ecx, ecx
mov byte [ebp - 0x17], 0x44
mov byte [ebp - 0x16], al
mov byte [ebp - 0x15], 0x41
mov byte [ebp - 0x14], al
mov word [ebp - 0x13], 0x49
movsx eax, al
and eax, 0x8000000f
jns 0x405abc
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 5
jae 0x405acb
mov al, byte [ebp - 0x18]
jmp 0x405aad
push ecx
lea eax, [ebp - 0x17]
mov byte [ebp - 0x12], 0
push eax
lea ecx, [ebp - 0xa0]
call fcn.004065de
push 0
push ecx
push 5
push eax
lea ecx, [ebp - 0xa0]
call fcn.00406732
push eax
lea ecx, [ebp - 0x70]
call fcn.004051dd
mov byte [ebp - 4], 7
cmp dword [ebp - 0x60], 0
je 0x405b33
sub esp, 0x18
lea eax, [ebp - 0x70]
mov ecx, esp
push eax
call fcn.004051dd
lea ecx, [ebp - 0xd0]
call fcn.0041b382
add esp, 0x18
lea ecx, [ebx + 0x30]
push eax
call fcn.00406612
lea ecx, [ebp - 0xd0]
call fcn.0040400e
lea ecx, [ebp - 0x70]
call fcn.0040400e
lea ecx, [ebp - 0xa0]
call fcn.0040400e
lea ecx, [ebp - 0x88]
call fcn.0040400e
lea ecx, [ebp - 0xb8]
call fcn.0040400e
lea ecx, [ebp - 0x40]
call fcn.0040400e
mov edx, dword [ebp - 0x44]
cmp edx, 0xf
jbe 0x405b75
mov ecx, dword [ebp - 0x58]
inc edx
call fcn.004041fc
call fcn.00420a0d
ret