Function at 0x4764a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79b7ad
mov eax, dword fs:[0]
push eax
sub esp, 0x108
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, 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.00477620
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.00476ae0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x6c], eax
lea eax, [ebp - 0x54]
cmp esi, eax
je 0x47653a
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 0x476574
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x47656d
mov eax, dword [eax]
push edx
push eax
call fcn.004044f0
lea ecx, [ebp - 0x34]
call fcn.0060bf40
push eax
lea ecx, [esi + 0x18]
call fcn.00477700
lea ecx, [ebp - 0x28]
call fcn.00404490
lea ecx, [ebp - 0x34]
call fcn.00472240
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.00477240
push eax
lea ecx, [esi + 0x8c]
call fcn.00477780
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 0x7cd378
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], 0xc900cb
mov dword [ebp - 0x68], 0xd800df
mov dword [ebp - 0x64], 0xdc00d5
mov dword [ebp - 0x60], 0xbf00d2
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x6c], ax
inc ecx
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x476650
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 0x476683
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.00438190
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 0x4766e8
cmp dword [ebp - 0x64], 0
setne al
jmp 0x4766ea
xor al, al
mov byte [esi + 0x81], al
lea ecx, [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x7c], 0
push eax
push 0x7cd378
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], 0xdc00cf
mov dword [ebp - 0x2c], 0xe400d8
mov dword [ebp - 0x28], 0xc800de
mov dword [ebp - 0x24], 0xd300d7
mov dword [ebp - 0x20], 0x9e00a4
mov dword [ebp - 0x1c], 0xad00ab
mov dword [ebp - 0x18], 0xaa00a2
mov dword [ebp - 0x14], 0xc6
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x30], ax
inc ecx
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jb 0x476760
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 0x4767a0
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.00438190
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 0x476805
cmp dword [ebp - 0x64], 0
setne al
jmp 0x476807
xor al, al
mov byte [esi + 0x82], al
lea ecx, [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x7c], 0
push eax
push 0x7cd378
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 0x7d7ba8
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.00438730
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 0x7cd378
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 0x7d7ba8
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.00439050
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 0x476948
xor eax, eax
mov dword [ebp - 0x64], 0
push eax
push 0x7cd378
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.004044f0
jmp 0x476951
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 0x47696d
lea ecx, [ebp - 0x2c]
call fcn.00404490
lea edi, [esi + 0x54]
lea eax, [ebp - 0x74]
cmp edi, eax
je 0x4769a3
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], 0xd700d1
mov dword [ebp - 0x6c], 0xcf00c9
mov dword [ebp - 0x68], 0xd100dd
mov dword [ebp - 0x64], 0xda00d2
mov dword [ebp - 0x60], 0xc100b2
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x70], ax
inc ecx
mov eax, dword [ebp - 0x74]
cmp ecx, eax
jb 0x4769e0
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 0x476a13
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 0x7d7c34
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.00438190
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.0076d59e
mov esp, ebp
pop ebp
ret