Function at 0x5c33c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x48]
push esi
mov esi, dword [esp + 0x44]
push edi
mov eax, dword [esi + 8]
add dword [esi + 0x28], ebp
mov ecx, dword [esi + 0x2c]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov edx, dword [esi + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x5c368f
mov eax, 8
sub eax, ecx
add ecx, 0x20
add ecx, esi
mov dword [esp + 0x50], eax
cmp ebp, eax
jae 0x5c3440
push ebp
push dword [esp + 0x50]
push ecx
call fcn.0060a150
add esp, 0xc
add dword [esi + 0x2c], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ebx, dword [esp + 0x4c]
push eax
push ebx
push ecx
call fcn.0060a150
add ebx, dword [esp + 0x5c]
add esp, 0xc
movzx eax, byte [esi + 0x27]
cdq
mov dword [esp + 0x2c], ebx
mov ecx, eax
movzx eax, byte [esi + 0x26]
mov ebx, edx
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
sub ebp, dword [esp + 0x50]
movzx eax, byte [esi + 0x25]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
mov dword [esp + 0x50], ebp
movzx eax, byte [esi + 0x24]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi + 0x23]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi + 0x22]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi + 0x21]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi + 0x20]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
mov edx, dword [esp + 0x20]
or ecx, eax
xor dword [esp + 0x14], ecx
xor edx, ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x18]
add edi, ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x28]
adc eax, ebx
mov dword [esp + 0x18], edi
mov ebp, ebx
shld ebx, ecx, 0xd
xor edi, edi
shr ebp, 0x13
shl ecx, 0xd
or edi, ebx
or ebp, ecx
mov dword [esp + 0x24], eax
xor ebp, dword [esp + 0x18]
xor edi, eax
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
adc dword [esp + 0x1c], edx
shld dword [esp + 0x20], eax, 0x10
mov ebx, dword [esp + 0x24]
xor ecx, ecx
or ecx, dword [esp + 0x20]
xor ecx, dword [esp + 0x1c]
shl eax, 0x10
shr edx, 0x10
or edx, eax
mov dword [esp + 0x20], 0
xor edx, dword [esp + 0x10]
xor eax, eax
or eax, dword [esp + 0x18]
add ebx, edx
mov dword [esp + 0x28], ebx
adc eax, ecx
xor ebx, ebx
mov dword [esp + 0x18], eax
mov eax, ecx
shld ecx, edx, 0x15
shr eax, 0xb
or ebx, ecx
shl edx, 0x15
xor ebx, dword [esp + 0x18]
or eax, edx
mov edx, dword [esp + 0x28]
mov ecx, edi
xor eax, edx
add dword [esp + 0x10], ebp
mov dword [esp + 0x24], eax
adc dword [esp + 0x1c], edi
xor eax, eax
shld edi, ebp, 0x11
shr ecx, 0xf
or eax, edi
shl ebp, 0x11
xor eax, dword [esp + 0x1c]
or ecx, ebp
xor ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x28], edx
mov edx, eax
adc edi, eax
shr edx, 0x13
shld eax, ecx, 0xd
xor ebp, ebp
mov dword [esp + 0x18], edi
shl ecx, 0xd
or ebp, eax
or edx, ecx
xor eax, eax
xor edx, dword [esp + 0x28]
xor ebp, edi
or eax, dword [esp + 0x10]
mov ecx, ebx
mov edi, dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x1c]
add edx, edi
adc eax, ebx
shr ecx, 0x10
shld ebx, edi, 0x10
mov dword [esp + 0x10], eax
xor eax, eax
or eax, ebx
shl edi, 0x10
xor eax, dword [esp + 0x10]
or ecx, edi
mov edi, dword [esp + 0x18]
xor ecx, edx
xor ebx, ebx
mov dword [esp + 0x14], eax
or ebx, dword [esp + 0x28]
add edi, ecx
adc ebx, eax
shr dword [esp + 0x14], 0xb
shld eax, ecx, 0x15
shl ecx, 0x15
or dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
or ecx, eax
xor dword [esp + 0x14], edi
xor ecx, ebx
mov eax, dword [esp + 0x30]
add edx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x10]
adc ecx, ebp
mov dword [esp + 0x18], ebp
shr dword [esp + 0x18], 0xf
xor edi, dword [esp + 0x34]
shld ebp, eax, 0x11
mov dword [esp + 0x28], 0
shl eax, 0x11
or dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
xor dword [esp + 0x18], edx
or eax, ebp
mov ebp, dword [esp + 0x50]
xor eax, ecx
mov dword [esp + 0x28], eax
xor eax, eax
or eax, edx
mov dword [esp + 0x10], ecx
xor ebx, dword [esp + 0x38]
mov edx, dword [esi + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
jmp 0x5c3697
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
and edx, 7
mov ecx, eax
sub ecx, edx
mov dword [esp + 0x40], edx
add ecx, ebp
mov dword [esi + 0x2c], edx
mov dword [esp + 0x3c], ecx
cmp eax, ecx
je 0x5c38f8
mov esi, dword [esp + 0x2c]
movzx eax, byte [esi + 7]
cdq
mov ecx, eax
mov ebx, edx
shld ebx, ecx, 8
movzx eax, byte [esi + 6]
shl ecx, 8
cdq
or ecx, eax
or ebx, edx
shld ebx, ecx, 8
movzx eax, byte [esi + 5]
shl ecx, 8
cdq
or ecx, eax
or ebx, edx
movzx eax, byte [esi + 4]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi + 3]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi + 2]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi + 1]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
mov edx, dword [esp + 0x20]
or ecx, eax
xor dword [esp + 0x14], ecx
xor edx, ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x18]
add edi, ecx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x28]
adc eax, ebx
mov dword [esp + 0x18], edi
mov ebp, ebx
shld ebx, ecx, 0xd
xor edi, edi
shr ebp, 0x13
shl ecx, 0xd
or edi, ebx
or ebp, ecx
mov dword [esp + 0x24], eax
xor ebp, dword [esp + 0x18]
xor edi, eax
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
adc dword [esp + 0x1c], edx
xor ecx, ecx
shld dword [esp + 0x20], eax, 0x10
or ecx, dword [esp + 0x20]
xor ecx, dword [esp + 0x1c]
shr edx, 0x10
shl eax, 0x10
or edx, eax
xor eax, eax
xor edx, dword [esp + 0x10]
or eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
add ebx, edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x50], ebx
adc eax, ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], eax
xor ebx, ebx
mov eax, ecx
shld ecx, edx, 0x15
shr eax, 0xb
or ebx, ecx
shl edx, 0x15
xor ebx, dword [esp + 0x18]
or eax, edx
mov edx, dword [esp + 0x50]
mov ecx, edi
xor eax, edx
add dword [esp + 0x10], ebp
mov dword [esp + 0x38], eax
adc dword [esp + 0x1c], edi
xor eax, eax
shr ecx, 0xf
shld edi, ebp, 0x11
or eax, edi
shl ebp, 0x11
xor eax, dword [esp + 0x1c]
or ecx, ebp
xor ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x50], edx
mov edx, eax
adc edi, eax
shr edx, 0x13
shld eax, ecx, 0xd
xor ebp, ebp
mov dword [esp + 0x18], edi
shl ecx, 0xd
or ebp, eax
or edx, ecx
xor eax, eax
or eax, dword [esp + 0x10]
xor ebp, edi
xor edx, dword [esp + 0x50]
mov ecx, ebx
mov edi, dword [esp + 0x38]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x1c]
add edx, edi
adc eax, ebx
shr ecx, 0x10
shld ebx, edi, 0x10
mov dword [esp + 0x10], eax
xor eax, eax
or eax, ebx
shl edi, 0x10
xor eax, dword [esp + 0x10]
or ecx, edi
mov edi, dword [esp + 0x18]
xor ecx, edx
xor ebx, ebx
mov dword [esp + 0x14], eax
or ebx, dword [esp + 0x50]
add edi, ecx
mov dword [esp + 0x18], ebp
adc ebx, eax
shr dword [esp + 0x14], 0xb
shld eax, ecx, 0x15
shl ecx, 0x15
or dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
xor dword [esp + 0x14], edi
or ecx, eax
mov eax, dword [esp + 0x34]
xor ecx, ebx
mov dword [esp + 0x20], ecx
add edx, eax
mov ecx, dword [esp + 0x10]
adc ecx, ebp
shr dword [esp + 0x18], 0xf
xor ebx, dword [esp + 0x2c]
add esi, 8
xor edi, dword [esp + 0x30]
shld ebp, eax, 0x11
mov dword [esp + 0x10], ecx
shl eax, 0x11
or dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
xor dword [esp + 0x18], edx
or eax, ebp
xor eax, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
xor eax, eax
or eax, edx
mov dword [esp + 0x1c], eax
cmp esi, dword [esp + 0x3c]
jne 0x5c36b7
mov edx, dword [esp + 0x40]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
jmp 0x5c38fc
mov ecx, dword [esp + 0x10]
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x18]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi], edi
mov edi, dword [esp + 0x1c]
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x20]
push edx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], ecx
add esi, 0x20
push eax
push esi
call fcn.0060a150
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret