Function at 0x5fd9ff29
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x57
pop eax
jmp 0x5fd9ffbf
mov eax, dword [0x5fde9010]
cmp eax, 0x5fde9010
je 0x5fd94b2f
test dword [eax + 0x1c], 0x400
je 0x5fd94b2f
push esi
lea ecx, [esp + 0x1c]
mov edx, 0x5fdbda58
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x12
pop ecx
call fcn.5fdc7c85
push dword [esp + 0x10]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp esi, 0x32
jne 0x5fd94b45
mov esi, ebx
jmp 0x5fda5cab
mov edi, 0x5fd95108
push edi
push dword [0x5fde946c]
push dword [0x5fde9468]
call dword [sym.imp.ntdll.dll_EtwEventEnabled]
test al, al
je 0x5fd94b6f
push esi
push ecx
push ecx
lea edx, [esp + 0x24]
mov ecx, edi
call fcn.5fdd1db1
mov ecx, 0x10000
call fcn.5fda7ae9
cmp eax, 1
jne 0x5fd94ba8
mov edi, 0x5fd950f8
push edi
push dword [0x5fde946c]
push dword [0x5fde9468]
call dword [sym.imp.ntdll.dll_EtwEventEnabled]
test al, al
je 0x5fd94ba8
push esi
push ecx
push ecx
lea edx, [esp + 0x24]
mov ecx, edi
call fcn.5fdd1db1
mov esi, 0x2564
jmp 0x5fda5c56
mov eax, dword [0x5fde9010]
cmp eax, 0x5fde9010
je 0x5fda5c56
test dword [eax + 0x1c], 0x400
je 0x5fda5c56
push esi
lea ecx, [esp + 0x1c]
mov edx, 0x5fdbda58
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x11
pop ecx
call fcn.5fdc7c85
jmp 0x5fda5c56
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x5fde94a8]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
xor ebx, ebx
mov eax, 0x5fda5cd0
mov dword [esp + 8], ebx
push esi
push edi
test eax, eax
je 0x5fd94af9
lea eax, [esp + 0xc]
mov edi, reloc.WS2_32.dll_bind
push eax
push 0x20019
push ebx
push 0x5fd9fd78
push edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x5fda5c2f
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebx
push 0x5fd9ffd8
push edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x5fda5c2f
mov esi, ebx
mov edi, 0x5fde9458
push edi
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_AcquireSRWLockExclusive]
push edi
mov dword [0x5fde90ec], esi
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_ReleaseSRWLockExclusive]
mov eax, esi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.5fd83560
mov esp, ebp
pop ebp
ret
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
mov edi, ebx
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push dword [esp + 0x28]
mov dword [esp + 0x34], 0x105
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x5fda5c65
push dword [esp + 0xc]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x5fd9ffa4
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x5fd94bb2
mov ecx, dword [esp + 0x10]
mov edx, 0x5fda5cd0
call fcn.5fda501b
mov esi, eax
test esi, esi
jne 0x5fd94b01
push dword [esp + 0x10]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
inc edi
push eax
lea eax, [esp + 0x2c]
push eax
push edi
jmp 0x5fda5c40