Function at 0x4085c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e28a
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x48b084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xe0], edi
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xe0], edi
call fcn.00408360
mov esi, eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 0
push eax
call fcn.00443ea0
add esp, 4
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.0040a990
push esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.0040a990
mov byte [ebp - 4], 3
cmp dword [ebp - 0x4c], 0
je 0x408aa2
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xb0]
cmp edx, 8
jb 0x40868a
mov ecx, dword [ebp - 0xc4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408680
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408aab
push edx
push ecx
call fcn.00447495
add esp, 8
xor eax, eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x4086e8
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4086de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ab0
push edx
push ecx
call fcn.00447495
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], 0
push eax
push 0x481780
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
call fcn.0040c1a0
mov byte [ebp - 4], 7
xor ecx, ecx
mov dword [ebp - 0xb8], 3
mov dword [ebp - 0xb4], 0xf800e5
mov dword [ebp - 0xb0], 0x9300f6
nop dword [eax + eax]
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0xb4], ax
inc ecx
mov eax, dword [ebp - 0xb8]
cmp ecx, eax
jb 0x408750
xor ecx, ecx
mov word [ebp + eax*2 - 0xb4], cx
xor eax, eax
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x98], 7
lea edx, [ecx + 2]
mov word [ebp - 0xac], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408795
sub ecx, edx
lea eax, [ebp - 0xb4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.0040c1a0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x74]
call fcn.00423fb0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x98]
cmp edx, 8
jb 0x408819
mov ecx, dword [ebp - 0xac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40880f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ab5
push edx
push ecx
call fcn.00447495
add esp, 8
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xc8]
cmp edx, 8
jb 0x40887a
mov ecx, dword [ebp - 0xdc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408870
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408aba
push edx
push ecx
call fcn.00447495
add esp, 8
cmp byte [ebp - 0x2c], 0
je 0x408890
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.0040a990
jmp 0x408a75
lea ecx, [ebp - 0x28]
call fcn.00424c90
xor eax, eax
mov byte [ebp - 4], 0xc
push eax
push 0x481780
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
call fcn.0040c1a0
mov byte [ebp - 4], 0xd
xor ecx, ecx
mov dword [ebp - 0x94], 0xd
mov dword [ebp - 0x90], 0xff00f9
mov dword [ebp - 0x8c], 0xe700e1
mov dword [ebp - 0x88], 0xf900f5
mov dword [ebp - 0x84], 0xf200fa
mov dword [ebp - 0x80], 0xc600ea
mov dword [ebp - 0x7c], 0xf200ef
mov dword [ebp - 0x78], 0x9d00f8
nop word [eax + eax]
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x90], ax
inc ecx
mov eax, dword [ebp - 0x94]
cmp ecx, eax
jb 0x408920
xor ecx, ecx
mov word [ebp + eax*2 - 0x90], cx
xor eax, eax
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x98], 7
lea edx, [ecx + 2]
mov word [ebp - 0xac], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408965
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.0040c1a0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x74]
call fcn.00424700
mov edx, dword [ebp - 0x98]
cmp edx, 8
jb 0x4089e5
mov ecx, dword [ebp - 0xac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4089db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408abf
push edx
push ecx
call fcn.00447495
add esp, 8
mov edx, dword [ebp - 0xc8]
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
cmp edx, 8
jb 0x408a42
mov ecx, dword [ebp - 0xdc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408a38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ac4
push edx
push ecx
call fcn.00447495
add esp, 8
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x44]
call fcn.0040a610
lea ecx, [ebp - 0x74]
call fcn.00408ad0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00446e47
mov esp, ebp
pop ebp
ret
push 0
push 0
call fcn.00448905
call fcn.0044c379
call fcn.0044c379
call fcn.0044c379
call fcn.0044c379
call fcn.0044c379
call fcn.0044c379
int3