Function at 0x432849
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push ebx
push esi
push edi
call fcn.004246a0
test al, al
je 0x43287a
pop esi
push ebx
pop ecx
pop esi
pop ebx
pop edi
pop esi
push esp
push edx
push edx
pop ebp
push eax
push ebx
pop ecx
pop esp
pop ebx
pop esp
pop esp
push esp
call fcn.00424616
test al, al
je 0x43289e
push edx
push esi
pop ecx
pop esp
pop edx
pop ecx
push edx
push eax
push ebp
pop esi
pop edi
push ebx
pop esp
pop ecx
pop ecx
pop ecx
pop edi
push esp
pop edi
pop ebp
pop ecx
push ecx
pop eax
push edx
pop eax
pop ebx
push ebx
call fcn.004245d1
test al, al
je 0x4328c0
pop ebx
pop edx
pop edi
push ebx
pop ecx
pop edx
pop ebx
push ebp
push ecx
pop ebx
push ebp
pop ebx
push edx
push esi
push ecx
push ecx
push ecx
push eax
pop esi
push esp
pop edx
pop edx
pop edi
push ecx
push edi
lea eax, [ebp - 0xc]
xor ebx, ebx
push eax
push 0xf013f
push ebx
push str.SoftWare
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x432a15
call fcn.004245d1
test al, al
je 0x43290b
push esi
pop edx
push edx
push esp
pop edi
push esi
push ebx
pop ebx
pop esi
push ebp
push esp
push eax
push ebx
pop edi
pop edx
push ebx
pop esp
pop ebx
push ecx
pop edx
pop esp
pop edx
pop esp
pop ebx
pop esi
push esi
push esp
push esp
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x432937
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x432a15
call fcn.004246a0
test al, al
je 0x43295d
pop edx
push ecx
pop edi
push esi
pop ebp
push ebp
push esp
pop ebp
push ebx
push ecx
push ecx
pop esi
push ebp
push ebp
pop esp
push eax
pop edi
push esp
push ebx
push ebp
push eax
pop ecx
pop ebx
pop edi
pop esp
pop esi
pop ebx
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 dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43298e
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x432a13
call fcn.00424181
test al, al
je 0x4329b7
push edx
push esp
pop esp
push edx
push eax
push eax
push ebx
push edi
push ecx
push ecx
pop esp
pop edx
pop ebx
push ebx
pop ecx
pop eax
pop eax
pop eax
push ebx
pop ebx
pop esi
push esi
push edx
pop ebp
push esi
pop ebx
pop ebx
pop esp
pop edx
pop edx
pop eax
push ebp
call fcn.0042458c
test al, al
je 0x4329dc
pop esi
push esp
pop ebx
push edx
push eax
pop edi
pop ecx
push ecx
push esi
push ecx
pop ebp
push esi
push ebx
push ecx
push ecx
pop esi
pop esp
pop edi
pop edx
push edi
push edx
pop esp
pop eax
push edx
pop esi
pop ecx
push ebp
pop ebx
push dword [ebp + 0x14]
call fcn.00564eaf
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