Function at 0x4580a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x797bc3
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x82f184]
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 - 0x68], esi
mov edx, dword [ebp + 8]
push 0
push 3
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x64], edx
call fcn.0059d890
mov dword [ebp - 4], 0
mov dword [esi], 0x7d7694
mov eax, dword [edx]
add edx, 4
mov dword [esi + 0x88], eax
lea eax, [esi + 0x8c]
mov dword [ebp - 0x6c], eax
mov byte [eax + 0x50], 0xff
mov byte [ebp - 4], 1
mov cl, byte [edx + 0x50]
test cl, cl
js 0x45812b
mov dword [ebp - 0x68], eax
movsx eax, cl
lea ecx, [ebp - 0x68]
push ecx
push edx
mov eax, dword [eax*4 + 0x7d766c]
call eax
add esp, 8
mov byte [ebp - 4], 2
mov eax, 0xa
mov word [esi + 0xc], 0x101
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0xc000cc
mov dword [ebp - 0x30], 0xde00ca
mov dword [ebp - 0x2c], 0xdf00f3
mov dword [ebp - 0x28], 0xda00d4
mov dword [ebp - 0x24], 0xb500a3
mov dword [ebp - 0x20], 0xc2
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x34], ax
inc ecx
mov eax, dword [ebp - 0x38]
cmp ecx, eax
jb 0x458170
xor ecx, ecx
mov dword [ebp - 0x74], 7
mov word [ebp + eax*2 - 0x34], cx
xor eax, eax
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x34]
mov word [ebp - 0x88], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4581a3
sub ecx, edx
lea eax, [ebp - 0x34]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.004044f0
mov byte [ebp - 4], 3
mov eax, 0x10
mov dword [ebp - 0x60], eax
xor ecx, ecx
mov dword [ebp - 0x5c], 0xcc00d9
mov dword [ebp - 0x58], 0xd400ce
mov dword [ebp - 0x54], 0xc900cf
mov dword [ebp - 0x50], 0xcd00df
mov dword [ebp - 0x4c], 0x9200b4
mov dword [ebp - 0x48], 0xa000a7
mov dword [ebp - 0x44], 0xac00b0
mov dword [ebp - 0x40], 0xa900a9
mov dword [ebp - 0x3c], 0xc8
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x5c], ax
inc ecx
mov eax, dword [ebp - 0x60]
cmp ecx, eax
jb 0x458210
xor ecx, ecx
mov dword [ebp - 0x20], 7
mov word [ebp + eax*2 - 0x5c], cx
xor eax, eax
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x5c]
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458240
sub ecx, edx
lea eax, [ebp - 0x5c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.004044f0
mov byte [ebp - 4], 4
mov eax, dword [0x83df7c]
test eax, eax
jne 0x458299
push 0x28
call fcn.0076d2e3
add esp, 4
mov dword [ebp - 0x6c], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 5
movups xmmword [eax], xmm0
mov ecx, eax
movups xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.0048cfa0
mov byte [ebp - 4], 4
mov dword [0x83df7c], eax
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.0048d320
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00404120
lea edi, [esi + 0x1c]
lea eax, [ebp - 0x50]
cmp edi, eax
je 0x4582f5
mov ecx, edi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x50]
xor eax, eax
mov word [ebp - 0x50], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x40]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
lea ecx, [ebp - 0x50]
call fcn.00404490
lea ecx, [ebp - 0xa0]
call fcn.00404490
lea ecx, [ebp - 0x34]
call fcn.00404490
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00404490
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.00457d60
mov byte [ebp - 4], 7
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x458374
lea ecx, [esi + 0x34]
cmp ecx, edi
je 0x4583c2
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x45836b
mov edi, dword [edi]
push eax
push edi
call fcn.004044f0
jmp 0x4583c2
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0xa0]
push eax
call fcn.00457cc0
mov edi, eax
lea eax, [esi + 0x34]
cmp eax, edi
je 0x4583b7
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi + 0x34], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x44], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0xa0]
call fcn.00404490
lea ecx, [ebp - 0x1c]
call fcn.00404220
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.0076d59e
mov esp, ebp
pop ebp
ret 4