Function at 0x4143d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458556
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
push edi
mov eax, dword [0x47c9a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], edx
mov ebx, ecx
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x2c]
call fcn.0042cc09
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0
call fcn.0042edf1
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.00411d00
add esp, 8
test al, al
jne 0x414441
xor bl, bl
jmp 0x41474c
mov eax, dword [ebp - 0x24]
lea esi, [eax - 1]
test esi, esi
js 0x41448d
jmp 0x414450
test esi, esi
js 0x414488
cmp esi, eax
jge 0x414488
mov eax, dword [ebp - 0x28]
lea ecx, [eax + esi*4]
call fcn.004142d0
test al, al
jne 0x414480
push 1
push esi
lea ecx, [ebp - 0x2c]
call fcn.0042cd52
push 1
push esi
lea ecx, [ebp - 0xa0]
call fcn.0042ee71
dec esi
js 0x41448d
mov eax, dword [ebp - 0x24]
jmp 0x414450
call fcn.0042c9be
lea ecx, [ebp - 0x78]
call fcn.0042cc09
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
push 0xffffffffffffffff
mov ebx, dword [edi + 8]
push ebx
mov dword [ebp - 0x14], ebx
call fcn.0042cebb
xor esi, esi
test ebx, ebx
jle 0x4145d1
test esi, esi
js 0x414488
cmp esi, dword [edi + 8]
jge 0x414488
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x38]
push dword [eax + esi*4]
call fcn.00414180
add esp, 4
mov byte [ebp - 4], 3
cmp esi, dword [ebp - 0x70]
jge 0x414488
mov eax, dword [ebp - 0x74]
mov ebx, dword [eax + esi*4]
lea edx, [eax + esi*4]
mov eax, dword [ebp - 0x18]
sub ebx, 0x10
mov dword [ebp - 0x34], edx
lea edi, [eax - 0x10]
cmp edi, ebx
je 0x41459e
cmp dword [ebx + 0xc], 0
jl 0x414590
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x414590
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x41452d
cmp ecx, dword [edi]
jne 0x41452d
mov eax, 1
lock xadd dword [edx], eax
jmp 0x41456f
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x3c], edx
test edx, edx
je 0x4145cc
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.0043f3ff
mov edi, dword [ebp - 0x3c]
add esp, 0x10
or eax, 0xffffffff
lea ecx, [ebx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x414586
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x34]
lea eax, [edi + 0x10]
mov dword [ecx], eax
jmp 0x41459b
push dword [eax - 0xc]
mov ecx, edx
push eax
call fcn.004045b0
mov eax, dword [ebp - 0x18]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4145bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x14]
inc esi
cmp esi, ebx
jge 0x4145d1
mov edi, dword [ebp + 8]
jmp 0x4144b7
call fcn.00404840
lea ecx, [ebp - 0x8c]
call fcn.0042cc09
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.0042cc09
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x78]
call fcn.00414060
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x2c]
call fcn.00414060
add esp, 8
xor cl, cl
cmp dword [ebp - 0x84], 0
je 0x41465b
lea ecx, [ebp - 0x64]
call fcn.0042cc09
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x2c]
call fcn.004140d0
add esp, 4
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0042cd1d
lea ecx, [ebp - 0x64]
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 5
call fcn.0042cc20
mov cl, byte [ebp - 0xd]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x41469d
lea ecx, [ebp - 0x64]
call fcn.0042cc09
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x2c]
call fcn.00414060
add esp, 4
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0042cd1d
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.0042cc20
mov eax, dword [ebp - 0x48]
jmp 0x4146a5
test cl, cl
je 0x414723
xor esi, esi
test ebx, ebx
jle 0x4146e8
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
js 0x414488
cmp esi, dword [ebp - 0x24]
jge 0x414488
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
push 4
push ecx
push 4
lea eax, [eax + esi*4]
inc esi
push 0
mov dword [ebp - 0x14], esi
push dword [eax]
push dword [ebp - 0x30]
call edi
test eax, eax
jne 0x41471f
cmp esi, ebx
jl 0x4146b1
mov eax, dword [ebp - 0x48]
xor esi, esi
mov edi, eax
test eax, eax
jle 0x414723
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
js 0x414488
cmp esi, eax
jge 0x414488
mov eax, dword [ebp - 0x4c]
push dword [eax + esi*4]
push dword [ebp - 0x30]
call ebx
test eax, eax
jne 0x41471f
inc esi
cmp esi, edi
jge 0x414723
mov eax, dword [ebp - 0x48]
jmp 0x4146f6
xor bl, bl
jmp 0x414725
mov bl, 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.0042cc20
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.0042cc20
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0042cc20
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0
call fcn.0042ee08
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0042cc20
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret