Function at 0x10036c7a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a1be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10036dc6
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0x618d
mov dword [ebp - 0x48], 0x1000ab08
cmp dword [ebp - 0x2c], 0x6546
jle 0x10036d42
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
and dword [ebp - 0x18], 0
jmp 0x10036ce0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x52b0
jge 0x10036d42
and dword [ebp - 0x1c], 0
jmp 0x10036cf6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7ca4
jge 0x10036d40
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
push dword [ebp - 0x60]
push dword [ebp - 0x64]
lea ecx, [ebp - 0x84]
call fcn.1000da20
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.100104ec
push eax
call fcn.100540b6
pop ecx
lea ecx, [ebp - 0x84]
call fcn.100104e2
jmp 0x10036cef
jmp 0x10036cd9
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x10036d6c
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x10036d6a
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x10036d85
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6d9
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x5e9c
jge 0x10036d9b
push dword [ebp - 0x48]
call fcn.100540b6
pop ecx
jmp 0x10036db7
or dword [ebp - 4], 0xffffffff
jmp 0x10036dc1
jmp 0x10036ef5
lea eax, [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x10036e0e
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x10036e09
push 0
push 0xa38
push 0x2082
push 0x933
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatA]
jmp 0x10036ef5
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10036e20
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x30], 0x796a
mov dword [ebp - 0x5c], 0x1000ab40
cmp dword [ebp - 0x30], 0x7cb9
jle 0x10036eb2
and dword [ebp - 0x20], 0
jmp 0x10036e44
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x24d1
jge 0x10036e9f
and dword [ebp - 0x24], 0
jmp 0x10036e5a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6acd
jge 0x10036e9d
and dword [ebp - 0x28], 0
jmp 0x10036e70
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x68c
jge 0x10036e9b
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
mov ecx, 0x10613338
call fcn.1001050c
jmp 0x10036e69
jmp 0x10036e53
jmp 0x10036e3d
push 0
push 0
push 0x1972
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x30], 0x75a1
jge 0x10036ecf
mov edx, dword [ebp - 0x5c]
mov ecx, 0x10613338
call fcn.10011fb6
jmp 0x10036eeb
or dword [ebp - 4], 0xffffffff
jmp 0x10036ef5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret