Function at 0x180044a68
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 0x180044af2
xor r9d, r9d
lea r8, [0x18007a680]
mov rdx, rbp
mov rcx, r12
call fcn.18000568c
cmp eax, esi
jne 0x180044c56
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
lea r9d, [rsi + 0x10]
lea r8, [0x180083928]
lea rdx, [0x18007a668]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x180044e24
cmp edx, 1
jne 0x180044b3c
xor r9d, r9d
lea r8, [0x18007a640]
mov rdx, rbp
mov rcx, r12
call fcn.18000568c
cmp eax, esi
jne 0x180044c56
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r9d, sendto
lea r8, [0x180083928]
lea rdx, [0x18007a628]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x180044e24
cmp edx, 2
jne 0x180044bcb
xor r9d, r9d
lea r8, str.DocwmManual
mov rdx, rbp
mov rcx, r12
call fcn.18000568c
cmp eax, esi
jne 0x180044b86
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r9d, sendto
lea r8, [0x180083928]
lea rdx, [0x18007a5f8]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x180044e24
xor r9d, r9d
lea r8, str.DocwmManualAdd
mov rdx, rbp
mov rcx, r12
call fcn.18000568c
cmp eax, esi
jne 0x180044c56
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r9d, sendto
lea r8, [0x180083928]
lea rdx, [0x18007a5f8]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x180044e24
cmp edx, 3
jne 0x180044c56
xor r9d, r9d
lea r8, str.DocwmManual
mov rdx, rbp
mov rcx, r12
call fcn.18000568c
cmp eax, esi
jne 0x180044c15
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r9d, sendto
lea r8, [0x180083928]
lea rdx, [0x18007a5f8]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x180044e24
xor r9d, r9d
lea r8, str.DocwmManualRemove
mov rdx, rbp
mov rcx, r12
call fcn.18000568c
cmp eax, esi
jne 0x180044c56
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r9d, sendto
lea r8, [0x180083928]
lea rdx, [0x18007a598]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x180044e24
mov word [rsp + 0x70], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.180059f80
cmp ebx, esi
je 0x180044c7f
cmp ebx, 1
je 0x180044c7f
lea rdi, [0x18007a588]
jmp 0x180044c86
lea rdi, [0x18007a570]
mov r9d, 0x104
lea r8, [rsp + 0x70]
lea rdx, str.wfchost.exe
mov rcx, qword [0x1800a4f98]
call fcn.180002a40
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, esi
jne 0x180044cdf
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov qword [rsp + 0x20], rdi
lea r9, str.gb0R_
mov r8d, sendto
lea rdx, [0x180083928]
call fcn.180002c44
jmp 0x180044e24
cmp ebx, esi
jne 0x180044cef
lea r9, str._encrypt
jmp 0x180044d72
cmp ebx, 1
jne 0x180044d1f
xor r9d, r9d
lea r8, [0x18007a518]
mov rdx, rbp
mov rcx, r12
call fcn.18000568c
lea rcx, str._decrypt
lea r9, str._decryptNoReq
cmp eax, esi
cmovne r9, rcx
jmp 0x180044d72
cmp ebx, 2
jne 0x180044d2d
lea r9, str._addDocwm
jmp 0x180044d72
cmp ebx, 3
jne 0x180044d5d
xor r9d, r9d
lea r8, str.DocwmManualRemoveNeedToApprove
mov rdx, rbp
mov rcx, r12
call fcn.18000568c
lea rcx, str._removeDocwmReq
lea r9, str._removeDocwm
cmp eax, esi
cmovne r9, rcx
jmp 0x180044d72
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.180005490
nop
cmp qword [rax + 0x20], 8
jb 0x180044d96
mov rcx, qword [rax + 8]
jmp 0x180044d9a
lea rcx, [rax + 8]
xor edx, edx
lea r8d, [rdx + 1]
call fcn.1800036dc
mov rbx, rax
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x50], 8
jb 0x180044dbf
mov rcx, qword [rsp + 0x38]
call fcn.1800018ec
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x38], si
cmp rbx, rsi
je 0x180044de8
cmp rbx, 0xffffffffffffffff
je 0x180044de8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180044e24
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov qword [rsp + 0x20], rdi
lea r9, [0x18007a400]
mov r8d, sendto
lea rdx, [0x180083928]
call fcn.180002c44
nop
cmp rbx, 0xffffffffffffffff
je 0x180044e24
cmp rbx, rsi
je 0x180044e24
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180059930
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret