Function at 0x423a70
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x441ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4513e0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4513e0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x20], esi
xor ebp, ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], bp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
lea eax, [esp + 0x14]
push eax
push 0xf003f
push ebp
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
mov byte [esp + 0x84], 3
push 0x80000002
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x1c], ebx
jne 0x423c9d
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, edi
call fcn.0041f4d0
cmp eax, ebp
je 0x423c7c
cmp byte [esp + 0x7c], 0
je 0x423c42
cmp dword [esp + 0x60], 8
mov edi, dword [esp + 0x4c]
jae 0x423b49
lea edi, [esp + 0x4c]
push 0x3b
lea ecx, [esp + 0x28]
call fcn.00427a70
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
cmp ebx, eax
jbe 0x423b70
call fcn.00429e93
mov eax, dword [esp + 0x2c]
lea esp, [esp]
cmp dword [esp + 0x28], eax
mov edi, eax
jbe 0x423b81
call fcn.00429e93
mov eax, dword [esp + 0x2c]
cmp ebx, edi
je 0x423be2
cmp ebx, eax
jb 0x423b8e
call fcn.00429e93
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x423b93
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [ebx + 0x14]
push esi
mov ecx, ebx
call fcn.00404360
test eax, eax
je 0x423bcc
cmp ebx, dword [esp + 0x2c]
jb 0x423bbe
call fcn.00429e93
push ebx
lea esi, [esp + 0x38]
call fcn.004159f0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
cmp ebx, eax
jb 0x423bdd
call fcn.00429e93
mov eax, dword [esp + 0x2c]
add ebx, 0x1c
jmp 0x423b70
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x423c3b
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x423c3b
lea edi, [esp + 0x48]
call fcn.00415840
mov eax, edi
lea ebx, [esp + 0x34]
call fcn.00427bc0
cmp dword [esp + 0x60], 8
mov edx, dword [esp + 0x4c]
jae 0x423c28
lea edx, [esp + 0x4c]
mov ecx, dword [esp + 0x44]
push ecx
lea eax, [esp + 0x18]
push eax
call fcn.0041f3b0
xor ebp, ebp
jmp 0x423c5b
mov ecx, dword [esp + 0x44]
push ecx
jmp 0x423c43
push edi
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
cmp eax, ebp
sete cl
mov dword [esp + 0x1c], eax
mov eax, ecx
cmp eax, ebp
je 0x423c7c
push ebp
push 0x1388
push 2
push 0x44a9b0
push ebp
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
jmp 0x423c86
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x423c95
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x423cc3
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
push edx
call fcn.0041b220
mov eax, dword [esp + 0x3c]
add esp, 4
push eax
call fcn.00429d64
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
je 0x423cf5
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
push ecx
call fcn.0041b220
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
call fcn.00429d64
add esp, 4
cmp dword [esp + 0x60], 8
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
jb 0x423d15
mov eax, dword [esp + 0x4c]
push eax
call fcn.00429d64
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], bp
je 0x423d35
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004289ca
add esp, 0x64
ret