Function at 0x670deee0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x672903aa
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x674c7008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x214], 0
mov dword [esi], sym.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null
lea eax, [ebp - 0x220]
mov ebx, 1
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
push 0x80000002
mov dword [ebp - 0x214], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x220]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x670df1c8
push edx
push edx
push edx
push edx
push edx
push edx
push edx
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], edx
push eax
push edx
push edx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x670df1b7
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x670df1b7
xor ecx, ecx
mov dword [ebp - 0x230], ecx
test eax, eax
je 0x670df1b7
mov esi, dword [ebp - 0x240]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop dword [eax]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0xff
push eax
lea eax, [ebp - 0x210]
push eax
push ecx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x670df198
cmp word [ebp - 0x210], ax
je 0x670df01c
nop
inc eax
cmp word [ebp + eax*2 - 0x210], 0
jne 0x670df010
push 0
add eax, eax
lea edx, [ebp - 0x210]
push 0
push eax
lea ecx, [ebp - 0x218]
call fcn.671e2a80
add esp, 0xc
or ebx, 0x10
mov eax, dword [ebp - 0x218]
or ebx, 0xa
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x218], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [ebp - 0x214], ebx
test bl, 4
je 0x670df095
mov eax, dword [esi]
and ebx, 0xfffffffb
mov dword [ebp - 0x214], ebx
test eax, eax
je 0x670df081
cmp eax, 0xffffffff
je 0x670df08f
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
setne al
test al, al
jne 0x670df08f
cmp esi, 0x674c7cb4
je 0x670df08f
push esi
call edi
add esp, 4
mov ebx, dword [ebp - 0x214]
mov dword [ebp - 4], 1
test bl, 2
je 0x670df0e9
mov eax, dword [ebp - 0x218]
and ebx, 0xfffffffd
mov dword [ebp - 0x214], ebx
mov eax, dword [eax]
test eax, eax
je 0x670df0d0
cmp eax, 0xffffffff
je 0x670df0e3
mov eax, dword [ebp - 0x218]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x670df0e3
mov eax, dword [ebp - 0x218]
cmp eax, 0x674c7cb4
je 0x670df0e3
push eax
call edi
add esp, 4
mov ebx, dword [ebp - 0x214]
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x21c]
push eax
call sym.Qt5Core.dll_private:_static_class_QByteArray___cdecl_QString::toUtf8_helper_class_QString_const__
or ebx, 0x40
add esp, 8
mov dword [ebp - 0x214], ebx
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x234]
push eax
call fcn.67025060
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax]
test eax, eax
je 0x670df148
cmp eax, 0xffffffff
je 0x670df15b
mov eax, dword [ebp - 0x21c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x670df15b
mov eax, dword [ebp - 0x21c]
cmp eax, 0x674c7cb4
je 0x670df15b
push eax
call edi
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x224]
test ecx, ecx
je 0x670df185
cmp ecx, 0xffffffff
je 0x670df192
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x670df192
cmp eax, 0x674c7cb4
je 0x670df192
push eax
call edi
add esp, 4
mov ebx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x230]
inc ecx
mov dword [ebp - 0x230], ecx
cmp ecx, dword [ebp - 0x228]
jb 0x670defd0
mov esi, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x670df1c8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.67284a63
mov esp, ebp
pop ebp
ret