Function at 0x408360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
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 esi, ecx
mov dword [ebp - 0x4c], esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x4c], esi
call fcn.004156f0
mov dword [ebp - 4], 0
mov eax, 8
mov dword [ebp - 0x64], eax
xor ecx, ecx
mov dword [ebp - 0x60], 0xbc00c3
mov dword [ebp - 0x5c], 0xbe00a3
mov dword [ebp - 0x58], 0xb800a1
mov dword [ebp - 0x54], 0xaf00a7
mov dword [ebp - 0x50], 0x98
nop
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x60], ax
inc ecx
mov eax, dword [ebp - 0x64]
cmp ecx, eax
jb 0x4083d0
xor ecx, ecx
mov word [ebp + eax*2 - 0x60], cx
lea ecx, [ebp - 0x60]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4083f0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
sub ecx, edx
mov edx, dword [ebp - 0x18]
sar ecx, 1
cmp dword [ebp - 0x14], 8
cmovae eax, edi
cmp edx, ecx
jne 0x40856b
push edx
lea ecx, [ebp - 0x60]
push ecx
push eax
call fcn.0040c870
add esp, 0xc
test eax, eax
jne 0x40856b
xorps xmm0, xmm0
lea ecx, [ebp - 0x48]
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x38], xmm0
call fcn.0041b3e0
mov byte [ebp - 4], 1
mov eax, 0xc
mov dword [ebp - 0x84], eax
xor ecx, ecx
mov dword [ebp - 0x80], 0xe900f5
mov dword [ebp - 0x7c], 0xff00e2
mov dword [ebp - 0x78], 0xe700fb
mov dword [ebp - 0x74], 0xe500f3
mov dword [ebp - 0x70], 0xfc00b6
mov dword [ebp - 0x6c], 0xfe00e2
mov dword [ebp - 0x68], 0x9c
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x80], ax
inc ecx
mov eax, dword [ebp - 0x84]
cmp ecx, eax
jb 0x408482
xor ecx, ecx
mov word [ebp + eax*2 - 0x80], cx
xor eax, eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x50], 7
lea edx, [ecx + 2]
mov word [ebp - 0x64], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4084b5
sub ecx, edx
lea eax, [ebp - 0x80]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.0040c1a0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x48]
call fcn.0041b4f0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
cmp edx, 8
jb 0x408525
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408518
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4085a7
push edx
push ecx
call fcn.00447495
mov eax, dword [ebp - 0x4c]
add esp, 8
mov edx, eax
mov ecx, esi
call fcn.00415430
lea ecx, [ebp - 0x48]
call fcn.0041b470
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40858a
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x40855f
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4085ac
push ecx
push edi
call fcn.00447495
add esp, 8
jmp 0x40858a
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov eax, esi
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
call fcn.0044c379
call fcn.0044c379
int3