Function at 0x441750
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565823
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x63c], edi
test edi, edi
je 0x441d41
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x441d41
push 0x208
lea eax, [ebp - 0x628]
mov dword [ebp - 0x640], 0
push 0
push eax
call fcn.004c14d0
add esp, 0xc
mov dword [ebp - 0x648], 0x208
lea ecx, [ebp - 0x650]
push str.SOFTWAREPCjiami_run_list
call fcn.0040d740
mov eax, dword [ebp - 0x650]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jne 0x441802
push str.fail:get_reg_subkey_error.
call fcn.00434480
add esp, 4
jmp 0x441d1f
lea ecx, [ebp - 0x640]
push ecx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x441d13
push eax
push eax
mov dword [ebp - 0x64c], eax
lea eax, [ebp - 0x664]
push eax
push 0
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x628]
push eax
push 0
push dword [ebp - 0x640]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x441d13
nop dword [eax]
inc dword [ebp - 0x64c]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x648], 0x208
call fcn.004c14d0
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004eef22
add esp, 0x18
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x441cdd
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004c14d0
add esp, 0xc
mov dword [ebp - 0x668], 0x104
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x650]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x638]
call fcn.0040d740
mov eax, dword [ebp - 0x638]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
jge 0x441931
or esi, 0xffffffff
jmp 0x441964
push str._Regtest
push eax
call fcn.004c2344
mov esi, eax
add esp, 8
test esi, esi
jne 0x44194a
or esi, 0xffffffff
jmp 0x441964
sub esi, dword [ebp - 0x638]
sar esi, 1
cmp esi, 0xffffffff
je 0x441964
push str.Regtest__no_need_to_check_sign.
call fcn.00434480
add esp, 4
xor eax, eax
cmp esi, 0xffffffff
sete al
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x634]
call fcn.0040d740
mov byte [ebp - 4], 2
call fcn.0040b820
mov ecx, eax
test ecx, ecx
je 0x441d5d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x630], eax
push dword [ebp - 0x634]
lea eax, [ebp - 0x630]
mov byte [ebp - 4], 3
push str.file_extension:_s
push eax
call fcn.0040f720
mov edi, dword [ebp - 0x630]
add esp, 0xc
cmp dword [edi - 4], 1
jle 0x4419ea
push dword [edi - 0xc]
lea ecx, [ebp - 0x630]
call fcn.0040b7a0
mov edi, dword [ebp - 0x630]
push edi
call fcn.00434480
push str..DLL
push dword [ebp - 0x634]
call fcn.004ea0de
add esp, 0xc
test eax, eax
je 0x441be7
push str..TPI
push dword [ebp - 0x634]
call fcn.004ea0de
add esp, 8
test eax, eax
je 0x441be7
push str..EXE
push dword [ebp - 0x634]
call fcn.004ea0de
add esp, 8
test eax, eax
jne 0x441bc8
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.004a0810
lea eax, [ebp - 0x654]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.004a0350
add esp, 0x10
lea ecx, [ebp - 0x644]
call fcn.0042b620
push dword [ebp - 0x654]
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 7
push dword [ebp - 0x658]
push eax
lea eax, [ebp - 0x644]
push str._s___PRODUCT_s___PID_s
push eax
call fcn.0040f720
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x441ba7
lea eax, [ebp - 0x218]
push eax
call fcn.0043c5c0
call fcn.0040b820
mov ecx, eax
test ecx, ecx
je 0x441d5d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x62c], eax
mov esi, dword [ebp - 0x644]
lea eax, [ebp - 0x218]
push esi
push eax
lea eax, [ebp - 0x62c]
mov byte [ebp - 4], 8
push str.call_exe_begin__path__s__cmd__s_
push eax
call fcn.0040f720
mov eax, dword [ebp - 0x62c]
add esp, 0x10
cmp dword [eax - 4], 1
jle 0x441b1d
push dword [eax - 0xc]
lea ecx, [ebp - 0x62c]
call fcn.0040b7a0
mov eax, dword [ebp - 0x62c]
push eax
call fcn.00434480
add esp, 4
lea eax, [ebp - 0x218]
push 0xea60
push 0
push 1
push dword [ebp - 0x65c]
push 1
push esi
push eax
call fcn.0043c7c0
push 1
push esi
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0x62c]
push str.call_exe_return___d___path__s___cmd__s___sync__d_
push eax
call fcn.0040f720
mov esi, dword [ebp - 0x62c]
add esp, 0x18
cmp dword [esi - 4], 1
jle 0x441b83
push dword [esi - 0xc]
lea ecx, [ebp - 0x62c]
call fcn.0040b7a0
mov esi, dword [ebp - 0x62c]
push esi
call fcn.00434480
add esp, 4
mov byte [ebp - 4], 7
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x441ba7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x644]
call fcn.0040ace0
lea ecx, [ebp - 0x654]
call fcn.0040ace0
lea ecx, [ebp - 0x658]
call fcn.0040ace0
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x441c8f
mov ecx, dword [edi]
push edi
jmp 0x441c8a
push dword [ebp - 0x65c]
lea eax, [ebp - 0x420]
push eax
push str.Uninst
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x660]
push eax
call fcn.00441380
push dword [ebp - 0x660]
lea eax, [ebp - 0x630]
mov byte [ebp - 4], 4
push str.CallDllInterfaceEx_return_value_s
push eax
call fcn.0040f720
mov esi, dword [ebp - 0x630]
add esp, 0x20
cmp dword [esi - 4], 1
jle 0x441c4a
push dword [esi - 0xc]
lea ecx, [ebp - 0x630]
call fcn.0040b7a0
mov esi, dword [ebp - 0x630]
push esi
call fcn.00434480
mov edx, dword [ebp - 0x660]
add esp, 4
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441c74
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x441c8f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x634]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441cb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x638]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441cd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x63c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
push 0
lea eax, [ebp - 0x664]
push eax
push 0
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x628]
push eax
mov eax, dword [ebp - 0x64c]
push eax
push dword [ebp - 0x640]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x441860
push dword [ebp - 0x640]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x650]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x441d41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408070
int3