Function at 0x1800454b0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1800a1658]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov ebx, edx
lea rbp, str.SoftwareWOW6432Nodeprojonepodlp_smprule_
xor esi, esi
mov r12, 0xffffffff80000002
cmp edx, esi
jne 0x18004553a
xor r9d, r9d
lea r8, [0x18007a6d0]
mov rdx, rbp
mov rcx, r12
call fcn.180005684
cmp eax, esi
jne 0x18004569e
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
lea r9d, [rsi + 0x10]
lea r8, [0x180083948]
lea rdx, [0x18007a6b8]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x18004586c
cmp edx, 1
jne 0x180045584
xor r9d, r9d
lea r8, [0x18007a690]
mov rdx, rbp
mov rcx, r12
call fcn.180005684
cmp eax, esi
jne 0x18004569e
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r9d, sendto
lea r8, [0x180083948]
lea rdx, [0x18007a678]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x18004586c
cmp edx, 2
jne 0x180045613
xor r9d, r9d
lea r8, str.DocwmManual
mov rdx, rbp
mov rcx, r12
call fcn.180005684
cmp eax, esi
jne 0x1800455ce
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r9d, sendto
lea r8, [0x180083948]
lea rdx, [0x18007a648]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x18004586c
xor r9d, r9d
lea r8, str.DocwmManualAdd
mov rdx, rbp
mov rcx, r12
call fcn.180005684
cmp eax, esi
jne 0x18004569e
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r9d, sendto
lea r8, [0x180083948]
lea rdx, [0x18007a648]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x18004586c
cmp edx, 3
jne 0x18004569e
xor r9d, r9d
lea r8, str.DocwmManual
mov rdx, rbp
mov rcx, r12
call fcn.180005684
cmp eax, esi
jne 0x18004565d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r9d, sendto
lea r8, [0x180083948]
lea rdx, [0x18007a648]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x18004586c
xor r9d, r9d
lea r8, str.DocwmManualRemove
mov rdx, rbp
mov rcx, r12
call fcn.180005684
cmp eax, esi
jne 0x18004569e
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r9d, sendto
lea r8, [0x180083948]
lea rdx, [0x18007a5e8]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x18004586c
mov word [rsp + 0x70], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.18005a150
cmp ebx, esi
je 0x1800456c7
cmp ebx, 1
je 0x1800456c7
lea rdi, [0x18007a5d8]
jmp 0x1800456ce
lea rdi, [0x18007a5c0]
mov r9d, 0x104
lea r8, [rsp + 0x70]
lea rdx, str.wfchost.exe
mov rcx, qword [0x1800a4f98]
call fcn.180002ab4
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, esi
jne 0x180045727
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov qword [rsp + 0x20], rdi
lea r9, str.gb0R_
mov r8d, sendto
lea rdx, [0x180083948]
call fcn.180002cb8
jmp 0x18004586c
cmp ebx, esi
jne 0x180045737
lea r9, str._encrypt
jmp 0x1800457ba
cmp ebx, 1
jne 0x180045767
xor r9d, r9d
lea r8, [0x18007a568]
mov rdx, rbp
mov rcx, r12
call fcn.180005684
lea rcx, str._decrypt
lea r9, str._decryptNoReq
cmp eax, esi
cmovne r9, rcx
jmp 0x1800457ba
cmp ebx, 2
jne 0x180045775
lea r9, str._addDocwm
jmp 0x1800457ba
cmp ebx, 3
jne 0x1800457a5
xor r9d, r9d
lea r8, str.DocwmManualRemoveNeedToApprove
mov rdx, rbp
mov rcx, r12
call fcn.180005684
lea rcx, str._removeDocwmReq
lea r9, str._removeDocwm
cmp eax, esi
cmovne r9, rcx
jmp 0x1800457ba
lea rax, str._decMailReq
lea r9, [0x180081a98]
cmp ebx, 4
cmove r9, rax
lea r8, [rsp + 0x70]
lea rdx, str.__s___s__shl
lea rcx, [rsp + 0x30]
call fcn.180005488
nop
cmp qword [rax + 0x20], 8
jb 0x1800457de
mov rcx, qword [rax + 8]
jmp 0x1800457e2
lea rcx, [rax + 8]
xor edx, edx
lea r8d, [rdx + 1]
call fcn.180003750
mov rbx, rax
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x50], 8
jb 0x180045807
mov rcx, qword [rsp + 0x38]
call fcn.180058ed8
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x38], si
cmp rbx, rsi
je 0x180045830
cmp rbx, 0xffffffffffffffff
je 0x180045830
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18004586c
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov qword [rsp + 0x20], rdi
lea r9, [0x18007a450]
mov r8d, sendto
lea rdx, [0x180083948]
call fcn.180002cb8
nop
cmp rbx, 0xffffffffffffffff
je 0x18004586c
cmp rbx, rsi
je 0x18004586c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180059b00
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret