Function at 0x140059d00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rdx
mov r15, rcx
mov qword [rbp - 0x10], rdx
lea rcx, str.load_response_data
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginUltra]
mov rax, qword [str.FCT_IH__C_T9]
mov qword [rbp - 0x40], rax
xor ebx, ebx
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp byte [reloc.WLDAP32.dll_Ordinal_60], bl
je 0x140059e90
cmp r14d, 2
jl 0x140059e54
movdqa xmm4, xmmword [0x140178710]
movdqa xmm2, xmmword [0x140178380]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401783f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178520]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140178580]
movd xmm0, dword [rbp - 0x40]
xorps xmm2, xmm0
movd dword [rbp - 0x40], xmm2
movdqa xmm3, xmmword [0x1401783a0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401783f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178520]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140178580]
movd xmm0, dword [rbp - 0x3c]
xorps xmm2, xmm0
movd dword [rbp - 0x3c], xmm2
jmp 0x140059e90
lea r9, [rbp - 0x40]
mov r8d, ebx
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140059e60
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp - 0x40]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x140059eb0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140059080
nop
cmp byte [rsi], 0
jne 0x140059ed8
mov byte [rsi], 1
call fcn.14005fa60
mov qword [rsi + 8], rax
cmp byte [rsi], 1
jne 0x140059ef7
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x40]
mov rcx, qword [rsi + 8]
call fcn.14005fe70
mov rcx, qword [rax]
add rcx, 0x40
jmp 0x140059efb
mov rcx, qword [rbp - 0x10]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, rbx
movzx eax, byte [rax]
mov byte [r15 + 0x218], al
lea rcx, [rbp - 0x30]
call fcn.14003d640
mov rax, qword [str.XSDKX__]
mov qword [rbp - 0x40], rax
cmp byte [reloc.WLDAP32.dll_Ordinal_60], 0
je 0x14005a06c
cmp r14d, 2
jl 0x14005a033
movdqa xmm4, xmmword [0x140178710]
movdqa xmm2, xmmword [0x140178380]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401783f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178520]
packuswb xmm2, xmm2
mov eax, dword [0x140178580]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x40]
xorps xmm2, xmm1
movd dword [rbp - 0x40], xmm2
movdqa xmm3, xmmword [0x1401783a0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401783f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178520]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x3c]
xorps xmm2, xmm1
movd dword [rbp - 0x3c], xmm2
jmp 0x14005a06c
lea r8, [rbp - 0x40]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
sub al, cl
add al, 0x35
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 8
jl 0x14005a040
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp - 0x40]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x14005a080
mov r8, rdi
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140059080
nop
cmp byte [rsi], 0
jne 0x14005a0ab
mov byte [rsi], 1
call fcn.14005fa60
mov qword [rsi + 8], rax
cmp byte [rsi], 1
jne 0x14005a0ca
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x40]
mov rcx, qword [rsi + 8]
call fcn.14005fe70
mov rdx, qword [rax]
add rdx, 0x40
jmp 0x14005a0ce
mov rdx, qword [rbp - 0x10]
lea rcx, [r15 + 0x220]
call fcn.14005f8c0
nop
lea rcx, [rbp - 0x30]
call fcn.14003d640
call qword [sym.imp.VMProtectSDK64.dll_VMProtectEnd]
nop
lea rcx, [rsi + 8]
movzx edx, byte [rsi]
call fcn.14005f190
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401487e0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret