Function at 0x410180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479f42
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x49c068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], edx
mov edi, ecx
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xec], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xf0], 1
push 0xb0
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0042de70
add esp, 8
lea ecx, [ebp - 0xd8]
call fcn.00411260
mov ecx, edi
call fcn.00404760
push dword [ebp - 0xe4]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xf0], 1
add ecx, dword [eax + 4]
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea ecx, [ebp - 0xc8]
call fcn.00411510
cmp dword [ebp + 0x24], 8
lea ecx, [ebp - 0xdc]
push ecx
push 0x20019
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0xd8]
test eax, eax
je 0x410282
call fcn.00410590
lea ecx, [ebp + 0xc]
call fcn.00412c70
mov ecx, dword [ebp + 0xc]
push 8
push ecx
jmp 0x41055e
lea eax, [ebp - 0x110]
push eax
call fcn.00411130
cmp dword [eax + 0x18], 8
lea ecx, [eax + 4]
jb 0x410299
mov ecx, dword [ecx]
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 8
push ecx
push 0
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea ecx, [ebp - 0x110]
mov esi, eax
call fcn.00412c70
mov ecx, dword [ebp - 0x110]
push 8
push ecx
mov dword [ebp - 0x110], 0
call fcn.0042b3d0
add esp, 8
test esi, esi
je 0x4102ef
push dword [ebp - 0xdc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x410545
mov esi, dword [ebp - 0x14]
push esi
call fcn.0042b490
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x18], edi
call fcn.0042de70
add esp, 0x10
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0xd8]
push eax
call fcn.00411130
cmp dword [eax + 0x18], 8
lea ecx, [eax + 4]
jb 0x410326
mov ecx, dword [ecx]
lea eax, [ebp - 0x14]
push eax
push edi
push 0
push 8
push ecx
push 0
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea ecx, [ebp - 0x110]
call fcn.00412c70
mov eax, dword [ebp - 0x110]
push 8
push eax
mov dword [ebp - 0x110], 0
call fcn.0042b3d0
mov esi, dword [ebp - 0x14]
push esi
call fcn.0042b490
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0xe0], edi
call fcn.0042de70
mov edx, dword [ebp - 0xe4]
lea ecx, [ebp - 0x28]
add esp, 0x18
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.00426910
xor esi, esi
mov dword [ebp - 4], 3
cmp dword [ebp - 0x14], esi
jbe 0x41041b
sub dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x20]
mov edi, esi
mov edx, dword [ebp - 0x24]
and edi, 3
sub eax, edx
cmp edi, eax
jb 0x4103fc
push str.vector_subscript_out_of_range
push 0x492794
push 0
push 0x75e
push 0x492e88
push 2
call fcn.00431dd0
add esp, 0x18
cmp eax, 1
jne 0x4103db
int3
push 0
push 0x75e
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.37.32822include_vector
push 0x4928c4
push str._vector_subscript_out_of_range_
call fcn.00432610
mov edx, dword [ebp - 0x24]
add esp, 0x14
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x18]
add ecx, esi
inc esi
mov al, byte [eax + ecx]
xor al, byte [edx + edi]
mov byte [ecx], al
cmp esi, dword [ebp - 0x14]
jb 0x4103a4
mov edi, dword [ebp - 0xe0]
xor esi, esi
cmp dword [ebp - 0x14], esi
jbe 0x41048d
mov cl, byte [esi + edi]
cmp cl, 0x20
jbe 0x410487
cmp cl, 0x7e
jae 0x410487
mov edx, dword [ebp - 0xe8]
mov byte [ebp - 0x18], cl
mov eax, dword [edx + 0x1c]
mov edi, dword [edx + 0x18]
mov dword [ebp - 0xe4], eax
cmp edi, eax
jae 0x410467
lea eax, [edi + 1]
mov dword [edx + 0x18], eax
add edx, 8
cmp dword [ebp - 0xe4], 0x10
jb 0x41045c
mov edx, dword [edx]
lea eax, [edx + edi]
mov byte [eax], cl
mov byte [eax + 1], 0
jmp 0x410481
push dword [ebp - 0x18]
mov byte [ebp - 0xec], 0
lea ecx, [edx + 4]
push dword [ebp - 0xec]
push 1
call fcn.0040eb70
mov edi, dword [ebp - 0xe0]
inc esi
cmp esi, dword [ebp - 0x14]
jb 0x410422
mov edi, dword [ebp - 0xe8]
mov eax, 0x7fffffff
mov ecx, dword [edi + 0x18]
lea esi, [edi + 4]
sub eax, ecx
cmp eax, 4
jb 0x41058a
cmp dword [esi + 0x18], 0x10
lea eax, [esi + 4]
jb 0x4104b4
mov eax, dword [eax]
push 4
push str..exe
push ecx
push eax
push ecx
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x12c]
call fcn.0040f790
lea eax, [ebp - 0x12c]
cmp esi, eax
je 0x4104ee
mov ecx, esi
call fcn.00406820
lea eax, [ebp - 0x12c]
mov ecx, esi
push eax
call fcn.00406a60
lea ecx, [ebp - 0x12c]
call fcn.00406820
mov eax, dword [ebp - 0x12c]
push 8
push eax
mov dword [ebp - 0x12c], 0
call fcn.0042b3d0
add esp, 8
mov eax, 2
mov word [edi], ax
push dword [ebp - 0xdc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.00412ab0
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x28], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0xd8]
call fcn.00410590
lea ecx, [ebp + 0xc]
call fcn.00412c70
mov eax, dword [ebp + 0xc]
push 8
push eax
mov dword [ebp + 0xc], 0
call fcn.0042b3d0
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b3c0
mov esp, ebp
pop ebp
ret
call fcn.00401930
int3