Function at 0x1006b4ef
Capabilities:
Delete registry key

Disassembly:
push 0x294
mov eax, 0x100e48eb
call fcn.10001b03
mov eax, ecx
mov dword [ebp - 0x288], eax
mov edi, dword [ebp + 8]
lea ebx, [eax + 4]
xor esi, esi
mov dword [ebp - 0x284], edi
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x2a0], ebx
je 0x1006b6b1
push 0x100f0440
push ebx
lea eax, [ebp - 0x29c]
push eax
call fcn.1004ba3f
push edi
push eax
lea eax, [ebp - 0x280]
mov dword [ebp - 4], esi
push eax
call fcn.1004ba3f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
push dword [eax]
call sym.fpsrvutl.dll_Ordinal_1516
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x29c]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x70]
push 0xf003f
push 0x80000002
call dword [eax + 4]
test eax, eax
jne 0x1006b598
lea ecx, [ebp - 0x70]
call sym.fpsrvutl.dll_Ordinal_6026
test eax, eax
je 0x1006b5a7
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
jmp 0x1006b6a5
mov dword [ebp - 0x280], 0x10181f8c
lock inc dword [0x10181f80]
push 4
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 5
call sym.fpsrvutl.dll_Ordinal_3375
mov ebx, esi
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x290], ebx
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x70]
call sym.fpsrvutl.dll_Ordinal_5881
test al, al
je 0x1006b619
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x298]
call fcn.1004ba3f
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x70]
call sym.fpsrvutl.dll_Ordinal_5881
test al, al
jne 0x1006b5ee
mov ebx, dword [ebp - 0x290]
mov edi, esi
test ebx, ebx
je 0x1006b653
mov esi, dword [ebp - 0x294]
push edi
lea ecx, [ebp - 0x298]
call sym.fpsrvutl.dll_Ordinal_319
push 1
push dword [esi + edi*4]
lea ecx, [ebp - 0x70]
call sym.fpsrvutl.dll_Ordinal_1683
test eax, eax
je 0x1006b64c
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
inc edi
cmp edi, ebx
jb 0x1006b625
xor esi, esi
lea ecx, [ebp - 0x70]
call sym.fpsrvutl.dll_Ordinal_2402
test eax, eax
je 0x1006b669
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov ecx, dword [ebp - 0x28c]
test ecx, ecx
je 0x1006b679
push ecx
call fcn.1003a8c6
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x1006b68b
push ecx
mov ecx, eax
call fcn.1004ba3f
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov ebx, dword [ebp - 0x2a0]
mov edi, dword [ebp - 0x284]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1004ba3f
test edi, edi
lea ecx, [ebp - 0x280]
mov eax, 0x100ee700
cmovne eax, edi
push eax
call fcn.1004ba3f
lea eax, [ebp - 0x280]
mov dword [ebp - 4], 7
push eax
lea ecx, [ebp - 0x27c]
call fcn.1004ba3f
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov edi, dword [ebp - 0x288]
mov ecx, 0x1017e06c
mov edi, dword [edi + 0xc]
call sym.fpsrvutl.dll_Ordinal_2694
push dword [ebp - 0x7c]
push edi
cmp eax, 2
jne 0x1006b716
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1006b71c
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, eax
test edi, edi
je 0x1006b765
cmp dword [0x10181be0], 0
mov ebx, dword [ebx]
push 0x14
je 0x1006b737
pop ecx
call fcn.1004ba3f
jmp 0x1006b73e
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x1006b765
push ebx
push dword [ebp - 0x284]
push edi
push esi
push 0x30023
push eax
call sym.fpsrvutl.dll_Ordinal_5274
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x27c]
call fcn.100058ed
mov eax, esi
call fcn.10001b39
ret 8