Function at 0x41a5a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x61580c
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 [0x6d12f4]
mov eax, dword [0x6d1118]
push 4
push ebx
push str.mzcc_ext_vers
push edx
mov dword [esp + 0x44], eax
call esi
mov ecx, dword [0x6d12f4]
lea eax, [esp + 0x1c]
push 4
push eax
push 4
push ebx
push str.intAOFRWE
push ecx
mov dword [esp + 0x34], 1
call esi
mov ecx, edi
call fcn.0041b270
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.0041aa00
test eax, eax
je 0x41a6fc
mov ecx, dword [edi + 0x28]
xor esi, esi
cmp ecx, ebx
jle 0x41a6fc
mov edx, dword [edi + 0x24]
mov ebx, dword [esp + 0x18]
mov eax, edx
mov ebp, dword [eax]
cmp ebx, dword [ebp + 8]
je 0x41a673
inc esi
add eax, 4
cmp esi, ecx
jl 0x41a65f
jmp 0x41a6fc
mov eax, dword [edx + esi*4]
xor ebp, ebp
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x41a6fc
xor ebx, ebx
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x41a68d
lea ecx, [esp + 0x24]
mov edx, dword [eax + 0x18]
push ecx
mov eax, dword [edx + ebx]
push eax
call fcn.005e8a3c
add esp, 8
test eax, eax
je 0x41a6b2
mov eax, dword [edi + 0x24]
inc ebp
add ebx, 0x24
mov eax, dword [eax + esi*4]
cmp ebp, dword [eax + 0x1c]
jl 0x41a681
jmp 0x41a6fc
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 0x41a6fc
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.0041a1a0
test eax, eax
je 0x41a6fc
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + esi*4]
mov dword [ecx + 0x10], 1
cmp dword [esp + 0x18], 1
jne 0x41a723
mov eax, dword [0x6d12e0]
test eax, eax
jne 0x41a723
mov edx, dword [0x6d1d60]
mov eax, dword [0x6d1d18]
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 0x41a79b
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 0x41a780
mov ebx, dword [eax + 0x1c]
xor ecx, ecx
test ebx, ebx
jle 0x41a780
mov eax, dword [eax + 0x18]
add eax, 0x20
cmp dword [eax - 8], 0
jne 0x41a778
cmp dword [eax], 0
je 0x41a76b
cmp dword [eax - 0x10], 0
je 0x41a778
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 0x41a75a
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x28]
inc edx
add ecx, 4
cmp edx, eax
mov dword [esp + 0x10], ecx
jl 0x41a73f
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41a7a7
mov ecx, edi
call fcn.0041e8c0
jmp 0x41a97e
cmp eax, 1
jne 0x41a84c
mov ecx, dword [0x6cc708]
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 [0x6d1d14]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.005fb90b
mov edx, dword [0x6d1d60]
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 0x41a82f
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.0041a1a0
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx + ebp*4]
mov dword [edx + 0x10], 1
mov ecx, edi
call fcn.0041e8c0
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 0
call fcn.00602ad6
jmp 0x41a97e
push 0
push edi
lea ecx, [esp + 0x38]
call fcn.004360c0
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 2
call fcn.005fead6
cmp eax, 1
jne 0x41a952
mov eax, dword [esp + 0xcc]
test eax, eax
jle 0x41a894
mov eax, dword [0x6d1d60]
mov ecx, dword [0x6d1d10]
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 0x41a930
xor esi, esi
mov eax, dword [edi + 0x24]
mov ecx, dword [esi + eax]
cmp dword [ecx + 8], 1
jle 0x41a919
mov edx, dword [ecx + 0x1c]
xor ebx, ebx
test edx, edx
jle 0x41a919
xor ebp, ebp
mov edx, dword [esi + eax]
mov ecx, dword [edx + 0x18]
mov edx, dword [ecx + ebp + 0x18]
test edx, edx
jne 0x41a90a
mov eax, dword [esi + eax]
mov edx, dword [eax + 0x18]
lea ecx, [edx + ebp]
mov edx, dword [edx + ebp + 0x20]
test edx, edx
je 0x41a8e6
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x41a90a
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x41a90a
mov eax, dword [eax + 8]
push 0
push 0
push eax
push ecx
mov ecx, edi
call fcn.0041a1a0
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 0x41a8c0
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x28]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41a8a9
mov eax, dword [esp + 0xd0]
test eax, eax
jle 0x41a952
mov edx, dword [0x6d1d60]
mov eax, dword [0x6d1d0c]
push 0x40
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, edi
call fcn.0041e8c0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xdc], 3
call fcn.005fcb71
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 0
call fcn.005fe717
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