Function at 0x18005953c
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0xd0]
mov rcx, qword [rbp - 0x38]
call sub.OLEACC.dll_AccessibleObjectFromPoint
mov ebx, eax
xor r13d, r13d
test eax, eax
js 0x180059c71
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x180059c71
mov qword [rsp + 0x60], r13
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xc8], r13
mov rax, qword [rcx]
lea r8, [rbp + 0xc8]
lea rdx, [0x1800d3818]
call qword [rax]
mov rcx, qword [rbp + 0xc8]
test eax, eax
cmovs rcx, r13
mov qword [rbp + 0xc8], rcx
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [rbp - 0x20]
movsd qword [rsp + 0x50], xmm1
mov rcx, qword [rbp + 0xd0]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
call qword [rax + 0x50]
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [rbp - 0x20]
movsd qword [rsp + 0x50], xmm1
mov rcx, qword [rbp + 0xd0]
mov rax, qword [rcx]
lea r8, [rbp + 0xd8]
lea rdx, [rsp + 0x40]
call qword [rax + 0x58]
cmp qword [rbp + 0xc8], r13
je 0x180059bd6
mov qword [rbp - 0x58], r13
lea r12d, [r13 + 0xf]
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x48], r13
mov byte [rbp - 0x58], r13b
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r13
mov byte [rsp + 0x40], r13b
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x68], r13
mov byte [rbp - 0x78], r13b
mov qword [rsp + 0x68], r13
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x78], r13
mov byte [rsp + 0x68], r13b
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
or rsi, 0xffffffffffffffff
lea edi, [rsi + 4]
test eax, eax
je 0x1800597af
mov r15, qword [rsp + 0x60]
lea rax, [rbp - 0x10]
mov qword [rbp - 0x18], rax
test r15, r15
jne 0x1800596b2
mov edx, r13d
mov qword [rbp - 0x18], rdx
jmp 0x180059793
mov r14, rsi
inc r14
cmp word [r15 + r14*2], r13w
jne 0x1800596b5
inc r14d
lea ebx, [r14*4]
mov r9d, 0x80
lea r8, [rbp - 0x10]
mov edx, ebx
lea rcx, [rbp - 0x18]
call fcn.18000e834
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, r15
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, r13d
test eax, eax
sete bl
test eax, eax
jne 0x180059787
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180059787
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, r14d
mov r8, r15
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
mov r9d, 0x80
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp - 0x18]
call fcn.18000e834
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, r15
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, r13d
test eax, eax
sete bl
test ebx, ebx
jne 0x180059ce3
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x78]
call fcn.180003104
nop
lea rax, [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
cmp rcx, rax
je 0x1800597af
call fcn.1800a89bc
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1800598dd
mov r14, qword [rbp + 0xd8]
lea rax, [rbp - 0x10]
mov qword [rbp - 0x18], rax
test r14, r14
jne 0x1800597e4
mov rdx, r13
mov qword [rbp - 0x18], rdx
jmp 0x1800598c0
inc rsi
cmp word [r14 + rsi*2], r13w
jne 0x1800597e4
inc esi
lea ebx, [rsi*4]
mov r9d, 0x80
lea r8, [rbp - 0x10]
mov edx, ebx
lea rcx, [rbp - 0x18]
call fcn.18000e834
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8, r14
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, r13d
test eax, eax
sete bl
test eax, eax
jne 0x1800598b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1800598b4
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, esi
mov r8, r14
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
mov r9d, 0x80
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp - 0x18]
call fcn.18000e834
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8, r14
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, r13d
test eax, eax
sete bl
test ebx, ebx
jne 0x180059cfc
mov rdx, qword [rbp - 0x18]
lea rcx, [rsp + 0x68]
call fcn.180003104
nop
lea rax, [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
cmp rcx, rax
je 0x1800598dd
call fcn.1800a89bc
call fcn.18005ceb8
test al, al
jne 0x1800598fc
call fcn.18005cee0
test al, al
jne 0x1800598fc
cmp byte [0x18010a5a4], r13b
je 0x180059ac3
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0xc8]
call fcn.1800566fc
test al, al
je 0x180059a6d
cmp byte [0x18010a364], r13b
je 0x1800599d3
lea rsi, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rsi, qword [rbp - 0x78]
lea r14, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae r14, qword [rsp + 0x68]
lea r15, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae r15, qword [rbp - 0x58]
lea r12, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r12, qword [rsp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.180055c1c
mov rbx, rax
cmp byte [rax + 0x3f], r13b
je 0x1800599b3
mov r11, r13
movabs r10, 0xd993efbb19cfe32d
mov cl, r11b
and cl, 7
shl cl, 3
mov rax, r10
shr rax, cl
xor byte [r11 + rbx], al
inc r11
cmp r11, 0x3f
jb 0x180059993
mov byte [rbx + 0x3f], r13b
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
mov r9, r15
mov r8, r12
mov rdx, rbx
mov ecx, edi
call fcn.18006a848
mov r12d, reloc.WS2_32.dll_ntohs
lea rdi, [rsp + 0x40]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x58]
cmp r11, 0x10
cmovae rdi, r10
lea rcx, [rsp + 0x40]
cmovae rcx, r10
mov rsi, qword [rsp + 0x50]
add rsi, rcx
lea rbx, [rsp + 0x40]
cmp r11, 0x10
cmovae rbx, r10
cmp rbx, rsi
je 0x180059a2d
sub rdi, rbx
movsx ecx, byte [rbx]
call fcn.1800a4800
mov byte [rbx + rdi], al
inc rbx
cmp rbx, rsi
jne 0x180059a10
mov r11, qword [rsp + 0x58]
mov r10, qword [rsp + 0x40]
lea r9, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae r9, qword [rbp - 0x78]
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae r8, qword [rsp + 0x68]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rsp + 0x40]
cmp r11, 0x10
cmovae rcx, r10
call fcn.180059420
jmp 0x180059ac3
cmp byte [0x18010a364], r13b
je 0x180059ac3
lea rcx, [rbp + 0xc0]
call fcn.180055e74
mov r8, rax
cmp byte [rax + 0x2a], r13b
je 0x180059ab8
mov r9, r13
movabs r10, 0xd993efbb19cfe32d
mov cl, r9b
and cl, 7
shl cl, 3
mov rax, r10
shr rax, cl
xor byte [r9 + r8], al
inc r9
cmp r9, 0x2a
jb 0x180059a98
mov byte [r8 + 0x2a], r13b
mov rdx, r8
mov ecx, edi
call fcn.18006a848
nop
mov ebx, 0x1000
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x180059b00
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, rbx
jb 0x180059afb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180059d15
call fcn.18009d1f4
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r12
mov byte [rsp + 0x68], r13b
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x180059b45
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, rbx
jb 0x180059b40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180059d1b
call fcn.18009d1f4
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r12
mov byte [rbp - 0x78], r13b
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180059b8a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, rbx
jb 0x180059b85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180059d21
call fcn.18009d1f4
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x40], r13b
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x180059c2b
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, rbx
jb 0x180059bcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180059cdd
call fcn.18009d1f4
jmp 0x180059c2b
cmp byte [0x18010a364], r13b
je 0x180059c2b
lea rcx, [rbp + 0xc0]
call fcn.180055dbc
cmp byte [rax + 0x31], r13b
je 0x180059c1e
mov r9, r13
movabs r10, 0xd993efbb19cfe32d
mov cl, r9b
and cl, 7
shl cl, 3
mov rdx, r10
shr rdx, cl
xor byte [r9 + rax], dl
inc r9
cmp r9, 0x31
jb 0x180059bfe
mov byte [rax + 0x31], r13b
mov rdx, rax
mov ecx, 3
call fcn.18006a848
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0xd0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x180059c56
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x180059cc9
cmp byte [0x18010a364], r13b
je 0x180059cc9
lea rcx, [rbp + 0xc0]
call fcn.180055cdc
cmp byte [rax + 0x39], r13b
je 0x180059cb9
mov r8, r13
movabs r10, 0xd993efbb19cfe32d
mov cl, r8b
and cl, 7
shl cl, 3
mov rdx, r10
shr rdx, cl
xor byte [r8 + rax], dl
inc r8
cmp r8, 0x39
jb 0x180059c99
mov byte [rax + 0x39], r13b
mov r8d, ebx
mov rdx, rax
mov ecx, 3
call fcn.18006a848
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800a45b8
nop
mov r8d, 0x80
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
call fcn.18000e6e8
call fcn.18004b03c
int3
mov r8d, 0x80
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
call fcn.18000e6e8
call fcn.18004b03c
nop
call fcn.1800a45b8
nop
call fcn.1800a45b8
nop
call fcn.1800a45b8
int3