Function at 0x10002ec18
Capabilities:
Compare security identifiers
Create process on windows
Parse url

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0xc0
mov ebp, 8
mov r13, rdx
mov rcx, rbp
call fcn.100001710
mov rdi, rax
test rax, rax
je 0x10002ec55
lea rax, vtable.CSecurity.0
mov qword [rdi], rax
jmp 0x10002ec57
xor edi, edi
test rdi, rdi
jne 0x10002ec7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x10002edcd
and dword [rsp + 0x108], 0
xor r12d, r12d
xor ebx, ebx
mov dword [rsp + 0x100], r12d
call qword [sym.imp.USER32.dll_GetShellWindow]
test rax, rax
je 0x10002ecc2
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x2000000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
and qword [rsp + 0x30], r12
xor esi, esi
mov qword [rsp + 0x38], rsi
test rbx, rbx
jne 0x10002ecec
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x10002ede9
and qword [rsp + 0x48], rsi
lea r8, [rsp + 0x48]
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10002ed2e
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x100]
mov rcx, rdi
call fcn.10003b5ac
mov r12d, dword [rsp + 0x100]
mov rsi, qword [rsp + 0x38]
jmp 0x10002ed34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x10002ed56
movzx ebx, bp
or ebx, 0x80070000
test ebp, ebp
cmovle ebx, ebp
jmp 0x10002eddb
call qword [sym.imp.ole32.dll_CoImpersonateClient]
mov ebx, eax
test eax, eax
js 0x10002eddb
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rsp + 0x100]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x108]
mov rcx, rdi
mov rdx, rax
call fcn.10003b610
mov rdi, qword [rsp + 0x30]
test eax, eax
je 0x10002eda6
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x10002edcd
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x10002ee3c
cmp dword [rsp + 0x108], r12d
jae 0x10002ee57
mov ebx, 5
test rdi, rdi
je 0x10002eddb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rsi, rsi
je 0x10002ede9
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
call qword [sym.imp.ole32.dll_CoRevertToSelf]
mov rcx, qword [0x100090140]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10002ee1e
mov rcx, qword [0x100090140]
lea edx, [rax + 0x10]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
lea r11, [rsp + 0xc0]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
cmp byte [rsp + 0x100], 0
je 0x10002edc8
cmp dword [rsp + 0x108], 0x3000
jb 0x10002edc8
call qword [sym.imp.ole32.dll_CoRevertToSelf]
mov ebx, eax
test eax, eax
jne 0x10002edcd
lea r15d, [rax + 1]
lea rcx, [0x10006b200]
xor edx, edx
mov r9d, r15d
mov r8d, 0x1395
call fcn.100012420
lea ebx, [r15 + 0x67]
lea rcx, [rsp + 0x50]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
and qword [rsp + 0x58], 0
mov dword [rsp + 0x50], ebx
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, r13
mov dword [rsp + 0x60], r15d
mov ebp, r15d
mov ebx, r15d
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
mov r8, qword [rsp + 0x58]
mov r12d, eax
test r8, r8
je 0x10002ef13
lea r9d, [r15 + 0xd]
lea rax, str.mk:_MSITStore:
mov edx, r15d
mov dword [rsp + 0x28], r9d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CompareStringW]
mov r8, qword [rsp + 0x58]
lea r9d, [r15 + 6]
mov ebp, eax
lea rax, str.ms_its:
mov dword [rsp + 0x28], r9d
mov edx, r15d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CompareStringW]
mov ebx, eax
test r12d, r12d
je 0x10002ef5b
cmp dword [rsp + 0x64], r15d
jl 0x10002ef26
cmp dword [rsp + 0x64], 0xb
jle 0x10002ef30
cmp ebp, 2
je 0x10002ef30
cmp ebx, 2
jne 0x10002ef5b
mov ebx, 5
lea rdx, str.open
xor r9d, r9d
mov r8, r13
xor ecx, ecx
mov dword [rsp + 0x28], ebx
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
jmp 0x10002edcd
mov ebx, 0x80070057
jmp 0x10002edcd