Function at 0x180007910
Capabilities:
Create process on windows
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x18003e080]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor ebx, ebx
mov qword [rsp + 0x68], rbx
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov qword [rsp + 0x60], rbx
mov dword [rbp - 0x70], 2
mov dword [rbp - 0x68], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x60]
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1800079a1
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 4]
lea r8, [rbp - 0x70]
lea edx, [rbx + 0x12]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1800079b3
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
xor eax, eax
jmp 0x180007c08
cmp dword [rbp - 0x70], 2
je 0x1800079fd
mov ecx, 2
call qword [sym.imp.ADVAPI32.dll_ImpersonateSelf]
test eax, eax
je 0x180007996
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x60]
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1800079fd
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
xor eax, eax
jmp 0x180007c08
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
mov dword [rbp - 0x40], 0x68
mov edi, 1
mov dword [rbp - 4], edi
mov word [rbp], bx
mov qword [rsp + 0x70], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9d, [rdi + 1]
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x180007996
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
xor r8d, r8d
lea rdx, [0x180037390]
lea rcx, [rbp - 0x60]
call fcn.180003ed0
nop
mov rcx, qword [rbp - 0x48]
cmp rcx, 8
jb 0x180007ab8
lea rax, [rbp - 0x60]
cmp rcx, 0xf
cmova rax, qword [rbp - 0x60]
mov qword [rbp - 0x50], 8
movabs rcx, 0x7465736572736969
mov qword [rax], rcx
mov byte [rax + 8], 0
jmp 0x180007acd
lea r9, str.iisreset
mov edx, 8
lea rcx, [rbp - 0x60]
call fcn.18000cde0
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r8, qword [rbp - 0x60]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0x430
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x180007b3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180007bc3
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rbp - 0x6c], ebx
lea rdx, [rbp - 0x6c]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [0x180037574]
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x180007bbc
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageA]
cmp dword [rbp - 0x6c], 0
cmove ebx, edi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x180007c06
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007c01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007c29
call fcn.18000f830
mov eax, ebx
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.18000f810
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1800188d0
int3