Function at 0x4d0f30
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0xd
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x4d0f64
mov ecx, dword [ebp - 0x14]
call fcn.0040c350
mov dword [ebp - 0x18], 0
push 0x532cb1
call fcn.0040dc70
pop ecx
push eax
push 0x532cb1
lea ecx, [ebp - 0x18]
call fcn.0040c560
cmp dword [ebp - 0x18], 0
je 0x4d0f96
mov ebx, dword [ebp - 0x18]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0046bde0
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x18], 0
je 0x4d0fb6
mov ecx, dword [ebp - 0x18]
call fcn.0040c380
cmp dword [ebp - 0x14], 0
je 0x4d0fc4
mov ecx, dword [ebp - 0x14]
call fcn.0040c380
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
call fcn.004d0b30
cmp al, 0
jne 0x4d0fef
mov al, 0
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.0040caf0
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, 0
je 0x4d1051
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20019
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.0040caf0
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, 0
je 0x4d1051
mov al, 0
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8
cmp dword [ebp - 0x10], 1
jne 0x4d1084
cmp byte [ebp + 0xc], 0
jne 0x4d1084
mov ecx, dword [ebp + 8]
call fcn.0040caf0
push eax
mov eax, dword [ebp - 0x38]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 0
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8
cmp dword [ebp - 0x30], 0
jle 0x4d11d6
jmp 0x4d11ca
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x4d10a9
mov ecx, dword [ebp - 0x1c]
call fcn.0040c350
mov dword [ebp - 0x20], 0
push 0x532cb1
call fcn.0040dc70
pop ecx
push eax
push 0x532cb1
lea ecx, [ebp - 0x20]
call fcn.0040c560
cmp dword [ebp - 0x20], 0
je 0x4d10db
mov ebx, dword [ebp - 0x20]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
mov eax, dword [ebp - 0x34]
inc dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0046c060
add esp, 0x10
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x34], eax
je 0x4d110c
mov eax, 0x532cb1
jmp 0x4d1111
mov eax, 0x532cb0
cmp eax, 0
je 0x4d1161
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x34], eax
je 0x4d1125
mov edx, 0x532cb1
jmp 0x4d112a
mov edx, 0x532cb0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x34], eax
je 0x4d1139
mov ebx, 0x532cb1
jmp 0x4d113e
mov ebx, 0x532cb0
push edx
call fcn.0040dc70
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040c560
cmp dword [ebp - 0x28], 0
je 0x4d1161
mov ebx, dword [ebp - 0x28]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d4b0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 4
call fcn.0040cdc0
cmp dword [ebp - 0x2c], 0
je 0x4d1192
mov ecx, dword [ebp - 0x2c]
call fcn.0040c380
cmp dword [ebp - 0x28], 0
je 0x4d11a0
mov ecx, dword [ebp - 0x28]
call fcn.0040c380
cmp dword [ebp - 0x24], 0
je 0x4d11ae
mov ecx, dword [ebp - 0x24]
call fcn.0040c380
cmp dword [ebp - 0x20], 0
je 0x4d11bc
mov ecx, dword [ebp - 0x20]
call fcn.0040c380
cmp dword [ebp - 0x1c], 0
je 0x4d11ca
mov ecx, dword [ebp - 0x1c]
call fcn.0040c380
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x34], eax
jl 0x4d1093
push dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
add ecx, 8
call fcn.0040cc10
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x38]
mov dword [eax], edx
mov al, 1
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8