Function at 0x437e30
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xa0
mov eax, 0x44f44b
call fcn.00447ac5
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x88], ecx
lea ecx, [ebp - 0x74]
push ecx
push 0x20119
push 0
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x18]
push 0x45f0e0
push eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx ebx, ax
mov edi, 0x80070000
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x4380a2
xor ecx, ecx
lea eax, [ebp - 0x14]
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x74]
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
mov dword [ebp - 0x8c], ebx
test ebx, ebx
js 0x438099
push esi
lea ecx, [ebp - 0x70]
call fcn.0040a7be
and dword [ebp - 4], 0
cmp byte [ebp + 0x10], 0
je 0x437f09
push ecx
push 0x45f488
mov ecx, esi
call fcn.00421fd7
cmp eax, 0xffffffff
je 0x437f09
push eax
push 0
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.00415dc1
push eax
lea ecx, [ebp - 0x70]
call fcn.0040a898
lea ecx, [ebp - 0x58]
call fcn.0040521a
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x78]
inc ecx
xor esi, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x7c], esi
cmp esi, dword [ebp - 0x18]
jae 0x43808b
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x76], ax
lea eax, [ebp - 0x76]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004277b1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x28]
push esi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test edi, edi
js 0x43806f
mov esi, dword [ebp - 0x80]
mov eax, str.SoftwareClassesCLSID_
test esi, esi
mov ecx, str.CLSID_
cmove ecx, eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.0040ad18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
push dword [ebp - 0x28]
call fcn.004162a6
and dword [ebp - 0x30], 0
xor eax, eax
push 7
pop ecx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 3
and dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0xa4]
push 0x45785c
mov word [ebp - 0xa4], ax
call fcn.0040acef
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
push 2
lea eax, [ebp - 0xa4]
test esi, esi
mov ecx, esi
lea edx, [ebp - 0x58]
cmove ecx, dword [ebp - 0x84]
push eax
call fcn.004176e0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.0040521a
test esi, esi
js 0x43805c
mov edx, ebx
lea ecx, [ebp - 0x40]
call fcn.0040953f
test al, al
jne 0x438026
cmp byte [ebp + 0x10], al
je 0x43805c
push ecx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041ebbb
test eax, eax
jne 0x43805c
push dword [ebp - 0x28]
lea ecx, [ebp - 0xa4]
call fcn.0040ad18
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 5
push eax
call fcn.00438324
lea ecx, [ebp - 0xa4]
call fcn.0040521a
lea ecx, [ebp - 0x40]
call fcn.0040521a
lea ecx, [ebp - 0x58]
call fcn.0040521a
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0041e3fc
inc esi
mov dword [ebp - 0x7c], esi
test edi, edi
js 0x43808b
mov ecx, dword [ebp - 0x14]
jmp 0x437f18
lea ecx, [ebp - 0x70]
call fcn.0040521a
mov ebx, dword [ebp - 0x8c]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.00447a6f
ret 0x14