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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616d50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov edx, dword [0x6d2354]
push edi
mov edi, ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x1c]
xor ebx, ebx
push eax
push ecx
push ebx
push ebx
push str.mzcc_ext_vers
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41f600
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x6d2178]
cmp eax, ecx
jae 0x41f81e
mov eax, dword [0x6d2354]
mov ecx, dword [0x6d2178]
lea edx, [ebp - 0x1c]
push 4
push edx
push 4
push ebx
push str.mzcc_ext_vers
push eax
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x41f81e
mov al, byte [edi + 0x64]
test al, al
jne 0x41f81e
mov ecx, edi
call fcn.0041b250
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x34], bx
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x38]
push ecx
push edx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0041a9e0
cmp eax, ebx
je 0x41f7a4
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x20], eax
cmp eax, dword [edi + 0x28]
jge 0x41f7a4
mov edx, dword [edi + 0x24]
mov edx, dword [edx + eax*4]
cmp ecx, dword [edx + 8]
jne 0x41f7f8
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + eax*4]
cmp ebx, dword [eax + 0x1c]
jge 0x41f7a4
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x41f69e
lea ecx, [ebp - 0x34]
mov edx, dword [eax + 0x18]
lea esi, [ebx + ebx*8]
shl esi, 2
push ecx
mov eax, dword [edx + esi]
push eax
call fcn.005e985c
add esp, 8
test eax, eax
jne 0x41f7ef
mov eax, dword [edi + 0x24]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ecx + 0x18]
mov dword [edx + esi + 0x18], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 1
jle 0x41f7a4
mov eax, dword [edi + 0x24]
mov edx, dword [eax + ebx*4]
mov eax, dword [edx + 0x18]
mov edx, dword [eax + esi + 8]
add eax, esi
test edx, edx
je 0x41f7a4
mov edx, dword [eax + 0x10]
test edx, edx
je 0x41f7a4
mov edx, dword [0x6cd768]
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push ecx
mov ecx, edi
call fcn.0041a4e0
test eax, eax
jne 0x41f728
push str.your
lea ecx, [ebp - 0x18]
call fcn.00603bc5
mov ecx, dword [0x6cd768]
mov dword [ebp - 0x20], ecx
mov edx, dword [edi + 0x24]
mov byte [ebp - 4], 3
mov eax, dword [edx + ebx*4]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx + esi + 4]
mov ecx, dword [0x6d2cc0]
push edx
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
call fcn.005fc86b
mov eax, dword [0x6d2dc8]
mov ecx, dword [ebp - 0x20]
add esp, 0x10
push 0x24
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x41f78c
mov eax, dword [edi + 0x24]
mov edx, dword [ebp - 0x14]
push 1
push edx
mov ecx, dword [eax + ebx*4]
mov edx, dword [ecx + 0x18]
mov ecx, edi
add edx, esi
push edx
call fcn.0041f3d0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00603a3c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00603a3c
xor esi, esi
mov dword [ebp - 0x20], esi
cmp esi, dword [edi + 0x28]
jge 0x41f804
mov eax, dword [edi + 0x24]
mov edx, dword [eax + esi*4]
cmp dword [edx + 8], 1
jle 0x41f801
xor eax, eax
cmp eax, dword [edx + 0x1c]
jge 0x41f801
mov ebx, dword [edx + 0x18]
lea ecx, [eax + eax*8]
lea ecx, [ebx + ecx*4]
mov ebx, dword [ecx + 0x18]
test ebx, ebx
jne 0x41f7ec
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x41f7ec
mov ebx, dword [ecx + 0x10]
test ebx, ebx
je 0x41f7ec
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], esi
inc ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], ecx
inc eax
jmp 0x41f7bc
mov eax, dword [ebp - 0x20]
inc ebx
jmp 0x41f685
inc eax
mov dword [ebp - 0x20], eax
jmp 0x41f66d
inc esi
jmp 0x41f7a9
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41f82f
mov ecx, edi
call fcn.0041e8a0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00401070
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 0x41f8c0
mov edx, dword [0x6cd768]
mov dword [ebp - 0x18], edx
mov eax, dword [edi + 0x24]
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
mov eax, dword [eax + ebx*4]
lea esi, [esi + esi*8]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
shl esi, 2
mov edx, dword [ecx + esi + 4]
mov ecx, dword [0x6d2cc0]
push edx
push eax
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.005fc86b
mov eax, dword [0x6d2dc8]
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push 0x24
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x41f8a8
mov edx, dword [edi + 0x24]
push 1
mov eax, dword [edx + ebx*4]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 8]
add edx, esi
push ecx
push edx
mov ecx, edi
call fcn.0041f3d0
mov ecx, edi
call fcn.0041e8a0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00603a3c
jmp 0x41f812
mov eax, dword [0x6d2dc8]
mov ecx, dword [0x6d2cbc]
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push 0x24
push eax
push ecx
push 0
call esi
cmp eax, 6
jne 0x41f80b
mov edx, dword [0x6d2dc8]
mov eax, dword [0x6d2d78]
push 0x40
push edx
push eax
push 0
call esi
xor ebx, ebx
cmp ebx, dword [edi + 0x28]
jge 0x41f80b
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx + ebx*4]
cmp dword [edx + 8], 1
jle 0x41f948
xor esi, esi
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + ebx*4]
cmp esi, dword [ecx + 0x1c]
jge 0x41f948
mov eax, dword [ecx + 0x18]
lea edx, [esi + esi*8]
lea eax, [eax + edx*4]
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x41f945
mov edx, dword [eax + 8]
test edx, edx
je 0x41f945
mov edx, dword [eax + 0x10]
test edx, edx
je 0x41f945
mov ecx, dword [ecx + 8]
push 0
push ecx
push eax
mov ecx, edi
call fcn.0041f3d0
inc esi
jmp 0x41f90e
inc ebx
jmp 0x41f8f7