Function at 0x414210
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598f90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov edx, dword [0x6614e8]
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x20]
xor edi, edi
push eax
push ecx
push edi
push edi
push str.mzcc_ext_vers
push edx
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41426c
cmp dword [ebp - 0x20], 0x2d3
jae 0x41447f
mov ecx, dword [0x6614e8]
lea eax, [ebp - 0x20]
push 4
push eax
push 4
push edi
push str.mzcc_ext_vers
push ecx
mov dword [ebp - 0x20], 0x2d3
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x41447f
mov al, byte [esi + 0x5c]
test al, al
jne 0x41447f
mov ecx, esi
call fcn.00411ad0
mov edx, dword [0x65ca8c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00411570
cmp eax, edi
je 0x414403
mov eax, dword [ebp - 0x18]
xor ebx, ebx
cmp ebx, dword [esi + 0x28]
jge 0x414403
mov edx, dword [esi + 0x24]
mov ecx, dword [edx + ebx*4]
cmp eax, dword [ecx + 8]
jne 0x41445c
mov dword [ebp - 0x24], edi
mov edx, dword [esi + 0x24]
mov eax, dword [edx + ebx*4]
cmp edi, dword [eax + 0x1c]
jge 0x414403
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x14]
lea edi, [edi + edi*8]
push ecx
shl edi, 2
mov eax, dword [eax + edi]
push eax
call fcn.00573ec0
add esp, 8
test eax, eax
jne 0x41444e
mov edx, dword [esi + 0x24]
mov eax, dword [edx + ebx*4]
mov ecx, dword [eax + 0x18]
mov dword [ecx + edi + 0x18], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 1
jle 0x414403
mov edx, dword [esi + 0x24]
mov eax, dword [edx + ebx*4]
mov edx, dword [eax + 0x18]
lea eax, [edx + edi]
mov edx, dword [edx + edi + 8]
test edx, edx
je 0x414403
mov edx, dword [eax + 0x10]
test edx, edx
je 0x414403
mov eax, dword [0x65ca8c]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 2
push edx
push ecx
mov ecx, esi
call fcn.00411050
test eax, eax
jne 0x414388
push str.your
lea ecx, [ebp - 0x1c]
call fcn.00586cbc
mov eax, dword [0x65ca8c]
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x24]
mov byte [ebp - 4], 3
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx + 0x18]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax + edi + 4]
mov eax, dword [0x661b1c]
push ecx
push edx
lea ecx, [ebp - 0x24]
push eax
push ecx
call fcn.0057f8fb
mov edx, dword [0x661c28]
mov eax, dword [ebp - 0x24]
add esp, 0x10
push 0x24
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x4143eb
mov edx, dword [esi + 0x24]
mov ecx, dword [ebp - 0x18]
push 1
push ecx
mov eax, dword [edx + ebx*4]
mov ecx, dword [eax + 0x18]
add ecx, edi
push ecx
mov ecx, esi
call fcn.004140a0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00586b33
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00586b33
xor edi, edi
mov dword [ebp - 0x24], edi
cmp edi, dword [esi + 0x28]
jge 0x414465
mov edx, dword [esi + 0x24]
mov edx, dword [edx + edi*4]
cmp dword [edx + 8], 1
jle 0x414462
xor eax, eax
cmp eax, dword [edx + 0x1c]
jge 0x414462
mov ebx, dword [edx + 0x18]
lea ecx, [eax + eax*8]
lea ecx, [ebx + ecx*4]
mov ebx, dword [ecx + 0x18]
test ebx, ebx
jne 0x41444b
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x41444b
mov ebx, dword [ecx + 0x10]
test ebx, ebx
je 0x41444b
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edi
inc ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], ecx
inc eax
jmp 0x41441b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov edi, eax
jmp 0x4142ef
inc ebx
jmp 0x4142d4
inc edi
jmp 0x414408
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x414490
mov ecx, esi
call fcn.00413310
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00586b33
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x414521
mov edx, dword [0x65ca8c]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x24]
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov byte [ebp - 4], 4
mov eax, dword [eax + ebx*4]
lea edi, [edi + edi*8]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
shl edi, 2
mov edx, dword [ecx + edi + 4]
mov ecx, dword [0x661b1c]
push edx
push eax
lea edx, [ebp - 0x1c]
push ecx
push edx
call fcn.0057f8fb
mov eax, dword [0x661c28]
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
push 0x24
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x414509
mov edx, dword [esi + 0x24]
push 1
mov eax, dword [edx + ebx*4]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 8]
add edx, edi
push ecx
push edx
mov ecx, esi
call fcn.004140a0
mov ecx, esi
call fcn.00413310
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00586b33
jmp 0x414473
mov eax, dword [0x661c28]
mov ecx, dword [0x661b18]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push 0x24
push eax
push ecx
push 0
call edi
cmp eax, 6
jne 0x41446c
mov edx, dword [0x661c28]
mov eax, dword [0x661bd8]
push 0x40
push edx
push eax
push 0
call edi
xor ebx, ebx
cmp ebx, dword [esi + 0x28]
jge 0x41446c
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + ebx*4]
cmp dword [edx + 8], 1
jle 0x4145a9
xor edi, edi
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + ebx*4]
cmp edi, dword [ecx + 0x1c]
jge 0x4145a9
mov eax, dword [ecx + 0x18]
lea edx, [edi + edi*8]
lea eax, [eax + edx*4]
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x4145a6
mov edx, dword [eax + 8]
test edx, edx
je 0x4145a6
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4145a6
mov ecx, dword [ecx + 8]
push 0
push ecx
push eax
mov ecx, esi
call fcn.004140a0
inc edi
jmp 0x41456f
inc ebx
jmp 0x414558