Function at 0x1001d91f
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001db9e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x38], 0x5c9
mov dword [ebp - 0x88], 0x10008fa4
cmp dword [ebp - 0x38], 0x83a
jle 0x1001da30
push 0xf49
call dword [sym.imp.GDI32.dll_GetStockObject]
and dword [ebp - 0x34], 0
jmp 0x1001d98c
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x570e
jge 0x1001da30
and dword [ebp - 0x20], 0
jmp 0x1001d9a6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xfec
jge 0x1001da2b
and dword [ebp - 0x30], 0
jmp 0x1001d9bc
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x1eed
jge 0x1001da26
and dword [ebp - 0x28], 0
jmp 0x1001d9d2
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4c89
jge 0x1001da24
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
sar eax, cl
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x28]
and eax, ecx
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
lea ecx, [ebp - 0xa0]
call fcn.1000d000
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.1000f5af
push eax
call fcn.1004b356
pop ecx
lea ecx, [ebp - 0xa0]
call fcn.1000f5a5
jmp 0x1001d9cb
jmp 0x1001d9b5
jmp 0x1001d99f
jmp 0x1001d985
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0x59d
jge 0x1001da4f
push dword [ebp - 0x88]
call fcn.1004b356
pop ecx
jmp 0x1001da6b
or dword [ebp - 4], 0xffffffff
jmp 0x1001da75
mov dword [ebp - 0x3c], 0x78fd
mov dword [ebp - 0x84], 0x10008fec
cmp dword [ebp - 0x3c], 0x7bca
jle 0x1001db42
and dword [ebp - 0x2c], 0
jmp 0x1001daa0
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1a5a
jge 0x1001db42
and dword [ebp - 0x24], 0
jmp 0x1001daba
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1f38
jge 0x1001db3d
and dword [ebp - 0x18], 0
jmp 0x1001dad0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x186b
jge 0x1001db38
and dword [ebp - 0x1c], 0
jmp 0x1001dae6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x111f
jge 0x1001db36
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
and eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
lea ecx, [ebp - 0xb8]
call fcn.1000d000
pop ecx
pop ecx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.1000f5af
push eax
call fcn.1004b356
pop ecx
lea ecx, [ebp - 0xb8]
call fcn.1000f5a5
jmp 0x1001dadf
jmp 0x1001dac9
jmp 0x1001dab3
jmp 0x1001da99
push 0x728b
push dword [ebp - 0x40]
push dword [ebp - 0x54]
push 0
call fcn.10032d81
add esp, 0x10
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0x76cd
jge 0x1001db73
push dword [ebp - 0x84]
call fcn.1004b356
pop ecx
jmp 0x1001db8f
or dword [ebp - 4], 0xffffffff
jmp 0x1001db99
jmp 0x1001dc2d
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1001dc0d
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1001dbee
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x1001dc0b
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.1000f782
mov dword [eax], 0x56df
jmp 0x1001dbe3
jmp 0x1001dc2d
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x1001dc2d
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret