Function at 0x431d50
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fc80
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x468738]
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 0x431f56
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
lea ecx, [ebp - 0x38]
call fcn.0042ccf0
cmp eax, ebx
je 0x431f03
cmp byte [ebp + 0xc], bl
je 0x431ecb
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x431e09
lea ecx, [ebp - 0x2c]
push 0x3b
lea ebx, [ebp - 0x4c]
call fcn.004368e0
mov ebx, dword [ebp - 0x4c]
add esp, 4
cmp ebx, dword [ebp - 0x48]
je 0x431e5a
mov edi, edi
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431e25
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 0x431e4f
mov ecx, ebx
lea edi, [ebp - 0x5c]
call fcn.0040c5b0
add ebx, 0x1c
cmp ebx, dword [ebp - 0x48]
jne 0x431e20
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 0x431eb5
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
jae 0x431e88
lea eax, [ebp - 0x2c]
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x2c]
lea edi, [ebp - 0x5c]
call fcn.00436a50
cmp dword [ebp - 0x18], 8
mov edx, dword [ebp - 0x2c]
jae 0x431ea4
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.0042cb20
xor ebx, ebx
jmp 0x431ee2
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 0x431edd
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 0x431f03
push ebx
push 0x1388
push 2
push 0x45f580
push ebx
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
jmp 0x431f0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x431f1a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x5c], ebx
je 0x431f38
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x58]
mov eax, esi
call fcn.0040d650
push esi
call fcn.00438b5b
add esp, 4
cmp dword [ebp - 0x4c], ebx
je 0x431f53
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
mov eax, esi
call fcn.0040d650
push esi
call fcn.00438b5b
add esp, 4
mov edi, dword [ebp - 0x30]
cmp dword [ebp - 0x18], 8
jb 0x431f68
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00438b5b
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 0x431f86
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.004377d1
mov esp, ebp
pop ebp
ret