Function at 0x458e49
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor eax, eax
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call fcn.00445cc8
test al, al
je 0x458e81
pop ecx
pop ecx
pop ebx
push esi
pop ebp
pop esp
pop esi
pop ebx
pop ecx
pop edi
pop esp
push ebp
pop esi
pop ebx
pop edi
pop ecx
push eax
push edx
push ebp
pop esp
push ebp
push esi
pop esi
push edx
pop eax
push eax
push ebx
call fcn.00445bb4
test al, al
je 0x458e9f
push ebp
pop eax
push ebp
push ecx
pop esp
push ebp
push eax
push esp
pop ecx
pop edi
push ecx
push edi
push ecx
push ebp
pop ecx
push eax
pop esp
push edi
push esp
pop edx
push eax
call fcn.00445764
test al, al
je 0x458ebc
pop eax
push edi
push ebp
push ebx
push esp
push ebx
push ecx
pop edi
pop ebx
pop eax
pop esp
push esi
push ebp
pop ebp
push edi
pop ebp
push eax
push ebx
push edi
push edi
call fcn.00445d52
test al, al
je 0x458ee0
push ecx
push edi
pop edx
pop ebp
pop esi
push edi
push ecx
pop eax
pop ebx
push ecx
push edx
pop ecx
push ebp
pop esp
push ebp
pop edi
push esp
pop edi
pop ebp
pop edi
pop esp
push esi
push esi
pop ebp
push esi
pop edx
push eax
lea eax, [ebp - 0xc]
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45906e
call fcn.00445833
test al, al
je 0x458f2a
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.00445878
test al, al
je 0x458f47
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.00445bb4
test al, al
je 0x458f69
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 8]
xor ebx, ebx
push ebx
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x458f99
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45906e
call fcn.0044598c
test al, al
je 0x458fbb
pop ebx
pop eax
pop ecx
pop ebp
push edi
push eax
push edx
pop esp
push ebx
push edi
push esp
pop edi
pop ecx
push esp
pop esp
push eax
push ebx
pop ebp
push ebx
pop edx
pop eax
push ecx
push esp
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp - 8]
call esi
test eax, eax
je 0x458fe8
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x45906c
call fcn.00445b6f
test al, al
je 0x45900e
push edx
push esp
push edi
pop ecx
push esi
pop ebx
pop ebp
push edx
pop ecx
push edx
push eax
pop ecx
pop edx
push edx
pop ecx
push ebx
pop esi
pop ebx
push edx
pop edx
push esi
pop esi
pop eax
pop ebx
pop edx
push ebp
push esp
push eax
push edi
call fcn.00445902
test al, al
je 0x459035
pop edx
pop edi
push esp
pop ebx
pop ecx
pop esp
push ecx
pop ebp
pop edx
push ecx
push ecx
push edi
push ebp
push ecx
push edi
push edx
pop esp
pop esp
push edi
pop ebx
push ecx
push ebp
push ebp
pop edi
pop ebx
pop eax
pop edi
push ecx
pop ebp
pop edi
push dword [ebp + 0x14]
call fcn.0046f177
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret