Function at 0x4370c0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x456790
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x46e3d8]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d8]
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 reloc.OLEAUT32.dll_SysReAllocString
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 0x4372ed
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, edi
call fcn.00431c50
cmp eax, ebp
je 0x4372cc
cmp byte [esp + 0x7c], 0
je 0x437292
cmp dword [esp + 0x60], 8
mov edi, dword [esp + 0x4c]
jae 0x437199
lea edi, [esp + 0x4c]
push 0x3b
lea ecx, [esp + 0x28]
call fcn.0043c130
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
cmp ebx, eax
jbe 0x4371c0
call fcn.0043e955
mov eax, dword [esp + 0x2c]
lea esp, [esp]
cmp dword [esp + 0x28], eax
mov edi, eax
jbe 0x4371d1
call fcn.0043e955
mov eax, dword [esp + 0x2c]
cmp ebx, edi
je 0x437232
cmp ebx, eax
jb 0x4371de
call fcn.0043e955
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4371e3
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [ebx + 0x14]
push esi
mov ecx, ebx
call fcn.004052d0
test eax, eax
je 0x43721c
cmp ebx, dword [esp + 0x2c]
jb 0x43720e
call fcn.0043e955
push ebx
lea esi, [esp + 0x38]
call fcn.0040da30
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
cmp ebx, eax
jb 0x43722d
call fcn.0043e955
mov eax, dword [esp + 0x2c]
add ebx, 0x1c
jmp 0x4371c0
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x43728b
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 0x43728b
lea edi, [esp + 0x48]
call fcn.00422500
mov eax, edi
lea ebx, [esp + 0x34]
call fcn.0043c280
cmp dword [esp + 0x60], 8
mov edx, dword [esp + 0x4c]
jae 0x437278
lea edx, [esp + 0x4c]
mov ecx, dword [esp + 0x44]
push ecx
lea eax, [esp + 0x18]
push eax
call fcn.00431a20
xor ebp, ebp
jmp 0x4372ab
mov ecx, dword [esp + 0x44]
push ecx
jmp 0x437293
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 0x4372cc
push ebp
push 0x1388
push 2
push 0x465be0
push ebp
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
jmp 0x4372d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4372e5
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 0x437313
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
push edx
call fcn.00411dd0
mov eax, dword [esp + 0x3c]
add esp, 4
push eax
call fcn.0043e965
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 0x437345
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
push ecx
call fcn.00411dd0
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x60], 8
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
jb 0x437365
mov eax, dword [esp + 0x4c]
push eax
call fcn.0043e965
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 0x437385
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.0043d02a
add esp, 0x64
ret