Function at 0x419cf0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x60d2ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x2c]
push 4
push ecx
xor ebx, ebx
mov byte [edi + 0x64], 1
mov edx, dword [0x6ec7a0]
mov eax, dword [0x6ec5a0]
push 4
push ebx
push 0x6be500
push edx
mov dword [esp + 0x44], eax
call esi
mov ecx, dword [0x6ec7a0]
lea eax, [esp + 0x1c]
push 4
push eax
push 4
push ebx
push 0x6be4f4
push ecx
mov dword [esp + 0x34], 1
call esi
mov ecx, edi
call fcn.0041a9c0
mov byte [edi + 0x65], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], bx
lea edx, [esp + 0x18]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, edi
mov dword [esp + 0xe4], ebx
call fcn.0041a150
test eax, eax
je 0x419e4c
mov ecx, dword [edi + 0x28]
xor esi, esi
cmp ecx, ebx
jle 0x419e4c
mov edx, dword [edi + 0x24]
mov ebx, dword [esp + 0x18]
mov eax, edx
mov ebp, dword [eax]
cmp ebx, dword [ebp + 8]
je 0x419dc3
inc esi
add eax, 4
cmp esi, ecx
jl 0x419daf
jmp 0x419e4c
mov eax, dword [edx + esi*4]
xor ebp, ebp
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x419e4c
xor ebx, ebx
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x419ddd
lea ecx, [esp + 0x24]
mov edx, dword [eax + 0x18]
push ecx
mov eax, dword [edx + ebx]
push eax
call fcn.005e07bc
add esp, 8
test eax, eax
je 0x419e02
mov eax, dword [edi + 0x24]
inc ebp
add ebx, 0x24
mov eax, dword [eax + esi*4]
cmp ebp, dword [eax + 0x1c]
jl 0x419dd1
jmp 0x419e4c
mov ecx, dword [edi + 0x24]
lea eax, [ebp + ebp*8]
shl eax, 2
mov edx, dword [ecx + esi*4]
mov ecx, dword [edx + 0x18]
mov dword [ecx + eax + 0x18], 1
mov ecx, dword [esp + 0x18]
cmp ecx, 1
jle 0x419e4c
mov edx, dword [edi + 0x24]
push 1
push 1
push ecx
mov ecx, dword [edx + esi*4]
mov edx, dword [ecx + 0x18]
mov ecx, edi
add edx, eax
push edx
call fcn.004198f0
test eax, eax
je 0x419e4c
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + esi*4]
mov dword [ecx + 0x10], 1
cmp dword [esp + 0x18], 1
jne 0x419e73
mov eax, dword [0x6ec78c]
test eax, eax
jne 0x419e73
mov edx, dword [0x6ed13c]
mov eax, dword [0x6ed0f4]
push 0x40
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [edi + 0x28]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x14], edx
jle 0x419eeb
mov ecx, dword [edi + 0x24]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp dword [eax + 8], 1
jle 0x419ed0
mov ebx, dword [eax + 0x1c]
xor ecx, ecx
test ebx, ebx
jle 0x419ed0
mov eax, dword [eax + 0x18]
add eax, 0x20
cmp dword [eax - 8], 0
jne 0x419ec8
cmp dword [eax], 0
je 0x419ebb
cmp dword [eax - 0x10], 0
je 0x419ec8
mov esi, dword [esp + 0x14]
mov ebp, edx
inc esi
mov dword [esp + 0x14], esi
mov esi, ecx
inc ecx
add eax, 0x24
cmp ecx, ebx
jl 0x419eaa
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x28]
inc edx
add ecx, 4
cmp edx, eax
mov dword [esp + 0x10], ecx
jl 0x419e8f
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x419ef7
mov ecx, edi
call fcn.0041e680
jmp 0x41a0ce
cmp eax, 1
jne 0x419f9c
mov ecx, dword [0x6e7b6c]
mov dword [esp + 0x10], ecx
mov byte [esp + 0xdc], al
mov eax, dword [edi + 0x24]
lea esi, [esi + esi*8]
mov eax, dword [eax + ebp*4]
shl esi, 2
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + esi + 4]
mov edx, dword [eax + 4]
mov eax, dword [0x6ed0f0]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.005f368b
mov edx, dword [0x6ed13c]
mov eax, dword [esp + 0x20]
add esp, 0x10
push 0x24
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x419f7f
mov ecx, dword [edi + 0x24]
push 0
push 1
mov eax, dword [ecx + ebp*4]
mov ecx, edi
mov edx, dword [eax + 8]
mov eax, dword [eax + 0x18]
add eax, esi
push edx
push eax
call fcn.004198f0
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx + ebp*4]
mov dword [edx + 0x10], 1
mov ecx, edi
call fcn.0041e680
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 0
call fcn.005fa859
jmp 0x41a0ce
push 0
push edi
lea ecx, [esp + 0x38]
call fcn.00435cf0
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 2
call fcn.005f6856
cmp eax, 1
jne 0x41a0a2
mov eax, dword [esp + 0xcc]
test eax, eax
jle 0x419fe4
mov eax, dword [0x6ed13c]
mov ecx, dword [0x6ed0ec]
push 0x40
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [edi + 0x28]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x41a080
xor esi, esi
mov eax, dword [edi + 0x24]
mov ecx, dword [esi + eax]
cmp dword [ecx + 8], 1
jle 0x41a069
mov edx, dword [ecx + 0x1c]
xor ebx, ebx
test edx, edx
jle 0x41a069
xor ebp, ebp
mov edx, dword [esi + eax]
mov ecx, dword [edx + 0x18]
mov edx, dword [ecx + ebp + 0x18]
test edx, edx
jne 0x41a05a
mov eax, dword [esi + eax]
mov edx, dword [eax + 0x18]
lea ecx, [edx + ebp]
mov edx, dword [edx + ebp + 0x20]
test edx, edx
je 0x41a036
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x41a05a
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x41a05a
mov eax, dword [eax + 8]
push 0
push 0
push eax
push ecx
mov ecx, edi
call fcn.004198f0
mov ecx, dword [edi + 0x24]
mov edx, dword [esi + ecx]
mov dword [edx + 0x10], 1
mov eax, dword [edi + 0x24]
inc ebx
add ebp, 0x24
mov ecx, dword [esi + eax]
cmp ebx, dword [ecx + 0x1c]
jl 0x41a010
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x28]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x419ff9
mov eax, dword [esp + 0xd0]
test eax, eax
jle 0x41a0a2
mov edx, dword [0x6ed13c]
mov eax, dword [0x6ed0e8]
push 0x40
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, edi
call fcn.0041e680
lea ecx, [esp + 0x8c]
mov byte [esp + 0xdc], 3
call fcn.005f48f1
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 0
call fcn.005f6497
lea ecx, [esp + 0x20]
mov dword [esp + 0xdc], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd0
ret 4