Function at 0x4012c1
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x405540
push 0xffffffffffffffff
push 0x40ffe0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
push str.CJobTicketManagerImgConv::readParams_Start
push 0xb0
mov esi, ecx
push str.D:FujifilmDnaAppsP6p6wsAc_ImgConvAc_ImgConv_JTM.cpp
call sub.P6Util.dll_P6PutLog
add esp, 0xc
push 0
push str.CJobTicketManagerImgConv::readParams_Start
push 2
call sub.P6Util.dll_get_log_common_id
push eax
push 4
push 0xb0
push str.D:FujifilmDnaAppsP6p6wsAc_ImgConvAc_ImgConv_JTM.cpp
call sub.P6Util.dll_getLogMan
mov edi, dword [sym.imp.LogMan.dll_public:_long_int___cdecl_CLogMan::PutLog_char_const___long_int__long_int__long_int_]
push eax
call edi
add esp, 0x20
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x344]
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], eax
call sub.MFC42.DLL_CString::CString_1
push str.Params
push str.SOFTWAREFujiFilmFrontierCurrentVersionAc_ImgConv_
lea ecx, [esp + 0x10]
push str._s_s
push ecx
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
add esp, 0x10
push edx
push str.CJobTicketManagerImgConv::readParams__:_strRegPath__s_
call sub.P6Util.dll_WriteErrorLogFileFormat
mov ecx, dword [esp + 0x10]
add esp, 8
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4056ba
push str.CJobTicketManagerImgConv::readParams__:_RegOpenKeyEx_ERROR_SUCCESS_
call sub.P6Util.dll_WriteErrorLogFileFormat
add esp, 4
mov dword [esp + 0x18], 4
mov dword [esp + 0x14], 4
push str.addDelFolderPathValidity
push str.CJobTicketManagerImgConv::readParams__:
call sub.P6Util.dll_WriteErrorLogFileFormat
add esp, 8
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push 0
push str.addDelFolderPathValidity
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40568d
push str.CJobTicketManagerImgConv::readParams__:_RegQueryValueEx___ERROR_SUCCESS_
call sub.P6Util.dll_WriteErrorLogFileFormat
mov eax, dword [esp + 0x10]
add esp, 4
mov dword [esi + 0x344], eax
push eax
push str.CJobTicketManagerImgConv::readParams__:_dwValidity____lu_
jmp 0x4056a5
push eax
push str.CJobTicketManagerImgConv::readParams__:_RegQueryValueEx___0x_08x_
call sub.P6Util.dll_WriteErrorLogFileFormat
mov eax, dword [esp + 0x14]
add esp, 8
push eax
push str.CJobTicketManagerImgConv::readParams__:_dwValidity__lu_
call sub.P6Util.dll_WriteErrorLogFileFormat
mov ecx, dword [esp + 0x18]
add esp, 8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4056c8
push eax
push str.CJobTicketManagerImgConv::readParams__:_RegOpenKeyEx___0x_lx_
call sub.P6Util.dll_WriteErrorLogFileFormat
add esp, 8
push str.CJobTicketManagerImgConv::readParams_End
push 0xd2
push str.D:FujifilmDnaAppsP6p6wsAc_ImgConvAc_ImgConv_JTM.cpp
call sub.P6Util.dll_P6PutLog
add esp, 0xc
push 0
push str.CJobTicketManagerImgConv::readParams_End
push 2
call sub.P6Util.dll_get_log_common_id
push eax
push 4
push 0xd2
push str.D:FujifilmDnaAppsP6p6wsAc_ImgConvAc_ImgConv_JTM.cpp
call sub.P6Util.dll_getLogMan
push eax
call edi
add esp, 0x20
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0040dc54
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040dc54
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret