Function at 0x435b70
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a06e0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d6720]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, ecx
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.00423f40
add esp, 4
mov dword [esp + 0x30], ebx
call fcn.00468b49
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x435bca
push 0x80004005
call fcn.00401210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push edx
push SysReAllocString
mov byte [esp + 0x54], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, ebx
mov ebx, dword [esp + 0x38]
jne 0x435c72
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.00422880
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 2
call fcn.00401a50
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435c4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov eax, dword [esp + 0x20]
xor edx, edx
test esi, esi
sete dl
push eax
mov dword [esp + 0x18], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.00433290
add esp, 4
test eax, eax
jne 0x435d81
mov dword [esp + 0x14], eax
mov ecx, ebp
call fcn.00424040
test eax, eax
je 0x435d1e
lea ecx, [esp + 0x24]
push esi
push ecx
call fcn.004293b0
mov eax, dword [eax]
mov edx, dword [esp + 0x20]
push eax
push edi
push edx
lea eax, [esp + 0x4c]
push str.Error_removing_WOSB_from_autostart:__s___s____s_
mov ebx, 4
push eax
mov byte [esp + 0x4c], bl
call fcn.00411be0
mov eax, dword [eax]
push 0x75
push eax
push ebx
mov byte [esp + 0x58], 5
call fcn.0042fc90
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
add esp, 0x28
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435cf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435d1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435d3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435d67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
cmp dword [esp + 0x14], 0
je 0x435c87
push edi
lea ecx, [esp + 0x3c]
push str.Removed_WOSB_from_autostart:___s_
push ecx
call fcn.00411be0
mov eax, dword [eax]
push 0
push eax
push 0
mov byte [esp + 0x48], 3
call fcn.0042fc90
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0x30], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x435d12