Function at 0x10011ce9
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
push ebx
xor eax, eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x50], eax
xor ebx, ebx
mov dword [esp + 0x18], 0xffffffff
inc ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x14], 0x87697ab8
mov dword [esp + 0x1c], 0xfffffffd
push esi
mov dword [esp + 0x18], 0x8a064f57
push edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
jmp 0x10011d62
mov ecx, dword [esp + 0xc]
mov dword [esp + ecx*4 + 0xac], 0xfff6
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x10011d4f
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], al
je 0x10011d7d
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], ebx
jge 0x10011d8b
mov ecx, dword [esp + 0x24]
mov ecx, dword [esp + 0xac]
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x88], 0xd2ad05b3
mov ecx, dword [esp + 0x20]
sbb esi, esi
xor edx, edx
neg esi
cmp esi, ecx
push 8
setne dl
mov dword [esp + 0x8c], edx
mov dword [esp + 0x4c], 0x7d0fa516
pop edi
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], 0x4f3d4e6
mov dword [esp + 0xc], eax
jmp 0x10011de4
mov ecx, dword [esp + 0xc]
mov dword [esp + ecx*4 + 0x7c], 0x4b25b3b9
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x10011dd4
cmp dword [esp + 0x7c], eax
je 0x10011df8
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], 0xea66e58d
xor edx, edx
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
sub esi, ecx
mov ecx, dword [esp + 0x18]
cmp esi, ecx
push 0xfffffffffffffff8
setle dl
mov dword [esp + 0x10], edx
mov dword [esp + 0x10], 0xb
pop esi
jmp 0x10011ed8
mov dword [esp + 0x18], eax
jmp 0x10011e50
mov dword [esp + 0x14], ebx
mov dword [esp + 0x14], eax
jmp 0x10011e45
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x1c], eax
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xfffffffb
jl 0x10011e39
dec dword [esp + 0x18]
cmp dword [esp + 0x18], 0xfffffffa
jl 0x10011e2f
mov dword [esp + 0x18], 0xa
cmp dword [esp + 0x18], 0xfffffffd
jle 0x10011ed4
push ebx
lea ecx, [esp + 0x74]
call fcn.1000f6e4
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x10011e8b
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov dword [ecx + edx*4], 0x945c
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ebx
jl 0x10011e78
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], al
je 0x10011eaf
push eax
push 0x26f5
push eax
push 0x755
call dword [sym.imp.GDI32.dll_SetWinMetaFileBits]
xor eax, eax
mov ecx, dword [esp + 0x70]
cmp dword [ecx], eax
lea ecx, [esp + 0x70]
jne 0x10011ecd
call fcn.1000f766
dec dword [esp + 0x18]
cmp dword [esp + 0x18], 0xfffffffd
jg 0x10011e66
jmp 0x10011ed2
call fcn.1000f766
xor eax, eax
dec dword [esp + 0xc]
cmp dword [esp + 0xc], esi
je 0x10011e29
mov dword [esp + 0x68], 4
mov dword [esp + 0x28], 0xfffd
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 0xe04a276a
mov dword [esp + 0x20], 0xfffffffd
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x18], 0xffffffe4
cmp dword [esp + 0x18], 0xfffffff2
jle 0x10011fca
push 2
pop edi
mov dword [esp + 0xc], 0xd37a5b7d
mov dword [esp + 0x24], 0xfff8
mov dword [esp + 0x1c], 0xcccaea0a
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], 0
je 0x10011f59
push eax
push 0x25c8
call dword [sym.imp.GDI32.dll_GetClipBox]
xor eax, eax
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0xc], eax
jne 0x10011f67
mov ecx, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
xor edx, edx
mov ecx, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x24]
add esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp esi, ecx
setg dl
xor ebx, ebx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp edx, ecx
setle bl
imul ecx, ebx, 9
test ecx, ecx
je 0x10012080
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], 0
je 0x10011fb8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
xor ebx, ebx
inc ebx
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0xfffffff2
jg 0x10011f28
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
cmp dword [esp + 0xc], eax
jne 0x10012043
mov ecx, dword [esp + 0xc]
xor edx, edx
mov eax, dword [esp + 0x14]
cmp eax, ecx
setne dl
cmp dword [esp + 0x18], 0xffffffff
sbb eax, eax
neg eax
sub edx, eax
xor eax, eax
cmp edx, ebx
setl al
imul eax, dword [esp + 0x18]
test eax, eax
jne 0x10012006
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
xor edx, edx
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
cmp eax, ecx
setl dl
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x18], eax
je 0x10012033
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xb4]
sub eax, 0x19c8
neg eax
push 2
sbb eax, eax
inc eax
pop esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0xffffffff
push esi
call fcn.1000f6e4
xor eax, eax
mov dword [esp + 0x1c], 0xfffffffd
mov dword [esp + 0xc], eax
jmp 0x1001211e
push edi
lea ecx, [esp + 0x9c]
call fcn.1000f6e4
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x100120ab
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x98]
mov dword [ecx + edx*4], 0xfffffffc
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x10012095
mov dword [esp + 0x14], eax
jmp 0x100120c6
mov ecx, dword [esp + 0x14]
mov dword [esp + ecx*4 + 0xd0], eax
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 4
jl 0x100120b7
xor ebx, ebx
mov dword [esp + 0x14], eax
inc ebx
jmp 0x100120ef
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x98]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0xd0], eax
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ebx
jle 0x100120d6
lea ecx, [esp + 0x98]
call fcn.1000f766
xor eax, eax
jmp 0x10011fbb
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0xb4]
mov dword [ecx + edx*4], 0xecba2afe
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jl 0x10012108
mov dword [esp + 0x14], eax
jmp 0x10012182
mov dword [esp + 0xc], eax
jmp 0x1001213c
mov ecx, dword [esp + 0xc]
mov dword [esp + ecx*4 + 0x4c], ebx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x10012130
mov dword [esp + 0x4c], eax
jmp 0x10012170
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], 0
je 0x1001216c
push 0x2208
push 0x1dd4
push 0x20f7
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
xor eax, eax
inc dword [esp + 0x4c]
cmp dword [esp + 0x4c], ebx
jle 0x10012149
mov dword [esp + 0x1c], 0x5efa20bd
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xffffffe7
jne 0x1001212a
lea ecx, [esp + 0xb4]
call fcn.1000f766
mov dword [esp + 0xc], 0
jmp 0x100121b2
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0xa4], 0x273d
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jl 0x1001219f
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x4c]
push eax
lea edx, [esp + 0x70]
lea ecx, [esp + 0x30]
call fcn.1001185f
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x73838a1f
mov dword [esp + 0x28], 0xffffffff
pop ecx
mov dword [esp + 0x18], 0xfffffff7
pop ecx
mov dword [esp + 0xc], 0
jmp 0x1001220b
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x30], 0xaa9a
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x100121fb
mov dword [esp + 0x1c], 0x7d8c
cmp dword [esp + 0x1c], 0x8016
jle 0x1001226f
xor esi, esi
xor edi, edi
mov ecx, edi
mov eax, esi
sar eax, cl
lea ecx, [esp + 0xe0]
cdq
push edx
push eax
call fcn.1000d000
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10012247
mov eax, dword [eax]
push eax
call fcn.1004b356
pop ecx
push 0
push ebx
lea ecx, [esp + 0xe8]
call fcn.1000fa70
inc edi
cmp edi, 0x4205
jl 0x10012228
inc esi
cmp esi, 0x7ac9
jl 0x10012226
inc dword [esp + 0x3c]
cmp dword [esp + 0x1c], 0x7ca8
jge 0x10012288
push 0x10007cc0
call fcn.1004b356
pop ecx
xor eax, eax
cmp dword [esp + 0x20], eax
je 0x100122ca
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x24], ebx
jbe 0x1001229e
mov ecx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
add ecx, dword [esp + 0x20]
mov ecx, ebx
jne 0x100122cc
mov ecx, eax
mov edx, dword [esp + 0x3c]
sub edx, ecx
mov ecx, dword [esp + 0x20]
neg edx
sbb edx, edx
inc edx
imul ecx, edx
xor edx, edx
cmp ecx, 0x1f199e1f
setle dl
mov dword [esp + 0x24], edx
mov dword [esp + 0x24], 0x6904
cmp dword [esp + 0x24], 0x6a93
jle 0x1001235f
push eax
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
xor ebx, ebx
xor esi, esi
xor edi, edi
mov eax, edi
lea ecx, [esp + 0xf8]
xor eax, esi
or eax, ebx
cdq
push edx
push eax
call fcn.1000d000
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001232b
mov eax, dword [eax]
push eax
call fcn.1004b356
pop ecx
push 0
push 1
lea ecx, [esp + 0x100]
call fcn.1000fa70
inc edi
cmp edi, 0x6b0a
jl 0x1001230c
inc esi
cmp esi, 0x2208
jl 0x1001230a
inc ebx
cmp ebx, 0x3206
jl 0x10012308
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x28], eax
inc ebx
cmp dword [esp + 0x28], ebx
jg 0x100124c9
push 2
pop edi
push 3
pop esi
push dword [esp + 0x2c]
movdqa xmm0, xmmword [0x1000bb80]
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x64], eax
push ecx
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x70], eax
movdqu xmmword [esp + 0xd0], xmm0
mov dword [esp + 0x74], eax
call fcn.10011598
xor eax, eax
mov dword [esp + 0xc], eax
jmp 0x100123c5
mov ecx, dword [esp + 0xc]
mov dword [esp + ecx*4 + 0x40], edi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x100123b9
mov dword [esp + 0x44], esi
cmp dword [esp + 0x44], eax
jl 0x100124a3
mov dword [esp + 0x14], 0x2e31d83
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], 0
je 0x100123fc
push 0x1fde
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
xor eax, eax
mov dword [esp + 0x14], esi
cmp dword [esp + 0x14], eax
jl 0x10012499
mov dword [esp + 0x20], 0x4ad72d76
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], 0
je 0x10012431
push eax
push 0x26f5
push eax
push 0x755
call dword [sym.imp.GDI32.dll_SetWinMetaFileBits]
xor eax, eax
mov dword [esp + 0x20], esi
cmp dword [esp + 0x20], eax
jl 0x1001248f
mov dword [esp + 0xc], 0xfffffffd
mov dword [esp + 0x1c], 0xa278c007
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], eax
jl 0x10012489
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
cmp dword [ecx + edx*4], 0xd11023dc
mov edx, 0xd711e7bf
sbb ecx, ecx
neg ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
cmp edx, ecx
sbb ecx, ecx
neg ecx
mov dword [esp + 0x1c], ecx
dec dword [esp + 0xc]
jns 0x10012455
dec dword [esp + 0x20]
jns 0x1001243b
dec dword [esp + 0x14]
jns 0x1001240a
dec dword [esp + 0x44]
jns 0x100123d9
lea ecx, [esp + 0x5c]
call fcn.1000f766
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp dword [esp + ecx*4 + 0xa4], eax
jne 0x100124c9
inc dword [esp + 0x28]
cmp dword [esp + 0x28], ebx
jle 0x10012376
cmp dword [esp + 0x24], 0x6641
jge 0x100124de
push 0x10007d10
call fcn.1004b356
pop ecx
mov eax, dword [esp + 0x6c]
mov ecx, 0x3e8
cdq
idiv ecx
mov ecx, dword [esp + 0x2c]
mov esi, edx
mov edi, eax
call fcn.100117ed
add eax, esi
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret