Function at 0x41a690
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6145ac
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 [0x6f6360]
mov eax, dword [0x6f6190]
push 4
push ebx
push str.mzcc_ext_vers
push edx
mov dword [esp + 0x44], eax
call esi
mov ecx, dword [0x6f6360]
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.0041b360
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.0041aaf0
test eax, eax
je 0x41a7ec
mov ecx, dword [edi + 0x28]
xor esi, esi
cmp ecx, ebx
jle 0x41a7ec
mov edx, dword [edi + 0x24]
mov ebx, dword [esp + 0x18]
mov eax, edx
mov ebp, dword [eax]
cmp ebx, dword [ebp + 8]
je 0x41a763
inc esi
add eax, 4
cmp esi, ecx
jl 0x41a74f
jmp 0x41a7ec
mov eax, dword [edx + esi*4]
xor ebp, ebp
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x41a7ec
xor ebx, ebx
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x41a77d
lea ecx, [esp + 0x24]
mov edx, dword [eax + 0x18]
push ecx
mov eax, dword [edx + ebx]
push eax
call fcn.005e783c
add esp, 8
test eax, eax
je 0x41a7a2
mov eax, dword [edi + 0x24]
inc ebp
add ebx, 0x24
mov eax, dword [eax + esi*4]
cmp ebp, dword [eax + 0x1c]
jl 0x41a771
jmp 0x41a7ec
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 0x41a7ec
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.0041a290
test eax, eax
je 0x41a7ec
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + esi*4]
mov dword [ecx + 0x10], 1
cmp dword [esp + 0x18], 1
jne 0x41a813
mov eax, dword [0x6f634c]
test eax, eax
jne 0x41a813
mov edx, dword [0x6f6da8]
mov eax, dword [0x6f6d60]
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 0x41a88b
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 0x41a870
mov ebx, dword [eax + 0x1c]
xor ecx, ecx
test ebx, ebx
jle 0x41a870
mov eax, dword [eax + 0x18]
add eax, 0x20
cmp dword [eax - 8], 0
jne 0x41a868
cmp dword [eax], 0
je 0x41a85b
cmp dword [eax - 0x10], 0
je 0x41a868
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 0x41a84a
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x28]
inc edx
add ecx, 4
cmp edx, eax
mov dword [esp + 0x10], ecx
jl 0x41a82f
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41a897
mov ecx, edi
call fcn.0041e9b0
jmp 0x41aa6e
cmp eax, 1
jne 0x41a93c
mov ecx, dword [0x6f175c]
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 [0x6f6d5c]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.005fa6fb
mov edx, dword [0x6f6da8]
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 0x41a91f
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.0041a290
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx + ebp*4]
mov dword [edx + 0x10], 1
mov ecx, edi
call fcn.0041e9b0
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 0
call fcn.006018cc
jmp 0x41aa6e
push 0
push edi
lea ecx, [esp + 0x38]
call fcn.004360e0
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 2
call fcn.005fd8c6
cmp eax, 1
jne 0x41aa42
mov eax, dword [esp + 0xcc]
test eax, eax
jle 0x41a984
mov eax, dword [0x6f6da8]
mov ecx, dword [0x6f6d58]
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 0x41aa20
xor esi, esi
mov eax, dword [edi + 0x24]
mov ecx, dword [esi + eax]
cmp dword [ecx + 8], 1
jle 0x41aa09
mov edx, dword [ecx + 0x1c]
xor ebx, ebx
test edx, edx
jle 0x41aa09
xor ebp, ebp
mov edx, dword [esi + eax]
mov ecx, dword [edx + 0x18]
mov edx, dword [ecx + ebp + 0x18]
test edx, edx
jne 0x41a9fa
mov eax, dword [esi + eax]
mov edx, dword [eax + 0x18]
lea ecx, [edx + ebp]
mov edx, dword [edx + ebp + 0x20]
test edx, edx
je 0x41a9d6
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x41a9fa
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x41a9fa
mov eax, dword [eax + 8]
push 0
push 0
push eax
push ecx
mov ecx, edi
call fcn.0041a290
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 0x41a9b0
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x28]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41a999
mov eax, dword [esp + 0xd0]
test eax, eax
jle 0x41aa42
mov edx, dword [0x6f6da8]
mov eax, dword [0x6f6d54]
push 0x40
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, edi
call fcn.0041e9b0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xdc], 3
call fcn.005fb961
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 0
call fcn.005fd507
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