Function at 0x43986a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
call fcn.0042797a
test al, al
je 0x4398a3
pop edx
pop ecx
push eax
pop ebp
pop esp
pop esi
push edx
pop ebp
pop eax
pop ecx
push eax
push ebp
push edx
pop esp
pop edi
pop esp
push ebp
pop edi
pop ebx
push ebp
pop ebx
push edi
pop eax
xor edi, edi
call fcn.004277dc
test al, al
je 0x4398bf
push ecx
push esp
push edi
push ecx
push esp
pop ebx
push ebx
push ebp
pop edx
push edx
push ebp
pop eax
push ebp
push edx
pop ebp
push edi
push eax
push edi
push esp
lea eax, [ebp - 4]
push eax
push 0xf013f
push edi
push dword [ebp + 0xc]
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x439a41
call fcn.004273d1
test al, al
je 0x4398ff
push ebx
pop ecx
push ecx
pop ebx
push ecx
pop esp
pop ecx
pop esi
push edx
push edi
pop edi
pop edx
push esi
push esi
push ecx
push ebp
push eax
push edx
pop ecx
pop esp
push ecx
xor edi, edi
call fcn.0042763e
test al, al
je 0x43991f
pop ebx
pop ebp
push ebp
push esp
push edi
push eax
push ecx
pop ebx
push eax
pop ecx
push ecx
pop esi
pop esi
push edx
push ecx
push ecx
pop ebp
push edx
push esi
pop eax
pop eax
push esi
push ebp
call fcn.00427683
test al, al
je 0x43993c
push ecx
push ebx
pop ecx
push ebp
push edx
push ebx
push esp
pop eax
push edx
pop ecx
push esi
push ebx
pop ecx
push ebp
push ecx
pop ebp
pop edx
push ebx
push esi
push eax
lea eax, [ebp - 8]
mov ebx, 0xf013f
push eax
push ebx
push edi
push str.SoftWare
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x439967
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x439a41
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x439996
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call esi
push dword [ebp - 4]
call esi
jmp 0x439a41
call fcn.0042797a
test al, al
je 0x4399c4
pop edi
pop esi
push ecx
pop edx
pop esp
push ebx
pop esp
push ebp
pop ebp
pop ecx
push edi
push ebp
push ebx
push ebp
pop ebp
pop edi
pop esp
push edx
pop ebx
push edx
push eax
pop edx
pop ebp
push ecx
pop eax
push ebx
pop ebx
push ebp
push ebp
pop ecx
xor edi, edi
mov ebx, 0xf013f
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4399eb
push dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x439987
push dword [ebp + 0x18]
call fcn.0044f873
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x18]
push 1
push edi
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push dword [ebp - 0xc]
call edi
call fcn.004276c8
test al, al
je 0x439a37
push eax
pop edx
push ebp
pop edx
push ebp
pop ebx
push ecx
pop ebp
push ebp
push ebx
push edx
push esi
pop esi
push ecx
push ebx
push eax
push dword [ebp - 8]
call edi
push dword [ebp - 4]
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret