Function at 0x5458b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.0049d300
push esi
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x170]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], eax
xor eax, eax
add ecx, dword [esi + 0x38]
adc eax, dword [esi + 0x3c]
cmp eax, 0xf
ja 0x545b68
jb 0x5458f3
cmp ecx, 0xffffffe0
ja 0x545b68
cmp dword [esi + 0x16c], 0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
je 0x54591c
lea edx, [esi + 0x60]
push edx
lea eax, [esi + 0x40]
push eax
call fcn.00544ef0
add esp, 8
mov dword [esi + 0x16c], 0
movzx ecx, byte [esi + 0xe]
movzx edx, byte [esi + 0xf]
mov eax, dword [esi + 0x168]
push ebx
xor ebx, ebx
mov bh, byte [esi + 0xc]
push ebp
mov ebp, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov bl, byte [esi + 0xd]
shl ebx, 8
or ebx, ecx
shl ebx, 8
or ebx, edx
test eax, eax
je 0x5459a0
jmp 0x545955
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x30], 0
je 0x545984
mov cl, byte [edi]
mov dl, byte [eax + esi + 0x10]
sub dword [esp + 0x30], 1
xor dl, cl
mov byte [ebp], dl
xor byte [eax + esi + 0x40], cl
add eax, 1
add edi, 1
add ebp, 1
and eax, 0xf
mov dword [esp + 0x24], eax
jne 0x545951
jmp 0x54598c
test eax, eax
jne 0x545b58
lea eax, [esi + 0x60]
push eax
lea ecx, [esi + 0x40]
push ecx
call fcn.00544ef0
mov eax, dword [esp + 0x2c]
add esp, 8
mov ecx, dword [esp + 0x30]
cmp ecx, 0xc00
jb 0x545a56
mov eax, 0xaaaaaaab
mul ecx
shr edx, 0xb
mov dword [esp + 0x1c], edx
mov edi, edi
push 0xc00
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
mov ecx, edi
call fcn.00545070
add esp, 0xc
mov dword [esp + 0x18], 0xc0
nop
mov edx, dword [esp + 0x10]
push edx
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x20]
add ebx, 1
mov byte [esi + 0xf], bl
mov eax, ebx
shr eax, 0x18
mov byte [esi + 0xc], al
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 0xd], cl
mov edx, ebx
shr edx, 8
mov byte [esi + 0xe], dl
mov eax, dword [esi + 0x10]
xor eax, dword [edi]
add esp, 0xc
mov dword [ebp], eax
mov ecx, dword [edi + 4]
xor ecx, dword [esi + 0x14]
add ebp, 0x10
mov dword [ebp - 0xc], ecx
mov edx, dword [edi + 8]
xor edx, dword [esi + 0x18]
add edi, 0x10
mov dword [ebp - 8], edx
mov eax, dword [edi - 4]
xor eax, dword [esi + 0x1c]
sub dword [esp + 0x18], 1
mov dword [ebp - 4], eax
jne 0x5459e0
sub dword [esp + 0x30], 0xc00
sub dword [esp + 0x1c], 1
jne 0x5459c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
and ecx, 0xfffffff0
je 0x545af0
push ecx
lea ecx, [esi + 0x60]
push ecx
lea edx, [esi + 0x40]
push edx
mov ecx, edi
call fcn.00545070
add esp, 0xc
cmp dword [esp + 0x30], 0x10
jb 0x545aec
mov eax, dword [esp + 0x30]
shr eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
push eax
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x20]
add ebx, 1
mov byte [esi + 0xf], bl
sub dword [esp + 0x3c], 0x10
mov ecx, ebx
shr ecx, 0x18
mov byte [esi + 0xc], cl
mov edx, ebx
shr edx, 0x10
mov byte [esi + 0xd], dl
mov eax, ebx
shr eax, 8
mov byte [esi + 0xe], al
mov ecx, dword [esi + 0x10]
xor ecx, dword [edi]
add esp, 0xc
mov dword [ebp], ecx
mov edx, dword [edi + 4]
xor edx, dword [esi + 0x14]
add ebp, 0x10
mov dword [ebp - 0xc], edx
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
add edi, 0x10
mov dword [ebp - 8], eax
mov ecx, dword [edi - 4]
xor ecx, dword [esi + 0x1c]
sub dword [esp + 0x1c], 1
mov dword [ebp - 4], ecx
jne 0x545a88
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x30], 0
je 0x545b58
mov edx, dword [esp + 0x10]
push edx
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x20]
add ebx, 1
mov eax, ebx
shr eax, 8
mov ecx, ebx
shr ecx, 0x18
mov edx, ebx
shr edx, 0x10
mov byte [esi + 0xe], al
mov eax, dword [esp + 0x30]
add esp, 0xc
mov byte [esi + 0xc], cl
mov byte [esi + 0xd], dl
mov byte [esi + 0xf], bl
lea ecx, [eax + ebp]
sub edi, ebp
nop
mov dl, byte [edi + ecx]
mov bl, byte [esi + eax + 0x10]
mov ebp, dword [esp + 0x30]
xor byte [esi + eax + 0x40], dl
xor bl, dl
sub ebp, 1
mov byte [ecx], bl
add eax, 1
add ecx, 1
test ebp, ebp
mov dword [esp + 0x30], ebp
jne 0x545b30
mov dword [esp + 0x24], eax
pop edi
pop ebp
mov dword [esi + 0x168], eax
pop ebx
xor eax, eax
pop esi
add esp, 0x10
ret
or eax, 0xffffffff
pop esi
add esp, 0x10
ret