Function at 0x4675d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6add
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x4e84c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
xor eax, eax
mov byte [ebp - 0x54], 1
xor edi, edi
mov dword [ebp - 0x60], eax
xor ebx, ebx
mov dword [ebp - 0x58], edi
xor esi, esi
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x40], 1
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x18], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
xor edx, edx
mov dword [ebp - 4], esi
mov dword [ebp - 0x70], edx
test eax, eax
jle 0x4679ec
nop dword [eax]
mov eax, dword [ecx + 0x10]
lea ecx, [ebp - 0x64]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 0xcc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x94]
push eax
call fcn.00464650
cmp eax, 0xffffffff
je 0x467687
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax*4]
test eax, eax
jne 0x4679d7
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [ebp - 0x8c], eax
shl ecx, 0xf
not ecx
add ecx, eax
mov eax, ecx
shr eax, 0xa
xor eax, ecx
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 6
xor ecx, eax
mov eax, ecx
shl eax, 0xb
not eax
add ecx, eax
mov eax, ecx
shr eax, 0x10
xor eax, ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x80], eax
lea eax, [esi - 1]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00464650
cmp eax, 0xffffffff
je 0x4676e5
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
jmp 0x4679cc
mov edx, dword [ebp - 0x38]
mov eax, esi
mov ecx, edx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x6c], ecx
cmp ecx, eax
jne 0x467760
lea edi, [edx + edx]
test ecx, ecx
jne 0x467702
mov edi, 1
cmp eax, edi
jge 0x467760
test edi, edi
je 0x467723
lea eax, [edi*4]
push 0x10
push eax
call fcn.004927e0
mov edx, dword [ebp - 0x38]
add esp, 8
mov ebx, eax
jmp 0x467725
xor ebx, ebx
test edx, edx
jle 0x467741
mov esi, dword [ebp - 0x30]
mov ecx, ebx
mov edx, dword [ebp - 0x6c]
sub esi, ebx
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x467733
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x467751
push eax
call fcn.004927f0
add esp, 4
mov edx, dword [ebp - 0x38]
mov esi, edi
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x30]
lea ecx, [edx*4]
mov edi, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x20]
mov dword [ecx + eax], edi
mov ecx, dword [ebp - 0x24]
cmp ecx, edx
jne 0x46780f
lea ebx, [ecx + ecx]
test ecx, ecx
jne 0x467794
mov ebx, 1
mov dword [ebp - 0x68], ebx
cmp edx, ebx
jge 0x46780f
test ebx, ebx
je 0x4677b6
lea eax, [ebx*8]
push 0x10
push eax
call fcn.004927e0
mov ecx, dword [ebp - 0x24]
add esp, 8
jmp 0x4677b8
xor eax, eax
mov dword [ebp - 0x14], eax
test ecx, ecx
jle 0x4677eb
mov edi, dword [ebp - 0x1c]
mov edx, eax
sub edi, eax
mov ebx, ecx
nop dword [eax + eax]
mov eax, dword [edi + edx]
lea edx, [edx + 8]
mov ecx, dword [edi + edx - 4]
mov dword [edx - 8], eax
mov dword [edx - 4], ecx
sub ebx, 1
jne 0x4677d0
mov ebx, dword [ebp - 0x68]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4677fb
push eax
call fcn.004927f0
add esp, 4
mov eax, dword [ebp - 0x14]
mov edx, ebx
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 0x18], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
jmp 0x467812
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x88]
mov dword [eax + ecx*8], edi
mov dword [eax + ecx*8 + 4], edx
inc ecx
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x78], esi
jge 0x4679ae
mov edi, dword [ebp - 0x60]
cmp edi, esi
jge 0x4679a9
mov eax, edi
mov dword [ebp - 0x14], eax
cmp esi, eax
jl 0x4678ab
jle 0x46789d
cmp dword [ebp - 0x5c], esi
jge 0x46789d
test esi, esi
je 0x467863
lea eax, [esi*4]
push 0x10
push eax
call fcn.004927e0
mov ebx, eax
add esp, 8
mov eax, edi
jmp 0x467865
xor ebx, ebx
test eax, eax
jle 0x467883
mov edi, dword [ebp - 0x58]
mov ecx, ebx
sub edi, ebx
mov edx, eax
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x467872
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x467893
push eax
call fcn.004927f0
add esp, 4
mov byte [ebp - 0x54], 1
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], esi
mov edx, dword [ebp - 0x58]
mov ecx, esi
sub ecx, edi
xor eax, eax
lea edi, [edx + edi*4]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x4c]
mov eax, esi
mov dword [ebp - 0x60], eax
cmp esi, edi
jle 0x467927
cmp dword [ebp - 0x48], esi
jge 0x467915
test esi, esi
je 0x4678d6
lea eax, [esi*4]
push 0x10
push eax
call fcn.004927e0
add esp, 8
mov ebx, eax
jmp 0x4678d8
xor ebx, ebx
test edi, edi
jle 0x4678f7
mov edi, dword [ebp - 0x44]
mov ecx, ebx
mov edx, dword [ebp - 0x4c]
sub edi, ebx
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x4678e6
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x467907
push eax
call fcn.004927f0
add esp, 4
mov edx, ebx
mov byte [ebp - 0x40], 1
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], esi
jmp 0x467918
mov edx, dword [ebp - 0x44]
cmp edi, esi
jge 0x467927
mov ecx, esi
sub ecx, edi
xor eax, eax
lea edi, [edx + edi*4]
rep stosd dword es:[edi], eax
mov eax, esi
mov dword [ebp - 0x4c], eax
test esi, esi
jle 0x467950
mov edi, dword [ebp - 0x58]
lea edx, [esi*4]
mov ecx, edx
or eax, 0xffffffff
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x44]
shr edx, 2
or eax, eax
mov ecx, edx
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x14]
xor edx, edx
test ebx, ebx
jle 0x4679a9
lea edi, [esi - 1]
mov esi, dword [ebp - 0x44]
nop
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + edx*8]
mov eax, ecx
shl eax, 0xf
not eax
add ecx, eax
mov eax, ecx
shr eax, 0xa
xor eax, ecx
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 6
xor ecx, eax
mov eax, ecx
shl eax, 0xb
not eax
add ecx, eax
mov eax, ecx
shr eax, 0x10
xor ecx, eax
mov eax, edi
and eax, ecx
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [esi + edx*4], eax
mov dword [ecx], edx
inc edx
cmp edx, ebx
jl 0x467960
mov esi, dword [ebp - 0x34]
lea ecx, [esi - 1]
jmp 0x4679b1
mov ecx, dword [ebp - 0x7c]
and ecx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x84]
mov eax, dword [edi + ecx*4]
mov dword [ebx + edx], eax
mov eax, dword [ebp - 0x6c]
mov dword [edi + ecx*4], eax
mov ecx, dword [ebp - 0x10]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x70]
inc edx
mov dword [ebp - 0x70], edx
mov eax, dword [ecx + 8]
cmp edx, eax
jl 0x467650
xor esi, esi
test eax, eax
jle 0x467a12
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0x108], 1
jne 0x467a09
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x74]
inc esi
cmp esi, dword [ecx + 8]
jl 0x4679f2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 1
test eax, eax
je 0x467a29
push eax
call fcn.004927f0
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 2
test eax, eax
je 0x467a40
push eax
call fcn.004927f0
add esp, 4
mov dword [ebp - 4], 3
test ebx, ebx
je 0x467a54
push ebx
call fcn.004927f0
add esp, 4
mov dword [ebp - 4], 4
test edi, edi
je 0x467a68
push edi
call fcn.004927f0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4