Function at 0x14000e570
Capabilities:
Check if file exists

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
mov eax, 0x4f00
call fcn.140010d80
sub rsp, rax
mov qword [rsp + 0x4ea8], 0xfffffffffffffffe
mov dword [rsp + 0x48], 8
mov dword [rsp + 0x4c], 0x1ff
lea rcx, [rsp + 0x48]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x260], eax
lea rdx, str._ShowJournal
mov rcx, qword [rsp + 0x4f30]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000e60c
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x494], eax
call fcn.14000e490
cmp dword [rsp + 0x494], 0
jl 0x14000e605
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x14000ef74
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x490], 0
lea r9, [rsp + 0x490]
lea r8, [rsp + 0x40]
lea rdx, str._X_n
mov rcx, qword [rsp + 0x4f30]
call fcn.140003034
movsxd rdx, dword [rsp + 0x490]
mov rax, qword [rsp + 0x4f30]
add rax, rdx
mov qword [rsp + 0x488], rax
mov rax, qword [rsp + 0x488]
movsx eax, byte [rax]
cmp eax, 0x20
jne 0x14000e681
mov rax, qword [rsp + 0x488]
add rax, 1
mov qword [rsp + 0x488], rax
jmp 0x14000e65b
mov rax, qword [rsp + 0x488]
movsx eax, byte [rax]
test eax, eax
jne 0x14000e69f
lea rax, str.Samsung_Network_PC_Fax
mov qword [rsp + 0x488], rax
mov rax, qword [0x140014490]
mov qword [rsp + 0x50], rax
lea rdi, [rsp + 0x58]
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
lea rdi, [rsp + 0x270]
lea rsi, str.Samsung_Network_PC_Fax_Port
mov ecx, 0x38
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x2a8]
xor eax, eax
mov ecx, 0x1d0
rep stosb byte [rdi], al
mov dword [rsp + 0x480], 0
mov rax, qword [rsp + 0x488]
movsx eax, byte [rax]
test eax, eax
je 0x14000e7c3
lea rcx, [rsp + 0x498]
call fcn.1400018c0
mov r8d, 8
mov rdx, qword [rsp + 0x488]
lea rcx, [rsp + 0x498]
call fcn.140001990
lea rcx, [rsp + 0x498]
call fcn.140001ad0
movzx eax, al
test eax, eax
jne 0x14000e7b6
lea rcx, [rsp + 0x498]
call fcn.1400018e0
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x4a0]
mov eax, dword [rax + 0x68]
mov dword [rsp + 0x480], eax
mov rax, qword [rsp + 0x4a0]
cmp qword [rax], 0
je 0x14000e789
mov r8, qword [rsp + 0x4a0]
mov r8, qword [r8]
mov edx, 0x208
lea rcx, [rsp + 0x50]
call fcn.1400025a0
mov rax, qword [rsp + 0x4a0]
cmp qword [rax + 0x18], 0
je 0x14000e7b6
mov r8, qword [rsp + 0x4a0]
mov r8, qword [r8 + 0x18]
mov edx, 0x208
lea rcx, [rsp + 0x270]
call fcn.1400025a0
lea rcx, [rsp + 0x498]
call fcn.140001ab0
cmp dword [rsp + 0x40], 0
je 0x14000ef72
cmp dword [rsp + 0x40], 0xffffffff
je 0x14000ef72
lea rcx, [rsp + 0x46f0]
call fcn.1400018c0
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x4700], eax
mov edi, dword [rsp + 0x4700]
add edi, 0x1388
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x14000e880
mov rdx, qword [rsp + 0x488]
lea rcx, [rsp + 0x4978]
call fcn.140001850
mov qword [rsp + 0x4eb0], rax
mov rcx, qword [rsp + 0x4eb0]
call fcn.1400018e0
mov r9d, 8
mov r8d, dword [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x46f0]
call fcn.140001b00
mov dword [rsp + 0x4704], eax
lea rcx, [rsp + 0x4978]
call fcn.140001890
cmp dword [rsp + 0x4704], 0
jl 0x14000e870
jmp 0x14000e880
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000e7f4
lea rax, [rsp + 0x270]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, str._spipe_s
mov edx, 0x208
lea rcx, [rsp + 0x44e0]
call fcn.140002660
mov dword [rsp + 0x46fc], 0x1d4c0
mov r8d, 0x200c
xor edx, edx
lea rcx, [rsp + 0x24c0]
call fcn.140002a80
mov r8d, 0x200c
xor edx, edx
lea rcx, [rsp + 0x4b0]
call fcn.140002a80
mov dword [rsp + 0x44d0], 0x200c
mov dword [rsp + 0x24c0], 0x1c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x24c4], eax
lea rax, [rsp + 0x24cc]
mov qword [rsp + 0x44d8], rax
mov dword [rsp + 0x46f8], 0
lea rcx, [rsp + 0x46f0]
call fcn.140001ad0
movzx eax, al
test eax, eax
jne 0x14000e957
lea rcx, [rsp + 0x46f0]
call fcn.1400018e0
mov rdx, qword [rsp + 0x44d8]
mov rcx, qword [rax + 0x50]
call fcn.140001620
mov dword [rsp + 0x46f8], eax
jmp 0x14000e9a5
mov rdx, qword [rsp + 0x488]
lea rcx, [rsp + 0x4a80]
call fcn.140001850
mov qword [rsp + 0x4eb8], rax
mov rcx, qword [rsp + 0x4eb8]
call fcn.1400018e0
mov rdx, qword [rsp + 0x44d8]
mov rcx, rax
call fcn.140001720
mov dword [rsp + 0x46f8], eax
lea rcx, [rsp + 0x4a80]
call fcn.140001890
cmp dword [rsp + 0x46f8], 0
jne 0x14000e9fc
mov eax, dword [rsp + 0x46fc]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x44d0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44d0]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x4b0]
mov r8d, 0x200c
lea rdx, [rsp + 0x24c0]
lea rcx, [rsp + 0x44e0]
call section..text
mov dword [rsp + 0x46f8], eax
cmp dword [rsp + 0x46f8], 0
jge 0x14000ea5e
mov dword [rsp + 0x24c0], 0x18
mov eax, dword [rsp + 0x46fc]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x44d0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44d0]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x4b0]
mov r8d, 0x200c
lea rdx, [rsp + 0x24c0]
lea rcx, [rsp + 0x44e0]
call section..text
mov dword [rsp + 0x46f8], eax
mov r8d, 0x200c
xor edx, edx
lea rcx, [rsp + 0x24c0]
call fcn.140002a80
mov dword [rsp + 0x24c0], 2
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x24c4], eax
mov dword [rsp + 0x4a8], 0xb5
mov r8d, 0x200c
xor edx, edx
lea rcx, [rsp + 0x4b0]
call fcn.140002a80
mov dword [rsp + 0x44d0], 0x200c
mov eax, dword [rsp + 0x46fc]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x44d0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44d0]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x4b0]
mov r8d, 0x200c
lea rdx, [rsp + 0x24c0]
lea rcx, [rsp + 0x44e0]
call section..text
mov dword [rsp + 0x4710], eax
cmp dword [rsp + 0x4710], 0
jge 0x14000eb3c
mov ecx, dword [rsp + 0x4a8]
mov eax, dword [rsp + 0x4a8]
sub eax, 1
mov dword [rsp + 0x4a8], eax
test ecx, ecx
jne 0x14000eb2c
jmp 0x14000ef51
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000ea94
cmp dword [rsp + 0x4b4], 0
jne 0x14000eb79
mov ecx, dword [rsp + 0x4a8]
mov eax, dword [rsp + 0x4a8]
sub eax, 1
mov dword [rsp + 0x4a8], eax
test ecx, ecx
jne 0x14000eb67
jmp 0x14000ef51
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000ea94
cmp dword [rsp + 0x4b4], 1
jne 0x14000eb95
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000ea94
cmp dword [rsp + 0x4b4], 2
je 0x14000eba4
jmp 0x14000ef51
lea rax, [rsp + 0x4bc]
mov qword [rsp + 0x4708], rax
mov rax, qword [rsp + 0x4708]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
jne 0x14000ebd3
mov dword [rsp + 0x4ec0], 1
jmp 0x14000ebde
mov dword [rsp + 0x4ec0], 0
movzx eax, byte [rsp + 0x4ec0]
mov byte [rsp + 0x4714], al
mov rax, qword [rsp + 0x4708]
mov eax, dword [rax + 8]
and eax, 2
test eax, eax
je 0x14000ef4a
mov r8d, 0x104
lea rdx, [rsp + 0x4720]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x4720]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov qword [rsp + 0x4930], rax
lea r8, [0x1400144e8]
mov edx, 0x208
mov rcx, qword [rsp + 0x4930]
call fcn.1400025a0
mov qword [rsp + 0x4938], 0
lea rcx, [rsp + 0x4720]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000ec7c
lea rcx, [rsp + 0x4720]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x4938], rax
cmp qword [rsp + 0x4938], 0
je 0x14000ef4a
lea rdx, str.ShowDialog
mov rcx, qword [rsp + 0x4938]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x4948], rax
lea rdx, str.ShowDialogEx
mov rcx, qword [rsp + 0x4938]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x4940], rax
lea rdx, str.ShowDialogJI2
mov rcx, qword [rsp + 0x4938]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x4950], rax
cmp qword [rsp + 0x4948], 0
je 0x14000ef3c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x4958]
call fcn.140002430
xor r8d, r8d
lea rdx, [rsp + 0x4958]
lea rcx, [0x1400195c8]
call sub.gdiplus.dll_GdiplusStartup
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x4970], eax
cmp qword [rsp + 0x4950], 0
je 0x14000edf5
lea rcx, [rsp + 0x46f0]
call fcn.140001ad0
movzx eax, al
test eax, eax
jne 0x14000edf5
mov rdx, qword [rsp + 0x488]
lea rcx, [rsp + 0x4b88]
call fcn.140001850
mov qword [rsp + 0x4ec8], rax
mov rax, qword [rsp + 0x4ec8]
mov qword [rsp + 0x4ed0], rax
mov rbx, qword [rsp + 0x4708]
add rbx, 0x748
lea rcx, [rsp + 0x46f0]
call fcn.1400018e0
mov rsi, rax
mov rcx, qword [rsp + 0x4ed0]
call fcn.1400018e0
mov rdi, rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov qword [rsp + 0x28], rbx
movzx eax, byte [rsp + 0x4714]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x4708]
mov r9d, dword [rax + 4]
mov r8, rsi
mov rdx, rdi
call qword [rsp + 0x4950]
nop
lea rcx, [rsp + 0x4b88]
call fcn.140001890
jmp 0x14000ef20
cmp qword [rsp + 0x4940], 0
je 0x14000ee98
mov rdx, qword [rsp + 0x488]
lea rcx, [rsp + 0x4c90]
call fcn.140001850
mov qword [rsp + 0x4ed8], rax
mov rax, qword [rsp + 0x4ed8]
mov qword [rsp + 0x4ee0], rax
mov rsi, qword [rsp + 0x4708]
add rsi, 0x748
mov rcx, qword [rsp + 0x4ee0]
call fcn.1400018e0
mov rdi, rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov qword [rsp + 0x28], rsi
movzx eax, byte [rsp + 0x4714]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x4708]
mov r9d, dword [rax + 4]
mov r8d, dword [rsp + 0x40]
mov rdx, rdi
call qword [rsp + 0x4940]
nop
lea rcx, [rsp + 0x4c90]
call fcn.140001890
jmp 0x14000ef20
mov rdx, qword [rsp + 0x488]
lea rcx, [rsp + 0x4d98]
call fcn.140001850
mov qword [rsp + 0x4ee8], rax
mov rax, qword [rsp + 0x4ee8]
mov qword [rsp + 0x4ef0], rax
mov rsi, qword [rsp + 0x4708]
add rsi, 0x748
mov rcx, qword [rsp + 0x4ef0]
call fcn.1400018e0
mov rdi, rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov qword [rsp + 0x20], rsi
movzx r9d, byte [rsp + 0x4714]
mov rax, qword [rsp + 0x4708]
mov r8d, dword [rax + 4]
mov rdx, rdi
call qword [rsp + 0x4948]
nop
lea rcx, [rsp + 0x4d98]
call fcn.140001890
nop
cmp dword [rsp + 0x4970], 0
jl 0x14000ef30
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [0x1400195c8]
call sub.gdiplus.dll_GdiplusShutdown
mov rcx, qword [rsp + 0x4938]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14000ef51
mov dword [rsp + 0x4ea0], 0
lea rcx, [rsp + 0x46f0]
call fcn.140001ab0
mov eax, dword [rsp + 0x4ea0]
jmp 0x14000ef74
xor eax, eax
add rsp, 0x4f00
pop rdi
pop rsi
pop rbx
ret