Function at 0x60139090
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x6014b2e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
push ebx
push ebp
xor ecx, ecx
test eax, eax
push esi
push edi
mov dword [esp + 0x20], ecx
jbe 0x6013936d
mov ebx, 2
jmp 0x601390d0
mov ecx, dword [esp + 0x20]
lea esp, [esp]
cmp ecx, eax
jae 0x60139384
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
mov esi, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
sub esi, 0x10
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x6013910a
cmp eax, dword [esi]
jne 0x6013910a
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x6013913c
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x6013938e
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
mov dword [esp + 0x38], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
mov byte [esp + 0x38], 1
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [esi - 0xc]
test eax, eax
mov byte [esp + 0x38], bl
jle 0x60139253
push 0x7c
push esi
call dword [sym.imp.MSVCR71.dll__mbschr]
add esp, 8
test eax, eax
je 0x60139253
sub eax, esi
mov ebp, eax
js 0x60139253
push ebp
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call fcn.601144e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 3
call fcn.6010a570
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x601391e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi - 0xc]
lea edi, [ebp + 1]
test edi, edi
jl 0x60139261
cmp edi, eax
jge 0x60139261
lea eax, [edi + esi]
push 0x7c
push eax
call dword [sym.imp.MSVCR71.dll__mbschr]
add esp, 8
test eax, eax
je 0x60139261
sub eax, esi
test eax, eax
jl 0x60139261
sub eax, ebp
dec eax
push eax
push edi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.60109800
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 4
call fcn.6010a570
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60139261
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x60139261
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.6010a570
mov edx, dword [0x6015b6f8]
mov ecx, 0x6015b6f8
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebp
mov byte [esp + 0x44], 5
call fcn.6011be20
test eax, eax
jl 0x601392cf
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
cmp eax, ebx
jne 0x601392cf
call fcn.601433f0
mov edi, eax
test edi, edi
je 0x601392cf
mov edx, dword [edi]
push 1
push 1
push esi
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [edi]
push 1
push 4
push esi
mov ecx, edi
call dword [eax + 0x10]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x601392f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60139314
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60139333
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x60139355
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jb 0x601390c8
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
push 0x80070057
call fcn.601040a0
call fcn.601041a0
int3