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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5543d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov edx, dword [0x5c74b0]
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 0x411b29
cmp dword [ebp - 0x20], 0x3a
jae 0x411d3c
mov ecx, dword [0x5c74b0]
lea eax, [ebp - 0x20]
push 4
push eax
push 4
push edi
push str.mzcc_ext_vers
push ecx
mov dword [ebp - 0x20], 0x3a
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x411d3c
mov al, byte [esi + 0x64]
test al, al
jne 0x411d3c
mov ecx, esi
call fcn.0040ef70
mov edx, dword [0x5c2a74]
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.0040ea50
cmp eax, edi
je 0x411cc0
mov eax, dword [ebp - 0x18]
xor ebx, ebx
cmp ebx, dword [esi + 0x28]
jge 0x411cc0
mov edx, dword [esi + 0x24]
mov ecx, dword [edx + ebx*4]
cmp eax, dword [ecx + 8]
jne 0x411d19
mov dword [ebp - 0x24], edi
mov edx, dword [esi + 0x24]
mov eax, dword [edx + ebx*4]
cmp edi, dword [eax + 0x1c]
jge 0x411cc0
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.0052f680
add esp, 8
test eax, eax
jne 0x411d0b
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 0x411cc0
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 0x411cc0
mov edx, dword [eax + 0x10]
test edx, edx
je 0x411cc0
mov eax, dword [0x5c2a74]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 2
push edx
push ecx
mov ecx, esi
call fcn.0040e530
test eax, eax
jne 0x411c45
push str.your
lea ecx, [ebp - 0x1c]
call fcn.00542347
mov eax, dword [0x5c2a74]
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 [0x5c78fc]
push ecx
push edx
lea ecx, [ebp - 0x24]
push eax
push ecx
call fcn.0053afda
mov edx, dword [0x5c7a08]
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 0x411ca8
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.00411960
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.005421be
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005421be
xor edi, edi
mov dword [ebp - 0x24], edi
cmp edi, dword [esi + 0x28]
jge 0x411d22
mov edx, dword [esi + 0x24]
mov edx, dword [edx + edi*4]
cmp dword [edx + 8], 1
jle 0x411d1f
xor eax, eax
cmp eax, dword [edx + 0x1c]
jge 0x411d1f
mov ebx, dword [edx + 0x18]
lea ecx, [eax + eax*8]
lea ecx, [ebx + ecx*4]
mov ebx, dword [ecx + 0x18]
test ebx, ebx
jne 0x411d08
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x411d08
mov ebx, dword [ecx + 0x10]
test ebx, ebx
je 0x411d08
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 0x411cd8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov edi, eax
jmp 0x411bac
inc ebx
jmp 0x411b91
inc edi
jmp 0x411cc5
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x411d4d
mov ecx, esi
call fcn.00410960
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005421be
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 0x411dde
mov edx, dword [0x5c2a74]
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 [0x5c78fc]
push edx
push eax
lea edx, [ebp - 0x1c]
push ecx
push edx
call fcn.0053afda
mov eax, dword [0x5c7a08]
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 0x411dc6
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.00411960
mov ecx, esi
call fcn.00410960
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005421be
jmp 0x411d30
mov eax, dword [0x5c7a08]
mov ecx, dword [0x5c78f8]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push 0x24
push eax
push ecx
push 0
call edi
cmp eax, 6
jne 0x411d29
mov edx, dword [0x5c7a08]
mov eax, dword [0x5c79b8]
push 0x40
push edx
push eax
push 0
call edi
xor ebx, ebx
cmp ebx, dword [esi + 0x28]
jge 0x411d29
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + ebx*4]
cmp dword [edx + 8], 1
jle 0x411e66
xor edi, edi
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + ebx*4]
cmp edi, dword [ecx + 0x1c]
jge 0x411e66
mov eax, dword [ecx + 0x18]
lea edx, [edi + edi*8]
lea eax, [eax + edx*4]
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x411e63
mov edx, dword [eax + 8]
test edx, edx
je 0x411e63
mov edx, dword [eax + 0x10]
test edx, edx
je 0x411e63
mov ecx, dword [ecx + 8]
push 0
push ecx
push eax
mov ecx, esi
call fcn.00411960
inc edi
jmp 0x411e2c
inc ebx
jmp 0x411e15