Function at 0x755530ae
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0x5c
push 0x75561628
call fcn.75558b08
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x24], 0x54
mov byte [ebp - 0x23], 0x79
mov byte [ebp - 0x22], 0x70
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x20
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x7555310d
push 0x57
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
jmp 0x7555329e
cmp dword [ebp + 0x10], ebx
je 0x75553119
push 0x80090009
jmp 0x755530fb
lea eax, [ebp - 0x28]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftCryptographyDefaultsProvider_Types
push 0x80000002
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExA
cmp eax, ebx
je 0x7555313d
push 0x80090020
jmp 0x755530fb
lea eax, [ebp - 0x6c]
push eax
push ebx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x28]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryInfoKeyA
cmp eax, ebx
jne 0x75553136
inc dword [ebp - 0x38]
push dword [ebp - 0x38]
push 0x40
call dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
mov esi, eax
mov dword [ebp - 0x34], esi
cmp esi, ebx
jne 0x75553187
push 8
jmp 0x755530fb
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp + 8]
push dword [ebp - 0x28]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegEnumKeyExA
cmp eax, ebx
je 0x755531b4
mov ecx, 0x103
cmp eax, ecx
jne 0x75553136
push ecx
jmp 0x755530fb
push 5
pop ecx
lea edi, [ebp - 0x24]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x75553136
mov esi, dword [ebp - 0x34]
lea eax, [esi + 5]
push eax
call dword [sym.imp.ntdll.dll_atol]
pop ecx
cmp eax, ebx
je 0x75553136
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
lea eax, [ebp - 0x30]
push eax
push 0x20019
push ebx
push esi
push dword [ebp - 0x28]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExA
cmp eax, ebx
jne 0x75553136
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
mov esi, 0x75551308
push esi
push dword [ebp - 0x30]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
je 0x75553222
mov dword [ebp - 0x3c], 1
jmp 0x75553101
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x44], ebx
jne 0x75553231
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
jmp 0x75553216
mov edi, dword [ebp - 0x40]
cmp dword [edi], eax
jae 0x75553244
mov dword [edi], eax
push 0xea
jmp 0x755530fb
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x44]
lea eax, [ebp - 0x4c]
push eax
push ebx
push esi
push dword [ebp - 0x30]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
jne 0x755530f9
mov eax, dword [ebp - 0x2c]
mov dword [edi], eax
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 0x3c], 1
jmp 0x7555329e
cmp dword [ebp - 0x28], ebx
je 0x755532ab
push dword [ebp - 0x28]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey
cmp dword [ebp - 0x30], ebx
je 0x755532b8
push dword [ebp - 0x30]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey
cmp dword [ebp - 0x34], ebx
je 0x755532c6
push dword [ebp - 0x34]
call dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
mov eax, dword [ebp - 0x3c]
call fcn.75558b50
ret 0x18