Function at 0x5ba4c0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x12c
call fcn.005c85a0
mov eax, dword [0x679dc8]
xor eax, esp
mov dword [esp + 0x128], eax
test dword [0x680b50], 0x800000
mov ecx, dword [esp + 0x130]
push ebx
mov ebx, dword [esp + 0x138]
mov dword [esp + 0x58], ecx
jne 0x5babe0
push ebp
lea eax, [esp + 0xef]
mov dword [esp + 0x54], eax
lea edx, [esp + 0x70]
push esi
lea eax, [esp + 0xb4]
mov esi, ecx
sub esi, eax
lea ebp, [ebx + 0x3f]
mov eax, ebx
mov dword [esp + 0x40], esi
sub eax, edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xb4]
sub ebx, eax
mov eax, dword [esp + 0x144]
push edi
lea edi, [ecx + 0x3f]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
nop dword [eax]
lea esi, [esp + 0xb8]
xor eax, eax
cmp esi, ebp
lea edx, [ebp - 0x3f]
mov esi, dword [esp + 0x44]
ja 0x5ba56a
cmp dword [esp + 0x5c], edx
jae 0x5ba5a2
lea esi, [esp + 0xb8]
cmp esi, edi
mov esi, dword [esp + 0x44]
ja 0x5ba57f
cmp dword [esp + 0x5c], ecx
jae 0x5ba5a2
lea esi, [esp + 0x78]
cmp esi, ebp
mov esi, dword [esp + 0x44]
lea ebp, [esp + 0xb7]
ja 0x5ba596
cmp ebp, edx
jae 0x5ba5a2
lea edx, [esp + 0x78]
cmp edx, edi
ja 0x5ba5c1
cmp ebp, ecx
jb 0x5ba5c1
lea ecx, [esp + 0xb8]
add ecx, eax
mov dl, byte [esi + ecx]
mov byte [ecx], dl
mov cl, byte [ecx + ebx]
xor cl, dl
mov byte [esp + eax + 0x78], cl
inc eax
cmp eax, 0x40
jl 0x5ba5a2
jmp 0x5ba5e6
lea ecx, [esp + 0xb8]
add ecx, eax
movups xmm1, xmmword [esi + ecx]
movups xmm0, xmmword [ecx + ebx]
movups xmmword [ecx], xmm1
pxor xmm0, xmm1
movups xmmword [esp + eax + 0x78], xmm0
add eax, 0x10
cmp eax, 0x40
jl 0x5ba5c1
mov eax, 0x6641b8
mov dword [esp + 0x60], 0xa
mov dword [esp + 0x48], eax
xor esi, esi
mov dword [esp + 0x1c], esi
nop dword [eax]
test esi, esi
je 0x5ba61f
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], eax
jmp 0x5ba62c
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [esi - 1]
and eax, 7
movzx eax, byte [esp + eax*8 + 0xb9]
mov ecx, dword [eax*8 + 0x6639b8]
mov eax, dword [eax*8 + 0x6639bc]
mov dword [esp + 0x38], eax
lea eax, [esi - 2]
and eax, 7
mov dword [esp + 0x34], ecx
movzx eax, byte [esp + eax*8 + 0xba]
mov ecx, dword [eax*8 + 0x6639b8]
mov eax, dword [eax*8 + 0x6639bc]
mov dword [esp + 0x30], eax
lea eax, [esi - 3]
and eax, 7
mov dword [esp + 0x2c], ecx
movzx eax, byte [esp + eax*8 + 0xbb]
mov ecx, dword [eax*8 + 0x6639b8]
mov eax, dword [eax*8 + 0x6639bc]
mov dword [esp + 0x28], eax
lea eax, [esi - 4]
and eax, 7
mov dword [esp + 0x24], ecx
movzx eax, byte [esp + eax*8 + 0xbc]
mov ebx, dword [eax*8 + 0x6639b8]
mov ebp, dword [eax*8 + 0x6639bc]
lea eax, [esi + 3]
and eax, 7
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x1c]
movzx eax, byte [esp + eax*8 + 0xbd]
mov edi, dword [eax*8 + 0x6639bc]
mov esi, dword [eax*8 + 0x6639b8]
lea eax, [ebx + 2]
and eax, 7
movzx eax, byte [esp + eax*8 + 0xbe]
mov edx, dword [eax*8 + 0x6639bc]
mov ecx, dword [eax*8 + 0x6639b8]
lea eax, [ebx + 1]
and eax, 7
movzx eax, byte [esp + eax*8 + 0xbf]
mov ebx, dword [eax*8 + 0x6639b8]
mov eax, dword [eax*8 + 0x6639bc]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
shrd eax, ebx, 8
xor eax, dword [esp + 0x2c]
shr ebx, 8
xor ebx, dword [esp + 0x30]
shrd eax, ebx, 8
xor eax, dword [esp + 0x24]
shr ebx, 8
xor ebx, dword [esp + 0x28]
shrd eax, ebx, 8
xor eax, dword [esp + 0x20]
shr ebx, 8
mov dword [esp + 0x10], ebx
xor ebx, ebp
shrd eax, ebx, 8
shr ebx, 8
xor eax, esi
xor ebx, edi
shrd eax, ebx, 8
shr ebx, 8
xor eax, ecx
xor ebx, edx
shrd eax, ebx, 8
mov dword [esp + 0x10], ebx
shr dword [esp + 0x10], 8
mov ebx, dword [esp + 0x10]
xor ebx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
xor dword [esp + 0x14], eax
shrd dword [esp + 0x14], ebx, 8
shld dword [esp + 0x18], eax, 8
shr ebx, 8
mov dword [esp + 0x10], ebx
shl eax, 8
xor eax, ecx
mov ecx, dword [esp + 0x18]
xor ecx, edx
mov edx, dword [esp + 0x14]
shld ecx, eax, 8
shl eax, 8
xor ecx, edi
xor eax, esi
mov esi, dword [esp + 0x1c]
shld ecx, eax, 8
shl eax, 8
xor ecx, ebp
xor eax, dword [esp + 0x20]
shld ecx, eax, 8
xor ecx, dword [esp + 0x28]
shl eax, 8
xor eax, dword [esp + 0x24]
shld ecx, eax, 8
xor ecx, dword [esp + 0x30]
shl eax, 8
xor eax, dword [esp + 0x2c]
shld ecx, eax, 8
xor ecx, dword [esp + 0x38]
shl eax, 8
xor eax, dword [esp + 0x34]
shld ecx, eax, 8
shl eax, 8
xor ebx, ecx
xor edx, eax
movzx eax, byte [esp + esi*8 + 0xb8]
xor edx, dword [eax*8 + 0x6639b8]
xor ebx, dword [eax*8 + 0x6639bc]
xor edx, dword [esp + 0x3c]
xor ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov dword [esp + esi*8 + 0xf8], edx
mov dword [esp + esi*8 + 0xfc], ebx
inc esi
mov dword [esp + 0x1c], esi
cmp esi, 8
jl 0x5ba600
movups xmm0, xmmword [esp + 0xf8]
mov edx, 0xfffffffe
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edx
movups xmmword [esp + 0xb8], xmm0
mov dword [esp + 0x1c], 8
movups xmm0, xmmword [esp + 0x108]
movups xmmword [esp + 0xc8], xmm0
movups xmm0, xmmword [esp + 0x118]
movups xmmword [esp + 0xd8], xmm0
movups xmm0, xmmword [esp + 0x128]
movups xmmword [esp + 0xe8], xmm0
lea eax, [edx + 1]
mov dword [esp + 0x70], eax
and eax, 7
movzx eax, byte [esp + eax*8 + 0x79]
mov ecx, dword [eax*8 + 0x6639b8]
mov eax, dword [eax*8 + 0x6639bc]
mov dword [esp + 0x28], eax
mov eax, edx
and eax, 7
mov dword [esp + 0x2c], ecx
movzx eax, byte [esp + eax*8 + 0x7a]
mov ecx, dword [eax*8 + 0x6639b8]
mov eax, dword [eax*8 + 0x6639bc]
mov dword [esp + 0x30], eax
lea eax, [edx - 1]
and eax, 7
mov dword [esp + 0x34], ecx
movzx eax, byte [esp + eax*8 + 0x7b]
mov ecx, dword [eax*8 + 0x6639b8]
mov eax, dword [eax*8 + 0x6639bc]
mov dword [esp + 0x38], eax
lea eax, [edx - 2]
and eax, 7
mov dword [esp + 0x3c], ecx
movzx eax, byte [esp + eax*8 + 0x7c]
mov ebx, dword [eax*8 + 0x6639b8]
mov ebp, dword [eax*8 + 0x6639bc]
lea eax, [edx - 3]
and eax, 7
mov dword [esp + 0x40], ebx
movzx eax, byte [esp + eax*8 + 0x7d]
mov edi, dword [eax*8 + 0x6639bc]
mov esi, dword [eax*8 + 0x6639b8]
lea eax, [edx - 4]
and eax, 7
movzx eax, byte [esp + eax*8 + 0x7e]
mov edx, dword [eax*8 + 0x6639bc]
mov ecx, dword [eax*8 + 0x6639b8]
mov eax, dword [esp + 0x24]
add eax, 3
and eax, 7
movzx eax, byte [esp + eax*8 + 0x7f]
mov ebx, dword [eax*8 + 0x6639b8]
mov eax, dword [eax*8 + 0x6639bc]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
shrd eax, ebx, 8
xor eax, dword [esp + 0x34]
shr ebx, 8
xor ebx, dword [esp + 0x30]
shrd eax, ebx, 8
xor eax, dword [esp + 0x3c]
shr ebx, 8
xor ebx, dword [esp + 0x38]
shrd eax, ebx, 8
xor eax, dword [esp + 0x40]
shr ebx, 8
mov dword [esp + 0x10], ebx
xor ebx, ebp
shrd eax, ebx, 8
shr ebx, 8
xor eax, esi
xor ebx, edi
shrd eax, ebx, 8
shr ebx, 8
xor eax, ecx
xor ebx, edx
shrd eax, ebx, 8
mov dword [esp + 0x10], ebx
shr dword [esp + 0x10], 8
mov ebx, dword [esp + 0x10]
xor ebx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
xor dword [esp + 0x14], eax
shrd dword [esp + 0x14], ebx, 8
shr ebx, 8
shld dword [esp + 0x18], eax, 8
mov dword [esp + 0x10], ebx
shl eax, 8
xor eax, ecx
mov ecx, dword [esp + 0x18]
xor ecx, edx
mov edx, dword [esp + 0x14]
shld ecx, eax, 8
shl eax, 8
xor ecx, edi
xor eax, esi
shld ecx, eax, 8
shl eax, 8
xor ecx, ebp
xor eax, dword [esp + 0x40]
shld ecx, eax, 8
xor ecx, dword [esp + 0x38]
shl eax, 8
xor eax, dword [esp + 0x3c]
shld ecx, eax, 8
xor ecx, dword [esp + 0x30]
shl eax, 8
xor eax, dword [esp + 0x34]
shld ecx, eax, 8
xor ecx, dword [esp + 0x28]
shl eax, 8
xor eax, dword [esp + 0x2c]
shld ecx, eax, 8
xor ebx, ecx
shl eax, 8
mov ecx, dword [esp + 0x20]
xor edx, eax
movzx eax, byte [esp + ecx + 0x78]
xor edx, dword [eax*8 + 0x6639b8]
xor ebx, dword [eax*8 + 0x6639bc]
xor dword [esp + ecx + 0xf8], edx
xor dword [esp + ecx + 0xfc], ebx
add ecx, 8
sub dword [esp + 0x1c], 1
mov edx, dword [esp + 0x70]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
jne 0x5ba893
mov eax, dword [esp + 0x48]
movups xmm2, xmmword [esp + 0xf8]
add eax, 8
sub dword [esp + 0x60], 1
movups xmm3, xmmword [esp + 0x108]
mov dword [esp + 0x48], eax
movups xmm4, xmmword [esp + 0x118]
movups xmm5, xmmword [esp + 0x128]
movups xmmword [esp + 0x78], xmm2
movups xmmword [esp + 0x88], xmm3
movups xmmword [esp + 0x98], xmm4
movups xmmword [esp + 0xa8], xmm5
jne 0x5ba5f7
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0xb7]
lea edx, [ecx + 0x3f]
cmp ecx, eax
ja 0x5baafd
lea eax, [esp + 0x78]
cmp edx, eax
jae 0x5baba6
mov ebp, dword [esp + 0x4c]
cmp ecx, ebp
ja 0x5bab10
lea eax, [ebp - 0x3f]
cmp edx, eax
jae 0x5babaa
movups xmm0, xmmword [ecx]
mov eax, dword [esp + 0x50]
movups xmm1, xmmword [ebp - 0x3f]
pxor xmm1, xmm0
movups xmm0, xmmword [eax]
pxor xmm1, xmm2
movups xmmword [ecx], xmm1
movups xmm1, xmmword [ecx + 0x10]
pxor xmm1, xmm0
pxor xmm1, xmm3
movups xmmword [ecx + 0x10], xmm1
movups xmm0, xmmword [ecx + 0x20]
movups xmm1, xmmword [ebp - 0x1f]
pxor xmm1, xmm0
pxor xmm1, xmm4
movups xmmword [ecx + 0x20], xmm1
movups xmm0, xmmword [ecx + 0x30]
movups xmm1, xmmword [ebp - 0xf]
pxor xmm1, xmm0
pxor xmm1, xmm5
movups xmmword [ecx + 0x30], xmm1
mov ebx, dword [esp + 0x68]
lea edi, [ecx + 0x3f]
add dword [esp + 0x54], 0x40
add ebx, 0x40
add ebp, 0x40
mov dword [esp + 0x68], ebx
add eax, 0x40
mov dword [esp + 0x4c], ebp
sub dword [esp + 0x6c], 1
mov dword [esp + 0x50], eax
jne 0x5ba550
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.005c7d0a
add esp, 0x12c
ret
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x54]
lea edi, [esp + 0x78]
mov edx, ecx
sub edi, ecx
mov esi, 0x40
nop dword [eax + eax]
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 0x5babc0
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x50]
jmp 0x5bab61
push dword [esp + 0x13c]
push ebx
push ecx
call fcn.00449740
mov ecx, dword [esp + 0x138]
add esp, 0xc
pop ebx
xor ecx, esp
call fcn.005c7d0a
add esp, 0x12c
ret