Function at 0x478a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79d1bc
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x84], edi
xor edx, edx
mov dword [ebp - 0x64], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], dx
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], 7
mov word [edi + 0x48], ax
mov dword [ebp - 4], edx
mov esi, dword [ecx]
lea ecx, [ebp - 0x60]
push edx
push 0x7cf388
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.004044f0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x80]
push 3
xor eax, eax
mov dword [ebp - 0x70], 0
push 0x7d9cb0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
call fcn.004044f0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00438720
lea ecx, [ebp - 0x80]
call fcn.00404490
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.00404490
cmp byte [ebp - 0x14], 0
je 0x478ba6
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x60]
call fcn.00404120
mov byte [ebp - 4], 0
cmp byte [ebp - 0x14], 0
mov dword [ebp - 0x64], 3
je 0x478bc5
lea ecx, [ebp - 0x2c]
call fcn.00404490
jmp 0x478bc5
mov byte [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov dword [ebp - 0x64], 3
lea eax, [ebp - 0x60]
lea esi, [edi + 0x18]
cmp esi, eax
je 0x478bfb
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x60]
xor eax, eax
mov word [ebp - 0x60], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
lea ecx, [ebp - 0x60]
call fcn.00404490
mov esi, dword [ebp - 0x68]
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x18], 0
push eax
push 0x7cf388
mov esi, dword [esi]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004044f0
mov dword [ebp - 4], 6
mov eax, 4
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov dword [ebp - 0x54], 0xc600ca
mov dword [ebp - 0x50], 0xc800c2
mov dword [ebp - 0x4c], 0xad
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x54], ax
inc ecx
mov eax, dword [ebp - 0x58]
cmp ecx, eax
jb 0x478c50
xor ecx, ecx
mov word [ebp + eax*2 - 0x54], cx
xor eax, eax
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x6c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x80], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478c80
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.004044f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00438720
lea ecx, [ebp - 0x80]
call fcn.00404490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00404490
cmp byte [ebp - 0x30], 0
je 0x478ce9
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x60]
call fcn.00404120
cmp byte [ebp - 0x30], 0
je 0x478cfd
lea ecx, [ebp - 0x48]
call fcn.00404490
jmp 0x478cfd
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x60]
cmp edi, eax
je 0x478d30
mov ecx, edi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x60]
xor eax, eax
mov word [ebp - 0x60], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
lea ecx, [ebp - 0x60]
call fcn.00404490
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.0076eb7e
mov esp, ebp
pop ebp
ret 4