Function at 0x1800547e8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x220
mov r12d, r9d
mov r15, r8
mov rsi, rdx
mov rdi, rcx
xor r13d, r13d
cmp byte [0x18010a364], r13b
je 0x180054885
lea rcx, [rbp + 0x158]
call fcn.18004aa20
mov r14, rax
cmp byte [rax + 0x33], r13b
je 0x180054865
mov r9d, r13d
mov cl, r9b
and cl, 7
shl cl, 3
movabs r8, 0xd993efbb19cfe32d
shr r8, cl
xor byte [r9 + rax], r8b
inc r9
cmp r9, 0x33
jb 0x18005483e
mov byte [rax + 0x33], r13b
movzx ebx, byte [rdi + 0xe8]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
mov r9d, ebx
mov rdx, r14
mov ecx, 3
call fcn.18006a848
test rsi, rsi
jne 0x1800548c0
lea r9, str.no_pBrowserMonitor
lea ecx, [rsi + 1]
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
lea r8, str.CBrowserMonitorFTM::Start_1
lea rdx, str.BrowserMonitorSinkFTM
call fcn.18005dd20
mov eax, 0x80004003
jmp 0x180054d28
test r15, r15
jne 0x1800548d2
lea r9, str.no_pWebBrowser2
lea ecx, [r15 + 2]
jmp 0x180054894
test r12d, r12d
jne 0x1800548e5
lea r9, str.no_inUnknown
lea ecx, [r12 + 3]
jmp 0x180054894
cmp qword [rdi + 0x48], rsi
je 0x180054907
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x48]
mov qword [rdi + 0x48], rsi
test rcx, rcx
je 0x180054907
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
cmp qword [rdi + 0x50], r15
je 0x180054929
mov rax, qword [r15]
mov rcx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x50]
mov qword [rdi + 0x50], r15
test rcx, rcx
je 0x180054929
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x170]
mov qword [rdi + 0xb0], rcx
call fcn.18004ae14
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x180054995
mov edx, 2
mov rcx, rax
call qword [sym.imp.USER32.dll_GetAncestor]
mov rsi, rax
test rax, rax
je 0x180054995
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov dword [rbp + 0x158], r13d
lea rdx, [rbp + 0x158]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [rbp + 0x158], ebx
jne 0x180054995
cmp dword [0x180108504], r13d
jne 0x180054995
mov rcx, rsi
call fcn.18005aacc
mov qword [rsp + 0x40], r13
mov rcx, qword [rdi + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0xf0]
test eax, eax
js 0x180054c06
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x180054c06
mov r14, qword [rsp + 0x40]
lea rax, [rbp - 0x78]
mov qword [rbp - 0x80], rax
test r14, r14
jne 0x1800549e5
mov rdx, r13
mov qword [rbp - 0x80], rdx
jmp 0x180054ac8
or rsi, 0xffffffffffffffff
inc rsi
cmp word [r14 + rsi*2], r13w
jne 0x1800549e9
inc esi
lea ebx, [rsi*4]
mov r9d, 0x80
lea r8, [rbp - 0x78]
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.18000e834
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, r13d
test eax, eax
sete bl
test eax, eax
jne 0x180054abc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180054abc
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
lea ecx, [rax - 0x77]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
mov r9d, 0x80
lea r8, [rbp - 0x78]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.18000e834
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, r13d
test eax, eax
sete bl
test ebx, ebx
jne 0x180054d4f
mov rdx, qword [rbp - 0x80]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
lea rcx, [rsp + 0x48]
call fcn.180003104
lea rax, [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
cmp rcx, rax
je 0x180054af7
call fcn.1800a89bc
lea rcx, [0x180108460]
call fcn.180007dac
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r9, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, qword [reloc.WS2_32.dll_ntohs]
cmp rsi, rax
ja 0x180054b53
lea rbx, [0x1801012d0]
cmp rax, 0x10
cmovae rbx, qword [0x1801012d0]
mov qword [0x1801012e0], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call fcn.18009fc20
mov byte [rbx + rsi], r13b
jmp 0x180054b65
mov r8b, r13b
mov rdx, rsi
lea rcx, [0x1801012d0]
call fcn.180003a38
mov edx, 2
mov rcx, qword [rdi + 0xb0]
call qword [sym.imp.USER32.dll_GetAncestor]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
mov rdx, rax
call fcn.18005d728
lea rcx, [0x180108460]
call fcn.180007dc4
cmp byte [rdi + 0xe8], r13b
jne 0x180054bc9
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
mov r8d, 1
mov rdx, qword [rdi + 0xb0]
call fcn.18005daa0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180054c06
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054c01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054d68
call fcn.18009d1f4
mov rax, qword [rdi]
mov rdx, r15
mov rcx, rdi
call qword [rax + 0x38]
test eax, eax
jns 0x180054c43
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
lea r9, str.MarshalBrowserPointer_failed
lea r8, str.CBrowserMonitorFTM::Start_1
lea rdx, str.BrowserMonitorSinkFTM
mov ecx, 5
call fcn.18005dd20
mov dword [rdi + 0x58], r12d
mov qword [rsp + 0x68], r13
mov rax, qword [rdi]
lea r8, [rsp + 0x68]
lea rdx, [0x1800da170]
mov rcx, rdi
call qword [rax]
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.1800098d0
lea r8, [0x1800eb6a8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.180009988
lea rcx, [rdi + 0xc0]
cmp rcx, rax
je 0x180054cad
mov r8b, r13b
mov rdx, rax
call fcn.180007418
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180054ce6
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054ce1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054d49
call fcn.18009d1f4
lea r9, [rdi + 0x5c]
lea r8, [0x1800da220]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdi + 0x50]
call fcn.18004af8c
mov ebx, eax
lea rcx, [rsp + 0x70]
call fcn.180005f10
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x180054d1b
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800a45b8
int3
mov r8d, 0x80
lea rdx, [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
call fcn.18000e6e8
call fcn.18004b03c
int3
call fcn.1800a45b8
int3