Function at 0x408360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e898
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x48c084]
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.004157e0
mov dword [ebp - 4], 0
mov eax, 8
mov dword [ebp - 0x64], eax
xor ecx, ecx
mov dword [ebp - 0x60], 0x9400eb
mov dword [ebp - 0x5c], 0x96008b
mov dword [ebp - 0x58], 0x900089
mov dword [ebp - 0x54], 0x87008f
mov dword [ebp - 0x50], 0xc0
nop
lea eax, [ecx + 0xb8]
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.0040c960
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.0041b4d0
mov byte [ebp - 4], 1
mov eax, 0xc
mov dword [ebp - 0x84], eax
xor ecx, ecx
mov dword [ebp - 0x80], 0xc100dd
mov dword [ebp - 0x7c], 0xd700ca
mov dword [ebp - 0x78], 0xcf00d3
mov dword [ebp - 0x74], 0xcd00db
mov dword [ebp - 0x70], 0xa400ee
mov dword [ebp - 0x6c], 0xa600ba
mov dword [ebp - 0x68], 0xc4
lea eax, [ecx + 0xb8]
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.0040c290
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x48]
call fcn.0041b5e0
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.00447b45
mov eax, dword [ebp - 0x4c]
add esp, 8
mov edx, eax
mov ecx, esi
call fcn.00415520
lea ecx, [ebp - 0x48]
call fcn.0041b560
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.00447b45
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.004474f7
mov esp, ebp
pop ebp
ret
call fcn.0044ca29
call fcn.0044ca29
int3