Function at 0x101c161
Capabilities:
Bypass uac via rpc
Get common file path

Disassembly:
push 0x2f8
push 0x101c650
call fcn.0100c07f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x240], eax
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x264], ebx
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x26c], eax
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
xor esi, esi
push esi
lea eax, [ebp - 0x222]
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x250], 6
mov dword [ebp - 0x29c], esi
push 0x2c
push esi
lea eax, [ebp - 0x298]
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x308], esi
push 0x40
push esi
lea eax, [ebp - 0x304]
push eax
call sub.msvcrt.dll_memset
add esp, 0x24
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x2c4], esi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c0]
rep stosd dword es:[edi], eax
mov dword [ebx], esi
mov dword [ebx + 4], esi
cmp dword [0x102cef0], esi
jne 0x101c29e
lea eax, [ebp - 0x22c]
push eax
push esi
push 0x101c600
call fcn.0101bd75
mov edi, eax
cmp edi, esi
jne 0x101c4e4
push esi
push dword [ebp - 0x22c]
push 0x102cef0
call dword [sym.imp.API_MS_Win_Core_Interlocked_L1_1_0.dll_InterlockedCompareExchange]
test eax, eax
je 0x101c29e
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.RPCRT4.dll_RpcBindingFree]
mov dword [ebp - 0x22c], esi
mov edi, dword [ebp - 0x240]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x29c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x298], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x294], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x290], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28c], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x288], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x284], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x280], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x27c], eax
mov cx, word [edi + 0x30]
mov word [ebp - 0x278], cx
test eax, 0x400
je 0x101c33f
mov dword [ebp - 0x2c4], 0x28
lea eax, [ebp - 0x2c4]
push eax
push dword [edi + 0x3c]
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x101c33f
mov eax, dword [ebp - 0x2c0]
inc eax
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x2bc]
inc eax
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x228], esi
jne 0x101c381
lea eax, [ebp - 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x101c375
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov edi, eax
cmp edi, esi
jne 0x101c4e4
mov edi, dword [ebp - 0x240]
jmp 0x101c381
lea eax, [ebp - 0x224]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x230]
push eax
push dword [edi + 8]
call fcn.0101bbab
mov edi, eax
cmp edi, esi
jne 0x101c4e4
lea eax, [ebp - 0x244]
push eax
push dword [ebp - 0x258]
call fcn.0101ba69
mov edi, eax
cmp edi, esi
jne 0x101c4e4
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x254]
call fcn.0101ba69
mov edi, eax
cmp edi, esi
jne 0x101c4e4
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x228]
call fcn.0101ba69
mov edi, eax
cmp edi, esi
jne 0x101c4e4
call fcn.0101c083
test eax, eax
je 0x101c3fb
or dword [ebp + 0x10], 8
call dword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
test eax, eax
je 0x101c410
or dword [ebp + 0x10], 0x10
cmp dword [ebp - 0x248], esi
je 0x101c443
push 2
push dword [ebp - 0x248]
call dword [sym.imp.USER32.dll_GetAncestor]
mov dword [ebp - 0x260], eax
cmp eax, esi
je 0x101c443
push esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x25c], eax
push 0x44
lea eax, [ebp - 0x308]
push eax
call fcn.0101be81
mov edi, eax
cmp edi, esi
jne 0x101c4e4
mov dword [ebp - 4], esi
lea eax, [ebp - 0x250]
push eax
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x248]
lea eax, [ebp - 0x29c]
push eax
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x23c]
push dword [ebp - 0x244]
push dword [0x102cef0]
lea eax, [ebp - 0x308]
push eax
call fcn.0101c671
mov dword [ebp - 0x24c], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x101c4e4
cmp dword [ebp - 0x24c], esi
je 0x101c505
push edi
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x308]
push eax
call fcn.0101c0ee
mov edi, eax
mov dword [ebp - 0x24c], esi
lea eax, [ebp - 0x308]
push eax
call fcn.0101bec8
mov eax, dword [ebp - 0x26c]
cmp eax, esi
je 0x101c523
mov ecx, dword [ebp - 0x250]
mov dword [eax], ecx
cmp edi, esi
je 0x101c591
mov eax, dword [ebx]
cmp eax, esi
je 0x101c536
push eax
call dword [sym.imp.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle]
mov dword [ebx], esi
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x101c547
push eax
call dword [sym.imp.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle]
mov dword [ebx + 4], esi
cmp edi, 0x6ba
je 0x101c567
cmp edi, 0x6ac
je 0x101c567
cmp edi, 0x6b5
je 0x101c567
cmp edi, 0x6d9
jne 0x101c591
cmp dword [ebp - 0x238], 1
ja 0x101c58c
inc dword [ebp - 0x238]
push 0xa
call fcn.0101bc94
mov edi, eax
cmp edi, esi
jne 0x101c4e4
jmp 0x101c443
mov edi, 0x425
cmp dword [ebp - 0x25c], esi
je 0x101c5a7
push 1
push dword [ebp - 0x260]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x240]
mov esi, dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
cmp eax, dword [ecx + 8]
je 0x101c5c1
push eax
call esi
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x228], eax
je 0x101c5d2
push eax
call esi
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x254]
je 0x101c5e3
push eax
call esi
mov eax, dword [ebp - 0x244]
cmp eax, dword [ebp - 0x258]
je 0x101c5f4
push eax
call esi
mov eax, edi
call fcn.0100c0c7
ret 0x24