Function at 0x5397e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, pe_nt_image_headers32
call fcn.00663af0
mov eax, dword [0x74e694]
xor eax, ebp
mov dword [ebp - 8], eax
test dword [0x7584e0], 0x800000
push ebx
push esi
mov ebx, ecx
mov esi, edx
push edi
mov dword [ebp - 0x124], ebx
jne 0x53a03a
lea eax, [ebp - 0xcc]
mov edx, ebx
sub edx, eax
lea ecx, [ebp - 0x8c]
mov eax, esi
mov dword [ebp - 0xdc], edx
sub eax, ecx
lea edi, [ebx + 0x3f]
mov dword [ebp - 0x11c], eax
lea ecx, [esi + 0x3f]
lea eax, [esi + 0x10]
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0xcc]
sub esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x12c], eax
lea edx, [ebp - 0xcc]
xor eax, eax
cmp edx, ecx
ja 0x539885
lea edx, [ebp - 0x8d]
add ecx, 0xffffffc1
cmp edx, ecx
mov edx, dword [ebp - 0xdc]
jae 0x5398d0
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0xcc]
cmp edx, edi
ja 0x53989f
lea edx, [ebp - 0x8d]
cmp edx, ebx
mov edx, dword [ebp - 0xdc]
jae 0x5398d0
lea edx, [ebp - 0x8c]
cmp edx, ecx
mov edx, dword [ebp - 0xdc]
ja 0x5398bf
lea edx, [ebp - 0x4d]
add ecx, 0xffffffc1
cmp edx, ecx
mov edx, dword [ebp - 0xdc]
jae 0x5398d0
lea ecx, [ebp - 0x8c]
cmp ecx, edi
ja 0x539900
lea ecx, [ebp - 0x4d]
cmp ecx, ebx
jb 0x539900
lea ecx, [ebp - 0xcc]
add ecx, eax
mov dl, byte [edx + ecx]
mov byte [ecx], dl
mov cl, byte [esi + ecx]
xor cl, dl
mov edx, dword [ebp - 0xdc]
mov byte [ebp + eax - 0x8c], cl
inc eax
cmp eax, 0x40
jl 0x5398d0
jmp 0x539927
lea ecx, [ebp - 0xcc]
add ecx, eax
movups xmm1, xmmword [edx + ecx]
movups xmm0, xmmword [esi + ecx]
movups xmmword [ecx], xmm1
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x8c], xmm0
add eax, 0x10
cmp eax, 0x40
jl 0x539900
mov eax, 0x70b960
mov dword [ebp - 0x120], 0xa
mov dword [ebp - 0x114], eax
nop dword [eax]
xor edx, edx
mov dword [ebp - 0xe0], edx
test edx, edx
je 0x539971
xorps xmm0, xmm0
movlpd qword [ebp - 0x134], xmm0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x108], eax
jmp 0x539982
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x10c], eax
lea eax, [edx - 1]
and eax, 7
movzx eax, byte [ebp + eax*8 - 0xcb]
mov ecx, dword [eax*8 + 0x70b160]
mov eax, dword [eax*8 + 0x70b164]
mov dword [ebp - 0x104], eax
lea eax, [edx - 2]
and eax, 7
mov dword [ebp - 0x100], ecx
movzx eax, byte [ebp + eax*8 - 0xca]
mov ecx, dword [eax*8 + 0x70b160]
mov eax, dword [eax*8 + 0x70b164]
mov dword [ebp - 0xfc], eax
lea eax, [edx - 3]
and eax, 7
mov dword [ebp - 0xf8], ecx
movzx eax, byte [ebp + eax*8 - 0xc9]
mov ecx, dword [eax*8 + 0x70b160]
mov eax, dword [eax*8 + 0x70b164]
mov dword [ebp - 0xf4], eax
lea eax, [edx - 4]
and eax, 7
mov dword [ebp - 0xf0], ecx
movzx eax, byte [ebp + eax*8 - 0xc8]
mov ebx, dword [eax*8 + 0x70b160]
mov eax, dword [eax*8 + 0x70b164]
mov dword [ebp - 0xec], eax
lea eax, [edx + 3]
and eax, 7
mov dword [ebp - 0xe8], ebx
movzx eax, byte [ebp + eax*8 - 0xc7]
mov esi, dword [eax*8 + 0x70b160]
mov edi, dword [eax*8 + 0x70b164]
lea eax, [edx + 2]
and eax, 7
movzx eax, byte [ebp + eax*8 - 0xc6]
mov ecx, dword [eax*8 + 0x70b160]
mov edx, dword [eax*8 + 0x70b164]
mov eax, dword [ebp - 0xe0]
inc eax
and eax, 7
movzx eax, byte [ebp + eax*8 - 0xc5]
mov ebx, dword [eax*8 + 0x70b160]
mov eax, dword [eax*8 + 0x70b164]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xe4], ebx
mov ebx, dword [ebp - 0x104]
shrd eax, ebx, 8
xor eax, dword [ebp - 0xf8]
shr ebx, 8
xor ebx, dword [ebp - 0xfc]
shrd eax, ebx, 8
xor eax, dword [ebp - 0xf0]
shr ebx, 8
xor ebx, dword [ebp - 0xf4]
shrd eax, ebx, 8
xor eax, dword [ebp - 0xe8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xec]
shr ebx, 8
mov dword [ebp - 0xd0], ebx
xor dword [ebp - 0xd0], eax
mov ebx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd0]
shrd ebx, eax, 8
shr eax, 8
xor ebx, esi
xor eax, edi
shrd ebx, eax, 8
shr eax, 8
xor ebx, ecx
xor eax, edx
shrd ebx, eax, 8
mov dword [ebp - 0xd0], eax
shr dword [ebp - 0xd0], 8
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], ebx
mov ebx, dword [ebp - 0xe4]
xor dword [ebp - 0xd4], ebx
xor eax, dword [ebp - 0xd8]
shld dword [ebp - 0xd8], ebx, 8
xor dword [ebp - 0xd8], edx
mov edx, dword [ebp - 0xd8]
shl ebx, 8
xor ebx, ecx
mov ecx, ebx
mov dword [ebp - 0xe4], ebx
shld edx, ecx, 8
shrd dword [ebp - 0xd4], eax, 8
shl ecx, 8
xor edx, edi
xor ecx, esi
mov ebx, dword [ebp - 0xd4]
shld edx, ecx, 8
shr eax, 8
xor edx, dword [ebp - 0xec]
shl ecx, 8
xor ecx, dword [ebp - 0xe8]
shld edx, ecx, 8
mov dword [ebp - 0xd0], eax
xor edx, dword [ebp - 0xf4]
shl ecx, 8
xor ecx, dword [ebp - 0xf0]
shld edx, ecx, 8
xor edx, dword [ebp - 0xfc]
shl ecx, 8
xor ecx, dword [ebp - 0xf8]
shld edx, ecx, 8
xor edx, dword [ebp - 0x104]
shl ecx, 8
xor ecx, dword [ebp - 0x100]
shld edx, ecx, 8
shl ecx, 8
xor ebx, ecx
mov ecx, eax
xor ecx, edx
mov edx, dword [ebp - 0xe0]
movzx eax, byte [ebp + edx*8 - 0xcc]
xor ebx, dword [eax*8 + 0x70b160]
xor ecx, dword [eax*8 + 0x70b164]
xor ebx, dword [ebp - 0x108]
xor ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x114]
mov dword [ebp + edx*8 - 0x4c], ebx
mov dword [ebp + edx*8 - 0x48], ecx
inc edx
mov dword [ebp - 0xe0], edx
cmp edx, 8
jl 0x539948
movups xmm0, xmmword [ebp - 0x4c]
mov edx, 0xfffffffe
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xec], edx
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0xe4], 8
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [ebp - 0xbc], xmm0
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0xac], xmm0
movups xmm0, xmmword [ebp - 0x1c]
movups xmmword [ebp - 0x9c], xmm0
nop dword [eax + eax]
lea eax, [edx + 1]
mov dword [ebp - 0x130], eax
and eax, 7
movzx eax, byte [ebp + eax*8 - 0x8b]
mov ecx, dword [eax*8 + 0x70b160]
mov eax, dword [eax*8 + 0x70b164]
mov dword [ebp - 0xf0], eax
mov eax, edx
and eax, 7
mov dword [ebp - 0xf4], ecx
movzx eax, byte [ebp + eax*8 - 0x8a]
mov ecx, dword [eax*8 + 0x70b160]
mov eax, dword [eax*8 + 0x70b164]
mov dword [ebp - 0xf8], eax
lea eax, [edx - 1]
and eax, 7
mov dword [ebp - 0xfc], ecx
movzx eax, byte [ebp + eax*8 - 0x89]
mov ecx, dword [eax*8 + 0x70b160]
mov eax, dword [eax*8 + 0x70b164]
mov dword [ebp - 0x100], eax
lea eax, [edx - 2]
and eax, 7
mov dword [ebp - 0x104], ecx
movzx eax, byte [ebp + eax*8 - 0x88]
mov ebx, dword [eax*8 + 0x70b160]
mov eax, dword [eax*8 + 0x70b164]
mov dword [ebp - 0x108], eax
lea eax, [edx - 3]
and eax, 7
mov dword [ebp - 0x10c], ebx
movzx eax, byte [ebp + eax*8 - 0x87]
mov esi, dword [eax*8 + 0x70b160]
mov edi, dword [eax*8 + 0x70b164]
lea eax, [edx - 4]
and eax, 7
movzx eax, byte [ebp + eax*8 - 0x86]
mov ecx, dword [eax*8 + 0x70b160]
mov edx, dword [eax*8 + 0x70b164]
mov eax, dword [ebp - 0xec]
add eax, 3
and eax, 7
movzx eax, byte [ebp + eax*8 - 0x85]
mov ebx, dword [eax*8 + 0x70b160]
mov eax, dword [eax*8 + 0x70b164]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xe0], ebx
mov ebx, dword [ebp - 0xf0]
shrd eax, ebx, 8
xor eax, dword [ebp - 0xfc]
shr ebx, 8
xor ebx, dword [ebp - 0xf8]
shrd eax, ebx, 8
xor eax, dword [ebp - 0x104]
shr ebx, 8
xor ebx, dword [ebp - 0x100]
shrd eax, ebx, 8
xor eax, dword [ebp - 0x10c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x108]
shr ebx, 8
mov dword [ebp - 0xd0], ebx
xor dword [ebp - 0xd0], eax
mov ebx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd0]
shrd ebx, eax, 8
shr eax, 8
xor ebx, esi
xor eax, edi
shrd ebx, eax, 8
shr eax, 8
xor ebx, ecx
xor eax, edx
shrd ebx, eax, 8
mov dword [ebp - 0xd0], eax
shr dword [ebp - 0xd0], 8
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], ebx
mov ebx, dword [ebp - 0xe0]
xor dword [ebp - 0xd4], ebx
xor eax, dword [ebp - 0xd8]
shld dword [ebp - 0xd8], ebx, 8
xor dword [ebp - 0xd8], edx
mov edx, dword [ebp - 0xd8]
shl ebx, 8
xor ebx, ecx
mov ecx, ebx
mov dword [ebp - 0xe0], ebx
shld edx, ecx, 8
shrd dword [ebp - 0xd4], eax, 8
shl ecx, 8
xor edx, edi
xor ecx, esi
mov ebx, dword [ebp - 0xd4]
shld edx, ecx, 8
mov esi, dword [ebp - 0xe8]
xor edx, dword [ebp - 0x108]
shl ecx, 8
xor ecx, dword [ebp - 0x10c]
shld edx, ecx, 8
shr eax, 8
xor edx, dword [ebp - 0x100]
shl ecx, 8
xor ecx, dword [ebp - 0x104]
shld edx, ecx, 8
mov dword [ebp - 0xd0], eax
xor edx, dword [ebp - 0xf8]
shl ecx, 8
xor ecx, dword [ebp - 0xfc]
shld edx, ecx, 8
xor edx, dword [ebp - 0xf0]
shl ecx, 8
xor ecx, dword [ebp - 0xf4]
shld edx, ecx, 8
shl ecx, 8
xor ebx, ecx
mov ecx, eax
movzx eax, byte [ebp + esi - 0x8c]
xor ecx, edx
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0xec], edx
xor ebx, dword [eax*8 + 0x70b160]
xor ecx, dword [eax*8 + 0x70b164]
xor dword [ebp + esi - 0x4c], ebx
xor dword [ebp + esi - 0x48], ecx
add esi, 8
sub dword [ebp - 0xe4], 1
mov dword [ebp - 0xe8], esi
jne 0x539c60
mov eax, dword [ebp - 0x114]
movups xmm2, xmmword [ebp - 0x4c]
add eax, 8
sub dword [ebp - 0x120], 1
movups xmm3, xmmword [ebp - 0x3c]
mov dword [ebp - 0x114], eax
movups xmm4, xmmword [ebp - 0x2c]
movups xmm5, xmmword [ebp - 0x1c]
movups xmmword [ebp - 0x8c], xmm2
movups xmmword [ebp - 0x7c], xmm3
movups xmmword [ebp - 0x6c], xmm4
movups xmmword [ebp - 0x5c], xmm5
jne 0x539940
mov ebx, dword [ebp - 0x124]
lea eax, [ebp - 0x4d]
lea edx, [ebx + 0x3f]
cmp ebx, eax
ja 0x539f4e
lea eax, [ebp - 0x8c]
cmp edx, eax
jae 0x539f5f
mov ecx, dword [ebp - 0x110]
cmp ebx, ecx
ja 0x539f9e
lea eax, [ecx - 0x3f]
cmp edx, eax
jb 0x539f9e
lea edi, [ebp - 0x8c]
mov edx, ebx
sub edi, ebx
mov esi, 0x40
mov ebx, dword [ebp - 0x11c]
lea eax, [edi + edx]
mov cl, byte [ebx + eax]
lea edx, [edx + 1]
xor cl, byte [edx - 1]
xor cl, byte [eax]
mov byte [edx - 1], cl
sub esi, 1
jne 0x539f74
mov ebx, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x118]
jmp 0x539ff1
movups xmm0, xmmword [ebx]
mov eax, dword [ebp - 0x118]
movups xmm1, xmmword [ecx - 0x3f]
pxor xmm1, xmm0
movups xmm0, xmmword [eax]
pxor xmm1, xmm2
movups xmmword [ebx], xmm1
movups xmm1, xmmword [ebx + 0x10]
pxor xmm1, xmm0
pxor xmm1, xmm3
movups xmmword [ebx + 0x10], xmm1
movups xmm0, xmmword [ebx + 0x20]
movups xmm1, xmmword [ecx - 0x1f]
pxor xmm1, xmm0
pxor xmm1, xmm4
movups xmmword [ebx + 0x20], xmm1
movups xmm0, xmmword [ebx + 0x30]
movups xmm1, xmmword [ecx - 0xf]
pxor xmm1, xmm0
pxor xmm1, xmm5
movups xmmword [ebx + 0x30], xmm1
mov esi, dword [ebp - 0x128]
lea edi, [ebx + 0x3f]
add dword [ebp - 0x11c], 0x40
add esi, 0x40
add ecx, 0x40
mov dword [ebp - 0x128], esi
add eax, 0x40
mov dword [ebp - 0x110], ecx
sub dword [ebp - 0x12c], 1
mov dword [ebp - 0x118], eax
jne 0x539860
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00663ada
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
push esi
push ebx
call fcn.00445280
mov ecx, dword [ebp - 8]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00663ada
mov esp, ebp
pop ebp
ret