Function at 0x4019c0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x416718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x41c6b8
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push 0x41c68c
push 0x80000002
call ebp
test eax, eax
je 0x401a60
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c660
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c638
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ecx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call ebx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c60c
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x41c5e0
push 0x80000002
call edi
lea edx, [esp + 0x14]
push edx
push 0x41c5e0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c5b8
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c5a0
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.004028d0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c57c
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c578
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c5e0
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
mov eax, dword [esp + 0x14]
push 0
push eax
push 0x41c57c
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHCopyKeyA]
test eax, eax
je 0x401bb2
mov ecx, dword [0x41ca98]
mov dword [esp + 0x18], ecx
push eax
lea edx, [esp + 0x1c]
push 0x41c55c
push edx
mov dword [esp + 0x38], 0
call fcn.0040daed
add esp, 8
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c534
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
mov eax, dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040e317
mov eax, 0xfffffff5
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c4f4
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.004028d0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c4c0
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
lea edx, [esp + 0x10]
push edx
push 0xf003f
push 0
push 0x41c4c0
push 0x80000002
call ebp
mov eax, dword [esp + 0x10]
push 0x41c4b8
push eax
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c4a8
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
mov ecx, dword [esp + 0x10]
push 0x41c4a0
push ecx
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c490
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
mov edx, dword [esp + 0x10]
push 0x41c488
push edx
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c478
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
mov eax, dword [esp + 0x10]
push 0x41c470
push eax
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c460
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
mov ecx, dword [esp + 0x10]
push ecx
call ebx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c438
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
mov ecx, dword [esp + 0x24]
mov eax, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret