Function at 0x40843c
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.00402ad9
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x4084a6
push eax
mov ebx, eax
call fcn.00401020
inc eax
push eax
call fcn.004090bb
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 0x4084b7
push ebx
call fcn.0040909d
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.00402c12
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4084e8
push ebx
call fcn.0040909d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x4292f0
push dword [ebp - 0x10]
call fcn.00402b4e
add esp, 8
cmp eax, 0
jne 0x408579
push 0x80000301
push 0
push 1
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x408524
mov eax, 0x4292f0
push eax
push 2
mov ebx, 0x138
call fcn.00409c60
add esp, 0x1c
mov dword [ebp - 0x24], eax
push 0x4293f7
push dword [ebp - 0x24]
call fcn.00402b4e
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 0x408568
push ebx
call fcn.0040909d
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x408579
mov eax, 1
jmp 0x40857e
mov eax, 0
test eax, eax
je 0x40864a
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x408599
mov eax, 0x4292f0
push eax
push 1
mov ebx, 0x130
call fcn.00409dd0
add esp, 0x10
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x4298e5]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00402beb
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4085e4
mov eax, 0x4292f0
push eax
push 2
mov ebx, 0x134
call fcn.00409de0
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40860e
push ebx
call fcn.0040909d
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.00402c12
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40863f
push ebx
call fcn.0040909d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
call fcn.00402e35
test eax, eax
je 0x4087a5
lea eax, [ebp - 0x18]
push eax
call fcn.00402fa2
test eax, eax
je 0x4087a0
push 0x80000301
push 0
push 0x20006
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 2
push 3
mov ebx, 0xc8
call fcn.00409c40
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 0x4086dc
push 0x28c
push 0x4010036
push 6
call fcn.004090a9
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x408798
push dword [ebp - 0x1c]
call fcn.0040311c
cmp dword [ebp - 0x14], 0
je 0x408732
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 0x40872a
push 0x31a
push 0x4010036
push 6
call fcn.004090a9
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x408764
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 0x408761
push 0x356
push 0x4010036
push 6
call fcn.004090a9
add esp, 0xc
mov dword [ebp - 4], eax
push dword [ebp - 0x1c]
call fcn.0040320e
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 0x408798
push 0x394
push 0x4010036
push 6
call fcn.004090a9
add esp, 0xc
push dword [ebp - 0x18]
call fcn.00403300
jmp 0x4088b9
push 0x80000301
push 0
push 0x20006
push 0x80000301
push 0
push 2
push 2
mov ebx, 0xc8
call fcn.00409c40
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 0x40880d
push 0x440
push 0x4010036
push 6
call fcn.004090a9
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4088b9
cmp dword [ebp - 0x14], 0
je 0x40885b
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 0x408853
push 0x4ab
push 0x4010036
push 6
call fcn.004090a9
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x40888d
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 0x40888a
push 0x4e7
push 0x4010036
push 6
call fcn.004090a9
add esp, 0xc
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 0x4088b9
push 0x50b
push 0x4010036
push 6
call fcn.004090a9
add esp, 0xc
cmp dword [ebp - 4], 0
mov eax, 0
sete al
jmp 0x4088ca
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4088db
push ebx
call fcn.0040909d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4088eb
push ebx
call fcn.0040909d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8