Function at 0x41f010
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x61c802
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
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 [0x70f604]
mov eax, dword [0x70f5c0]
push str.mzcc_ext_vers
push edx
mov dword [esp + 0x38], eax
call edi
mov ecx, dword [0x70f604]
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.0041e510
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.00413ac0
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x41f118
xor ebx, ebx
cmp dword [esi + 0x28], ebp
jle 0x41f118
lea edi, [esi + 0x20]
mov edi, edi
cmp ebx, ebp
jl 0x41f339
cmp ebx, dword [edi + 8]
jge 0x41f339
mov edx, dword [edi + 4]
lea eax, [edx + ebx*4]
mov eax, dword [eax]
cmp ecx, dword [eax + 8]
je 0x41f228
inc ebx
cmp ebx, dword [esi + 0x28]
jl 0x41f0f0
cmp dword [esp + 0x14], 1
jne 0x41f141
cmp dword [0x70f5ec], 0
jne 0x41f141
mov eax, dword [0x710c08]
mov ecx, dword [0x710c50]
push 0x40
push eax
push ecx
push 0
call fcn.00469b60
add esp, 0x10
xor ebx, ebx
cmp dword [esi + 0x28], ebx
mov dword [esp + 0x18], ebx
jle 0x41f350
mov ebp, dword [esp + 0x14]
test ebx, ebx
jl 0x41f339
cmp ebx, dword [esi + 0x28]
jge 0x41f339
mov eax, dword [esi + 0x24]
lea edx, [ebx*4]
add eax, edx
mov eax, dword [eax]
cmp dword [eax + 8], 1
jle 0x41f33e
xor ecx, ecx
xor edi, edi
cmp ebx, dword [esi + 0x28]
jge 0x41f339
mov eax, dword [esi + 0x24]
add eax, edx
mov eax, dword [eax]
cmp ecx, dword [eax + 0x1c]
jge 0x41f33e
cmp ebx, dword [esi + 0x28]
jge 0x41f339
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
test edi, edi
jl 0x41f339
cmp ecx, dword [eax + 8]
jge 0x41f339
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x18], 0
jne 0x41f21f
cmp ebx, dword [esi + 0x28]
jge 0x41f339
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
cmp ecx, dword [eax + 8]
jge 0x41f339
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x20], 0
je 0x41f211
cmp ebx, dword [esi + 0x28]
jge 0x41f339
mov eax, dword [esi + 0x24]
mov eax, dword [eax + edx]
add eax, 0x14
cmp ecx, dword [eax + 8]
jge 0x41f339
mov eax, dword [eax + 4]
cmp dword [eax + edi + 0x10], 0
je 0x41f21f
inc dword [esp + 0x18]
mov ebp, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ecx
inc ecx
add edi, 0x24
jmp 0x41f181
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov eax, edi
cmp ebx, dword [eax + 8]
jge 0x41f339
mov eax, dword [eax + 4]
lea ecx, [ebx*4]
mov edx, dword [eax + ecx]
add eax, ecx
cmp ebp, dword [edx + 0x1c]
jge 0x41f118
mov eax, dword [esp + 0xfc]
mov edx, eax
test eax, eax
jne 0x41f265
lea edx, [esp + 0x100]
cmp ebx, dword [edi + 8]
jge 0x41f339
mov eax, dword [edi + 4]
add eax, ecx
mov eax, dword [eax]
add eax, 0x14
cmp dword [esp + 0x18], 0
jl 0x41f339
cmp ebp, dword [eax + 8]
jge 0x41f339
mov eax, dword [eax + 4]
add eax, dword [esp + 0x18]
push edx
mov eax, dword [eax]
push eax
call fcn.005fdd2a
add esp, 8
test eax, eax
je 0x41f2ab
inc ebp
add dword [esp + 0x18], 0x24
jmp 0x41f22e
cmp ebx, dword [edi + 8]
jge 0x41f339
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 0x41f339
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 0x41f118
cmp ebx, dword [edi + 8]
jge 0x41f339
mov eax, dword [edi + 4]
add eax, dword [esp + 0x18]
mov eax, dword [eax]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41f339
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.0041adb0
test eax, eax
je 0x41f118
cmp ebx, dword [edi + 8]
jge 0x41f339
mov edi, dword [edi + 4]
add edi, dword [esp + 0x18]
mov edx, dword [edi]
mov dword [edx + 0x10], 1
jmp 0x41f118
call fcn.005cfbb9
inc ebx
cmp ebx, dword [esi + 0x28]
jl 0x41f154
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x41f35c
mov ecx, esi
call fcn.00417520
jmp 0x41f6b3
cmp eax, 1
jne 0x41f4ba
call fcn.005d8ffa
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41f37f
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 0x41f339
cmp ebp, dword [esi + 0x28]
jge 0x41f339
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 0x41f339
cmp ebx, dword [eax + 8]
jge 0x41f339
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 0x41f339
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 [0x710c54]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00402f60
mov ecx, dword [0x710c08]
mov ebp, dword [esp + 0x28]
push 0x24
push ecx
push ebp
push 0
call fcn.00469b60
add esp, 0x20
cmp eax, 6
je 0x41f449
mov ecx, esi
call fcn.00417520
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 0x41f6b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41f6b3
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x28]
jge 0x41f339
mov ecx, dword [esi + 0x24]
add ecx, edi
cmp eax, dword [esi + 0x28]
jge 0x41f339
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 0x41f339
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.0041adb0
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x28]
jge 0x41f339
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + edi]
add eax, edi
mov dword [ecx + 0x10], 1
mov ecx, esi
call fcn.00417520
jmp 0x41f41c
push 0
push esi
lea ecx, [esp + 0x30]
call fcn.004369c0
mov byte [esp + 0x114], 5
lea ecx, [esp + 0x28]
call fcn.005d199e
cmp eax, 1
jne 0x41f687
cmp dword [esp + 0xf4], 0
jle 0x41f504
mov ecx, dword [0x710c08]
mov edx, dword [0x710c58]
push 0x40
push ecx
push edx
push 0
call fcn.00469b60
add esp, 0x10
xor eax, eax
cmp dword [esi + 0x28], eax
mov dword [esp + 0x14], eax
jle 0x41f663
test eax, eax
jl 0x41f339
cmp eax, dword [esi + 0x28]
jge 0x41f339
lea edi, [eax*4]
mov eax, dword [esi + 0x24]
add eax, edi
mov eax, dword [eax]
cmp dword [eax + 8], 1
jle 0x41f651
mov ecx, dword [esp + 0x14]
xor ebp, ebp
xor ebx, ebx
cmp ecx, dword [esi + 0x28]
jge 0x41f339
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + edi]
add eax, edi
cmp ebp, dword [ecx + 0x1c]
jge 0x41f651
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x28]
jge 0x41f339
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
add eax, 0x14
test ebx, ebx
jl 0x41f339
cmp ebp, dword [eax + 8]
jge 0x41f339
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x18], 0
jne 0x41f648
cmp ecx, dword [esi + 0x28]
jge 0x41f339
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41f339
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x20], 0
je 0x41f5d7
cmp ecx, dword [esi + 0x28]
jge 0x41f339
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41f339
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x10], 0
je 0x41f648
cmp ecx, dword [esi + 0x28]
jge 0x41f339
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41f339
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x1c], 0
je 0x41f648
cmp ecx, dword [esi + 0x28]
jge 0x41f339
mov ecx, edx
mov eax, dword [ecx + edi]
add eax, 0x14
cmp ebp, dword [eax + 8]
jge 0x41f339
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.0041adb0
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x28]
jge 0x41f339
mov edx, dword [esi + 0x24]
mov eax, dword [edx + edi]
mov dword [eax + 0x10], 1
inc ebp
add ebx, 0x24
jmp 0x41f544
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esi + 0x28]
mov dword [esp + 0x14], eax
jl 0x41f513
cmp dword [esp + 0xf8], 0
jle 0x41f687
mov ecx, dword [0x710c08]
mov edx, dword [0x710c5c]
push 0x40
push ecx
push edx
push 0
call fcn.00469b60
add esp, 0x10
mov ecx, esi
call fcn.00417520
mov byte [esp + 0x114], 6
lea ecx, [esp + 0x9c]
call fcn.005db99c
mov byte [esp + 0x114], 0
lea ecx, [esp + 0x28]
call fcn.005d12db
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.005f85e7
add esp, 0x104
ret 4