Function at 0x1000d421
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1108]
mov eax, 0x1108
call fcn.1001e1d0
push 0xffffffffffffffff
push 0x10041641
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1006a1fc]
xor eax, ebp
mov dword [ebp + 0x1104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x1114]
mov edi, dword [ebp + 0x1110]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push edi
mov dword [ebp - 4], eax
call fcn.1000cb7d
mov esi, eax
test esi, esi
js 0x1000d909
cmp byte [edi], 0x7d
je 0x1000d909
xor eax, eax
inc eax
push 0x10049a40
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
neg eax
push 0x10049a00
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
je 0x1000d4c8
test esi, esi
je 0x1000d567
push edi
mov ecx, ebx
call fcn.1000cb7d
mov esi, eax
test esi, esi
js 0x1000d909
xor esi, esi
cmp dword [ebp + 0x1118], esi
je 0x1000d569
push 0x5c
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
call fcn.1000dc51
pop ecx
pop ecx
test eax, eax
jne 0x1000d8fc
push edi
mov ecx, ebx
call fcn.1000c7b9
test eax, eax
je 0x1000d527
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
push edi
mov dword [ebp - 0x30], eax
call fcn.1000cf1a
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x14], esi
je 0x1000d55d
push edi
mov ecx, ebx
call fcn.1000cb7d
mov esi, eax
test esi, esi
js 0x1000d8f7
push edi
mov ecx, ebx
call fcn.1003955f
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.10003fa0
test esi, esi
js 0x1000d909
jmp 0x1000d89f
lea ecx, [ebp - 0x30]
call fcn.10003fa0
jmp 0x1000d569
xor esi, esi
push 0x10049a20
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x1000d58e
push edi
mov ecx, ebx
mov dword [ebp - 0x18], esi
call fcn.1000cb7d
mov esi, eax
test esi, esi
js 0x1000d909
push 0x100499e8
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x1000d681
lea eax, [ebp]
mov ecx, ebx
push eax
call fcn.1000cb7d
mov esi, eax
test esi, esi
js 0x1000d909
push edi
mov ecx, ebx
call fcn.1000cb7d
mov esi, eax
test esi, esi
js 0x1000d909
cmp byte [edi], 0x3d
jne 0x1000d904
cmp dword [ebp + 0x1118], 0
je 0x1000d61f
and dword [ebp - 0x3c], 0
xor eax, eax
and dword [ebp - 0x38], 0
inc eax
mov byte [ebp - 4], al
mov ecx, ebx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
lea eax, [ebp]
push edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1000c212
mov esi, eax
lea ecx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
test esi, esi
js 0x1000d944
mov byte [ebp - 4], al
jmp 0x1000d89a
cmp dword [ebp + 0x111c], 0
jne 0x1000d674
cmp dword [ebp - 0x18], 0
je 0x1000d674
xor eax, eax
lea ecx, [ebp - 0x4c]
push 0x20006
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
call fcn.1003955f
test eax, eax
jne 0x1000d938
lea eax, [ebp]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x1000d66c
cmp eax, 2
jne 0x1000d938
lea ecx, [ebp - 0x4c]
call fcn.10003fa0
push edi
mov ecx, ebx
call fcn.1003955f
jmp 0x1000d8e3
push 0x5c
push edi
call fcn.1000dc51
pop ecx
pop ecx
test eax, eax
jne 0x1000d904
cmp dword [ebp + 0x1118], eax
je 0x1000d711
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push 0x2001f
push edi
push esi
call fcn.1003955f
test eax, eax
je 0x1000d6e1
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x24]
call fcn.1003955f
test eax, eax
je 0x1000d6e1
xor eax, eax
lea ecx, [ebp - 0x24]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.1003955f
test eax, eax
jne 0x1000d7ee
push edi
mov ecx, ebx
call fcn.1000cb7d
mov esi, eax
test esi, esi
js 0x1000d909
cmp byte [edi], 0x3d
jne 0x1000d89f
push edi
push 0
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.1000c212
mov esi, eax
jmp 0x1000d550
cmp dword [ebp + 0x111c], 0
jne 0x1000d72d
push 0x20019
push edi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.1003955f
jmp 0x1000d730
push 2
pop eax
mov ecx, dword [ebp + 0x111c]
test eax, eax
push 1
mov dword [ebp - 0x14], eax
pop eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp + 0x1000]
push edi
push 0x104
push eax
mov dword [ebp - 0x34], ecx
call fcn.1003955f
push eax
call fcn.10003974
add esp, 0x14
mov ecx, ebx
push edi
call fcn.1000cb7d
mov esi, eax
test esi, esi
js 0x1000d909
push edi
mov ecx, ebx
call fcn.1003955f
mov esi, eax
test esi, esi
js 0x1000d909
cmp byte [edi], 0x7b
jne 0x1000d7d1
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d78f
xor eax, eax
sub ecx, edx
inc eax
cmp ecx, eax
jne 0x1000d7d1
push dword [ebp - 0x34]
mov ecx, ebx
push 0
push dword [ebp - 0x24]
push edi
call fcn.1000d421
mov esi, eax
test esi, esi
jns 0x1000d7bf
cmp dword [ebp - 0x34], 0
je 0x1000d909
push edi
mov ecx, ebx
call fcn.1000cb7d
mov esi, eax
test esi, esi
js 0x1000d909
mov eax, dword [ebp - 0x14]
cmp eax, 2
je 0x1000d8e9
test eax, eax
je 0x1000d7fc
cmp dword [ebp + 0x111c], 0
jne 0x1000d8e9
push eax
call fcn.1000c7a7
pop ecx
mov esi, eax
jmp 0x1000d909
cmp dword [ebp + 0x111c], 0
je 0x1000d847
push dword [ebp - 0x24]
mov ecx, ebx
call fcn.1003955f
test eax, eax
je 0x1000d847
lea eax, [ebp + 0x1000]
mov ecx, ebx
push eax
call fcn.1000c7b9
test eax, eax
je 0x1000d8e9
cmp dword [ebp - 0x18], 0
je 0x1000d8e9
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebp - 0x24]
call fcn.1000cf1a
jmp 0x1000d8e9
push dword [ebp - 0x24]
mov ecx, ebx
call fcn.1003955f
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.10003fa0
test eax, eax
jne 0x1000d7ee
cmp dword [ebp - 0x18], eax
je 0x1000d8e9
cmp dword [ebp - 0x14], eax
jne 0x1000d8e9
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
and dword [ebp - 0x54], 0
and dword [ebp - 0x50], 0
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x1000]
push eax
call fcn.1000c8c8
and dword [ebp - 0x58], 0
test eax, eax
jne 0x1000d94b
lea ecx, [ebp - 0x58]
call fcn.10003fa0
cmp dword [ebp + 0x1118], 0
je 0x1000d8e9
cmp byte [edi], 0x7b
jne 0x1000d8e9
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d8b2
xor eax, eax
sub ecx, edx
inc eax
cmp ecx, eax
jne 0x1000d8ec
push 0
push dword [ebp + 0x1118]
mov ecx, ebx
push dword [ebp - 0x24]
push edi
call fcn.1000d421
mov esi, eax
test esi, esi
js 0x1000d909
push edi
mov ecx, ebx
call fcn.1000cb7d
mov esi, eax
test esi, esi
js 0x1000d909
xor eax, eax
inc eax
cmp byte [edi], 0x7d
jne 0x1000d499
jmp 0x1000d909
lea ecx, [ebp - 0x30]
jmp 0x1000d944
lea ecx, [ebp - 0x30]
call fcn.10003fa0
mov esi, 0x80020009
lea ecx, [ebp - 0x24]
call fcn.10003fa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1104]
xor ecx, ebp
call fcn.1001df6b
add ebp, 0x1108
leave
ret 0x10
push eax
call fcn.1000c7a7
pop ecx
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.10003fa0
jmp 0x1000d909
push eax
call fcn.1000c7a7
pop ecx
lea ecx, [ebp - 0x58]
jmp 0x1000d942