Function at 0x4925e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x1004d260]
test eax, eax
jne 0x4925f8
call fcn.00492380
mov dword [0x1004d260], 1
push ebp
push edi
mov edi, dword [esp + 0x14]
mov eax, edi
sub eax, 0x80
je 0x492633
sub eax, 0x40
je 0x492626
sub eax, 0x40
je 0x492619
pop edi
mov eax, 0xffffffe0
pop ebp
ret
mov ebp, dword [esp + 0xc]
mov dword [ebp], 0xe
jmp 0x49263e
mov ebp, dword [esp + 0xc]
mov dword [ebp], 0xc
jmp 0x49263e
mov ebp, dword [esp + 0xc]
mov dword [ebp], 0xa
push ebx
push esi
shr edi, 5
lea eax, [ebp + 8]
xor esi, esi
test edi, edi
mov dword [ebp + 4], eax
jbe 0x49267b
mov ecx, dword [esp + 0x18]
add ecx, 2
movzx ebx, byte [ecx - 1]
xor edx, edx
mov dh, byte [ecx + 1]
add ecx, 4
mov dl, byte [ecx - 4]
shl edx, 8
or edx, ebx
movzx ebx, byte [ecx - 6]
shl edx, 8
or edx, ebx
mov dword [eax + esi*4], edx
inc esi
cmp esi, edi
jb 0x492656
mov ebp, dword [ebp]
sub ebp, 0xa
je 0x492957
sub ebp, 2
je 0x492773
sub ebp, 2
jne 0x492b5f
xor edi, edi
jmp 0x4926a0
mov ebp, dword [eax + 0x1c]
xor edx, edx
mov ecx, ebp
and ecx, 0xff
mov dh, byte [ecx + 0x1004b038]
movzx ecx, byte [eax + 0x1f]
movzx ecx, byte [ecx + 0x1004b038]
xor edx, ecx
movzx ecx, byte [eax + 0x1e]
movzx ecx, byte [ecx + 0x1004b038]
mov ebx, dword [eax]
mov esi, dword [eax + 8]
shl edx, 8
xor edx, ecx
movzx ecx, byte [eax + 0x1d]
movzx ecx, byte [ecx + 0x1004b038]
shl edx, 8
xor edx, ecx
mov ecx, dword [edi + 0x1004b938]
xor ecx, edx
mov edx, dword [eax + 4]
xor ecx, ebx
xor edx, ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 0xc]
xor esi, edx
xor ecx, esi
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x24], edx
movzx edx, byte [eax + 0x2f]
xor ebx, ebx
mov dword [eax + 0x28], esi
mov bh, byte [edx + 0x1004b038]
movzx edx, byte [eax + 0x2e]
movzx edx, byte [edx + 0x1004b038]
xor ebx, edx
movzx edx, byte [eax + 0x2d]
movzx edx, byte [edx + 0x1004b038]
and ecx, 0xff
movzx ecx, byte [ecx + 0x1004b038]
shl ebx, 8
xor ebx, edx
mov edx, dword [eax + 0x14]
shl ebx, 8
xor ecx, ebx
xor ecx, dword [eax + 0x10]
xor edx, ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x18]
xor ecx, edx
mov dword [eax + 0x38], ecx
xor ecx, ebp
mov dword [eax + 0x34], edx
mov dword [eax + 0x3c], ecx
add edi, 4
add eax, 0x20
cmp edi, 0x1c
jb 0x4926a0
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
ret
xor ecx, ecx
mov esi, dword [eax + 0x14]
mov edx, esi
and edx, 0xff
mov ebp, dword [ecx + 0x1004b938]
xor ebx, ebx
mov bh, byte [edx + 0x1004b038]
movzx edx, byte [eax + 0x17]
movzx edx, byte [edx + 0x1004b038]
xor ebx, edx
movzx edx, byte [eax + 0x16]
movzx edx, byte [edx + 0x1004b038]
mov edi, dword [eax]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 0x15]
movzx edx, byte [edx + 0x1004b038]
shl ebx, 8
xor ebx, edx
xor ebx, ebp
mov edx, ebx
xor edx, edi
mov edi, dword [eax + 4]
mov dword [eax + 0x18], edx
xor edi, edx
mov edx, dword [eax + 8]
xor edx, edi
mov dword [eax + 0x20], edx
mov dword [eax + 0x1c], edi
mov edi, dword [eax + 0xc]
xor edi, edx
mov edx, dword [eax + 0x10]
xor edx, edi
xor esi, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], esi
and esi, 0xff
xor edx, edx
mov dword [eax + 0x24], edi
mov dh, byte [esi + 0x1004b038]
movzx esi, byte [eax + 0x2f]
movzx esi, byte [esi + 0x1004b038]
xor edx, esi
movzx esi, byte [eax + 0x2e]
movzx esi, byte [esi + 0x1004b038]
mov ebp, dword [ecx + 0x1004b93c]
mov ebx, dword [eax + 0x18]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0x2d]
movzx esi, byte [esi + 0x1004b038]
shl edx, 8
xor edx, esi
mov esi, dword [eax + 0x1c]
xor edx, ebp
xor edx, ebx
xor esi, edx
mov dword [eax + 0x30], edx
mov edx, dword [eax + 0x20]
xor edx, esi
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], edx
mov esi, edi
xor esi, edx
mov edx, dword [eax + 0x28]
xor edx, esi
mov dword [eax + 0x3c], esi
mov esi, dword [eax + 0x2c]
xor esi, edx
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], esi
and esi, 0xff
xor edx, edx
mov dh, byte [esi + 0x1004b038]
movzx esi, byte [eax + 0x47]
movzx esi, byte [esi + 0x1004b038]
xor edx, esi
movzx esi, byte [eax + 0x46]
movzx esi, byte [esi + 0x1004b038]
shl edx, 8
xor edx, esi
shl edx, 8
mov ebp, dword [ecx + 0x1004b940]
movzx esi, byte [eax + 0x45]
movzx esi, byte [esi + 0x1004b038]
xor edx, esi
mov ebx, dword [eax + 0x30]
mov esi, dword [eax + 0x34]
xor edx, ebp
xor edx, ebx
xor esi, edx
mov dword [eax + 0x48], edx
mov edx, dword [eax + 0x38]
xor edx, esi
mov dword [eax + 0x4c], esi
mov esi, dword [eax + 0x3c]
xor esi, edx
mov dword [eax + 0x50], edx
mov edx, dword [eax + 0x40]
xor edx, esi
mov dword [eax + 0x54], esi
mov esi, dword [eax + 0x44]
xor esi, edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], esi
and esi, 0xff
xor edx, edx
mov dh, byte [esi + 0x1004b038]
movzx esi, byte [eax + 0x5f]
movzx esi, byte [esi + 0x1004b038]
xor edx, esi
movzx esi, byte [eax + 0x5e]
movzx esi, byte [esi + 0x1004b038]
mov ebp, dword [eax + 0x48]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0x5d]
movzx esi, byte [esi + 0x1004b038]
shl edx, 8
xor edx, esi
xor edx, dword [ecx + 0x1004b944]
mov esi, dword [eax + 0x4c]
xor edx, ebp
xor esi, edx
mov dword [eax + 0x60], edx
mov edx, dword [eax + 0x50]
xor edx, esi
mov dword [eax + 0x64], esi
mov esi, dword [eax + 0x54]
xor esi, edx
mov dword [eax + 0x68], edx
mov edx, dword [eax + 0x58]
xor edx, esi
mov dword [eax + 0x6c], esi
mov esi, dword [eax + 0x5c]
xor esi, edx
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], esi
add ecx, 0x10
add eax, 0x60
cmp ecx, 0x20
jb 0x492775
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
ret
xor ecx, ecx
lea esp, [esp]
mov ebp, dword [eax + 0xc]
xor ebx, ebx
mov edx, ebp
and edx, 0xff
mov bh, byte [edx + 0x1004b038]
movzx edx, byte [eax + 0xf]
movzx edx, byte [edx + 0x1004b038]
xor ebx, edx
movzx edx, byte [eax + 0xe]
movzx edx, byte [edx + 0x1004b038]
mov edi, dword [eax]
mov esi, dword [eax + 8]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 0xd]
movzx edx, byte [edx + 0x1004b038]
shl ebx, 8
xor ebx, edx
mov edx, dword [ecx + 0x1004b938]
xor edx, ebx
xor edx, edi
mov edi, dword [eax + 4]
xor edi, edx
xor esi, edi
mov dword [eax + 0x10], edx
mov dword [eax + 0x18], esi
xor esi, ebp
mov dword [eax + 0x1c], esi
and esi, 0xff
xor edx, edx
mov dword [eax + 0x14], edi
mov dh, byte [esi + 0x1004b038]
movzx esi, byte [eax + 0x1f]
movzx esi, byte [esi + 0x1004b038]
xor edx, esi
movzx esi, byte [eax + 0x1e]
movzx esi, byte [esi + 0x1004b038]
mov edi, dword [ecx + 0x1004b93c]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0x1d]
movzx esi, byte [esi + 0x1004b038]
shl edx, 8
xor edx, esi
mov esi, dword [eax + 0x10]
xor edx, edi
xor edx, esi
mov esi, dword [eax + 0x14]
xor esi, edx
mov dword [eax + 0x20], edx
mov edx, dword [eax + 0x18]
xor edx, esi
mov dword [eax + 0x24], esi
mov esi, dword [eax + 0x1c]
xor esi, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], esi
and esi, 0xff
xor edx, edx
mov dh, byte [esi + 0x1004b038]
movzx esi, byte [eax + 0x2f]
movzx esi, byte [esi + 0x1004b038]
mov edi, dword [ecx + 0x1004b940]
xor edx, esi
movzx esi, byte [eax + 0x2e]
movzx esi, byte [esi + 0x1004b038]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0x2d]
movzx esi, byte [esi + 0x1004b038]
shl edx, 8
xor edx, esi
mov esi, dword [eax + 0x20]
xor edx, edi
xor edx, esi
mov esi, dword [eax + 0x24]
xor esi, edx
mov dword [eax + 0x30], edx
mov edx, dword [eax + 0x28]
mov dword [eax + 0x34], esi
xor edx, esi
mov esi, dword [eax + 0x2c]
xor esi, edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], esi
and esi, 0xff
xor edx, edx
mov dh, byte [esi + 0x1004b038]
movzx esi, byte [eax + 0x3f]
movzx esi, byte [esi + 0x1004b038]
xor edx, esi
movzx esi, byte [eax + 0x3e]
movzx esi, byte [esi + 0x1004b038]
mov edi, dword [ecx + 0x1004b944]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0x3d]
movzx esi, byte [esi + 0x1004b038]
shl edx, 8
xor edx, esi
mov esi, dword [eax + 0x30]
xor edx, edi
xor edx, esi
mov esi, dword [eax + 0x34]
xor esi, edx
mov dword [eax + 0x40], edx
mov edx, dword [eax + 0x38]
xor edx, esi
mov dword [eax + 0x44], esi
mov esi, dword [eax + 0x3c]
xor esi, edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], esi
and esi, 0xff
xor edx, edx
mov dh, byte [esi + 0x1004b038]
movzx esi, byte [eax + 0x4f]
movzx esi, byte [esi + 0x1004b038]
mov edi, dword [ecx + 0x1004b948]
xor edx, esi
movzx esi, byte [eax + 0x4e]
movzx esi, byte [esi + 0x1004b038]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0x4d]
movzx esi, byte [esi + 0x1004b038]
shl edx, 8
xor edx, esi
mov esi, dword [eax + 0x40]
xor edx, edi
xor edx, esi
mov esi, dword [eax + 0x44]
xor esi, edx
mov dword [eax + 0x50], edx
mov edx, dword [eax + 0x48]
xor edx, esi
mov dword [eax + 0x54], esi
mov esi, dword [eax + 0x4c]
xor esi, edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], esi
add ecx, 0x14
add eax, 0x50
cmp ecx, 0x28
jb 0x492960
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
ret