Function at 0x4127d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b2d4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, ecx
lea eax, [esp + 0x2c]
push 4
push eax
xor ebx, ebx
mov byte [esi + 0x5c], 1
mov ecx, dword [0x6825d4]
push 4
push ebx
push str.mzcc_ext_vers
push ecx
mov dword [esp + 0x44], 0x2df
call edi
mov eax, dword [0x6825d4]
lea edx, [esp + 0x1c]
push 4
push edx
push 4
push ebx
push str.intAOFRWE
push eax
mov dword [esp + 0x34], 1
call edi
mov ecx, esi
call fcn.00413690
mov byte [esi + 0x5d], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], bx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0xe4], ebx
call fcn.00412c60
test eax, eax
je 0x41292a
mov ecx, dword [esi + 0x28]
xor edi, edi
cmp ecx, ebx
jle 0x41292a
mov edx, dword [esi + 0x24]
mov ebx, dword [esp + 0x18]
mov eax, edx
mov ebp, dword [eax]
cmp ebx, dword [ebp + 8]
je 0x4128a1
inc edi
add eax, 4
cmp edi, ecx
jl 0x41288d
jmp 0x41292a
mov eax, dword [edx + edi*4]
xor ebp, ebp
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x41292a
xor ebx, ebx
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x4128bb
lea ecx, [esp + 0x24]
mov eax, dword [eax + 0x18]
push ecx
mov eax, dword [eax + ebx]
push eax
call fcn.00586dec
add esp, 8
test eax, eax
je 0x4128e0
mov ecx, dword [esi + 0x24]
inc ebp
add ebx, 0x24
mov eax, dword [ecx + edi*4]
cmp ebp, dword [eax + 0x1c]
jl 0x4128af
jmp 0x41292a
mov edx, dword [esi + 0x24]
lea eax, [ebp + ebp*8]
shl eax, 2
mov ecx, dword [edx + edi*4]
mov edx, dword [ecx + 0x18]
mov dword [edx + eax + 0x18], 1
mov ecx, dword [esp + 0x18]
cmp ecx, 1
jle 0x41292a
push 1
push 1
push ecx
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + edi*4]
mov ecx, dword [edx + 0x18]
add ecx, eax
push ecx
mov ecx, esi
call fcn.004123f0
test eax, eax
je 0x41292a
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi*4]
mov dword [eax + 0x10], 1
cmp dword [esp + 0x18], 1
jne 0x412949
mov ecx, dword [0x682d68]
mov edx, dword [0x682d20]
push 0x40
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, byte [esi + 0x5e]
test al, al
je 0x41297b
mov al, byte [esi + 0x5d]
test al, al
jne 0x41297b
push 0
mov ecx, esi
call fcn.00415470
test eax, eax
je 0x41297b
mov eax, dword [0x682d68]
mov ecx, dword [0x682d34]
push 0x40
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esi + 0x28]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x14], edx
jle 0x4129f3
mov eax, dword [esi + 0x24]
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
cmp dword [eax + 8], 1
jle 0x4129d8
mov ebx, dword [eax + 0x1c]
xor ecx, ecx
test ebx, ebx
jle 0x4129d8
mov eax, dword [eax + 0x18]
add eax, 0x20
cmp dword [eax - 8], 0
jne 0x4129d0
cmp dword [eax], 0
je 0x4129c3
cmp dword [eax - 0x10], 0
je 0x4129d0
mov edi, dword [esp + 0x14]
mov ebp, edx
inc edi
mov dword [esp + 0x14], edi
mov edi, ecx
inc ecx
add eax, 0x24
cmp ecx, ebx
jl 0x4129b2
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x28]
inc edx
add ecx, 4
cmp edx, eax
mov dword [esp + 0x10], ecx
jl 0x412997
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4129ff
mov ecx, esi
call fcn.00416030
jmp 0x412bd4
cmp eax, 1
jne 0x412aa4
mov edx, dword [0x67da2c]
mov dword [esp + 0x10], edx
mov byte [esp + 0xdc], al
mov eax, dword [esi + 0x24]
lea edi, [edi + edi*8]
mov eax, dword [eax + ebp*4]
shl edi, 2
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
mov edx, dword [ecx + edi + 4]
mov ecx, dword [0x682d1c]
push edx
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00599a28
mov eax, dword [0x682d68]
mov ecx, dword [esp + 0x20]
add esp, 0x10
push 0x24
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x412a87
mov edx, dword [esi + 0x24]
push 0
push 1
mov eax, dword [edx + ebp*4]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 8]
add edx, edi
push ecx
push edx
mov ecx, esi
call fcn.004123f0
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + ebp*4]
mov dword [ecx + 0x10], 1
mov ecx, esi
call fcn.00416030
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 0
call fcn.005a0c5d
jmp 0x412bd4
push 0
push esi
lea ecx, [esp + 0x38]
call fcn.00429580
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 2
call fcn.0059cbf3
cmp eax, 1
jne 0x412ba8
mov eax, dword [esp + 0xcc]
test eax, eax
jle 0x412aec
mov edx, dword [0x682d68]
mov eax, dword [0x682d18]
push 0x40
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esi + 0x28]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x412b86
xor edi, edi
mov eax, dword [esi + 0x24]
mov ecx, dword [edi + eax]
cmp dword [ecx + 8], 1
jle 0x412b6f
mov edx, dword [ecx + 0x1c]
xor ebx, ebx
test edx, edx
jle 0x412b6f
xor ebp, ebp
mov ecx, dword [edi + eax]
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx + ebp + 0x18]
test ecx, ecx
jne 0x412b60
mov eax, dword [edi + eax]
mov ecx, dword [eax + 0x18]
add ecx, ebp
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x412b3c
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x412b60
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x412b60
mov edx, dword [eax + 8]
push 0
push 0
push edx
push ecx
mov ecx, esi
call fcn.004123f0
mov eax, dword [esi + 0x24]
mov ecx, dword [edi + eax]
mov dword [ecx + 0x10], 1
mov eax, dword [esi + 0x24]
inc ebx
add ebp, 0x24
mov edx, dword [edi + eax]
cmp ebx, dword [edx + 0x1c]
jl 0x412b18
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x28]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x412b01
mov eax, dword [esp + 0xd0]
test eax, eax
jle 0x412ba8
mov eax, dword [0x682d68]
mov ecx, dword [0x682d14]
push 0x40
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, esi
call fcn.00416030
lea ecx, [esp + 0x8c]
mov byte [esp + 0xdc], 3
call fcn.0059ac8e
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 0
call fcn.0059c834
lea ecx, [esp + 0x20]
mov dword [esp + 0xdc], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd0
ret 4