Function at 0x409c20
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
call fcn.00402e6c
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x409c8a
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.00438bd6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x409c9b
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00402efe
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x409ccc
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x46c300
push dword [ebp - 0x10]
call fcn.004010e7
add esp, 8
cmp eax, 0
jne 0x409d5d
push 0x80000301
push 0
push 1
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x409d08
mov eax, 0x46c300
push eax
push 2
mov ebx, 0x138
call fcn.00439fc0
add esp, 0x1c
mov dword [ebp - 0x24], eax
push 0x46c301
push dword [ebp - 0x24]
call fcn.004010e7
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409d4c
push ebx
call fcn.00438be2
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x409d5d
mov eax, 1
jmp 0x409d62
mov eax, 0
test eax, eax
je 0x409e2e
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x409d7d
mov eax, 0x46c300
push eax
push 1
mov ebx, 0x130
call fcn.0043a140
add esp, 0x10
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x46c3e1]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00402ed7
push 0x80000301
push 0
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x409dc8
mov eax, 0x46c300
push eax
push 2
mov ebx, 0x134
call fcn.0043a150
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x409df2
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00402efe
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x409e23
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
call fcn.00403121
test eax, eax
je 0x409f61
lea eax, [ebp - 0x18]
push eax
call fcn.0040327a
test eax, eax
je 0x409f5c
push 0x80000301
push 0
push 0x20006
push 0x80000301
push 0
push pe_nt_image_headers32
push 0x80000301
push 0
push 2
push 3
mov ebx, 0xc8
call fcn.00439fa0
add esp, 0x28
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x409eb6
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x409f54
push dword [ebp - 0x1c]
call fcn.004033e0
cmp dword [ebp - 0x14], 0
je 0x409f02
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x409efa
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 4], eax
jmp 0x409f2a
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x409f27
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 4], eax
push dword [ebp - 0x1c]
call fcn.004034be
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x409f54
push 6
call fcn.00438bca
add esp, 4
push dword [ebp - 0x18]
call fcn.0040359c
jmp 0x40a04d
push 0x80000301
push 0
push 0x20006
push 0x80000301
push 0
push 2
push 2
mov ebx, 0xc8
call fcn.00439fa0
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x409fbf
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x40a04d
cmp dword [ebp - 0x14], 0
je 0x40a003
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x409ffb
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 4], eax
jmp 0x40a02b
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40a028
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40a04d
push 6
call fcn.00438bca
add esp, 4
cmp dword [ebp - 4], 0
mov eax, 0
sete al
jmp 0x40a05e
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a06f
push ebx
call fcn.00438be2
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40a07f
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8