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

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x600
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rdi, rcx
test byte [rcx + 0x10], 1
je 0x140056bc4
cmp dword [rcx + 0x18], 6
jb 0x140056bc4
cmp dword [rcx + 0x1c], 1
jb 0x140056bc4
add rcx, 0x3c
mov r8d, 0x104
lea rdx, [rax - 0x518]
call qword [sym.imp.SHLWAPI.dll_SHAnsiToUnicode]
xor esi, esi
mov qword [rsp + 0x60], 0x20
lea rax, [rsp + 0x110]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x40], 0xaac56b
mov dword [rsp + 0x44], 0x11d0cd44
mov dword [rsp + 0x48], 0xc000c28c
mov dword [rsp + 0x4c], 0xee95c24f
xor eax, eax
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x80], 0x58
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], 2
mov dword [rsp + 0xa0], 1
mov dword [rsp + 0xb0], 1
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], rsi
mov dword [rsp + 0xcc], esi
lea rax, [rsp + 0x60]
mov qword [rsp + 0xa8], rax
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call sub.WINTRUST.dll_WinVerifyTrust
mov ebx, eax
mov dword [rsp + 0xb0], 2
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call sub.WINTRUST.dll_WinVerifyTrust
test ebx, ebx
jne 0x1400571c5
jmp 0x140056bc6
xor esi, esi
test byte [rdi + 0x10], 2
je 0x140056c2a
mov r14, rsi
mov rbx, qword [rdi + 0x140]
mov rax, qword [rdi + 0x148]
sub rax, rbx
sar rax, 4
test rax, rax
je 0x140056c2a
mov r15, rsi
nop dword [rax]
mov edx, dword [r15 + rbx + 8]
mov rcx, qword [r15 + rbx]
call fcn.140054fc0
cmp eax, dword [r15 + rbx + 0xc]
jne 0x1400571c5
inc r14
add r15, 0x10
mov rbx, qword [rdi + 0x140]
mov rax, qword [rdi + 0x148]
sub rax, rbx
sar rax, 4
cmp r14, rax
jb 0x140056bf0
test byte [rdi + 0x10], 4
je 0x140057147
mov edx, 0xdeadc0de
mov qword [rsp + 0x638], rdx
lea rcx, [0x1400e14d8]
call fcn.140050d00
nop
movups xmm3, xmmword [str.l_kNrR_QM__6_t_____L]
movups xmmword [rsp + 0x60], xmm3
mov ecx, dword [0x1400d8108]
mov dword [rsp + 0x70], ecx
movzx eax, word [0x1400d810c]
mov word [rsp + 0x74], ax
movzx eax, byte [0x1400d810e]
mov byte [rsp + 0x76], al
mov r8d, esi
mov r14d, dword [0x1400e1258]
movdqa xmm7, xmmword [0x1400c2ed0]
cmp r14d, 2
jl 0x140056ea4
movdqa xmm4, xmmword [0x1400c95f0]
movdqa xmm5, xmmword [str.3333]
movdqa xmm6, xmmword [0x1400c9560]
movdqa xmm2, xmmword [0x1400c2e60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x60], xmm2
movdqa xmm2, xmmword [0x1400c2e70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rsp + 0x64]
xorps xmm2, xmm0
movd dword [rsp + 0x64], xmm2
movdqa xmm3, xmmword [0x1400c2e80]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, dword [rsp + 0x68]
xorps xmm3, xmm0
movd dword [rsp + 0x68], xmm3
movdqa xmm2, xmmword [0x1400c2e90]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rsp + 0x6c]
xorps xmm2, xmm0
movd dword [rsp + 0x6c], xmm2
movdqa xmm3, xmmword [0x1400c2ea0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, ecx
xorps xmm3, xmm0
movd dword [rsp + 0x70], xmm3
mov r8d, 0x14
mov eax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x17
jl 0x140056eb0
movsd xmm0, qword [0x1400d80e8]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x1400d80f0]
mov word [rsp + 0x48], ax
cmp byte [0x1400d80f1], 0
je 0x140056f38
mov byte [rsp + 0x40], 0x6e
xor byte [rsp + 0x41], 0x37
xor byte [rsp + 0x42], 0x38
xor byte [rsp + 0x43], 0x39
xor byte [rsp + 0x44], 0x3a
xor byte [rsp + 0x45], 0x3b
xor byte [rsp + 0x46], 0x3c
xor byte [rsp + 0x47], 0x3d
xor byte [rsp + 0x48], 0x3e
xor byte [rsp + 0x49], 0x3f
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [0x1400e14d8]
call fcn.140050b40
mov rbx, rax
mov word [rsp + 0x630], 0x100
mov qword [rsp + 0x638], 0xffffffffffffffff
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x50]
mov rdx, 0xffffffffffffffff
mov rcx, rdx
mov r8, rdx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov r9d, 2
lea r8, [rsp + 0x630]
mov edx, 4
mov rcx, qword [rsp + 0x50]
call rbx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x50]
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x50]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
nop
cmp dword [rdi + 4], 0
jne 0x1400571c5
cmp dword [rdi + 0x20], 0
je 0x140057093
mov rax, qword [rdi + 0x170]
lea rcx, [rsp + 0x648]
mov qword [rsp + 0x20], rcx
mov r9d, 8
lea r8, [rsp + 0x640]
mov edx, 0x1e
mov rcx, 0xffffffffffffffff
call rax
mov ebx, 0xc0000353
cmp rax, rbx
jne 0x1400571c5
cmp qword [rsp + 0x640], 0
jne 0x1400571c5
mov edx, dword [rdi + 0x2c]
mov rcx, qword [rdi + 0x30]
call fcn.140054fc0
cmp eax, dword [rdi + 0x38]
jne 0x1400571c5
mov rax, qword [rdi + 0x170]
lea rdx, [rsp + 0x638]
mov qword [rsp + 0x20], rdx
mov r9d, 8
lea r8, [rsp + 0x638]
mov edx, 0x1e
mov rcx, 0xffffffffffffffff
call rax
cmp rax, rbx
jne 0x140057156
cmp qword [rsp + 0x638], 8
jne 0x1400571c5
jmp 0x140057156
mov rax, qword [rdi + 0x168]
lea rcx, [rsp + 0x648]
mov qword [rsp + 0x20], rcx
mov r9d, 4
lea r8, [rsp + 0x640]
mov edx, 0x1e
mov ecx, 0xffffffff
call rax
mov ebx, 0xc0000353
cmp eax, ebx
jne 0x1400571c5
cmp dword [rsp + 0x640], 0
jne 0x1400571c5
mov edx, dword [rdi + 0x2c]
mov rcx, qword [rdi + 0x30]
call fcn.140054fc0
cmp eax, dword [rdi + 0x38]
jne 0x1400571c5
mov rax, qword [rdi + 0x168]
lea rdx, [rsp + 0x638]
mov qword [rsp + 0x20], rdx
mov r9d, 4
lea r8, [rsp + 0x638]
mov edx, 0x1e
mov ecx, 0xffffffff
call rax
cmp eax, ebx
jne 0x140057156
cmp dword [rsp + 0x638], 4
jne 0x1400571c5
jmp 0x140057156
mov r14d, dword [0x1400e1258]
movdqa xmm7, xmmword [0x1400c2ed0]
test byte [rdi + 0x10], 8
je 0x14005761a
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rsp + 0x110]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x140], 0x100010
lea rdx, [rsp + 0x110]
mov rcx, 0xfffffffffffffffe
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400571cf
cmp qword [rsp + 0x158], 0
jne 0x1400571c5
cmp qword [rsp + 0x160], 0
jne 0x1400571c5
cmp qword [rsp + 0x168], 0
jne 0x1400571c5
cmp qword [rsp + 0x170], 0
je 0x1400571cf
mov eax, 1
jmp 0x14005761c
movups xmm0, xmmword [str.wSo_XHRLZ_]
movups xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x1400d8130]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x1400d8138]
mov dword [rsp + 0x78], eax
cmp byte [0x1400d813b], 0
je 0x140057373
mov r8d, esi
cmp r14d, 2
jl 0x140057329
movdqa xmm4, xmmword [0x1400c2e60]
movdqa xmm3, xmmword [0x1400c95f0]
movdqa xmm5, xmmword [str.3333]
movdqa xmm0, xmmword [0x1400c9560]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rsp + 0x50]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140057240
cmp r8d, 0x1c
jge 0x140057373
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1c
jl 0x140057340
movsd xmm0, qword [0x1400d8110]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x1400d8118]
mov word [rsp + 0x48], ax
cmp byte [0x1400d8119], 0
je 0x1400573c8
mov byte [rsp + 0x40], 0x6e
xor byte [rsp + 0x41], 0x37
xor byte [rsp + 0x42], 0x38
xor byte [rsp + 0x43], 0x39
xor byte [rsp + 0x44], 0x3a
xor byte [rsp + 0x45], 0x3b
xor byte [rsp + 0x46], 0x3c
xor byte [rsp + 0x47], 0x3d
xor byte [rsp + 0x48], 0x3e
xor byte [rsp + 0x49], 0x3f
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [0x1400e14d8]
call fcn.140050b40
mov r15, rax
movups xmm0, xmmword [str.dCTk_VSK_i__6_6__]
movups xmmword [rsp + 0xe0], xmm0
movups xmm1, xmmword [0x1400d8160]
movups xmmword [rsp + 0xf0], xmm1
movzx eax, word [0x1400d8170]
mov word [rsp + 0x100], ax
mov ecx, esi
cmp r14d, 2
jl 0x140057537
movdqa xmm4, xmmword [0x1400c2e60]
movdqa xmm3, xmmword [0x1400c95f0]
movdqa xmm5, xmmword [str.3333]
movdqa xmm0, xmmword [0x1400c9560]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0xe4]
mov r8d, dword [rsp + 0x50]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140057450
cmp ecx, 0x22
jge 0x14005757e
movsxd rax, ecx
lea r8, [rsp + 0xe0]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x22
jl 0x140057550
movsd xmm0, qword [str.XCUV]
movsd qword [rsp + 0x50], xmm0
movzx eax, word [0x1400d8148]
mov word [rsp + 0x58], ax
cmp byte [0x1400d8149], 0
je 0x1400575d3
mov byte [rsp + 0x50], 0x6e
xor byte [rsp + 0x51], 0x37
xor byte [rsp + 0x52], 0x38
xor byte [rsp + 0x53], 0x39
xor byte [rsp + 0x54], 0x3a
xor byte [rsp + 0x55], 0x3b
xor byte [rsp + 0x56], 0x3c
xor byte [rsp + 0x57], 0x3d
xor byte [rsp + 0x58], 0x3e
xor byte [rsp + 0x59], 0x3f
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x50]
lea rcx, [0x1400e14d8]
call fcn.140050b40
mov rbx, rax
test r15, r15
je 0x14005760f
test rax, rax
je 0x14005760f
lea rdx, [0x1400569f0]
xor ecx, ecx
call r15
int3
cmp dword [rdi], 0
setne sil
mov eax, esi
jmp 0x14005761c
xor eax, eax
movaps xmm6, xmmword [rsp + 0x5f0]
movaps xmm7, xmmword [rsp + 0x5e0]
add rsp, 0x600
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret