Function at 0x670deb50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6729030f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x120
mov eax, dword [0x674c7008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x114], 0
mov byte [eax], 0
lea eax, [ebp - 0x108]
push ecx
push eax
mov dword [ebp - 0x118], 0x2c
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf8_class_QByteArray_const__
add esp, 8
mov dword [ebp - 0x10c], eax
mov dword [ebp - 4], 0
xor ecx, ecx
mov byte [ebp - 0xf1], 0x5c
nop word [eax + eax]
lea ecx, [ecx + 1]
lea edx, [ecx + ecx]
cmp word [edx + str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones], 0
jne 0x670debe0
push 0
push 0
push edx
mov edx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
lea ecx, [ebp - 0xfc]
call fcn.671e2a80
add esp, 0xc
mov eax, dword [ebp - 0xfc]
or esi, 0xffffffff
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 0x100], eax
mov eax, dword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
mov dword [ebp - 0xfc], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [ebp - 0x114], 0xc
test eax, eax
je 0x670dec57
cmp eax, esi
je 0x670dec6a
mov eax, esi
lock xadd dword [sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null], eax
dec eax
setne al
test al, al
jne 0x670dec6a
mov eax, dword [ebp - 0xfc]
cmp eax, 0x674c7cb4
je 0x670dec6a
push eax
call edi
add esp, 4
lea eax, [ebp - 0x100]
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0xf1]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 3
mov eax, dword [eax]
push 0
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
inc eax
add eax, ecx
lea ecx, [ebp - 0x104]
push eax
call sym.Qt5Core.dll_public:_void___thiscall_QString::constructor_int__enum_Qt::Initialization_
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 0x10c]
mov ecx, dword [eax + 0xc]
add ecx, eax
mov dword [ebp - 0x10c], ecx
lea ecx, [ebp - 0x12c]
call fcn.6701db40
mov eax, dword [ebp - 0x100]
mov eax, dword [eax]
test eax, eax
je 0x670ded04
cmp eax, 0xffffffff
je 0x670ded17
mov eax, dword [ebp - 0x100]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x670ded17
mov eax, dword [ebp - 0x100]
cmp eax, 0x674c7cb4
je 0x670ded17
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
test eax, eax
je 0x670ded3c
cmp eax, 0xffffffff
je 0x670ded4f
mov eax, dword [ebp - 0x108]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x670ded4f
mov eax, dword [ebp - 0x108]
cmp eax, 0x674c7cb4
je 0x670ded4f
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x104]
cmp eax, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
jne 0x670ded60
xor ecx, ecx
jmp 0x670ded65
mov ecx, dword [eax + 0xc]
add ecx, eax
lea eax, [ebp - 0xf8]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x670ded90
xor eax, eax
mov dword [ebp - 0xf8], eax
jmp 0x670dee4b
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x670dee4b
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0xfc]
push ecx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0xfc], 0x40
push ecx
push 0
push 0
push 0x673f5238
push eax
call esi
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xfc], 0x40
push eax
lea eax, [ebp - 0xec]
push eax
push 0
push 0
push 0x673f5240
push dword [ebp - 0xf8]
call esi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0
push 0x673f5248
push dword [ebp - 0xf8]
call esi
test eax, eax
jne 0x670dee45
mov eax, dword [ebp - 0x40]
movups xmm0, xmmword [ebp - 0x34]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x11c]
movups xmmword [ebp - 0xac], xmm0
movups xmm0, xmmword [ebp - 0x24]
mov byte [eax], 1
movups xmmword [ebp - 0x58], xmm0
mov eax, dword [ebp - 0xf8]
mov edx, dword [ebx + 8]
mov ecx, 0x2b
lea esi, [ebp - 0xf0]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
test eax, eax
je 0x670dee75
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebx + 8]
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
test eax, eax
je 0x670dee9b
cmp eax, 0xffffffff
je 0x670deeb7
mov ecx, dword [ebp - 0x104]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
setne cl
test cl, cl
jne 0x670deeb7
mov eax, dword [ebp - 0x104]
cmp eax, 0x674c7cb4
je 0x670deeb7
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebx + 8]
add esp, 4
jmp 0x670deeb9
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.67284a63
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret