Function at 0x4159b0
Capabilities:
Create process on windows
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418a58
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x42300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x30]
call fcn.004016e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.004161f0
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
push eax
push 0x41f454
lea ecx, [ebp - 0x30]
push ecx
call fcn.00402400
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00401620
push 0x44
push 0
lea edx, [ebp - 0xbc]
push edx
call fcn.004047c0
add esp, 0xc
mov dword [ebp - 0xbc], 0x44
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0xbc]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
call fcn.004017d0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x415c90
push 0xffffffffffffffff
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 4
mov dword [ebp - 0x38], 4
lea eax, [ebp - 0x40]
push eax
push 0xf003f
push 0
push 0x41f474
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415adb
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x41f4b4
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x34], 0
je 0x415c83
mov dword [ebp - 0x44], 0
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0x41f4bc
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x44], 0
je 0x415b16
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x18], 0
je 0x415c81
lea ecx, [ebp - 0x18]
call fcn.004016e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.004160b0
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401600
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00401620
lea ecx, [ebp - 0x18]
call fcn.00401700
movzx ecx, al
test ecx, ecx
jne 0x415c75
lea edx, [ebp - 0x14]
push edx
push 0xf013f
push 0
push 0x41f4d0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415bea
mov dword [ebp - 0x48], 0x41f4c4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
call fcn.004016c0
mov byte [ebp - 4], 4
push str.PCareWApp.exe
lea ecx, [ebp - 0x24]
call fcn.004015c0
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00406c10
add esp, 4
push eax
mov edx, dword [ebp - 0x48]
push edx
push 1
push 0
lea ecx, [ebp - 0x24]
call fcn.004017d0
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00401620
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x14]
push edx
push 0xf013f
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415c6b
mov dword [ebp - 0x4c], str.WINXPSP3
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.004016c0
mov byte [ebp - 4], 5
push 0x41f574
lea ecx, [ebp - 0x28]
call fcn.004015c0
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00406c10
add esp, 4
push eax
mov edx, dword [ebp - 0x4c]
push edx
push 1
push 0
lea ecx, [ebp - 0x28]
call fcn.004017d0
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00401620
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401620
jmp 0x415c8e
mov dword [ebp - 0x1c], 2
mov byte [ebp - 0xd], 0
jmp 0x415caf
mov dword [ebp - 0x1c], 2
mov byte [ebp - 0xd], 0
push str.Unable_to_autorun_Client_Install
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 8
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x415cf8
lea ecx, [ebp - 0x2c]
call fcn.004016e0
mov byte [ebp - 4], 6
push str.The_client_install_program_was_unable_to_run_automatically_on_this_machine._nIt_may_be_necessary_to_run_the_program_manually_using_an_administrator_logon._n
lea eax, [ebp - 0x2c]
push eax
call fcn.00402400
add esp, 8
push 0x10
push 0x41f5a4
lea ecx, [ebp - 0x2c]
call fcn.004017d0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401620
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401620
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret