Function at 0x432670
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450a80
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x469744]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
lea edx, [ebp - 0x38]
push edx
push 0xf003f
push ebx
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
mov byte [ebp - 4], 3
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov dword [ebp - 0x30], edi
cmp edi, ebx
jne 0x432876
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
lea ecx, [ebp - 0x38]
call fcn.0042d620
cmp eax, ebx
je 0x432823
cmp byte [ebp + 0xc], bl
je 0x4327eb
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x432729
lea ecx, [ebp - 0x2c]
push 0x3b
lea ebx, [ebp - 0x4c]
call fcn.00437390
mov ebx, dword [ebp - 0x4c]
add esp, 4
cmp ebx, dword [ebp - 0x48]
je 0x43277a
mov edi, edi
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432745
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [ebx + 0x10]
push esi
mov ecx, ebx
call fcn.00404a60
test eax, eax
je 0x43276f
mov ecx, ebx
lea edi, [ebp - 0x5c]
call fcn.0040c7c0
add ebx, 0x1c
cmp ebx, dword [ebp - 0x48]
jne 0x432740
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x5c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x4327d5
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
jae 0x4327a8
lea eax, [ebp - 0x2c]
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x2c]
lea edi, [ebp - 0x5c]
call fcn.00437500
cmp dword [ebp - 0x18], 8
mov edx, dword [ebp - 0x2c]
jae 0x4327c4
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.0042d450
xor ebx, ebx
jmp 0x432802
mov edx, dword [ebp - 0x38]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
xor ebx, ebx
jmp 0x4327fd
mov edx, dword [ebp - 0x38]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [ebp - 0x30], eax
mov eax, ecx
cmp eax, ebx
je 0x432823
push ebx
push 0x1388
push 2
push 0x460d28
push ebx
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
jmp 0x43282c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x43283a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x5c], ebx
je 0x432858
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x58]
mov eax, esi
call fcn.0040d800
push esi
call fcn.00439c00
add esp, 4
cmp dword [ebp - 0x4c], ebx
je 0x432873
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
mov eax, esi
call fcn.0040d800
push esi
call fcn.00439c00
add esp, 4
mov edi, dword [ebp - 0x30]
cmp dword [ebp - 0x18], 8
jb 0x432888
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00439c00
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
cmp eax, ebx
je 0x4328a6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438876
mov esp, ebp
pop ebp
ret