Function at 0x4082a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4466a8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x45e084]
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.004149d0
mov dword [ebp - 4], 0
mov eax, 8
mov dword [ebp - 0x64], eax
xor ecx, ecx
mov dword [ebp - 0x60], 0xb300ce
mov dword [ebp - 0x5c], 0x8d00ae
mov dword [ebp - 0x58], 0x8f0094
mov dword [ebp - 0x54], 0x9c0092
mov dword [ebp - 0x50], 0xa5
nop
lea eax, [ecx + 0x9d]
xor word [ebp + ecx*2 - 0x60], ax
inc ecx
mov eax, dword [ebp - 0x64]
cmp ecx, eax
jb 0x408310
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 0x408330
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 0x4084ab
push edx
lea ecx, [ebp - 0x60]
push ecx
push eax
call fcn.0040bca0
add esp, 0xc
test eax, eax
jne 0x4084ab
xorps xmm0, xmm0
lea ecx, [ebp - 0x48]
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x38], xmm0
call fcn.0041a100
mov byte [ebp - 4], 1
mov eax, 0xc
mov dword [ebp - 0x84], eax
xor ecx, ecx
mov dword [ebp - 0x80], 0xe600f8
mov dword [ebp - 0x7c], 0xcc00ef
mov dword [ebp - 0x78], 0xd000ce
mov dword [ebp - 0x74], 0xd600c6
mov dword [ebp - 0x70], 0xc3008b
mov dword [ebp - 0x6c], 0xcd00df
mov dword [ebp - 0x68], 0xa9
lea eax, [ecx + 0x9d]
xor word [ebp + ecx*2 - 0x80], ax
inc ecx
mov eax, dword [ebp - 0x84]
cmp ecx, eax
jb 0x4083c2
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 0x4083f5
sub ecx, edx
lea eax, [ebp - 0x80]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.0040b6e0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x48]
call fcn.0041a210
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
cmp edx, 8
jb 0x408465
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408458
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4084e7
push edx
push ecx
call fcn.004274df
mov eax, dword [ebp - 0x4c]
add esp, 8
mov edx, eax
mov ecx, esi
call fcn.00414710
lea ecx, [ebp - 0x48]
call fcn.0041a190
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4084ca
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x40849f
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4084ec
push ecx
push edi
call fcn.004274df
add esp, 8
jmp 0x4084ca
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.00426e91
mov esp, ebp
pop ebp
ret
call fcn.0042c3c9
call fcn.0042c3c9
int3