Function at 0x410550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [esi], edi
xorps xmm0, xmm0
movups xmmword [esi + 0x20], xmm0
xorps xmm0, xmm0
movsd qword [esi + 0x30], xmm0
mov dword [esi + 0x40], 4
mov dword [esi + 0x44], 3
movsd qword [esi + 0x48], xmm0
mov dword [esi + 0x50], edi
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x20], edi
movsd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
lea ebx, [ebp - 0x40]
mov dword [ebx], edi
push ebx
push 1
push edi
push 0x6348e0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41064d
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x41087d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
xor edi, edi
mov dword [ebp - 0x30], edi
mov ecx, 4
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x18]
mov dword [edx], ecx
lea ecx, [ebp - 0x1c]
mov dword [ecx], edi
push edx
push ecx
push ebx
push edi
push 0x63493a
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410629
mov eax, dword [ebp - 0x40]
add eax, 0xfffffffd
xor edi, edi
cmp dword [ebp - 0x18], 4
mov ecx, 0
jne 0x410623
mov ecx, dword [ebp - 0x1c]
cmp eax, 2
cmovb edi, ecx
lea ebx, [ebp - 0x28]
lea ecx, [ebp - 0x34]
push ebx
push str.DisplayVersion
call fcn.00422b30
movsx eax, byte [ebx + 0xb]
test eax, eax
jns 0x410645
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4108e1
lea eax, [esi + 0x20]
mov dword [ebp - 0x4c], eax
lea edx, [esi + 0x2c]
lea ebx, [ebp - 0x28]
movsx eax, byte [ebx + 0xb]
test eax, eax
cmovs eax, dword [ebx + 4]
mov ecx, dword [ebx]
cmovns ecx, ebx
test eax, eax
js 0x410890
mov dword [ebp - 0x48], edx
lea edx, [ebp - 0x40]
je 0x410680
test ecx, ecx
je 0x410889
push eax
push ecx
push edx
call fcn.00557410
add esp, 0xc
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x39]
mov dword [ebp - 0x15], eax
mov dl, byte [ebp - 0x35]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4106c1
push eax
mov dword [ebp - 0x44], esi
mov esi, ebx
mov ebx, edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, ebx
mov ebx, esi
mov esi, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
test ecx, ecx
jne 0x410863
cmp byte [ebp - 0x1d], 0
js 0x4109b2
mov dword [esi + 0x10], edi
cmp byte [esi + 0x2b], 0
js 0x410a7d
mov dword [esi + 0x20], ebx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x15]
mov dword [esi + 0x24], eax
mov dword [esi + 0x27], ecx
mov byte [esi + 0x2b], dl
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push dword [esi + 0xc]
call fcn.00410aa0
add esp, 4
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov eax, dword [0x64f5f8]
mov ecx, dword [0x64d82c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x410773
push 0x64f5f8
call fcn.0057dc73
add esp, 4
cmp dword [0x64f5f8], 0xffffffff
jne 0x410773
push 0x62d994
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IsWow64Process2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x64f5f4], eax
push 0x64f5f8
call fcn.0057dcc2
add esp, 4
mov ecx, dword [0x64f5f4]
test ecx, ecx
je 0x4108f4
xor eax, eax
mov word [ebp - 0x28], ax
lea ebx, [ebp - 0x34]
mov word [ebx], ax
call dword [0x6445dc]
push ebx
lea eax, [ebp - 0x28]
push eax
push edi
call ecx
test eax, eax
je 0x4107d2
movzx eax, word [ebp - 0x28]
cmp eax, 0x14c
jne 0x4108b1
xor eax, eax
inc eax
mov dword [esi + 0x40], eax
movzx ecx, word [ebp - 0x34]
xor eax, eax
cmp ecx, 0x8664
setne al
inc eax
xor edx, edx
cmp ecx, 0xaa64
cmovne edx, eax
mov dword [esi + 0x44], edx
mov edi, dword [ebp + 8]
movzx eax, word [edi + 0x114]
mov dword [esi + 0x18], eax
movzx eax, word [edi + 0x116]
mov dword [esi + 0x1c], eax
lea ebx, [edi + 0x14]
push ebx
call fcn.0057f442
add esp, 4
push eax
push ebx
lea eax, [ebp - 0x28]
push eax
call fcn.00557410
add esp, 0xc
cmp byte [esi + 0x37], 0
js 0x41089f
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x28]
movsd qword [ecx], xmm0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 4]
cmp eax, 0xa
jne 0x410930
mov eax, dword [ebp + 0x10]
cmp eax, 0x30
jne 0x4109d0
mov dword [esi + 0x14], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005810d5
mov eax, esi
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
push 1
mov dword [ebp - 0x44], esi
mov esi, ebx
mov ebx, edx
call fcn.0044c940
mov edx, ebx
mov ebx, esi
mov esi, dword [ebp - 0x44]
jmp 0x4106d3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4105dc
push str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x410895
push str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x62a183
call fcn.005aacb0
mov eax, dword [ebp - 0x48]
push dword [eax]
call fcn.0057dc2b
add esp, 4
jmp 0x41080d
test eax, eax
je 0x4107b1
add eax, 0xfffffe40
cmp eax, 4
ja 0x4108cd
mov ecx, 0x15
bt ecx, eax
jb 0x4108d7
mov eax, 3
jmp 0x4107b1
mov eax, 2
jmp 0x4107b1
lea ecx, [ebp - 0x34]
push ebx
push str.ReleaseId
call fcn.00422b30
jmp 0x41064d
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x4107d2
cmp dword [ebp - 0x28], 0
je 0x410924
xor eax, eax
inc eax
mov ecx, esi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
jmp 0x4107d2
mov dword [esi + 0x40], 0
jmp 0x4107d2
mov edx, esi
cmp eax, 5
je 0x41094e
cmp eax, 6
mov esi, edx
je 0x41083a
mov dword [esi + 0x14], 0
jmp 0x41084d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp eax, 1
je 0x410980
cmp eax, 2
mov eax, dword [ebp + 8]
mov esi, edx
jne 0x410942
cmp byte [eax + 0x11a], 1
jne 0x41099a
cmp word [ecx], 9
jne 0x41099a
mov esi, edx
mov dword [edx + 0x14], 1
jmp 0x41084d
mov eax, dword [ebp + 8]
test byte [eax + 0x119], 2
je 0x410972
mov esi, edx
mov dword [edx + 0x14], 0
jmp 0x41084d
cmp word [eax + 0x118], 0
js 0x41098c
mov esi, edx
mov dword [edx + 0x14], 2
jmp 0x41084d
push dword [ebp - 0x28]
mov dword [ebp - 0x44], esi
mov esi, ebx
mov ebx, edx
call fcn.0057dc2b
mov edx, ebx
mov ebx, esi
mov esi, dword [ebp - 0x44]
add esp, 4
jmp 0x4106dd
mov edi, esi
cmp eax, 0x78
jle 0x4109f7
lea ecx, [eax - 0x79]
cmp ecx, 9
jbe 0x410a49
add eax, 0xffffff5c
cmp eax, 2
jae 0x410a3b
mov esi, edi
mov dword [edi + 0x14], 5
jmp 0x41084d
cmp eax, 0x1b
ja 0x410a29
mov ecx, 0x206f780
bt ecx, eax
jae 0x410a14
mov esi, edi
mov dword [edi + 0x14], 2
jmp 0x41084d
mov ecx, 0x8010050
bt ecx, eax
jb 0x410a53
cmp eax, 1
mov esi, edi
je 0x410846
add eax, 0xffffffba
cmp eax, 0xe
ja 0x410a3b
mov ecx, 0x4005
bt ecx, eax
jb 0x410a53
mov esi, edi
mov dword [edi + 0x14], 0
jmp 0x41084d
mov edx, 0x330
bt edx, ecx
jae 0x410a61
mov esi, edi
mov dword [edi + 0x14], 3
jmp 0x41084d
mov edx, 3
bt edx, ecx
jae 0x4109df
mov esi, edi
mov dword [edi + 0x14], 4
jmp 0x41084d
mov eax, dword [ebp - 0x4c]
push dword [eax]
mov edi, esi
mov esi, ebx
mov ebx, edx
call fcn.0057dc2b
mov edx, ebx
mov ebx, esi
mov esi, edi
add esp, 4
jmp 0x4106ea