Function at 0x4771a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79ceed
mov eax, dword fs:[0]
push eax
sub esp, 0x108
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 esi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x90], 0
call fcn.00478320
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
push eax
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x60], edi
call fcn.004777e0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x6c], eax
lea eax, [ebp - 0x54]
cmp esi, eax
je 0x47723a
cmp dword [ebp - 0x40], 8
mov ecx, esi
push dword [ebp - 0x44]
cmovae eax, dword [ebp - 0x54]
push eax
call fcn.004044f0
mov eax, dword [ebp - 0x5c]
lea ecx, [esi + 0x3c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xac]
mov byte [ebp - 0x64], 1
add eax, 0x30
movups xmm0, xmmword [ebp - 0x6c]
movups xmmword [esi + 0x70], xmm0
cmp ecx, eax
je 0x477274
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x47726d
mov eax, dword [eax]
push edx
push eax
call fcn.004044f0
lea ecx, [ebp - 0x34]
call fcn.0060cfd0
push eax
lea ecx, [esi + 0x18]
call fcn.00478400
lea ecx, [ebp - 0x28]
call fcn.00404490
lea ecx, [ebp - 0x34]
call fcn.00472f50
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x64], edi
call fcn.00477f40
push eax
lea ecx, [esi + 0x8c]
call fcn.00478480
lea ecx, [ebp - 0xcc]
call fcn.00404490
lea ecx, [ebp - 0xe4]
call fcn.00404490
lea ecx, [ebp - 0xfc]
call fcn.00404490
lea ecx, [ebp - 0x114]
call fcn.00404490
xor eax, eax
mov byte [esi + 0x80], 0
push eax
push 0x7cf388
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.004044f0
mov byte [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x6c], 0xda00da
mov dword [ebp - 0x68], 0xcf00ce
mov dword [ebp - 0x64], 0xcf00c4
mov dword [ebp - 0x60], 0xb000c3
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x6c], ax
inc ecx
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x477350
xor ecx, ecx
mov word [ebp + eax*2 - 0x6c], cx
xor eax, eax
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x78], 7
lea edx, [ecx + 2]
mov word [ebp - 0x8c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477383
sub ecx, edx
lea eax, [ebp - 0x6c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.004044f0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x8c]
mov ecx, edi
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00438180
lea ecx, [ebp - 0x8c]
call fcn.00404490
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.00404490
cmp byte [ebp - 0x60], 0
je 0x4773e8
cmp dword [ebp - 0x64], 0
setne al
jmp 0x4773ea
xor al, al
mov byte [esi + 0x81], al
lea ecx, [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x7c], 0
push eax
push 0x7cf388
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
call fcn.004044f0
mov byte [ebp - 4], 4
mov eax, 0xe
mov dword [ebp - 0x34], eax
xor ecx, ecx
mov dword [ebp - 0x30], 0xcf00de
mov dword [ebp - 0x2c], 0xf300c9
mov dword [ebp - 0x28], 0xdb00cf
mov dword [ebp - 0x24], 0xdc00c6
mov dword [ebp - 0x20], 0xed00d5
mov dword [ebp - 0x1c], 0xda00da
mov dword [ebp - 0x18], 0xd900d3
mov dword [ebp - 0x14], 0xb7
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x30], ax
inc ecx
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jb 0x477460
xor ecx, ecx
mov word [ebp + eax*2 - 0x30], cx
xor eax, eax
mov dword [ebp - 0x98], ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x94], 7
lea edx, [ecx + 2]
mov word [ebp - 0xa8], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4774a0
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.004044f0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00438180
lea ecx, [ebp - 0xa8]
call fcn.00404490
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.00404490
cmp byte [ebp - 0x60], 0
je 0x477505
cmp dword [ebp - 0x64], 0
setne al
jmp 0x477507
xor al, al
mov byte [esi + 0x82], al
lea ecx, [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x7c], 0
push eax
push 0x7cf388
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
call fcn.004044f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa8]
push 1
xor eax, eax
mov dword [ebp - 0x98], 0
push 0x7d9bdc
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.004044f0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00438720
lea ecx, [ebp - 0xa8]
call fcn.00404490
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xa
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x64], 0
push eax
push 0x7cf388
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.004044f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8c]
push 1
xor eax, eax
mov dword [ebp - 0x7c], 0
push 0x7d9bdc
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
call fcn.004044f0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xc
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x8c]
mov ecx, edi
push eax
call fcn.00439040
lea ecx, [ebp - 0x8c]
call fcn.00404490
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xa
call fcn.00404490
cmp byte [ebp - 0x14], 0
lea ecx, [ebp - 0x74]
jne 0x477648
xor eax, eax
mov dword [ebp - 0x64], 0
push eax
push 0x7cf388
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.004044f0
jmp 0x477651
lea eax, [ebp - 0x2c]
push eax
call fcn.00404120
mov byte [ebp - 4], 1
cmp byte [ebp - 0x14], 0
mov dword [ebp - 0x90], 3
je 0x47766d
lea ecx, [ebp - 0x2c]
call fcn.00404490
lea edi, [esi + 0x54]
lea eax, [ebp - 0x74]
cmp edi, eax
je 0x4776a3
mov ecx, edi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x74]
xor eax, eax
mov word [ebp - 0x74], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x64]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
lea ecx, [ebp - 0x74]
call fcn.00404490
mov dword [ebp - 0x74], 9
xor ecx, ecx
mov dword [ebp - 0x70], 0xc400c0
mov dword [ebp - 0x6c], 0xd800d8
mov dword [ebp - 0x68], 0xc200cc
mov dword [ebp - 0x64], 0xd500c3
mov dword [ebp - 0x60], 0xb200c3
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x70], ax
inc ecx
mov eax, dword [ebp - 0x74]
cmp ecx, eax
jb 0x4776e0
xor ecx, ecx
mov dword [ebp - 0x78], 7
mov word [ebp + eax*2 - 0x70], cx
xor eax, eax
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x70]
mov word [ebp - 0x8c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477713
sub ecx, edx
lea eax, [ebp - 0x70]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.004044f0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa8]
push 3
xor eax, eax
mov dword [ebp - 0x98], 0
push 0x7d9cb8
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.004044f0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00438180
lea ecx, [ebp - 0xa8]
call fcn.00404490
lea ecx, [ebp - 0x8c]
call fcn.00404490
xor ecx, ecx
mov byte [ebp - 0xb0], 1
cmp byte [ebp - 0x60], cl
cmovne ecx, dword [ebp - 0x64]
mov dword [esi + 0x84], ecx
mov ecx, dword [ebp - 0xb0]
mov dword [esi + 0x88], ecx
lea ecx, [ebp - 0x54]
call fcn.00404490
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.0076eb7e
mov esp, ebp
pop ebp
ret