Function at 0x10a1058
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push r12
sub rsp, 0x260
mov rax, qword [0x010d71a0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, qword [0x010e5310]
lea r8, [r11 - 0xf8]
or edx, 0xffffffff
xor ecx, ecx
mov word [rsp + 0x1b4], 0xdc
call qword [sym.imp.USER32.dll_EnumDisplaySettingsW]
mov ebx, dword [rsp + 0x1c4]
cmp ebx, 1
je 0x10a118a
cmp ebx, 3
je 0x10a118a
cmp dword [rsi + 0x128], 0
je 0x10a130e
mov ebp, 0x68
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8, rbp
call fcn.010a84b0
and word [rsp + 0xd0], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
lea r12, [0x0108b2f0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
and qword [rsp + 0x30], 0
lea rdx, str._BF_1
lea rcx, [0x0108b330]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x8000020
and dword [rsp + 0x20], 0
mov dword [rsp + 0x90], ebp
mov dword [rsp + 0xcc], 0x80
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10a1167
lea rdx, [0x0108b390]
mov r8d, ebx
xor ecx, ecx
call fcn.01091f4c
jmp 0x10a130e
mov rcx, qword [rsp + 0x58]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
jmp 0x10a1308
mov ebp, 0x68
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8, rbp
call fcn.010a84b0
and word [rsp + 0xd0], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
lea r12, [0x0108b2f0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
and qword [rsp + 0x30], 0
lea rdx, [0x010d9010]
lea rcx, [0x0108b330]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x8000020
and dword [rsp + 0x20], 0
mov dword [rsp + 0x90], ebp
mov dword [rsp + 0xcc], 0x80
mov dword [rsp + 0x50], 0xff
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10a1151
mov rcx, qword [rsp + 0x58]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x58]
xor eax, eax
cmp dword [rsp + 0x50], eax
setne al
mov dword [rsi + 0x128], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsi + 0x128], 0
je 0x10a130e
lea rcx, [rsp + 0x100]
mov r8, rbp
xor edx, edx
call fcn.010a84b0
and word [rsp + 0x140], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x100]
lea rdx, str._BF_0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
and qword [rsp + 0x30], 0
lea rcx, [0x0108b330]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x8000020
and dword [rsp + 0x20], 0
mov dword [rsp + 0x100], ebp
mov dword [rsp + 0x13c], 0x80
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10a1151
mov rcx, qword [rsp + 0x70]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.010a6e90
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop r12
ret