Function at 0x423e00
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4638a8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x478ec8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0x1b
push str.invalid_vector_T__subscript
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00405920
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x54], 0
call fcn.004059f0
push 0x471d94
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], vtable.std::out_of_range.0
call fcn.00441455
int3
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 4]
push esi
push edi
xor edi, edi
xor esi, esi
cmp eax, edi
mov dword [esp + 0xc], esi
jne 0x423e1f
mov dword [esp + 0x30], edi
jmp 0x423e2b
mov ecx, dword [ebx + 8]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x30], edi
jbe 0x423e93
mov esi, dword [ebx + 4]
test esi, esi
je 0x423f29
mov ecx, dword [ebx + 8]
mov eax, ecx
sub eax, esi
sar eax, 2
cmp eax, edi
jbe 0x423f29
cmp esi, ecx
jbe 0x423e57
call fcn.00441c3e
mov dword [esp + 0x18], esi
lea esi, [esi + edi*4]
cmp esi, dword [ebx + 8]
ja 0x423e68
cmp esi, dword [ebx + 4]
jae 0x423e6d
call fcn.00441c3e
cmp esi, dword [ebx + 8]
jb 0x423e77
call fcn.00441c3e
mov eax, dword [esi]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
add edi, 1
cmp edi, dword [esp + 0x30]
lea eax, [edx + ecx + 1]
mov dword [esp + 0xc], eax
jb 0x423e31
mov esi, eax
add esi, 1
push ebp
push esi
mov dword [esp + 0x14], esi
call fcn.0042ff51
push esi
mov edi, eax
xor ebp, ebp
push ebp
push edi
mov dword [esp + 0x28], edi
call fcn.00441070
add esp, 0x10
cmp dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
jbe 0x423fbf
mov esi, dword [ebx + 4]
test esi, esi
je 0x423f29
mov ecx, dword [ebx + 8]
mov eax, ecx
sub eax, esi
sar eax, 2
cmp eax, ebp
jbe 0x423f29
cmp esi, ecx
jbe 0x423ee0
call fcn.00441c3e
mov dword [esp + 0x24], esi
lea esi, [esi + ebp*4]
cmp esi, dword [ebx + 8]
ja 0x423ef1
cmp esi, dword [ebx + 4]
jae 0x423ef6
call fcn.00441c3e
cmp esi, dword [ebx + 8]
jb 0x423f00
call fcn.00441c3e
mov esi, dword [esi]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x423f2e
cmp eax, dword [esi]
jne 0x423f2e
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x423f64
jmp 0x423d80
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x423ff3
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00441c4e
add esp, 0x10
mov esi, dword [esp + 0x18]
lea edx, [edi + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, edi
sub ecx, edx
mov eax, edx
add esi, ecx
mov cl, byte [eax]
mov byte [esi + eax], cl
add eax, 1
test cl, cl
jne 0x423f77
mov eax, dword [edx - 0xc]
lea ecx, [edi + eax + 1]
lea eax, [edx - 0x10]
mov dword [esp + 0x14], ecx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423faa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 1
cmp ebp, dword [esp + 0x34]
jb 0x423ec2
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov edx, dword [esp + 0x2c]
push esi
push edi
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
push edi
add esi, 1
call fcn.004410ea
add esp, 4
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x18
ret
jmp fcn.00416cb0