Function at 0x4093e6
Capabilities:
Delete registry key

Disassembly:
push 0x2c
mov eax, 0x597e00
call fcn.00410ff3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
call fcn.004157ca
test al, al
je 0x409423
pop edx
pop ebx
pop esi
push edi
pop edi
push ecx
pop edx
push ebp
pop eax
pop ebp
push edx
push eax
push eax
pop edx
push edi
pop esp
pop eax
push ebx
pop edi
pop edx
push edx
pop eax
push esi
call fcn.00415449
test al, al
je 0x409446
pop esp
push ebx
push eax
pop edi
pop ecx
pop edx
push ebp
push eax
pop ecx
push edi
pop eax
pop ebx
push edi
pop ecx
push ebx
pop edi
push eax
pop ecx
push edi
pop esp
push ebx
pop edi
push edx
pop edi
push edx
pop esi
and dword [ebp - 0x18], 0
xor eax, eax
mov esi, 0x59c388
mov dword [ebp - 0x14], 7
push esi
mov word [ebp - 0x28], ax
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401f62
and dword [ebp - 4], 0
mov esi, str.6B61BF29_090C_46C8_A7BE_E6E9211E25D3
push esi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401cf3
mov esi, 0x59c3dc
push esi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401cf3
call fcn.004158de
test al, al
je 0x4094c1
push ecx
pop esp
push eax
pop ebp
push esi
pop eax
pop esp
push eax
push esi
pop ecx
pop eax
push ebp
pop eax
pop esi
push edx
pop edi
pop ebp
push edx
push eax
pop ebx
pop edx
pop edx
push esi
push esi
pop edx
pop ebp
pop ebx
call fcn.00415923
test al, al
je 0x4094e1
pop esp
push eax
push esi
push esi
push ebp
push esi
pop eax
pop ecx
pop eax
push edi
push edi
pop ebx
push esp
pop esp
push esi
pop ecx
push esi
push esi
push ebx
pop esi
push edx
pop esp
pop eax
call fcn.0041562c
test al, al
je 0x4094ff
push ebp
push ecx
pop esp
push ecx
pop ebp
push ecx
push esp
push ecx
pop esp
pop edi
push edi
pop ebp
push edi
push esp
pop ebx
push ecx
push edi
pop ebx
pop eax
pop ebx
push ebp
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x34]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov ebx, 0xf013f
push ecx
push ebx
push 0
push eax
push dword [ebp - 0x38]
call edi
test eax, eax
jne 0x409676
lea eax, [ebp - 0x2c]
push eax
push ebx
push 0
push 0x59c4ac
push dword [ebp - 0x34]
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4095a0
lea eax, [ebp - 0x30]
push eax
push 0xf013f
push 0
push 0x59c4b4
push dword [ebp - 0x2c]
call edi
test eax, eax
jne 0x40957d
push 0x59c4b8
push dword [ebp - 0x30]
call ebx
push str.win64
push dword [ebp - 0x30]
call ebx
push dword [ebp - 0x30]
call esi
push 0x59c4b4
push dword [ebp - 0x2c]
call ebx
push str.FLAGS
push dword [ebp - 0x2c]
call ebx
push str.HELPDIR
push dword [ebp - 0x2c]
call ebx
push dword [ebp - 0x2c]
call esi
call fcn.004158de
test al, al
je 0x4095c8
push edi
push eax
push esp
pop edx
pop edx
pop edx
pop ebp
push ebp
pop ebp
push edx
pop ecx
push esp
push ebp
push ebp
push esi
pop esi
push ebx
push eax
pop ecx
pop esi
pop edx
push ebx
pop esp
pop esi
pop ebp
push ebp
pop esp
push ecx
pop edx
pop ebp
pop edi
call fcn.00415899
test al, al
je 0x4095f2
push ebx
pop ecx
push edi
pop ebx
push esi
pop ebx
pop ecx
push ecx
pop esi
pop edi
pop ecx
pop edx
push ebx
push esp
pop esi
pop esp
pop edx
push esp
pop ecx
pop edx
push ecx
push edi
push ecx
pop edx
push esi
pop esi
pop ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x59c4ac
push dword [ebp - 0x34]
call ebx
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0041555d
test al, al
je 0x40961f
push ebx
push edx
pop edi
pop esp
push esp
pop eax
push edx
pop edi
pop ebp
push esi
push edi
push edi
push edi
push ebp
pop esi
pop ebp
pop esi
call fcn.00415a37
test al, al
je 0x40964b
push edx
pop esi
push esp
pop ebx
pop eax
push edi
push ebp
push eax
pop ebx
pop esp
push edi
push esp
pop edx
pop edx
push edi
push edx
push esi
pop ecx
pop eax
pop ebx
pop eax
push esp
pop edi
push ecx
pop esp
pop ebp
pop esp
pop ebp
push esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
call fcn.00415ac1
test al, al
je 0x409665
pop edi
pop esi
push edx
push esp
pop eax
push esp
pop edx
push ebp
push edx
push edx
push edx
push edi
pop ebp
push esp
pop eax
pop esi
pop esp
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x38]
call ebx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401bfd
call fcn.00410fae
ret 4