Function at 0x41f7d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x637462
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
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 [0x74ea0c]
mov eax, dword [0x74e9c8]
push str.mzcc_ext_vers
push edx
mov dword [esp + 0x38], eax
call edi
mov ecx, dword [0x74ea0c]
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.0041ecd0
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.004139c0
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x41f8d8
xor ebx, ebx
cmp dword [esi + 0x28], ebp
jle 0x41f8d8
lea edi, [esi + 0x20]
mov edi, edi
cmp ebx, ebp
jl 0x41faf9
cmp ebx, dword [edi + 8]
jge 0x41faf9
mov edx, dword [edi + 4]
lea eax, [edx + ebx*4]
mov eax, dword [eax]
cmp ecx, dword [eax + 8]
je 0x41f9e8
inc ebx
cmp ebx, dword [esi + 0x28]
jl 0x41f8b0
cmp dword [esp + 0x14], 1
jne 0x41f901
cmp dword [0x74e9f4], 0
jne 0x41f901
mov eax, dword [0x7500f0]
mov ecx, dword [0x750138]
push 0x40
push eax
push ecx
push 0
call fcn.0046db70
add esp, 0x10
xor ebx, ebx
cmp dword [esi + 0x28], ebx
mov dword [esp + 0x18], ebx
jle 0x41fb10
mov ebp, dword [esp + 0x14]
test ebx, ebx
jl 0x41faf9
cmp ebx, dword [esi + 0x28]
jge 0x41faf9
mov eax, dword [esi + 0x24]
lea edx, [ebx*4]
add eax, edx
mov eax, dword [eax]
cmp dword [eax + 8], 1
jle 0x41fafe
xor ecx, ecx
xor edi, edi
cmp ebx, dword [esi + 0x28]
jge 0x41faf9
mov eax, dword [esi + 0x24]
add eax, edx
mov eax, dword [eax]
cmp ecx, dword [eax + 0x1c]
jge 0x41fafe
cmp ebx, dword [esi + 0x28]
jge 0x41faf9
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
test edi, edi
jl 0x41faf9
cmp ecx, dword [eax + 8]
jge 0x41faf9
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x18], 0
jne 0x41f9df
cmp ebx, dword [esi + 0x28]
jge 0x41faf9
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
cmp ecx, dword [eax + 8]
jge 0x41faf9
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x20], 0
je 0x41f9d1
cmp ebx, dword [esi + 0x28]
jge 0x41faf9
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
cmp ecx, dword [eax + 8]
jge 0x41faf9
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x10], 0
je 0x41f9df
inc dword [esp + 0x18]
mov ebp, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ecx
inc ecx
add edi, 0x24
jmp 0x41f941
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov eax, edi
cmp ebx, dword [eax + 8]
jge 0x41faf9
mov eax, dword [eax + 4]
lea ecx, [ebx*4]
mov edx, dword [eax + ecx]
add eax, ecx
cmp ebp, dword [edx + 0x1c]
jge 0x41f8d8
mov eax, dword [esp + 0xfc]
mov edx, eax
test eax, eax
jne 0x41fa25
lea edx, [esp + 0x100]
cmp ebx, dword [edi + 8]
jge 0x41faf9
mov eax, dword [edi + 4]
add eax, ecx
mov eax, dword [eax]
add eax, 0x14
cmp dword [esp + 0x18], 0
jl 0x41faf9
cmp ebp, dword [eax + 8]
jge 0x41faf9
mov eax, dword [eax + 4]
add eax, dword [esp + 0x18]
push edx
mov eax, dword [eax]
push eax
call fcn.0061874a
add esp, 8
test eax, eax
je 0x41fa6b
inc ebp
add dword [esp + 0x18], 0x24
jmp 0x41f9ee
cmp ebx, dword [edi + 8]
jge 0x41faf9
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 0x41faf9
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 0x41f8d8
cmp ebx, dword [edi + 8]
jge 0x41faf9
mov eax, dword [edi + 4]
add eax, dword [esp + 0x18]
mov eax, dword [eax]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41faf9
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.0041ad80
test eax, eax
je 0x41f8d8
cmp ebx, dword [edi + 8]
jge 0x41faf9
mov edi, dword [edi + 4]
add edi, dword [esp + 0x18]
mov edx, dword [edi]
mov dword [edx + 0x10], 1
jmp 0x41f8d8
call fcn.005e77c5
inc ebx
cmp ebx, dword [esi + 0x28]
jl 0x41f914
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x41fb1c
mov ecx, esi
call fcn.00417a20
jmp 0x41fe73
cmp eax, 1
jne 0x41fc7a
call fcn.005f0d6a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41fb3f
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 0x41faf9
cmp ebp, dword [esi + 0x28]
jge 0x41faf9
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 0x41faf9
cmp ebx, dword [eax + 8]
jge 0x41faf9
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 0x41faf9
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 [0x75013c]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00402f80
mov ecx, dword [0x7500f0]
mov ebp, dword [esp + 0x28]
push 0x24
push ecx
push ebp
push 0
call fcn.0046db70
add esp, 0x20
cmp eax, 6
je 0x41fc09
mov ecx, esi
call fcn.00417a20
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 0x41fe73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41fe73
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x28]
jge 0x41faf9
mov ecx, dword [esi + 0x24]
add ecx, edi
cmp eax, dword [esi + 0x28]
jge 0x41faf9
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 0x41faf9
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.0041ad80
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x28]
jge 0x41faf9
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + edi]
add eax, edi
mov dword [ecx + 0x10], 1
mov ecx, esi
call fcn.00417a20
jmp 0x41fbdc
push 0
push esi
lea ecx, [esp + 0x30]
call fcn.00437910
mov byte [esp + 0x114], 5
lea ecx, [esp + 0x28]
call fcn.005e96b1
cmp eax, 1
jne 0x41fe47
cmp dword [esp + 0xf4], 0
jle 0x41fcc4
mov ecx, dword [0x7500f0]
mov edx, dword [0x750140]
push 0x40
push ecx
push edx
push 0
call fcn.0046db70
add esp, 0x10
xor eax, eax
cmp dword [esi + 0x28], eax
mov dword [esp + 0x14], eax
jle 0x41fe23
test eax, eax
jl 0x41faf9
cmp eax, dword [esi + 0x28]
jge 0x41faf9
lea edi, [eax*4]
mov eax, dword [esi + 0x24]
add eax, edi
mov eax, dword [eax]
cmp dword [eax + 8], 1
jle 0x41fe11
mov ecx, dword [esp + 0x14]
xor ebp, ebp
xor ebx, ebx
cmp ecx, dword [esi + 0x28]
jge 0x41faf9
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + edi]
add eax, edi
cmp ebp, dword [ecx + 0x1c]
jge 0x41fe11
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x28]
jge 0x41faf9
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
add eax, 0x14
test ebx, ebx
jl 0x41faf9
cmp ebp, dword [eax + 8]
jge 0x41faf9
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x18], 0
jne 0x41fe08
cmp ecx, dword [esi + 0x28]
jge 0x41faf9
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41faf9
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x20], 0
je 0x41fd97
cmp ecx, dword [esi + 0x28]
jge 0x41faf9
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41faf9
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x10], 0
je 0x41fe08
cmp ecx, dword [esi + 0x28]
jge 0x41faf9
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41faf9
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x1c], 0
je 0x41fe08
cmp ecx, dword [esi + 0x28]
jge 0x41faf9
mov ecx, edx
mov eax, dword [ecx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41faf9
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.0041ad80
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x28]
jge 0x41faf9
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
mov dword [eax + 0x10], 1
inc ebp
add ebx, 0x24
jmp 0x41fd04
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esi + 0x28]
mov dword [esp + 0x14], eax
jl 0x41fcd3
cmp dword [esp + 0xf8], 0
jle 0x41fe47
mov ecx, dword [0x7500f0]
mov edx, dword [0x750144]
push 0x40
push ecx
push edx
push 0
call fcn.0046db70
add esp, 0x10
mov ecx, esi
call fcn.00417a20
mov byte [esp + 0x114], 6
lea ecx, [esp + 0x9c]
call fcn.005f3729
mov byte [esp + 0x114], 0
lea ecx, [esp + 0x28]
call fcn.005e8f64
mov dword [esp + 0x114], 0xffffffff
lea ecx, [esp + 0xfc]
call fcn.004011f0
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.00613241
add esp, 0x104
ret 4