Function at 0x101f8e5
Capabilities:
Delete file

Disassembly:
push 0x30
mov eax, 0x1030d83
call fcn.01025fed
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 1
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x101f96e
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebx]
push 1
push 1
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call dword [edi]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0101071f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.010106e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor al, al
call fcn.010260d9
ret
lea eax, [ebp - 0x2c]
push eax
push 0x1004268
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x101f92b
mov eax, dword [ebp - 0x2c]
push esi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
push esi
push 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x101f9f6
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebx]
push 1
push 1
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call dword [edi]
xor bl, bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0101071f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.010106e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov al, bl
jmp 0x101f968
push 4
pop edi
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov byte [ebp - 4], 3
push 0x10040f4
mov ecx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test bl, bl
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x14]
je 0x101fa50
push 5
push eax
mov dword [ebp - 0x18], reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.MFC80U.DLL_Ordinal_4100]
mov byte [ebp - 4], 4
jmp 0x101fbda
push edi
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov byte [ebp - 4], 5
mov esi, 0x10040c0
push esi
mov ecx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test bl, bl
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x14]
je 0x101faa2
push 5
push eax
mov dword [ebp - 0x18], SysReAllocString
call dword [sym.imp.MFC80U.DLL_Ordinal_4100]
mov byte [ebp - 4], 6
jmp 0x101fbda
push edi
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov byte [ebp - 4], 7
push 0x1004090
mov ecx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test bl, bl
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x14]
je 0x101faf3
push 5
push eax
mov dword [ebp - 0x18], VariantCopy
call dword [sym.imp.MFC80U.DLL_Ordinal_4100]
mov byte [ebp - 4], 8
jmp 0x101fbda
push edi
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov byte [ebp - 4], 9
push esi
mov ecx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test bl, bl
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x14]
je 0x101fb40
push 5
push eax
mov dword [ebp - 0x18], SysReAllocString
call dword [sym.imp.MFC80U.DLL_Ordinal_4100]
mov byte [ebp - 4], 0xa
jmp 0x101fbda
push edi
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov byte [ebp - 4], 0xb
push 0x100405c
mov ecx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test bl, bl
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x14]
je 0x101fb8e
push 5
push eax
mov dword [ebp - 0x18], SysReAllocString
call dword [sym.imp.MFC80U.DLL_Ordinal_4100]
mov byte [ebp - 4], 0xc
jmp 0x101fbda
push 3
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov byte [ebp - 4], 0xd
push 0x1004030
mov ecx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test bl, bl
je 0x101fbf3
push edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], VariantCopy
call dword [sym.imp.MFC80U.DLL_Ordinal_4100]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x101fbfa
mov dword [ebp - 0x18], reloc.OLEAUT32.dll_SysReAllocString
mov esi, dword [ebp + 0x10]
mov edi, dword [esi]
push 0
mov ebx, 0xc000c42d
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push eax
mov ecx, esi
call dword [edi + 0x10]
test al, al
je 0x101fc4d
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esi]
push 0
push ebx
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSaveKeyW]
push eax
mov ecx, esi
call dword [edi + 0x10]
mov byte [ebp - 0xd], al
mov bl, byte [ebp - 0xd]
jmp 0x101f9ca