Function at 0x180045000
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 [0x1800a1628]
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 0x18004508a
xor r9d, r9d
lea r8, [0x18007a6d0]
mov rdx, rbp
mov rcx, r12
call fcn.180005694
cmp eax, esi
jne 0x1800451ee
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 0x1800453bc
cmp edx, 1
jne 0x1800450d4
xor r9d, r9d
lea r8, [0x18007a690]
mov rdx, rbp
mov rcx, r12
call fcn.180005694
cmp eax, esi
jne 0x1800451ee
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 0x1800453bc
cmp edx, 2
jne 0x180045163
xor r9d, r9d
lea r8, str.DocwmManual
mov rdx, rbp
mov rcx, r12
call fcn.180005694
cmp eax, esi
jne 0x18004511e
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 0x1800453bc
xor r9d, r9d
lea r8, str.DocwmManualAdd
mov rdx, rbp
mov rcx, r12
call fcn.180005694
cmp eax, esi
jne 0x1800451ee
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 0x1800453bc
cmp edx, 3
jne 0x1800451ee
xor r9d, r9d
lea r8, str.DocwmManual
mov rdx, rbp
mov rcx, r12
call fcn.180005694
cmp eax, esi
jne 0x1800451ad
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 0x1800453bc
xor r9d, r9d
lea r8, str.DocwmManualRemove
mov rdx, rbp
mov rcx, r12
call fcn.180005694
cmp eax, esi
jne 0x1800451ee
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 0x1800453bc
mov word [rsp + 0x70], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.180059db0
cmp ebx, esi
je 0x180045217
cmp ebx, 1
je 0x180045217
lea rdi, [0x18007a5d8]
jmp 0x18004521e
lea rdi, [0x18007a5c0]
mov r9d, 0x104
lea r8, [rsp + 0x70]
lea rdx, str.wfchost.exe
mov rcx, qword [0x1800a4f98]
call fcn.180002a48
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, esi
jne 0x180045277
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.180002c4c
jmp 0x1800453bc
cmp ebx, esi
jne 0x180045287
lea r9, str._encrypt
jmp 0x18004530a
cmp ebx, 1
jne 0x1800452b7
xor r9d, r9d
lea r8, [0x18007a568]
mov rdx, rbp
mov rcx, r12
call fcn.180005694
lea rcx, str._decrypt
lea r9, str._decryptNoReq
cmp eax, esi
cmovne r9, rcx
jmp 0x18004530a
cmp ebx, 2
jne 0x1800452c5
lea r9, str._addDocwm
jmp 0x18004530a
cmp ebx, 3
jne 0x1800452f5
xor r9d, r9d
lea r8, str.DocwmManualRemoveNeedToApprove
mov rdx, rbp
mov rcx, r12
call fcn.180005694
lea rcx, str._removeDocwmReq
lea r9, str._removeDocwm
cmp eax, esi
cmovne r9, rcx
jmp 0x18004530a
lea rax, str._decMailReq
lea r9, [0x180081ab8]
cmp ebx, 4
cmove r9, rax
lea r8, [rsp + 0x70]
lea rdx, str.__s___s__shl
lea rcx, [rsp + 0x30]
call fcn.180005498
nop
cmp qword [rax + 0x20], 8
jb 0x18004532e
mov rcx, qword [rax + 8]
jmp 0x180045332
lea rcx, [rax + 8]
xor edx, edx
lea r8d, [rdx + 1]
call fcn.1800036e4
mov rbx, rax
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x50], 8
jb 0x180045357
mov rcx, qword [rsp + 0x38]
call fcn.180058b34
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x38], si
cmp rbx, rsi
je 0x180045380
cmp rbx, 0xffffffffffffffff
je 0x180045380
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800453bc
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.180002c4c
nop
cmp rbx, 0xffffffffffffffff
je 0x1800453bc
cmp rbx, rsi
je 0x1800453bc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180059760
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret