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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52713c
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x574464]
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 0x43b893
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 0x43b96e
cmp eax, 2
jne 0x43b89d
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str.Key_not_found
lea ecx, [ebp - 0x278]
call fcn.00405cd0
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.00405cd0
mov edi, eax
push 0x5607e8
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00405710
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.004054d0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x43b827
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.0043b620
add esp, 0x30
lea ecx, [ebp - 0x260]
call fcn.00405e00
lea ecx, [ebp - 0x278]
call fcn.00405e00
mov eax, 1
jmp 0x43ba3d
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str.Error_opening_key.
lea ecx, [ebp - 0x2a8]
call fcn.00405cd0
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.00405cd0
mov edi, eax
push 0x5607e8
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00405710
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.004054d0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x43b8fb
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.0043b620
add esp, 0x30
lea ecx, [ebp - 0x290]
call fcn.00405e00
lea ecx, [ebp - 0x2a8]
call fcn.00405e00
xor eax, eax
jmp 0x43ba3d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x5c
lea edi, [esi + eax*2]
je 0x43b990
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 0x43ba1e
xor eax, eax
mov ecx, esi
mov word [edi], ax
lea eax, [ebp - 0x218]
push eax
call fcn.0043b6b0
mov edx, esi
mov ecx, ebx
call fcn.0043b760
test eax, eax
je 0x43ba1e
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 0x43b9c7
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.004e06c8
mov esp, ebp
pop ebp
ret