Function at 0x41f970
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6415b2
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
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 [0x75abd8]
mov eax, dword [0x75ab90]
push str.mzcc_ext_vers
push edx
mov dword [esp + 0x38], eax
call edi
mov ecx, dword [0x75abd8]
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.0041ee70
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.004177b0
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x41fa78
xor ebx, ebx
cmp dword [esi + 0x28], ebp
jle 0x41fa78
lea edi, [esi + 0x20]
mov edi, edi
cmp ebx, ebp
jl 0x41fc99
cmp ebx, dword [edi + 8]
jge 0x41fc99
mov edx, dword [edi + 4]
lea eax, [edx + ebx*4]
mov eax, dword [eax]
cmp ecx, dword [eax + 8]
je 0x41fb88
inc ebx
cmp ebx, dword [esi + 0x28]
jl 0x41fa50
cmp dword [esp + 0x14], 1
jne 0x41faa1
cmp dword [0x75abc0], 0
jne 0x41faa1
mov eax, dword [0x75c2c8]
mov ecx, dword [0x75c310]
push 0x40
push eax
push ecx
push 0
call fcn.00472580
add esp, 0x10
xor ebx, ebx
cmp dword [esi + 0x28], ebx
mov dword [esp + 0x18], ebx
jle 0x41fcb0
mov ebp, dword [esp + 0x14]
test ebx, ebx
jl 0x41fc99
cmp ebx, dword [esi + 0x28]
jge 0x41fc99
mov eax, dword [esi + 0x24]
lea edx, [ebx*4]
add eax, edx
mov eax, dword [eax]
cmp dword [eax + 8], 1
jle 0x41fc9e
xor ecx, ecx
xor edi, edi
cmp ebx, dword [esi + 0x28]
jge 0x41fc99
mov eax, dword [esi + 0x24]
add eax, edx
mov eax, dword [eax]
cmp ecx, dword [eax + 0x1c]
jge 0x41fc9e
cmp ebx, dword [esi + 0x28]
jge 0x41fc99
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
test edi, edi
jl 0x41fc99
cmp ecx, dword [eax + 8]
jge 0x41fc99
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x18], 0
jne 0x41fb7f
cmp ebx, dword [esi + 0x28]
jge 0x41fc99
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
cmp ecx, dword [eax + 8]
jge 0x41fc99
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x20], 0
je 0x41fb71
cmp ebx, dword [esi + 0x28]
jge 0x41fc99
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
cmp ecx, dword [eax + 8]
jge 0x41fc99
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x10], 0
je 0x41fb7f
inc dword [esp + 0x18]
mov ebp, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ecx
inc ecx
add edi, 0x24
jmp 0x41fae1
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov eax, edi
cmp ebx, dword [eax + 8]
jge 0x41fc99
mov eax, dword [eax + 4]
lea ecx, [ebx*4]
mov edx, dword [eax + ecx]
add eax, ecx
cmp ebp, dword [edx + 0x1c]
jge 0x41fa78
mov eax, dword [esp + 0xfc]
mov edx, eax
test eax, eax
jne 0x41fbc5
lea edx, [esp + 0x100]
cmp ebx, dword [edi + 8]
jge 0x41fc99
mov eax, dword [edi + 4]
add eax, ecx
mov eax, dword [eax]
add eax, 0x14
cmp dword [esp + 0x18], 0
jl 0x41fc99
cmp ebp, dword [eax + 8]
jge 0x41fc99
mov eax, dword [eax + 4]
add eax, dword [esp + 0x18]
push edx
mov eax, dword [eax]
push eax
call fcn.0062280a
add esp, 8
test eax, eax
je 0x41fc0b
inc ebp
add dword [esp + 0x18], 0x24
jmp 0x41fb8e
cmp ebx, dword [edi + 8]
jge 0x41fc99
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 0x41fc99
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 0x41fa78
cmp ebx, dword [edi + 8]
jge 0x41fc99
mov eax, dword [edi + 4]
add eax, dword [esp + 0x18]
mov eax, dword [eax]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41fc99
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.0041afd0
test eax, eax
je 0x41fa78
cmp ebx, dword [edi + 8]
jge 0x41fc99
mov edi, dword [edi + 4]
add edi, dword [esp + 0x18]
mov edx, dword [edi]
mov dword [edx + 0x10], 1
jmp 0x41fa78
call fcn.005f16d5
inc ebx
cmp ebx, dword [esi + 0x28]
jl 0x41fab4
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x41fcbc
mov ecx, esi
call fcn.00417c70
jmp 0x420013
cmp eax, 1
jne 0x41fe1a
call fcn.005fabf8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41fcdf
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 0x41fc99
cmp ebp, dword [esi + 0x28]
jge 0x41fc99
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 0x41fc99
cmp ebx, dword [eax + 8]
jge 0x41fc99
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 0x41fc99
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 [0x75c314]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00402f70
mov ecx, dword [0x75c2c8]
mov ebp, dword [esp + 0x28]
push 0x24
push ecx
push ebp
push 0
call fcn.00472580
add esp, 0x20
cmp eax, 6
je 0x41fda9
mov ecx, esi
call fcn.00417c70
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 0x420013
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x420013
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x28]
jge 0x41fc99
mov ecx, dword [esi + 0x24]
add ecx, edi
cmp eax, dword [esi + 0x28]
jge 0x41fc99
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 0x41fc99
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.0041afd0
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x28]
jge 0x41fc99
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + edi]
add eax, edi
mov dword [ecx + 0x10], 1
mov ecx, esi
call fcn.00417c70
jmp 0x41fd7c
push 0
push esi
lea ecx, [esp + 0x30]
call fcn.00438170
mov byte [esp + 0x114], 5
lea ecx, [esp + 0x28]
call fcn.005f3511
cmp eax, 1
jne 0x41ffe7
cmp dword [esp + 0xf4], 0
jle 0x41fe64
mov ecx, dword [0x75c2c8]
mov edx, dword [0x75c318]
push 0x40
push ecx
push edx
push 0
call fcn.00472580
add esp, 0x10
xor eax, eax
cmp dword [esi + 0x28], eax
mov dword [esp + 0x14], eax
jle 0x41ffc3
test eax, eax
jl 0x41fc99
cmp eax, dword [esi + 0x28]
jge 0x41fc99
lea edi, [eax*4]
mov eax, dword [esi + 0x24]
add eax, edi
mov eax, dword [eax]
cmp dword [eax + 8], 1
jle 0x41ffb1
mov ecx, dword [esp + 0x14]
xor ebp, ebp
xor ebx, ebx
cmp ecx, dword [esi + 0x28]
jge 0x41fc99
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + edi]
add eax, edi
cmp ebp, dword [ecx + 0x1c]
jge 0x41ffb1
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x28]
jge 0x41fc99
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
add eax, 0x14
test ebx, ebx
jl 0x41fc99
cmp ebp, dword [eax + 8]
jge 0x41fc99
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x18], 0
jne 0x41ffa8
cmp ecx, dword [esi + 0x28]
jge 0x41fc99
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41fc99
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x20], 0
je 0x41ff37
cmp ecx, dword [esi + 0x28]
jge 0x41fc99
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41fc99
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x10], 0
je 0x41ffa8
cmp ecx, dword [esi + 0x28]
jge 0x41fc99
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41fc99
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x1c], 0
je 0x41ffa8
cmp ecx, dword [esi + 0x28]
jge 0x41fc99
mov ecx, edx
mov eax, dword [ecx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41fc99
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.0041afd0
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x28]
jge 0x41fc99
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
mov dword [eax + 0x10], 1
inc ebp
add ebx, 0x24
jmp 0x41fea4
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esi + 0x28]
mov dword [esp + 0x14], eax
jl 0x41fe73
cmp dword [esp + 0xf8], 0
jle 0x41ffe7
mov ecx, dword [0x75c2c8]
mov edx, dword [0x75c31c]
push 0x40
push ecx
push edx
push 0
call fcn.00472580
add esp, 0x10
mov ecx, esi
call fcn.00417c70
mov byte [esp + 0x114], 6
lea ecx, [esp + 0x9c]
call fcn.005fd59f
mov byte [esp + 0x114], 0
lea ecx, [esp + 0x28]
call fcn.005f2e52
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.0061d2ff
add esp, 0x104
ret 4