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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d579
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x56c3c4]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x664], eax
test eax, eax
je 0x43a840
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x43a840
push 0x208
lea eax, [ebp - 0x628]
mov dword [ebp - 0x640], 0
push 0
push eax
call fcn.00492a50
add esp, 0xc
mov dword [ebp - 0x648], 0x208
call fcn.00408310
mov ecx, eax
test ecx, ecx
je 0x43a85c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x634], eax
mov eax, str.SOFTWAREHaloDesktop_run_list
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x634]
test eax, 0xffff0000
jne 0x43a26b
movzx eax, ax
push eax
call fcn.00410ba0
jmp 0x43a275
push str.SOFTWAREHaloDesktop_run_list
call fcn.0040ec50
mov esi, dword [ebp - 0x634]
or ebx, 0xffffffff
mov dword [ebp - 4], 1
cmp dword [esi - 0xc], 0
jne 0x43a29d
push str.fail:get_reg_subkey_error.
call fcn.004215a0
add esp, 4
jmp 0x43a824
lea eax, [ebp - 0x640]
push eax
push 0xf003f
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43a818
push eax
push eax
mov dword [ebp - 0x64c], eax
lea eax, [ebp - 0x660]
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 0x43a818
inc dword [ebp - 0x64c]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x648], 0x208
call fcn.00492a50
push dword [ebp - 0x664]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004c94fa
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 edi
test eax, eax
je 0x43a7e2
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00492a50
add esp, 0xc
mov dword [ebp - 0x668], 0x104
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x628]
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.00408310
mov ecx, eax
test ecx, ecx
je 0x43a85c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x63c]
test eax, 0xffff0000
jne 0x43a3dd
movzx eax, ax
push eax
call fcn.00410ba0
jmp 0x43a3e3
push eax
call fcn.0040ec50
mov esi, dword [ebp - 0x63c]
mov byte [ebp - 4], 3
cmp dword [esi - 0xc], 0
jge 0x43a3f8
or edi, 0xffffffff
jmp 0x43a427
push str._Regtest
push esi
call fcn.004938c4
mov edi, eax
add esp, 8
test edi, edi
jne 0x43a411
or edi, 0xffffffff
jmp 0x43a427
sub edi, esi
sar edi, 1
cmp edi, 0xffffffff
je 0x43a427
push str.Regtest__no_need_to_check_sign.
call fcn.004215a0
add esp, 4
xor eax, eax
cmp edi, 0xffffffff
sete al
mov dword [ebp - 0x658], eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x638]
call fcn.0040a230
mov byte [ebp - 4], 4
call fcn.00408310
mov ecx, eax
test ecx, ecx
je 0x43a85c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x630], eax
push dword [ebp - 0x638]
lea eax, [ebp - 0x630]
mov byte [ebp - 4], 5
push str.file_extension:_s
push eax
call fcn.0040c210
mov edi, dword [ebp - 0x630]
add esp, 0xc
cmp dword [edi - 4], 1
jle 0x43a4ad
push dword [edi - 0xc]
lea ecx, [ebp - 0x630]
call fcn.00408290
mov edi, dword [ebp - 0x630]
push edi
call fcn.004215a0
push str..DLL
push dword [ebp - 0x638]
call fcn.004c41c1
add esp, 0xc
test eax, eax
je 0x43a6ec
push str..TPI
push dword [ebp - 0x638]
call fcn.004c41c1
add esp, 8
test eax, eax
je 0x43a6ec
push str..EXE
push dword [ebp - 0x638]
call fcn.004c41c1
add esp, 8
test eax, eax
jne 0x43a691
push eax
lea eax, [ebp - 0x654]
push eax
call fcn.00465ed0
lea eax, [ebp - 0x650]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.00465bf0
add esp, 0x10
lea ecx, [ebp - 0x644]
call fcn.0041fe30
push dword [ebp - 0x650]
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 9
push dword [ebp - 0x654]
push eax
lea eax, [ebp - 0x644]
push str._s___PRODUCT_s___PID_s
push eax
call fcn.0040c210
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a670
lea eax, [ebp - 0x218]
push eax
call fcn.00436830
call fcn.00408310
mov ecx, eax
test ecx, ecx
je 0x43a85c
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], 0xa
push str.call_exe_begin__path__s__cmd__s_
push eax
call fcn.0040c210
mov eax, dword [ebp - 0x62c]
add esp, 0x10
cmp dword [eax - 4], 1
jle 0x43a5e0
push dword [eax - 0xc]
lea ecx, [ebp - 0x62c]
call fcn.00408290
mov eax, dword [ebp - 0x62c]
push eax
call fcn.004215a0
add esp, 4
lea eax, [ebp - 0x218]
push 0xea60
push 0
push 1
push dword [ebp - 0x658]
push 1
push esi
push eax
call fcn.00436a30
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.0040c210
mov esi, dword [ebp - 0x62c]
add esp, 0x18
cmp dword [esi - 4], 1
jle 0x43a646
push dword [esi - 0xc]
lea ecx, [ebp - 0x62c]
call fcn.00408290
mov esi, dword [ebp - 0x62c]
push esi
call fcn.004215a0
add esp, 4
mov byte [ebp - 4], 9
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43a66a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x63c]
lea ecx, [ebp - 0x644]
call fcn.004077d0
lea ecx, [ebp - 0x650]
call fcn.004077d0
lea ecx, [ebp - 0x654]
call fcn.004077d0
mov byte [ebp - 4], 4
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43a6ac
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x638]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a6cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43a7d6
mov ecx, dword [esi]
push esi
jmp 0x43a7d1
push dword [ebp - 0x658]
lea eax, [ebp - 0x420]
push eax
push str.Uninst
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x65c]
push eax
call fcn.00439d60
push dword [ebp - 0x65c]
lea eax, [ebp - 0x630]
mov byte [ebp - 4], 6
push str.CallDllInterfaceEx_return_value_s
push eax
call fcn.0040c210
mov esi, dword [ebp - 0x630]
add esp, 0x20
cmp dword [esi - 4], 1
jle 0x43a74f
push dword [esi - 0xc]
lea ecx, [ebp - 0x630]
call fcn.00408290
mov esi, dword [ebp - 0x630]
push esi
call fcn.004215a0
mov edx, dword [ebp - 0x65c]
add esp, 4
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a779
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43a794
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x638]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a7b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x63c]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a7d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [ebp - 0x634]
push 0
push 0
lea eax, [ebp - 0x660]
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 0x43a2f4
push dword [ebp - 0x640]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43a840
mov ecx, dword [esi]
push esi
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.0045945a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404b60
int3