Function at 0x43c030
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527aac
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x575464]
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 esi, edx
mov ebx, ecx
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x43c163
lea eax, [ebp - 0x248]
push eax
push 0x20019
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43c23e
cmp eax, 2
jne 0x43c16d
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str.Key_not_found
lea ecx, [ebp - 0x278]
call fcn.00405d20
mov esi, eax
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0
call fcn.00405d20
mov edi, eax
push 0x561668
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00405760
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00405520
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x43c0f7
mov esi, dword [esi]
movzx eax, word [ebp - 0x21e]
push 0x5f
push str.Utils::RegOperator::RegDelnodeRecurse
push eax
movzx eax, word [ebp - 0x220]
push eax
movzx eax, word [ebp - 0x222]
push eax
movzx eax, word [ebp - 0x224]
push eax
movzx eax, word [ebp - 0x226]
push eax
movzx eax, word [ebp - 0x22a]
push eax
movzx eax, word [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
call fcn.0043bef0
add esp, 0x30
lea ecx, [ebp - 0x260]
call fcn.00405e50
lea ecx, [ebp - 0x278]
call fcn.00405e50
mov eax, 1
jmp 0x43c30d
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str.Error_opening_key.
lea ecx, [ebp - 0x2a8]
call fcn.00405d20
mov esi, eax
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x290]
mov dword [ebp - 4], 2
call fcn.00405d20
mov edi, eax
push 0x561668
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00405760
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00405520
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x43c1cb
mov esi, dword [esi]
movzx eax, word [ebp - 0x22e]
push 0x63
push str.Utils::RegOperator::RegDelnodeRecurse
push eax
movzx eax, word [ebp - 0x230]
push eax
movzx eax, word [ebp - 0x232]
push eax
movzx eax, word [ebp - 0x234]
push eax
movzx eax, word [ebp - 0x236]
push eax
movzx eax, word [ebp - 0x23a]
push eax
movzx eax, word [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
call fcn.0043bef0
add esp, 0x30
lea ecx, [ebp - 0x290]
call fcn.00405e50
lea ecx, [ebp - 0x2a8]
call fcn.00405e50
xor eax, eax
jmp 0x43c30d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x5c
lea edi, [esi + eax*2]
je 0x43c260
mov eax, 0x5c
mov word [edi], ax
add edi, 2
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x244]
mov dword [ebp - 0x21c], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x248]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43c2ee
xor eax, eax
mov ecx, esi
mov word [edi], ax
lea eax, [ebp - 0x218]
push eax
call fcn.0043bf80
mov edx, esi
mov ecx, ebx
call fcn.0043c030
test eax, eax
je 0x43c2ee
lea eax, [ebp - 0x244]
mov dword [ebp - 0x21c], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x248]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43c297
xor eax, eax
mov word [edi - 2], ax
push dword [ebp - 0x248]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb eax, eax
inc eax
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.004e0f8e
mov esp, ebp
pop ebp
ret