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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ab20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov edx, dword [0x663680]
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 0x4142bc
cmp dword [ebp - 0x20], 0x2d6
jae 0x4144cf
mov ecx, dword [0x663680]
lea eax, [ebp - 0x20]
push 4
push eax
push 4
push edi
push str.mzcc_ext_vers
push ecx
mov dword [ebp - 0x20], 0x2d6
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4144cf
mov al, byte [esi + 0x5c]
test al, al
jne 0x4144cf
mov ecx, esi
call fcn.00411b20
mov edx, dword [0x65ec1c]
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.004115c0
cmp eax, edi
je 0x414453
mov eax, dword [ebp - 0x18]
xor ebx, ebx
cmp ebx, dword [esi + 0x28]
jge 0x414453
mov edx, dword [esi + 0x24]
mov ecx, dword [edx + ebx*4]
cmp eax, dword [ecx + 8]
jne 0x4144ac
mov dword [ebp - 0x24], edi
mov edx, dword [esi + 0x24]
mov eax, dword [edx + ebx*4]
cmp edi, dword [eax + 0x1c]
jge 0x414453
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.00575a20
add esp, 8
test eax, eax
jne 0x41449e
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 0x414453
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 0x414453
mov edx, dword [eax + 0x10]
test edx, edx
je 0x414453
mov eax, dword [0x65ec1c]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 2
push edx
push ecx
mov ecx, esi
call fcn.004110a0
test eax, eax
jne 0x4143d8
push str.your
lea ecx, [ebp - 0x1c]
call fcn.00588849
mov eax, dword [0x65ec1c]
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 [0x663cb4]
push ecx
push edx
lea ecx, [ebp - 0x24]
push eax
push ecx
call fcn.0058148b
mov edx, dword [0x663dc0]
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 0x41443b
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.004140f0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.005886c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005886c0
xor edi, edi
mov dword [ebp - 0x24], edi
cmp edi, dword [esi + 0x28]
jge 0x4144b5
mov edx, dword [esi + 0x24]
mov edx, dword [edx + edi*4]
cmp dword [edx + 8], 1
jle 0x4144b2
xor eax, eax
cmp eax, dword [edx + 0x1c]
jge 0x4144b2
mov ebx, dword [edx + 0x18]
lea ecx, [eax + eax*8]
lea ecx, [ebx + ecx*4]
mov ebx, dword [ecx + 0x18]
test ebx, ebx
jne 0x41449b
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x41449b
mov ebx, dword [ecx + 0x10]
test ebx, ebx
je 0x41449b
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 0x41446b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov edi, eax
jmp 0x41433f
inc ebx
jmp 0x414324
inc edi
jmp 0x414458
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4144e0
mov ecx, esi
call fcn.00413360
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005886c0
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 0x414571
mov edx, dword [0x65ec1c]
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 [0x663cb4]
push edx
push eax
lea edx, [ebp - 0x1c]
push ecx
push edx
call fcn.0058148b
mov eax, dword [0x663dc0]
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 0x414559
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.004140f0
mov ecx, esi
call fcn.00413360
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005886c0
jmp 0x4144c3
mov eax, dword [0x663dc0]
mov ecx, dword [0x663cb0]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push 0x24
push eax
push ecx
push 0
call edi
cmp eax, 6
jne 0x4144bc
mov edx, dword [0x663dc0]
mov eax, dword [0x663d70]
push 0x40
push edx
push eax
push 0
call edi
xor ebx, ebx
cmp ebx, dword [esi + 0x28]
jge 0x4144bc
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + ebx*4]
cmp dword [edx + 8], 1
jle 0x4145f9
xor edi, edi
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + ebx*4]
cmp edi, dword [ecx + 0x1c]
jge 0x4145f9
mov eax, dword [ecx + 0x18]
lea edx, [edi + edi*8]
lea eax, [eax + edx*4]
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x4145f6
mov edx, dword [eax + 8]
test edx, edx
je 0x4145f6
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4145f6
mov ecx, dword [ecx + 8]
push 0
push ecx
push eax
mov ecx, esi
call fcn.004140f0
inc edi
jmp 0x4145bf
inc ebx
jmp 0x4145a8