Function at 0x432520
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450930
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x468744]
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 0x432726
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
lea ecx, [ebp - 0x38]
call fcn.0042d4f0
cmp eax, ebx
je 0x4326d3
cmp byte [ebp + 0xc], bl
je 0x43269b
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x4325d9
lea ecx, [ebp - 0x2c]
push 0x3b
lea ebx, [ebp - 0x4c]
call fcn.004372a0
mov ebx, dword [ebp - 0x4c]
add esp, 4
cmp ebx, dword [ebp - 0x48]
je 0x43262a
mov edi, edi
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4325f5
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [ebx + 0x10]
push esi
mov ecx, ebx
call fcn.00404ab0
test eax, eax
je 0x43261f
mov ecx, ebx
lea edi, [ebp - 0x5c]
call fcn.0040c790
add ebx, 0x1c
cmp ebx, dword [ebp - 0x48]
jne 0x4325f0
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 0x432685
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
jae 0x432658
lea eax, [ebp - 0x2c]
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x2c]
lea edi, [ebp - 0x5c]
call fcn.00437410
cmp dword [ebp - 0x18], 8
mov edx, dword [ebp - 0x2c]
jae 0x432674
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.0042d320
xor ebx, ebx
jmp 0x4326b2
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 0x4326ad
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 0x4326d3
push ebx
push 0x1388
push 2
push 0x45fca8
push ebx
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
jmp 0x4326dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x4326ea
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x5c], ebx
je 0x432708
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x58]
mov eax, esi
call fcn.0040d800
push esi
call fcn.00439b10
add esp, 4
cmp dword [ebp - 0x4c], ebx
je 0x432723
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
mov eax, esi
call fcn.0040d800
push esi
call fcn.00439b10
add esp, 4
mov edi, dword [ebp - 0x30]
cmp dword [ebp - 0x18], 8
jb 0x432738
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00439b10
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 0x432756
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.00438786
mov esp, ebp
pop ebp
ret