Function at 0x41f480
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x644472
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov esi, ecx
lea ecx, [esp + 0x24]
push ecx
push 4
xor ebp, ebp
push ebp
mov byte [esi + 0x64], 1
mov edx, dword [0x75dbe4]
mov eax, dword [0x75db98]
push str.mzcc_ext_vers
push edx
mov dword [esp + 0x38], eax
call edi
mov ecx, dword [0x75dbe4]
push 4
lea eax, [esp + 0x28]
push eax
push 4
push ebp
push str.intAOFRWE
push ecx
mov dword [esp + 0x3c], 1
call edi
mov ecx, esi
call fcn.0041e980
xor edx, edx
mov byte [esi + 0x65], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0xfc], ebp
mov dword [esp + 0x104], ebp
mov word [esp + 0x100], dx
mov dword [esp + 0x114], ebp
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x100]
push ecx
mov ecx, esi
call fcn.00417190
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x41f588
xor ebx, ebx
cmp dword [esi + 0x28], ebp
jle 0x41f588
lea edi, [esi + 0x20]
mov edi, edi
cmp ebx, ebp
jl 0x41f7a9
cmp ebx, dword [edi + 8]
jge 0x41f7a9
mov edx, dword [edi + 4]
lea eax, [edx + ebx*4]
mov eax, dword [eax]
cmp ecx, dword [eax + 8]
je 0x41f698
inc ebx
cmp ebx, dword [esi + 0x28]
jl 0x41f560
cmp dword [esp + 0x14], 1
jne 0x41f5b1
cmp dword [0x75dbcc], 0
jne 0x41f5b1
mov eax, dword [0x75f308]
mov ecx, dword [0x75f350]
push 0x40
push eax
push ecx
push 0
call fcn.00472fb0
add esp, 0x10
xor ebx, ebx
cmp dword [esi + 0x28], ebx
mov dword [esp + 0x18], ebx
jle 0x41f7c0
mov ebp, dword [esp + 0x14]
test ebx, ebx
jl 0x41f7a9
cmp ebx, dword [esi + 0x28]
jge 0x41f7a9
mov eax, dword [esi + 0x24]
lea edx, [ebx*4]
add eax, edx
mov eax, dword [eax]
cmp dword [eax + 8], 1
jle 0x41f7ae
xor ecx, ecx
xor edi, edi
cmp ebx, dword [esi + 0x28]
jge 0x41f7a9
mov eax, dword [esi + 0x24]
add eax, edx
mov eax, dword [eax]
cmp ecx, dword [eax + 0x1c]
jge 0x41f7ae
cmp ebx, dword [esi + 0x28]
jge 0x41f7a9
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
test edi, edi
jl 0x41f7a9
cmp ecx, dword [eax + 8]
jge 0x41f7a9
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x18], 0
jne 0x41f68f
cmp ebx, dword [esi + 0x28]
jge 0x41f7a9
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
cmp ecx, dword [eax + 8]
jge 0x41f7a9
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x20], 0
je 0x41f681
cmp ebx, dword [esi + 0x28]
jge 0x41f7a9
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
cmp ecx, dword [eax + 8]
jge 0x41f7a9
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x10], 0
je 0x41f68f
inc dword [esp + 0x18]
mov ebp, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ecx
inc ecx
add edi, 0x24
jmp 0x41f5f1
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov eax, edi
cmp ebx, dword [eax + 8]
jge 0x41f7a9
mov eax, dword [eax + 4]
lea ecx, [ebx*4]
mov edx, dword [eax + ecx]
add eax, ecx
cmp ebp, dword [edx + 0x1c]
jge 0x41f588
mov eax, dword [esp + 0xfc]
mov edx, eax
test eax, eax
jne 0x41f6d5
lea edx, [esp + 0x100]
cmp ebx, dword [edi + 8]
jge 0x41f7a9
mov eax, dword [edi + 4]
add eax, ecx
mov eax, dword [eax]
add eax, 0x14
cmp dword [esp + 0x18], 0
jl 0x41f7a9
cmp ebp, dword [eax + 8]
jge 0x41f7a9
mov eax, dword [eax + 4]
add eax, dword [esp + 0x18]
push edx
mov eax, dword [eax]
push eax
call fcn.0062574a
add esp, 8
test eax, eax
je 0x41f71b
inc ebp
add dword [esp + 0x18], 0x24
jmp 0x41f69e
cmp ebx, dword [edi + 8]
jge 0x41f7a9
mov eax, dword [edi + 4]
lea ecx, [ebx*4]
add eax, ecx
mov eax, dword [eax]
add eax, 0x14
cmp ebp, dword [eax + 8]
mov dword [esp + 0x18], ecx
jge 0x41f7a9
mov eax, dword [eax + 4]
lea ecx, [ebp + ebp*8]
add ecx, ecx
add ecx, ecx
mov edx, 1
add eax, ecx
cmp dword [esp + 0x14], edx
mov dword [eax + 0x18], edx
jle 0x41f588
cmp ebx, dword [edi + 8]
jge 0x41f7a9
mov eax, dword [edi + 4]
add eax, dword [esp + 0x18]
mov eax, dword [eax]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41f7a9
mov eax, dword [eax + 4]
push edx
add eax, ecx
mov ecx, dword [esp + 0x18]
push edx
push ecx
push eax
mov ecx, esi
call fcn.0041a9d0
test eax, eax
je 0x41f588
cmp ebx, dword [edi + 8]
jge 0x41f7a9
mov edi, dword [edi + 4]
add edi, dword [esp + 0x18]
mov edx, dword [edi]
mov dword [edx + 0x10], 1
jmp 0x41f588
call fcn.005f4635
inc ebx
cmp ebx, dword [esi + 0x28]
jl 0x41f5c4
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x41f7cc
mov ecx, esi
call fcn.00417650
jmp 0x41fb23
cmp eax, 1
jne 0x41f92a
call fcn.005fdb63
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41f7ef
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x114], 2
test ebp, ebp
jl 0x41f7a9
cmp ebp, dword [esi + 0x28]
jge 0x41f7a9
mov eax, dword [esi + 0x24]
mov ebx, dword [esp + 0x1c]
lea edi, [ebp*4]
add eax, edi
mov eax, dword [eax]
add eax, 0x14
test ebx, ebx
jl 0x41f7a9
cmp ebx, dword [eax + 8]
jge 0x41f7a9
mov eax, dword [eax + 4]
lea ebx, [ebx + ebx*8]
add ebx, ebx
add ebx, ebx
add eax, ebx
cmp ebp, dword [esi + 0x28]
jge 0x41f7a9
mov ecx, dword [esi + 0x24]
mov edx, dword [eax + 4]
mov eax, dword [ecx + edi]
add ecx, edi
mov ecx, dword [eax + 4]
push edx
mov edx, dword [0x75f354]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00402f80
mov ecx, dword [0x75f308]
mov ebp, dword [esp + 0x28]
push 0x24
push ecx
push ebp
push 0
call fcn.00472fb0
add esp, 0x20
cmp eax, 6
je 0x41f8b9
mov ecx, esi
call fcn.00417650
mov byte [esp + 0x114], 0
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fb23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41fb23
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x28]
jge 0x41f7a9
mov ecx, dword [esi + 0x24]
add ecx, edi
cmp eax, dword [esi + 0x28]
jge 0x41f7a9
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x1c]
add eax, edi
mov eax, dword [eax]
add eax, 0x14
cmp edx, dword [eax + 8]
jge 0x41f7a9
mov ecx, dword [ecx]
mov edx, dword [ecx + 8]
mov eax, dword [eax + 4]
push 0
push 1
add eax, ebx
push edx
push eax
mov ecx, esi
call fcn.0041a9d0
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x28]
jge 0x41f7a9
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + edi]
add eax, edi
mov dword [ecx + 0x10], 1
mov ecx, esi
call fcn.00417650
jmp 0x41f88c
push 0
push esi
lea ecx, [esp + 0x30]
call fcn.00438270
mov byte [esp + 0x114], 5
lea ecx, [esp + 0x28]
call fcn.005f647d
cmp eax, 1
jne 0x41faf7
cmp dword [esp + 0xf4], 0
jle 0x41f974
mov ecx, dword [0x75f308]
mov edx, dword [0x75f358]
push 0x40
push ecx
push edx
push 0
call fcn.00472fb0
add esp, 0x10
xor eax, eax
cmp dword [esi + 0x28], eax
mov dword [esp + 0x14], eax
jle 0x41fad3
test eax, eax
jl 0x41f7a9
cmp eax, dword [esi + 0x28]
jge 0x41f7a9
lea edi, [eax*4]
mov eax, dword [esi + 0x24]
add eax, edi
mov eax, dword [eax]
cmp dword [eax + 8], 1
jle 0x41fac1
mov ecx, dword [esp + 0x14]
xor ebp, ebp
xor ebx, ebx
cmp ecx, dword [esi + 0x28]
jge 0x41f7a9
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + edi]
add eax, edi
cmp ebp, dword [ecx + 0x1c]
jge 0x41fac1
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x28]
jge 0x41f7a9
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
add eax, 0x14
test ebx, ebx
jl 0x41f7a9
cmp ebp, dword [eax + 8]
jge 0x41f7a9
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x18], 0
jne 0x41fab8
cmp ecx, dword [esi + 0x28]
jge 0x41f7a9
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41f7a9
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x20], 0
je 0x41fa47
cmp ecx, dword [esi + 0x28]
jge 0x41f7a9
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41f7a9
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x10], 0
je 0x41fab8
cmp ecx, dword [esi + 0x28]
jge 0x41f7a9
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41f7a9
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x1c], 0
je 0x41fab8
cmp ecx, dword [esi + 0x28]
jge 0x41f7a9
mov ecx, edx
mov eax, dword [ecx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41f7a9
mov ecx, dword [edx + edi]
mov edx, dword [ecx + 8]
mov eax, dword [eax + 4]
push 0
push 0
push edx
add eax, ebx
push eax
mov ecx, esi
call fcn.0041a9d0
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x28]
jge 0x41f7a9
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
mov dword [eax + 0x10], 1
inc ebp
add ebx, 0x24
jmp 0x41f9b4
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esi + 0x28]
mov dword [esp + 0x14], eax
jl 0x41f983
cmp dword [esp + 0xf8], 0
jle 0x41faf7
mov ecx, dword [0x75f308]
mov edx, dword [0x75f35c]
push 0x40
push ecx
push edx
push 0
call fcn.00472fb0
add esp, 0x10
mov ecx, esi
call fcn.00417650
mov byte [esp + 0x114], 6
lea ecx, [esp + 0x9c]
call fcn.0060052a
mov byte [esp + 0x114], 0
lea ecx, [esp + 0x28]
call fcn.005f5db6
mov dword [esp + 0x114], 0xffffffff
lea ecx, [esp + 0xfc]
call fcn.00401210
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.0062023e
add esp, 0x104
ret 4