Function at 0x408cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x4d4
mov eax, 0x6c5e2f
call fcn.005635dc
mov esi, ecx
mov dword [ebp - 0x4d8], esi
mov dword [ebp - 0x4d8], esi
lea ecx, [ebp - 0x458]
xor ebx, ebx
mov dword [ebp - 0x444], 0xf
push str.JiSu
mov dword [ebp - 0x448], ebx
mov byte [ebp - 0x458], bl
call fcn.00402496
push 9
push 0x77bea8
push ebx
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], ebx
call fcn.00402a58
push eax
lea ecx, [ebp - 0x428]
call fcn.00402324
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 2
call fcn.00402470
push 0x10
pop edi
cmp dword [ebp - 0x414], edi
lea ecx, [ebp - 0x4d4]
push ecx
push 0x20019
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x408ee2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x440]
call fcn.0040223b
mov edi, eax
mov byte [ebp - 4], 3
cmp dword [edi + 0x14], 0x10
jb 0x408d8e
mov edi, dword [edi]
push str.JiSu
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x474], 0xf
mov byte [ebp - 0x488], bl
call fcn.00402496
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x470]
push str.HKEY_CURRENT_USER
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], bl
call fcn.00402496
push 0x13
push str.Failed_to_open_key:
push ebx
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 5
call fcn.00402a58
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00402324
push str.Software_
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 6
call fcn.004022e2
push eax
lea ecx, [ebp - 0x4a0]
call fcn.00402324
lea eax, [ebp - 0x488]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x4a0]
lea ecx, [ebp - 0x4d0]
call fcn.0040261d
pop ecx
mov ecx, eax
mov byte [ebp - 4], 8
cmp dword [ecx + 0x14], 0x10
jb 0x408e4c
mov ecx, dword [ecx]
cmp dword [0x7bce00], 0x10
mov eax, 0x7bcdec
push 0x7791fc
cmovae eax, dword [0x7bcdec]
push edi
push 0x77b778
push ecx
push str.ERROR:
push 0x50e
push str.Services::GetInstallerResultUIString
push str.e:hongzhenqiancode03_jisubrowser_yindao_codeqinghouinstaller_services_services.cpp
push eax
push str.MYSD_ErrMsg_JiSu
push 2
call fcn.004175fc
add esp, 0x2c
lea ecx, [ebp - 0x4d0]
call fcn.00402470
lea ecx, [ebp - 0x4a0]
call fcn.00402470
lea ecx, [ebp - 0x4b8]
call fcn.00402470
lea ecx, [ebp - 0x470]
call fcn.00402470
lea ecx, [ebp - 0x488]
call fcn.00402470
lea ecx, [ebp - 0x440]
call fcn.00402470
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
jmp 0x409141
push 4
pop eax
mov dword [ebp - 0x4e0], eax
mov dword [ebp - 0x4dc], eax
lea eax, [ebp - 0x4dc]
push eax
lea eax, [ebp - 0x4d8]
mov dword [ebp - 0x4d8], ebx
push eax
lea eax, [ebp - 0x4e0]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.InstallerResult
push dword [ebp - 0x4d4]
call ebx
test eax, eax
je 0x408fb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x440]
call fcn.0040223b
mov ecx, eax
mov byte [ebp - 4], 9
cmp dword [ecx + 0x14], edi
jb 0x408f48
mov ecx, dword [ecx]
cmp dword [0x7bce00], edi
mov eax, 0x7bcdec
push 0x7791fc
cmovae eax, dword [0x7bcdec]
push ecx
push 0x77b778
push str.Failed_to_query_value:InstallerResult
push str.ERROR:
push 0x518
push str.Services::GetInstallerResultUIString
push str.e:hongzhenqiancode03_jisubrowser_yindao_codeqinghouinstaller_services_services.cpp
push eax
push str.MYSD_ErrMsg_JiSu
push 2
call fcn.004175fc
add esp, 0x2c
lea ecx, [ebp - 0x440]
call fcn.00402470
push dword [ebp - 0x4d4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x409141
mov edx, dword [ebp - 0x4d8]
test edx, edx
je 0x408f99
lea ecx, [ebp - 0x440]
call fcn.004021ee
mov ecx, eax
mov byte [ebp - 4], 0xa
cmp dword [ecx + 0x14], edi
jb 0x408fda
mov ecx, dword [ecx]
cmp dword [0x7bce00], 0x10
mov edi, 0x7bcdec
push 0x7791fc
push ecx
push str.InstallerResult:
push str.INFO:
push 0x523
push str.Services::GetInstallerResultUIString
mov eax, edi
cmovae eax, dword [0x7bcdec]
push str.e:hongzhenqiancode03_jisubrowser_yindao_codeqinghouinstaller_services_services.cpp
push eax
push str.MYSD_ErrMsg_JiSu
push 1
call fcn.004175fc
add esp, 0x28
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x440]
call fcn.00402470
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00686080
add esp, 0xc
mov dword [ebp - 0x4e0], 1
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4dc], 0x400
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x4e0]
push eax
push 0
push str.InstallerResultUIString
push dword [ebp - 0x4d4]
call ebx
test eax, eax
je 0x4090d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x440]
call fcn.0040223b
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x40909e
mov eax, dword [eax]
cmp dword [0x7bce00], 0x10
push 0x7791fc
cmovae edi, dword [0x7bcdec]
push eax
push 0x77b778
push str.Failed_to_query_value:InstallerResultUIString
push str.ERROR:
push 0x52b
push str.Services::GetInstallerResultUIString
push str.e:hongzhenqiancode03_jisubrowser_yindao_codeqinghouinstaller_services_services.cpp
push edi
jmp 0x408f7f
cmp dword [0x7bce00], 0x10
lea eax, [ebp - 0x410]
push 0x7791fc
cmovae edi, dword [0x7bcdec]
push eax
push str.InstallerResultUIString:
push str.INFO:
push 0x52f
push str.Services::GetInstallerResultUIString
push str.e:hongzhenqiancode03_jisubrowser_yindao_codeqinghouinstaller_services_services.cpp
push edi
push str.MYSD_ErrMsg_JiSu
push 1
call fcn.004175fc
add esp, 0x28
push dword [ebp - 0x4d4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [esi + 0x10], 0
lea eax, [ebp - 0x410]
mov dword [esi + 0x14], 0xf
mov ecx, esi
push eax
mov byte [esi], 0
call fcn.00402496
lea ecx, [ebp - 0x428]
call fcn.00402470
mov eax, esi
call fcn.00563586
ret