Function at 0x453b74
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
xor edi, edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ecx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
lea edx, reloc.ADVAPI32.dll_TraceMessage
push edx
push edi
lea edx, reloc.ADVAPI32.dll_TraceMessage
push edx
push 0
lea edx, reloc.ADVAPI32.dll_TraceMessage
push edx
lea edx, reloc.ADVAPI32.dll_TraceMessage
push edx
push eax
push ecx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0x104
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
cmp esi, 0x103
je 0x453c74
cmp esi, 0xea
jne 0x453c05
test edi, edi
je 0x453c09
push edi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
xor edi, edi
test edi, edi
jne 0x453c2c
mov ebx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
shr ebx, 4
inc ebx
shl ebx, 4
push ebx
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
mov edi, eax
pop ecx
test edi, edi
je 0x453c6f
mov eax, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
jmp 0x453c64
test esi, esi
jne 0x453c53
push dword [ebp - 0x21c]
lea eax, reloc.ADVAPI32.dll_TraceMessage
push edi
push dword [ebp - 0x224]
push esi
push eax
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
inc eax
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
test esi, esi
jne 0x453c76
mov ecx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
jmp 0x453baa
push EventRegister
pop esi
jmp 0x453c76
xor esi, esi
test edi, edi
je 0x453c82
push edi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
test esi, esi
jne 0x453d75
push 0x104
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
xor edi, edi
push edi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
jne 0x453d6b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
xor ecx, ecx
push 0x109
push ecx
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push esi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ecx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x453d23
xor ecx, ecx
push ecx
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push ecx
push 0x20106
push ecx
push ecx
push ecx
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x453d23
push dword [ebp - 0x210]
push dword [ebp - 0x214]
call fcn.00453b74
cmp dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0
je 0x453d3b
push dword [ebp - 0x214]
call ebx
and dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0
cmp dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0
je 0x453d4c
push dword [ebp - 0x210]
call ebx
push 0x104
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
inc edi
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
je 0x453cb5
cmp esi, 0x103
jne 0x453d75
xor esi, esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004655f1
leave
ret 8