Function at 0x45b9a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8ca0
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, edx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x45b9fd
cmp dword [esi + 0x14], 8
jb 0x45b9e6
mov eax, dword [esi]
jmp 0x45b9e8
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
jne 0x45bb23
push 1
push 2
lea ecx, [ebp - 0x150]
call fcn.00413cc0
mov dword [ebp - 4], ebx
push str._is_NOT_existed.
push esi
push str.jsonPath:
lea eax, [ebp - 0x150]
push eax
call fcn.00416b90
add esp, 8
push eax
call fcn.00416df0
add esp, 8
push eax
call fcn.0042c440
add esp, 8
mov esi, 0xf
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
push 0x19
push str.CChrmCore::UpdateNaMsgReg
lea ecx, [ebp - 0x30]
call fcn.0040ebe0
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
push 0xc
push str.ChrmCore.cpp
lea ecx, [ebp - 0x4c]
call fcn.0040ebe0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x150]
call fcn.00413de0
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x30]
push edx
push 0x161
lea eax, [ebp - 0x4c]
push eax
push ebx
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [ebp - 4], 2
cmp dword [ebp - 0x54], 8
jb 0x45babc
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], ebx
xor edx, edx
mov word [ebp - 0x68], dx
mov byte [ebp - 4], 1
mov edi, 0x10
cmp dword [ebp - 0x38], edi
jb 0x45bae6
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00490458
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1c], edi
jb 0x45bb03
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.00412cc0
jmp 0x45c0bf
and dword [ebp - 0xac], 0xfffffe00
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 4], 8
push edi
lea edx, [ebp - 0x84]
push edx
call fcn.004188e0
mov byte [ebp - 4], 9
sub esp, 0x14
mov dword [ebp - 0xa4], esp
mov ecx, esp
mov edi, 7
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
xor eax, eax
mov word [ecx], ax
push 1
push 0x4c591c
call fcn.0040e680
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb4]
push ecx
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.0045c520
cmp al, bl
jne 0x45bcc7
push 1
push 2
lea ecx, [ebp - 0x150]
call fcn.00413cc0
mov byte [ebp - 4], 0xb
push esi
push str.Error_json_format_path:
lea edx, [ebp - 0x150]
push edx
call fcn.00416b90
add esp, 8
push eax
call fcn.00416df0
add esp, 8
mov esi, 0xf
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
push 0x19
push str.CChrmCore::UpdateNaMsgReg
lea ecx, [ebp - 0x4c]
call fcn.0040ebe0
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
push 0xc
push str.ChrmCore.cpp
lea ecx, [ebp - 0x30]
call fcn.0040ebe0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x150]
call fcn.00413de0
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 0x169
lea edx, [ebp - 0x30]
push edx
push ebx
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x54], 8
jb 0x45bc42
mov eax, dword [ebp - 0x68]
push eax
call fcn.00490458
add esp, 4
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
xor ecx, ecx
mov word [ebp - 0x68], cx
mov byte [ebp - 4], 0xc
mov edi, 0x10
cmp dword [ebp - 0x1c], edi
jb 0x45bc68
mov edx, dword [ebp - 0x30]
push edx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x38], edi
jb 0x45bc86
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00490458
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x150]
call fcn.00412cc0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x70], edi
jb 0x45bcb6
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
jmp 0x45c0ad
mov byte [ebp - 4], 0xf
push str.name
lea ecx, [ebp - 0xb4]
call fcn.0046467e
lea edx, [ebp - 0x68]
push edx
mov ecx, eax
call fcn.00464036
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
je 0x45bcf8
lea eax, [ebp - 0x68]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x84]
call fcn.0040e860
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x68]
call fcn.0040f350
mov dword [ebp - 4], 9
mov dword [ebp - 0xa4], SysReAllocStringLen
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00418a60
add esp, 8
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor edx, edx
mov word [ebp - 0x30], dx
push 1
push 0x4c4f30
lea ecx, [ebp - 0x30]
call fcn.0040e680
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x30]
push eax
push str.SOFTWAREGoogleChromeNativeMessagingHosts
lea ecx, [ebp - 0x68]
push ecx
call fcn.00407e10
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0xa0]
push edx
mov edx, dword [ebp - 0xb8]
mov ecx, eax
call fcn.004273e0
add esp, 0x10
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x54], 8
jb 0x45bda3
mov eax, dword [ebp - 0x68]
push eax
call fcn.00490458
add esp, 4
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
xor ecx, ecx
mov word [ebp - 0x68], cx
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0x1c], 8
jb 0x45bdc5
mov edx, dword [ebp - 0x30]
push edx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor eax, eax
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x38], 8
jb 0x45bde7
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
xor edx, edx
mov word [ebp - 0x4c], dx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor eax, eax
mov word [ebp - 0x30], ax
push ebx
push 0x4c42e8
lea ecx, [ebp - 0x30]
call fcn.0040e680
mov byte [ebp - 4], 0x1d
push ebx
push 1
push esi
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0xa4]
call fcn.0041cac0
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x1c], 8
jb 0x45be41
mov eax, dword [ebp - 0x30]
push eax
call fcn.00490458
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor ecx, ecx
mov word [ebp - 0x30], cx
push 1
push 2
lea ecx, [ebp - 0x150]
call fcn.00413cc0
mov byte [ebp - 4], 0x1e
push esi
push str.._jsonPath:
lea edx, [ebp - 0xa0]
push edx
push str.UpdateNaMsgReg_OK._naMsgHostReg:
lea eax, [ebp - 0x150]
push eax
call fcn.00416b90
add esp, 8
push eax
call fcn.00416df0
add esp, 8
push eax
call fcn.00416b90
add esp, 8
push eax
call fcn.00416df0
add esp, 8
mov esi, 0xf
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
push 0x19
push str.CChrmCore::UpdateNaMsgReg
lea ecx, [ebp - 0x4c]
call fcn.0040ebe0
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
push 0xc
push str.ChrmCore.cpp
lea ecx, [ebp - 0x30]
call fcn.0040ebe0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x150]
call fcn.00413de0
mov byte [ebp - 4], 0x21
push eax
lea edx, [ebp - 0x4c]
push edx
push 0x195
lea eax, [ebp - 0x30]
push eax
push 3
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [ebp - 4], 0x20
cmp dword [ebp - 0x54], 8
jb 0x45bf1e
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
xor edx, edx
mov word [ebp - 0x68], dx
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x1c], 0x10
jb 0x45bf40
mov eax, dword [ebp - 0x30]
push eax
call fcn.00490458
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x38], 0x10
jb 0x45bf5f
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x150]
call fcn.00412cc0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x8c], 8
jb 0x45bf93
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
xor eax, eax
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x70], 0x10
jb 0x45bfc1
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00463ee0
mov al, 1
jmp 0x45c0c1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00463ee0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004911d1
mov esp, ebp
pop ebp
ret