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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x639950
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x74d890]
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 [0x752bcc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41efe1
mov eax, dword [ebp - 0x3c]
cmp eax, dword [0x752b88]
jae 0x41f008
mov ecx, dword [0x752b88]
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 [0x752bcc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x41f010
mov dword [ebp - 0x48], esi
jmp 0x41f2a3
cmp byte [edi + 0x64], 0
jne 0x41f2a3
mov ecx, edi
call fcn.0041e9c0
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.004136b0
test eax, eax
je 0x41f1e2
mov dword [ebp - 0x54], esi
cmp esi, dword [edi + 0x28]
jge 0x41f1e2
lea ebx, [edi + 0x20]
push esi
mov ecx, ebx
call fcn.00450050
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ecx + 8]
jne 0x41f27a
xor edi, edi
mov dword [ebp - 0x5c], edi
push esi
mov ecx, ebx
call fcn.00450050
mov eax, dword [eax]
add eax, 0x14
cmp edi, dword [eax + 8]
jge 0x41f1df
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41f095
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
push esi
mov ecx, ebx
call fcn.00450050
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.0061acda
add esp, 8
test eax, eax
jne 0x41f274
push esi
mov ecx, ebx
call fcn.00450050
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 0x41f1df
push esi
mov ecx, ebx
call fcn.00450050
push edi
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 8], 0
je 0x41f1df
push esi
mov ecx, ebx
call fcn.00450050
push edi
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 0x10], 0
je 0x41f1df
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.00417540
test eax, eax
jne 0x41f14d
push str.your
lea ecx, [ebp - 0x24]
call fcn.00546c40
lea ecx, [ebp - 0x28]
call fcn.00402500
mov byte [ebp - 4], 3
mov ecx, dword [0x7543b8]
mov dword [ebp - 0x30], ecx
push esi
mov ecx, ebx
call fcn.00450050
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 [0x7542b0]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push 0
call fcn.0046f2a0
add esp, 0x20
cmp eax, 6
jne 0x41f1c7
push esi
mov ecx, ebx
call fcn.00450050
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.0041add0
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 0x41f289
lea ebx, [edi + 0x20]
push esi
mov ecx, ebx
call fcn.00450050
mov eax, dword [eax]
cmp dword [eax + 8], 1
jle 0x41f283
xor edi, edi
mov dword [ebp - 0x4c], edi
push esi
mov ecx, ebx
call fcn.00450050
mov eax, dword [eax]
add eax, 0x14
cmp edi, dword [eax + 8]
jge 0x41f280
push esi
mov ecx, ebx
call fcn.00450050
push edi
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 0x18], 0
jne 0x41f271
push esi
mov ecx, ebx
call fcn.00450050
push edi
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 8], 0
je 0x41f271
push esi
mov ecx, ebx
call fcn.00450050
push edi
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 0x10], 0
je 0x41f271
inc dword [ebp - 0x38]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x44], edi
inc edi
jmp 0x41f208
inc edi
jmp 0x41f072
inc esi
jmp 0x41f04b
mov edi, dword [ebp - 0x34]
inc esi
jmp 0x41f1e7
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x41f2bf
mov ecx, edi
call fcn.00417700
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.006157d3
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x41f38c
lea ecx, [ebp - 0x24]
call fcn.00402500
mov byte [ebp - 4], 4
mov ecx, dword [0x7543b8]
mov dword [ebp - 0x2c], ecx
lea esi, [edi + 0x20]
mov ebx, dword [ebp - 0x50]
push ebx
mov ecx, esi
call fcn.00450050
mov dword [ebp - 0x30], eax
push ebx
mov ecx, esi
call fcn.00450050
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 [0x7542b0]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0
call fcn.0046f2a0
add esp, 0x20
cmp eax, 6
jne 0x41f374
push ebx
mov ecx, esi
call fcn.00450050
mov dword [ebp - 0x30], eax
push ebx
mov ecx, esi
call fcn.00450050
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.0041add0
mov ecx, edi
call fcn.00417700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00402570
jmp 0x41f297
push 0x24
mov eax, dword [0x7542b0]
push eax
mov ecx, dword [0x7543bc]
push ecx
push 0
call fcn.0046f2a0
add esp, 0x10
cmp eax, 6
jne 0x41f290
push 0x40
mov edx, dword [0x7542b0]
push edx
mov eax, dword [0x754300]
push eax
push 0
call fcn.0046f2a0
add esp, 0x10
xor esi, esi
mov dword [ebp - 0x40], esi
cmp esi, dword [edi + 0x28]
jge 0x41f493
add edi, 0x20
push esi
mov ecx, edi
call fcn.00450050
mov ecx, dword [eax]
cmp dword [ecx + 8], 1
jle 0x41f48a
xor ebx, ebx
mov dword [ebp - 0x58], ebx
push esi
mov ecx, edi
call fcn.00450050
mov eax, dword [eax]
add eax, 0x14
cmp ebx, dword [eax + 8]
jge 0x41f48a
push esi
mov ecx, edi
call fcn.00450050
push ebx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 0x18], 0
jne 0x41f484
push esi
mov ecx, edi
call fcn.00450050
push ebx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 8], 0
je 0x41f484
push esi
mov ecx, edi
call fcn.00450050
push ebx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.0040d110
cmp dword [eax + 0x10], 0
je 0x41f484
push esi
mov ecx, edi
call fcn.00450050
mov dword [ebp - 0x30], eax
push esi
mov ecx, edi
call fcn.00450050
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.0041add0
inc ebx
jmp 0x41f3ee
inc esi
mov edi, dword [ebp - 0x34]
jmp 0x41f3c9
mov ecx, edi
call fcn.00417700
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
jmp 0x41f2a3