Function at 0x4a37d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608698
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x7f206c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov edx, ecx
mov dword [ebp - 0x28], edx
sub eax, edx
sar eax, 4
mov ebx, eax
mov dword [ebp - 0x3c], eax
sar ebx, 1
test ebx, ebx
jle 0x4a39d9
dec eax
mov ecx, ebx
mov dword [ebp - 0x40], eax
sar eax, 1
shl ecx, 4
mov dword [ebp - 0x30], eax
add ecx, edx
mov eax, dword [ecx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x24], eax
dec ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], ecx
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ecx], 0x7ad0d8
mov ecx, dword [ebp - 0x30]
mov edi, ebx
mov dword [ebp - 4], 0
mov eax, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38], esi
cmp ebx, ecx
jge 0x4a3961
mov esi, dword [ebp - 0x28]
add eax, eax
mov dword [ebp - 0x2c], eax
add eax, eax
lea ebx, [esi + eax*8]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x64], eax
mov ecx, dword [eax + 0x34]
lea eax, [ebx + 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
call ecx
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x54], eax
mov ecx, dword [eax + 0x34]
lea eax, [ebx + 0x28]
push eax
lea eax, [ebp - 0x4c]
push eax
call ecx
mov edx, esp
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], esp
mov dword [edx], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x34]
lea eax, [ebp - 0x5c]
push eax
lea eax, [edx + 8]
push eax
call ecx
sub esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x54]
mov edx, esp
mov dword [edx], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x34]
lea eax, [ebp - 0x4c]
push eax
lea eax, [edx + 8]
push eax
call ecx
add esp, 8
mov byte [ebp - 4], 3
call fcn.0046d870
test eax, eax
sets bl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
push ecx
mov eax, dword [eax + 0x30]
call eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x64]
push ecx
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [ebp - 0x2c]
add esp, 0x28
movzx eax, bl
inc ecx
xor eax, 1
shl edi, 4
add eax, ecx
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], eax
add eax, eax
add edi, esi
lea ebx, [esi + eax*8]
mov ecx, dword [edi]
mov eax, dword [ebx]
mov dword [edi], eax
mov dword [ebx], ecx
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 8]
mov edx, dword [edi + 0xc]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov edi, eax
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebx + 0xc], edx
cmp eax, ecx
jl 0x4a3867
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
cmp eax, ecx
jne 0x4a399e
mov eax, dword [ebp - 0x3c]
test al, 1
jne 0x4a399e
add eax, eax
shl edi, 4
lea ebx, [edx + eax*8]
add edi, edx
mov eax, dword [ebx - 0x10]
mov ecx, dword [edi]
mov dword [edi], eax
mov dword [ebx - 0x10], ecx
mov eax, dword [ebx - 8]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [edi + 8], eax
mov eax, dword [ebx - 4]
mov dword [edi + 0xc], eax
mov edi, dword [ebp - 0x40]
mov dword [ebx - 8], ecx
mov dword [ebx - 4], edx
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push esi
push eax
push ebx
mov edx, edi
call fcn.004a45c0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
push ecx
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [ebp - 0x44]
add esp, 0x10
mov edx, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
jg 0x4a3826
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a7e5e
mov esp, ebp
pop ebp
ret