Function at 0x41f940
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x63c1f2
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74f8a0]
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 [0x754bec]
mov eax, dword [0x754ba8]
push str.mzcc_ext_vers
push edx
mov dword [esp + 0x38], eax
call edi
mov ecx, dword [0x754bec]
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.0041ee40
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.00413b40
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x41fa48
xor ebx, ebx
cmp dword [esi + 0x28], ebp
jle 0x41fa48
lea edi, [esi + 0x20]
mov edi, edi
cmp ebx, ebp
jl 0x41fc69
cmp ebx, dword [edi + 8]
jge 0x41fc69
mov edx, dword [edi + 4]
lea eax, [edx + ebx*4]
mov eax, dword [eax]
cmp ecx, dword [eax + 8]
je 0x41fb58
inc ebx
cmp ebx, dword [esi + 0x28]
jl 0x41fa20
cmp dword [esp + 0x14], 1
jne 0x41fa71
cmp dword [0x754bd4], 0
jne 0x41fa71
mov eax, dword [0x7562d0]
mov ecx, dword [0x756318]
push 0x40
push eax
push ecx
push 0
call fcn.0046f4c0
add esp, 0x10
xor ebx, ebx
cmp dword [esi + 0x28], ebx
mov dword [esp + 0x18], ebx
jle 0x41fc80
mov ebp, dword [esp + 0x14]
test ebx, ebx
jl 0x41fc69
cmp ebx, dword [esi + 0x28]
jge 0x41fc69
mov eax, dword [esi + 0x24]
lea edx, [ebx*4]
add eax, edx
mov eax, dword [eax]
cmp dword [eax + 8], 1
jle 0x41fc6e
xor ecx, ecx
xor edi, edi
cmp ebx, dword [esi + 0x28]
jge 0x41fc69
mov eax, dword [esi + 0x24]
add eax, edx
mov eax, dword [eax]
cmp ecx, dword [eax + 0x1c]
jge 0x41fc6e
cmp ebx, dword [esi + 0x28]
jge 0x41fc69
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
test edi, edi
jl 0x41fc69
cmp ecx, dword [eax + 8]
jge 0x41fc69
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x18], 0
jne 0x41fb4f
cmp ebx, dword [esi + 0x28]
jge 0x41fc69
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
cmp ecx, dword [eax + 8]
jge 0x41fc69
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x20], 0
je 0x41fb41
cmp ebx, dword [esi + 0x28]
jge 0x41fc69
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
cmp ecx, dword [eax + 8]
jge 0x41fc69
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x10], 0
je 0x41fb4f
inc dword [esp + 0x18]
mov ebp, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ecx
inc ecx
add edi, 0x24
jmp 0x41fab1
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov eax, edi
cmp ebx, dword [eax + 8]
jge 0x41fc69
mov eax, dword [eax + 4]
lea ecx, [ebx*4]
mov edx, dword [eax + ecx]
add eax, ecx
cmp ebp, dword [edx + 0x1c]
jge 0x41fa48
mov eax, dword [esp + 0xfc]
mov edx, eax
test eax, eax
jne 0x41fb95
lea edx, [esp + 0x100]
cmp ebx, dword [edi + 8]
jge 0x41fc69
mov eax, dword [edi + 4]
add eax, ecx
mov eax, dword [eax]
add eax, 0x14
cmp dword [esp + 0x18], 0
jl 0x41fc69
cmp ebp, dword [eax + 8]
jge 0x41fc69
mov eax, dword [eax + 4]
add eax, dword [esp + 0x18]
push edx
mov eax, dword [eax]
push eax
call fcn.0061d58a
add esp, 8
test eax, eax
je 0x41fbdb
inc ebp
add dword [esp + 0x18], 0x24
jmp 0x41fb5e
cmp ebx, dword [edi + 8]
jge 0x41fc69
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 0x41fc69
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 0x41fa48
cmp ebx, dword [edi + 8]
jge 0x41fc69
mov eax, dword [edi + 4]
add eax, dword [esp + 0x18]
mov eax, dword [eax]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41fc69
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.0041aef0
test eax, eax
je 0x41fa48
cmp ebx, dword [edi + 8]
jge 0x41fc69
mov edi, dword [edi + 4]
add edi, dword [esp + 0x18]
mov edx, dword [edi]
mov dword [edx + 0x10], 1
jmp 0x41fa48
call fcn.005ec455
inc ebx
cmp ebx, dword [esi + 0x28]
jl 0x41fa84
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x41fc8c
mov ecx, esi
call fcn.00417b90
jmp 0x41ffe3
cmp eax, 1
jne 0x41fdea
call fcn.005f59f2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41fcaf
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 0x41fc69
cmp ebp, dword [esi + 0x28]
jge 0x41fc69
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 0x41fc69
cmp ebx, dword [eax + 8]
jge 0x41fc69
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 0x41fc69
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 [0x75631c]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00402f70
mov ecx, dword [0x7562d0]
mov ebp, dword [esp + 0x28]
push 0x24
push ecx
push ebp
push 0
call fcn.0046f4c0
add esp, 0x20
cmp eax, 6
je 0x41fd79
mov ecx, esi
call fcn.00417b90
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 0x41ffe3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41ffe3
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x28]
jge 0x41fc69
mov ecx, dword [esi + 0x24]
add ecx, edi
cmp eax, dword [esi + 0x28]
jge 0x41fc69
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 0x41fc69
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.0041aef0
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x28]
jge 0x41fc69
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + edi]
add eax, edi
mov dword [ecx + 0x10], 1
mov ecx, esi
call fcn.00417b90
jmp 0x41fd4c
push 0
push esi
lea ecx, [esp + 0x30]
call fcn.004380c0
mov byte [esp + 0x114], 5
lea ecx, [esp + 0x28]
call fcn.005ee341
cmp eax, 1
jne 0x41ffb7
cmp dword [esp + 0xf4], 0
jle 0x41fe34
mov ecx, dword [0x7562d0]
mov edx, dword [0x756320]
push 0x40
push ecx
push edx
push 0
call fcn.0046f4c0
add esp, 0x10
xor eax, eax
cmp dword [esi + 0x28], eax
mov dword [esp + 0x14], eax
jle 0x41ff93
test eax, eax
jl 0x41fc69
cmp eax, dword [esi + 0x28]
jge 0x41fc69
lea edi, [eax*4]
mov eax, dword [esi + 0x24]
add eax, edi
mov eax, dword [eax]
cmp dword [eax + 8], 1
jle 0x41ff81
mov ecx, dword [esp + 0x14]
xor ebp, ebp
xor ebx, ebx
cmp ecx, dword [esi + 0x28]
jge 0x41fc69
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + edi]
add eax, edi
cmp ebp, dword [ecx + 0x1c]
jge 0x41ff81
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x28]
jge 0x41fc69
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
add eax, 0x14
test ebx, ebx
jl 0x41fc69
cmp ebp, dword [eax + 8]
jge 0x41fc69
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x18], 0
jne 0x41ff78
cmp ecx, dword [esi + 0x28]
jge 0x41fc69
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41fc69
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x20], 0
je 0x41ff07
cmp ecx, dword [esi + 0x28]
jge 0x41fc69
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41fc69
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x10], 0
je 0x41ff78
cmp ecx, dword [esi + 0x28]
jge 0x41fc69
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41fc69
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x1c], 0
je 0x41ff78
cmp ecx, dword [esi + 0x28]
jge 0x41fc69
mov ecx, edx
mov eax, dword [ecx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41fc69
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.0041aef0
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x28]
jge 0x41fc69
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
mov dword [eax + 0x10], 1
inc ebp
add ebx, 0x24
jmp 0x41fe74
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esi + 0x28]
mov dword [esp + 0x14], eax
jl 0x41fe43
cmp dword [esp + 0xf8], 0
jle 0x41ffb7
mov ecx, dword [0x7562d0]
mov edx, dword [0x756324]
push 0x40
push ecx
push edx
push 0
call fcn.0046f4c0
add esp, 0x10
mov ecx, esi
call fcn.00417b90
mov byte [esp + 0x114], 6
lea ecx, [esp + 0x9c]
call fcn.005f83b8
mov byte [esp + 0x114], 0
lea ecx, [esp + 0x28]
call fcn.005edbf0
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.0061807e
add esp, 0x104
ret 4