Function at 0x593ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bef00
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x692c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
push 0x138
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x148]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x148]
call fcn.00449bd0
mov edx, dword [esi + 0x538]
mov dword [ebp - 4], 0
cmp edx, 0x10
ja 0x5942e1
mov ecx, dword [esi + 0x534]
test ecx, ecx
jne 0x594198
cmp dword [esi + 0x530], ecx
jne 0x593fb5
cmp edx, 0xc
jne 0x593fb5
movq xmm0, qword [esi + 0x520]
mov eax, dword [esi + 0x528]
movq qword [esi + 0x500], xmm0
mov dword [esi + 0x508], eax
lea eax, [esi + 0x4f0]
mov dword [esi + 0x50c], 0x1000000
mov dword [ebp - 0x158], eax
jmp 0x594156
test edx, edx
je 0x593fdc
mov edi, 0xfffffb10
lea ecx, [esi + 0x4f0]
sub edi, esi
mov al, byte [ecx + 0x30]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
lea eax, [edi + ecx]
mov edx, dword [esi + 0x538]
cmp eax, edx
jb 0x593fc6
mov edi, esi
add edi, 0x4f0
mov dword [ebp - 0x158], edi
test edx, edx
je 0x59401a
mov eax, edx
mov ecx, 8
imul ecx
add dword [esi + 0x540], eax
lea eax, [ebp - 0x148]
push eax
adc edx, dword [esi + 0x544]
push edi
push esi
mov dword [esi + 0x544], edx
call fcn.00596b50
add esp, 0xc
xorps xmm0, xmm0
movq qword [esi + 0x520], xmm0
mov cl, byte [esi + 0x547]
mov byte [esi + 0x528], cl
mov dl, byte [esi + 0x546]
mov byte [esi + 0x529], dl
mov ah, byte [esi + 0x545]
mov byte [esi + 0x52a], ah
mov ch, byte [esi + 0x544]
mov byte [esi + 0x52b], ch
mov dh, byte [esi + 0x543]
mov byte [esi + 0x52c], dh
mov al, byte [esi + 0x542]
mov byte [ebp - 0x149], al
mov byte [esi + 0x52d], al
mov al, byte [esi + 0x541]
mov byte [ebp - 0x14a], al
mov byte [esi + 0x52e], al
mov al, byte [esi + 0x540]
mov byte [ebp - 0x14b], al
mov byte [esi + 0x52f], al
mov al, byte [esi + 0x520]
xor byte [edi], al
mov al, byte [esi + 0x521]
xor byte [esi + 0x4f1], al
mov al, byte [esi + 0x522]
xor byte [esi + 0x4f2], al
mov al, byte [esi + 0x523]
xor byte [esi + 0x4f3], al
mov al, byte [esi + 0x524]
xor byte [esi + 0x4f4], al
mov al, byte [esi + 0x525]
xor byte [esi + 0x4f5], al
mov al, byte [esi + 0x526]
xor byte [esi + 0x4f6], al
mov al, byte [esi + 0x527]
xor byte [esi + 0x4f7], al
mov al, byte [ebp - 0x149]
xor byte [esi + 0x4fd], al
mov al, byte [ebp - 0x14a]
xor byte [esi + 0x4fe], al
mov al, byte [ebp - 0x14b]
xor byte [esi + 0x4fa], ah
xor byte [esi + 0x4ff], al
lea eax, [ebp - 0x148]
xor byte [esi + 0x4f8], cl
xor byte [esi + 0x4f9], dl
xor byte [esi + 0x4fb], ch
xor byte [esi + 0x4fc], dh
push eax
push edi
push esi
call fcn.00596b50
movups xmm0, xmmword [edi]
add esp, 0xc
movups xmmword [esi + 0x500], xmm0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movups xmm0, xmmword [esi + 0x500]
movups xmmword [esi + 0x510], xmm0
xorps xmm0, xmm0
movups xmmword [esi + 0x520], xmm0
mov dword [esi + 0x538], 0
mov dword [esi + 0x540], 0
mov dword [esi + 0x544], 0
mov dword [esi + 0x534], 1
jmp 0x5941b6
lea eax, [esi + 0x4f0]
mov dword [ebp - 0x158], eax
cmp ecx, 1
jne 0x5942da
cmp edx, 0x10
jge 0x5942da
mov edi, dword [ebp - 0x150]
lea ecx, [edi + 0x50]
call fcn.00438ea0
lea ecx, [edi + 0x50]
mov dword [ebp - 0x154], eax
call fcn.00402fb0
xor edi, edi
mov dword [ebp - 0x150], eax
cmp dword [esi + 0x538], edi
jne 0x594259
mov ecx, eax
and ecx, 0xfffffff0
mov dword [ebp - 0x15c], ecx
jbe 0x59424f
nop
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 0x158]
mov eax, dword [ecx + edi]
xor dword [edx], eax
mov eax, dword [ecx + edi + 4]
xor dword [edx + 4], eax
mov eax, dword [ecx + edi + 8]
xor dword [esi + 0x4f8], eax
mov eax, dword [ecx + edi + 0xc]
xor dword [esi + 0x4fc], eax
lea eax, [ebp - 0x148]
push eax
push edx
push esi
call fcn.00596b50
add esp, 0xc
add dword [esi + 0x540], 0x80
adc dword [esi + 0x544], 0
add edi, 0x10
cmp edi, dword [ebp - 0x15c]
jb 0x5941f0
mov eax, dword [ebp - 0x150]
mov edx, dword [ebp - 0x154]
add edx, edi
jmp 0x59425f
mov edx, dword [ebp - 0x154]
cmp edi, eax
jae 0x5942d1
sub eax, edi
mov edi, dword [ebp - 0x158]
mov dword [ebp - 0x150], eax
mov ecx, dword [esi + 0x538]
mov al, byte [edx]
inc edx
mov dword [ebp - 0x154], edx
xor byte [ecx + esi + 0x4f0], al
inc dword [esi + 0x538]
cmp dword [esi + 0x538], 0x10
jne 0x5942c8
lea eax, [ebp - 0x148]
push eax
push edi
push esi
call fcn.00596b50
mov edx, dword [ebp - 0x154]
add esp, 0xc
add dword [esi + 0x540], 0x80
mov dword [esi + 0x538], 0
adc dword [esi + 0x544], 0
sub dword [ebp - 0x150], 1
jne 0x594271
mov byte [ebp - 0x149], 1
jmp 0x5942f4
push str.Internal_error_2
jmp 0x5942e6
push str.Internal_error.
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov byte [ebp - 0x149], 0
lea ecx, [ebp - 0x148]
call fcn.00449bf0
mov al, byte [ebp - 0x149]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b34c8
mov esp, ebp
pop ebp
ret 0x10