Function at 0x41d110
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x63967c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x2c]
push 4
push ecx
xor ebx, ebx
mov byte [edi + 0x64], 1
mov edx, dword [0x6fcafc]
mov eax, dword [0x6fc920]
push 4
push ebx
push str.mzcc_ext_vers
push edx
mov dword [esp + 0x44], eax
call esi
mov ecx, dword [0x6fcafc]
lea eax, [esp + 0x1c]
push 4
push eax
push 4
push ebx
push str.intAOFRWE
push ecx
mov dword [esp + 0x34], 1
call esi
mov ecx, edi
call fcn.0041de80
mov byte [edi + 0x65], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], bx
lea edx, [esp + 0x18]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, edi
mov dword [esp + 0xe4], ebx
call fcn.0041d580
test eax, eax
je 0x41d26c
mov ecx, dword [edi + 0x28]
xor esi, esi
cmp ecx, ebx
jle 0x41d26c
mov edx, dword [edi + 0x24]
mov ebx, dword [esp + 0x18]
mov eax, edx
mov ebp, dword [eax]
cmp ebx, dword [ebp + 8]
je 0x41d1e3
inc esi
add eax, 4
cmp esi, ecx
jl 0x41d1cf
jmp 0x41d26c
mov eax, dword [edx + esi*4]
xor ebp, ebp
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x41d26c
xor ebx, ebx
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x41d1fd
lea ecx, [esp + 0x24]
mov edx, dword [eax + 0x18]
push ecx
mov eax, dword [edx + ebx]
push eax
call fcn.0060c3d3
add esp, 8
test eax, eax
je 0x41d222
mov eax, dword [edi + 0x24]
inc ebp
add ebx, 0x24
mov eax, dword [eax + esi*4]
cmp ebp, dword [eax + 0x1c]
jl 0x41d1f1
jmp 0x41d26c
mov ecx, dword [edi + 0x24]
lea eax, [ebp + ebp*8]
shl eax, 2
mov edx, dword [ecx + esi*4]
mov ecx, dword [edx + 0x18]
mov dword [ecx + eax + 0x18], 1
mov ecx, dword [esp + 0x18]
cmp ecx, 1
jle 0x41d26c
mov edx, dword [edi + 0x24]
push 1
push 1
push ecx
mov ecx, dword [edx + esi*4]
mov edx, dword [ecx + 0x18]
mov ecx, edi
add edx, eax
push edx
call fcn.0041cd10
test eax, eax
je 0x41d26c
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + esi*4]
mov dword [ecx + 0x10], 1
cmp dword [esp + 0x18], 1
jne 0x41d295
mov eax, dword [0x6fcae4]
test eax, eax
jne 0x41d295
mov edx, dword [0x6fd630]
mov eax, dword [0x6fd5e8]
push 0x40
push edx
push eax
push 0
call fcn.00457010
add esp, 0x10
mov eax, dword [edi + 0x28]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x14], edx
jle 0x41d30d
mov ecx, dword [edi + 0x24]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp dword [eax + 8], 1
jle 0x41d2f2
mov ebx, dword [eax + 0x1c]
xor ecx, ecx
test ebx, ebx
jle 0x41d2f2
mov eax, dword [eax + 0x18]
add eax, 0x20
cmp dword [eax - 8], 0
jne 0x41d2ea
cmp dword [eax], 0
je 0x41d2dd
cmp dword [eax - 0x10], 0
je 0x41d2ea
mov esi, dword [esp + 0x14]
mov ebp, edx
inc esi
mov dword [esp + 0x14], esi
mov esi, ecx
inc ecx
add eax, 0x24
cmp ecx, ebx
jl 0x41d2cc
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x28]
inc edx
add ecx, 4
cmp edx, eax
mov dword [esp + 0x10], ecx
jl 0x41d2b1
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41d319
mov ecx, edi
call fcn.00421460
jmp 0x41d4f3
cmp eax, 1
jne 0x41d3bd
mov ecx, dword [0x6f7b78]
mov dword [esp + 0x10], ecx
mov byte [esp + 0xdc], al
mov eax, dword [edi + 0x24]
lea esi, [esi + esi*8]
mov eax, dword [eax + ebp*4]
shl esi, 2
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + esi + 4]
mov edx, dword [eax + 4]
mov eax, dword [0x6fd5e4]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0061fae1
mov edx, dword [0x6fd630]
mov eax, dword [esp + 0x20]
push 0x24
push edx
push eax
push 0
call fcn.00457010
add esp, 0x20
cmp eax, 6
jne 0x41d3a0
mov ecx, dword [edi + 0x24]
push 0
push 1
mov eax, dword [ecx + ebp*4]
mov ecx, edi
mov edx, dword [eax + 8]
mov eax, dword [eax + 0x18]
add eax, esi
push edx
push eax
call fcn.0041cd10
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx + ebp*4]
mov dword [edx + 0x10], 1
mov ecx, edi
call fcn.00421460
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 0
call fcn.00622d8a
jmp 0x41d4f3
push 0
push edi
lea ecx, [esp + 0x38]
call fcn.0043b380
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 2
call fcn.006226c5
cmp eax, 1
jne 0x41d4c7
mov eax, dword [esp + 0xcc]
test eax, eax
jle 0x41d407
mov eax, dword [0x6fd630]
mov ecx, dword [0x6fd5e0]
push 0x40
push eax
push ecx
push 0
call fcn.00457010
add esp, 0x10
mov eax, dword [edi + 0x28]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x41d4a3
xor esi, esi
mov eax, dword [edi + 0x24]
mov ecx, dword [esi + eax]
cmp dword [ecx + 8], 1
jle 0x41d48c
mov edx, dword [ecx + 0x1c]
xor ebx, ebx
test edx, edx
jle 0x41d48c
xor ebp, ebp
mov edx, dword [esi + eax]
mov ecx, dword [edx + 0x18]
mov edx, dword [ecx + ebp + 0x18]
test edx, edx
jne 0x41d47d
mov eax, dword [esi + eax]
mov edx, dword [eax + 0x18]
lea ecx, [edx + ebp]
mov edx, dword [edx + ebp + 0x20]
test edx, edx
je 0x41d459
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x41d47d
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x41d47d
mov eax, dword [eax + 8]
push 0
push 0
push eax
push ecx
mov ecx, edi
call fcn.0041cd10
mov ecx, dword [edi + 0x24]
mov edx, dword [esi + ecx]
mov dword [edx + 0x10], 1
mov eax, dword [edi + 0x24]
inc ebx
add ebp, 0x24
mov ecx, dword [esi + eax]
cmp ebx, dword [ecx + 0x1c]
jl 0x41d433
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x28]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41d41c
mov eax, dword [esp + 0xd0]
test eax, eax
jle 0x41d4c7
mov edx, dword [0x6fd630]
mov eax, dword [0x6fd5dc]
push 0x40
push edx
push eax
push 0
call fcn.00457010
add esp, 0x10
mov ecx, edi
call fcn.00421460
lea ecx, [esp + 0x8c]
mov byte [esp + 0xdc], 3
call fcn.00620760
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 0
call fcn.00622306
lea ecx, [esp + 0x20]
mov dword [esp + 0xdc], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd0
ret 4