Function at 0x10037ee4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10037f36
lea eax, [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10037f1d
push 0
push 0
push 0
push 0
push 0
push 0
push 0x21bd
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10037f31
push 0
push 0x1eac
push 0x239b
push 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1003815a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x24], 0x930509b9
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x60], 0x55dbfe6b
mov dword [ebp - 8], 0xe
jmp 0x10037f6e
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffea
jl 0x10038144
mov dword [ebp - 4], 9
mov dword [ebp - 0x5c], 4
mov eax, 0xd850
test eax, eax
je 0x10037ff7
cmp dword [ebp - 4], 0x5fba2522
jg 0x10037fa7
mov eax, 0x7c2f5a26
test eax, eax
jne 0x10037fa7
and dword [ebp - 0x10], 0
jmp 0x10037fae
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0x1c1d
jge 0x10037fc0
mov dword [ebp - 0x14], 1
jmp 0x10037fc4
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x14]
test eax, eax
jne 0x10037fd3
cmp dword [ebp - 4], 0
cmp dword [ebp - 4], 0xfffffffe
jb 0x10037fe2
mov dword [ebp - 0x18], 1
jmp 0x10037fe6
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x18], eax
jge 0x10037ff7
mov dword [ebp - 0x1c], 1
jmp 0x10037ffb
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
jae 0x1003800a
mov dword [ebp - 0x20], 1
jmp 0x1003800e
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x20]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x24], eax
jle 0x1003802c
mov dword [ebp - 0x58], 1
jmp 0x10038030
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 4], eax
jle 0x1003804d
mov dword [ebp - 0x28], 1
jmp 0x10038051
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1003806c
cmp dword [ebp - 4], 0
je 0x1003806c
mov dword [ebp - 0x2c], 1
jmp 0x10038070
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x2c], eax
jne 0x10038081
mov dword [ebp - 0x30], 1
jmp 0x10038085
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0xfecafe8
jg 0x10038097
mov dword [ebp - 0x34], 1
jmp 0x1003809b
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0xc769
jl 0x100380ad
mov dword [ebp - 0x38], 1
jmp 0x100380b1
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0xf5d1cc0c
jne 0x100380c3
mov dword [ebp - 0x3c], 1
jmp 0x100380c7
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x3c], eax
jg 0x100380d8
mov dword [ebp - 0x40], 1
jmp 0x100380dc
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x40], eax
je 0x100380ed
mov dword [ebp - 0x44], 1
jmp 0x100380f1
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 4], 0x67dc
jle 0x10038109
mov dword [ebp - 0x48], 1
jmp 0x1003810d
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0x7baa9d70
je 0x1003811f
mov dword [ebp - 0x4c], 1
jmp 0x10038123
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xfff9
ja 0x10038135
mov dword [ebp - 0x50], 1
jmp 0x10038139
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
jmp 0x10037f67
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x68]
call fcn.100254cf
add esp, 0xc
mov esp, ebp
pop ebp
ret