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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641530
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x34], edi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x60], 4
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push esi
push esi
push str.mzcc_ext_vers
mov edx, dword [0x75abd8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41f491
mov eax, dword [ebp - 0x3c]
cmp eax, dword [0x75ab90]
jae 0x41f4b8
mov ecx, dword [0x75ab90]
mov dword [ebp - 0x3c], ecx
push 4
lea edx, [ebp - 0x3c]
push edx
push 4
push esi
push str.mzcc_ext_vers
mov eax, dword [0x75abd8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x41f4c0
mov dword [ebp - 0x48], esi
jmp 0x41f753
cmp byte [edi + 0x64], 0
jne 0x41f753
mov ecx, edi
call fcn.0041ee70
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
xor ecx, ecx
mov word [ebp - 0x1c], cx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.004177b0
test eax, eax
je 0x41f692
mov dword [ebp - 0x54], esi
cmp esi, dword [edi + 0x28]
jge 0x41f692
lea ebx, [edi + 0x20]
push esi
mov ecx, ebx
call fcn.004114c0
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ecx + 8]
jne 0x41f72a
xor edi, edi
mov dword [ebp - 0x5c], edi
push esi
mov ecx, ebx
call fcn.004114c0
mov eax, dword [eax]
add eax, 0x14
cmp edi, dword [eax + 8]
jge 0x41f68f
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41f545
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
push esi
mov ecx, ebx
call fcn.004114c0
push edi
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
push ecx
push eax
call fcn.0062280a
add esp, 8
test eax, eax
jne 0x41f724
push esi
mov ecx, ebx
call fcn.004114c0
push edi
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
mov ecx, 1
mov dword [eax + 0x18], ecx
cmp dword [ebp - 0x2c], ecx
jle 0x41f68f
push esi
mov ecx, ebx
call fcn.004114c0
push edi
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 8], 0
je 0x41f68f
push esi
mov ecx, ebx
call fcn.004114c0
push edi
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 0x10], 0
je 0x41f68f
lea ecx, [ebp - 0x24]
call fcn.00402500
mov byte [ebp - 4], 2
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00417750
test eax, eax
jne 0x41f5fd
push str.your
lea ecx, [ebp - 0x24]
call fcn.0054e080
lea ecx, [ebp - 0x28]
call fcn.00402500
mov byte [ebp - 4], 3
mov ecx, dword [0x75c3d0]
mov dword [ebp - 0x30], ecx
push esi
mov ecx, ebx
call fcn.004114c0
push edi
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
mov edx, dword [eax + 4]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00402f70
push 0x24
mov eax, dword [0x75c2c8]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push 0
call fcn.00472580
add esp, 0x20
cmp eax, 6
jne 0x41f677
push esi
mov ecx, ebx
call fcn.004114c0
push 1
mov edx, dword [ebp - 0x2c]
push edx
push edi
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0041b340
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00402570
mov edi, dword [ebp - 0x34]
xor esi, esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], esi
cmp esi, dword [edi + 0x28]
jge 0x41f739
lea ebx, [edi + 0x20]
push esi
mov ecx, ebx
call fcn.004114c0
mov eax, dword [eax]
cmp dword [eax + 8], 1
jle 0x41f733
xor edi, edi
mov dword [ebp - 0x4c], edi
push esi
mov ecx, ebx
call fcn.004114c0
mov eax, dword [eax]
add eax, 0x14
cmp edi, dword [eax + 8]
jge 0x41f730
push esi
mov ecx, ebx
call fcn.004114c0
push edi
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 0x18], 0
jne 0x41f721
push esi
mov ecx, ebx
call fcn.004114c0
push edi
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 8], 0
je 0x41f721
push esi
mov ecx, ebx
call fcn.004114c0
push edi
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 0x10], 0
je 0x41f721
inc dword [ebp - 0x38]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x44], edi
inc edi
jmp 0x41f6b8
inc edi
jmp 0x41f522
inc esi
jmp 0x41f4fb
mov edi, dword [ebp - 0x34]
inc esi
jmp 0x41f697
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x41f76f
mov ecx, edi
call fcn.00417c70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061d2ff
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x41f83c
lea ecx, [ebp - 0x24]
call fcn.00402500
mov byte [ebp - 4], 4
mov ecx, dword [0x75c3d0]
mov dword [ebp - 0x2c], ecx
lea esi, [edi + 0x20]
mov ebx, dword [ebp - 0x50]
push ebx
mov ecx, esi
call fcn.004114c0
mov dword [ebp - 0x30], eax
push ebx
mov ecx, esi
call fcn.004114c0
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.00402f70
push 0x24
mov ecx, dword [0x75c2c8]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0
call fcn.00472580
add esp, 0x20
cmp eax, 6
jne 0x41f824
push ebx
mov ecx, esi
call fcn.004114c0
mov dword [ebp - 0x30], eax
push ebx
mov ecx, esi
call fcn.004114c0
push 1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov ecx, dword [edx + 8]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
push eax
mov ecx, edi
call fcn.0041b340
mov ecx, edi
call fcn.00417c70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00402570
jmp 0x41f747
push 0x24
mov eax, dword [0x75c2c8]
push eax
mov ecx, dword [0x75c3d4]
push ecx
push 0
call fcn.00472580
add esp, 0x10
cmp eax, 6
jne 0x41f740
push 0x40
mov edx, dword [0x75c2c8]
push edx
mov eax, dword [0x75c318]
push eax
push 0
call fcn.00472580
add esp, 0x10
xor esi, esi
mov dword [ebp - 0x40], esi
cmp esi, dword [edi + 0x28]
jge 0x41f943
add edi, 0x20
push esi
mov ecx, edi
call fcn.004114c0
mov ecx, dword [eax]
cmp dword [ecx + 8], 1
jle 0x41f93a
xor ebx, ebx
mov dword [ebp - 0x58], ebx
push esi
mov ecx, edi
call fcn.004114c0
mov eax, dword [eax]
add eax, 0x14
cmp ebx, dword [eax + 8]
jge 0x41f93a
push esi
mov ecx, edi
call fcn.004114c0
push ebx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 0x18], 0
jne 0x41f934
push esi
mov ecx, edi
call fcn.004114c0
push ebx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 8], 0
je 0x41f934
push esi
mov ecx, edi
call fcn.004114c0
push ebx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 0x10], 0
je 0x41f934
push esi
mov ecx, edi
call fcn.004114c0
mov dword [ebp - 0x30], eax
push esi
mov ecx, edi
call fcn.004114c0
push 0
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx]
mov edx, dword [ecx + 8]
push edx
push ebx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0041b340
inc ebx
jmp 0x41f89e
inc esi
mov edi, dword [ebp - 0x34]
jmp 0x41f879
mov ecx, edi
call fcn.00417c70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
jmp 0x41f753