Function at 0x1009c70
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x101a604]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x198], edi
je 0x1009f2e
mov eax, dword [esi]
cmp eax, dword [0x10049a8]
jne 0x1009ccb
mov ecx, dword [esi + 4]
cmp ecx, dword [0x10049ac]
jne 0x1009ccb
mov edx, dword [esi + 8]
cmp edx, dword [0x10049b0]
jne 0x1009ccb
mov eax, dword [esi + 0xc]
cmp eax, dword [0x10049b4]
je 0x1009f2e
lea ecx, [ebp - 0x198]
push ecx
push 0x1001928
push 1
push edi
push 0x1004988
call dword [0x10011e8]
test eax, eax
jl 0x1009f1c
cmp dword [ebx], edi
je 0x1009d62
cmp dword [ebp + 0x10], edi
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x194], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x190], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x188], edx
mov ecx, dword [eax]
lea edx, [ebp - 0x194]
push edx
push 1
push esi
push eax
je 0x1009d4c
cmp dword [ebx], 1
jne 0x1009d39
mov eax, dword [ecx + 0x14]
jmp 0x1009d3c
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
test edi, edi
jl 0x1009f43
xor edi, edi
jmp 0x1009d5b
cmp dword [ebx], 1
jne 0x1009d56
mov eax, dword [ecx + 0x18]
jmp 0x1009d59
mov eax, dword [ecx + 0x20]
call eax
add ebx, 8
cmp dword [ebx], edi
jne 0x1009cf1
cmp dword [ebp + 0x10], edi
jne 0x1009f1c
push 0x40
lea eax, [ebp - 0x184]
push eax
push esi
call dword [0x100120c]
call dword [0x101b5c0]
push 0x1001918
lea ecx, [ebp - 0x104]
push 0x80
push ecx
mov dword [ebp - 0x1a8], edi
call fcn.010093b0
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.010093d0
push 0x10018ec
lea ecx, [ebp - 0x104]
push 0x80
push ecx
call fcn.010093d0
add esp, 0x24
push 0x20019
lea edx, [ebp - 0x104]
push edx
push 0x80000000
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x1a4], 0x80000000
mov dword [ebp - 0x19c], edi
mov dword [ebp - 0x1a0], edi
call fcn.01005900
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jne 0x1009e4f
mov ecx, dword [ebp - 0x19c]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x1a0]
push eax
push edi
push edi
push edi
push ecx
call ebx
lea ecx, [ebp - 0x19c]
mov esi, eax
call fcn.010058e0
cmp esi, edi
jne 0x1009e4f
cmp dword [ebp - 0x1a0], edi
jne 0x1009e4f
lea edx, [ebp - 0x104]
push edx
push 0x80000000
call dword [entry0]
push 0x1001918
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.010093b0
lea ecx, [ebp - 0x184]
push ecx
lea edx, [ebp - 0x104]
push 0x80
push edx
call fcn.010093d0
push 0x10018bc
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.010093d0
add esp, 0x24
push 0x20019
lea ecx, [ebp - 0x104]
push ecx
push 0x80000000
lea ecx, [ebp - 0x19c]
call fcn.01005900
test eax, eax
jne 0x1009efb
mov eax, dword [ebp - 0x19c]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea edx, [ebp - 0x1a0]
push edx
push edi
push edi
push edi
push eax
call ebx
lea ecx, [ebp - 0x19c]
mov esi, eax
call fcn.010058e0
cmp esi, edi
jne 0x1009efb
cmp dword [ebp - 0x1a0], edi
jne 0x1009efb
lea ecx, [ebp - 0x104]
push ecx
push 0x80000000
call dword [entry0]
lea ecx, [ebp - 0x19c]
call fcn.01006130
lea ecx, [ebp - 0x1a4]
call fcn.01006130
lea ecx, [ebp - 0x1a8]
call fcn.01005f80
mov eax, dword [ebp - 0x198]
cmp eax, edi
je 0x1009f2e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100c1f6
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x1009f55
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100c1f6
mov esp, ebp
pop ebp
ret 0xc