Function at 0x6051b3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x84]
and ebx, 0xfffffff8
mov dword [ebp - 0x90], edi
add ebx, 8
mov dword [ebp - 0x8c], ebx
mov eax, dword [edi + 0x12c]
mov esi, dword [eax + 0x48]
call fcn.005e7203
test byte [edi + 0x3a], 0x80
mov ecx, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
mov eax, dword [edi + 0x128]
movups xmmword [ebx + 4], xmm0
mov eax, dword [eax + 0x1c]
movups xmm0, xmmword [eax]
movzx eax, word [edi + 0x3c]
mov word [ebx + 0x42], ax
mov eax, dword [ecx + 4]
mov dword [ebx + 0x24], eax
movzx eax, word [ecx + 0x1a]
mov word [ebx + 0x44], ax
movzx eax, word [ecx + 0x18]
mov word [ebx + 0x46], ax
mov eax, dword [ecx + 0x14]
movups xmmword [ebx + 0x14], xmm0
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x10c]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x164]
mov dword [ebx + 0x38], eax
movzx eax, word [esi + 0x110]
mov word [ebx + 0x40], ax
mov eax, dword [esi + 0x118]
mov dword [ebx + 0x34], eax
movzx eax, word [esi + 0x11c]
mov word [ebx + 0x56], ax
mov eax, dword [esi + 0x120]
mov dword [ebx + 0x2c], eax
movzx eax, word [esi + 0x124]
mov word [ebx + 0x54], ax
movzx eax, byte [esi + 0x12c]
mov byte [ebx + 0x5c], al
movzx eax, word [esi + 0x130]
mov word [ebx + 0x50], ax
movzx eax, byte [esi + 0x134]
mov byte [ebx + 2], al
mov eax, dword [esi + 0x138]
mov dword [ebx + 0x30], eax
movzx eax, word [esi + 0x13c]
mov word [ebx + 0x48], ax
movzx eax, word [esi + 0x140]
mov word [ebx + 0x4a], ax
movzx eax, word [esi + 0x144]
mov word [ebx + 0x4c], ax
movzx eax, byte [esi + 0x148]
mov byte [ebx + 0x5d], al
mov eax, dword [esi + 0x14c]
je 0x6052de
mov ecx, 4
cmp eax, ecx
cmovl eax, ecx
mov byte [ebx + 3], al
lea ecx, [ebx + 0x66]
movzx eax, byte [esi + 0x150]
mov byte [ebx + 0x58], al
movzx eax, byte [esi + 0x154]
mov byte [ebx + 0x59], al
movzx eax, byte [esi + 0x158]
mov byte [ebx + 0x5a], al
movzx eax, byte [esi + 0x15c]
mov byte [ebx + 0x5b], al
movzx eax, word [esi + 0x160]
mov word [ebx + 0x4e], ax
movzx eax, word [esi + 0x17c]
mov word [ebx + 0x52], ax
movzx eax, byte [esi + 0xb0]
mov byte [ebx + 1], al
movzx eax, byte [esi + 0x194]
mov byte [ecx], al
movzx eax, byte [esi + 0x18c]
mov byte [ebx + 0x68], al
movzx eax, byte [esi + 0x188]
mov byte [ebx + 0x69], al
movzx eax, byte [esi + 0x190]
mov byte [ebx + 0x6a], al
movzx eax, byte [esi + 0x184]
mov byte [ebx + 0x6b], al
movzx eax, byte [esi + 0x114]
mov byte [ebx + 0x6c], al
movzx eax, byte [esi + 0x198]
mov esi, dword [edi + 0x130]
lea edi, [ebx + 0x62]
push 8
push ecx
mov byte [ebx + 0x6d], al
mov dword [ebp - 0x88], edi
call fcn.0060d683
mov ecx, eax
mov byte [edi + 3], al
shr ecx, 0x18
mov edx, eax
shr edx, 0x10
add esp, 8
mov byte [edi], cl
lea ecx, [edi + 1]
mov byte [ecx], dl
mov edx, eax
shr edx, 8
add esi, 0x1e
mov byte [edi + 2], dl
lea edx, [ebx + 9]
lea edi, [ebx + 0x26]
mov ebx, 2
movzx eax, byte [edi - 2]
lea edx, [edx + 6]
xor al, byte [esi + 1]
lea ecx, [ecx + 6]
xor al, byte [edx - 7]
lea edi, [edi + 0xc]
xor byte [ecx - 7], al
lea esi, [esi - 6]
movzx eax, byte [esi + 6]
xor al, byte [ecx - 6]
xor al, byte [edi - 0xc]
xor al, byte [edx - 6]
mov byte [ecx - 6], al
movzx eax, byte [edi - 0xa]
xor al, byte [esi + 5]
xor al, byte [edx - 5]
xor byte [ecx - 5], al
movzx eax, byte [edi - 8]
xor al, byte [esi + 4]
xor al, byte [edx - 4]
xor byte [ecx - 4], al
movzx eax, byte [edi - 6]
xor al, byte [esi + 3]
xor al, byte [edx - 3]
xor byte [ecx - 3], al
movzx eax, byte [edi - 4]
xor al, byte [esi + 2]
xor al, byte [edx - 2]
xor byte [ecx - 2], al
sub ebx, 1
jne 0x6053b5
push 0xc
push dword [ebp - 0x88]
call fcn.0060d683
mov ebx, dword [ebp - 0x8c]
mov ecx, eax
mov esi, dword [0x74fb4c]
add esp, 8
shr ecx, 0x18
mov byte [ebx + 0x5e], cl
mov ecx, eax
shr ecx, 0x10
mov byte [ebx + 0x5f], cl
mov ecx, eax
shr ecx, 8
mov byte [ebx + 0x60], cl
mov byte [ebx + 0x61], al
push dword [ebx + 0x24]
call esi
push dword [ebx + 0x28]
mov dword [ebx + 0x24], eax
call esi
push dword [ebx + 0x3c]
mov dword [ebx + 0x28], eax
call esi
push dword [ebx + 0x38]
mov dword [ebx + 0x3c], eax
call esi
push dword [ebx + 0x2c]
mov dword [ebx + 0x38], eax
call dword [0x74fb90]
mov edi, dword [0x74fb40]
mov dword [ebx + 0x2c], eax
movzx eax, word [ebx + 0x40]
push eax
call edi
mov word [ebx + 0x40], ax
movzx eax, word [ebx + 0x42]
push eax
call edi
mov word [ebx + 0x42], ax
movzx eax, word [ebx + 0x46]
push eax
call edi
push dword [ebx + 0x34]
mov word [ebx + 0x46], ax
call esi
mov dword [ebx + 0x34], eax
movzx eax, word [ebx + 0x44]
push eax
call edi
mov word [ebx + 0x44], ax
movzx eax, word [ebx + 0x48]
push eax
call edi
push dword [ebx + 0x30]
mov word [ebx + 0x48], ax
call esi
mov dword [ebx + 0x30], eax
movzx eax, word [ebx + 0x4a]
push eax
call edi
mov word [ebx + 0x4a], ax
movzx eax, word [ebx + 0x4c]
push eax
call edi
mov word [ebx + 0x4c], ax
movzx eax, word [ebx + 0x4e]
push eax
call edi
mov word [ebx + 0x4e], ax
movzx eax, word [ebx + 0x50]
push eax
call edi
mov word [ebx + 0x50], ax
movzx eax, word [ebx + 0x52]
push eax
call edi
mov word [ebx + 0x52], ax
movzx eax, word [ebx + 0x54]
push eax
call edi
mov word [ebx + 0x54], ax
movzx eax, word [ebx + 0x56]
push eax
call edi
mov word [ebx + 0x56], ax
push 0x70
mov byte [ebx], 0xa1
push ebx
mov word [ebx + 0x6e], 0x4d5a
call fcn.005e8453
mov esi, dword [ebp - 0x90]
add esp, 8
movzx ecx, ax
mov eax, ecx
shr eax, 8
mov byte [ebx + 0x6e], al
mov eax, dword [esi + 0x130]
mov byte [ebx + 0x6f], cl
push 0x70
push ebx
cmp dword [eax + 0xa8], 1
jne 0x605559
add eax, 0x3a
push eax
call fcn.005e8ca3
jmp 0x605562
add eax, 0x20
push eax
call fcn.005e8d13
mov eax, dword [esi + 0x12c]
add esp, 0xc
inc byte [esi + 0x3b]
mov edx, dword [eax + 0x48]
movzx eax, byte [esi + 0x3b]
imul ecx, eax, 0x32
push esi
mov eax, dword [edx + 0xbc]
push 0x583c30
add eax, ecx
cdq
push edx
push eax
lea eax, [esi + 0x150]
push eax
call fcn.005d9633
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop edi
pop esi
pop ebx
call 0x6eb441
mov esp, ebp
pop ebp
ret