Function at 0x140041f30
Capabilities:
Accept command line arguments
Create process on windows
Enumerate gui resources
Enumerate processes
Execute command
Link many functions at runtime
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140052098]
xor rax, rsp
mov qword [rbp + 0x140], rax
lea rcx, str.Waiting_for_Fortnite...
call fcn.14001cc40
xor esi, esi
cmp qword [0x1400521f0], rsi
jne 0x140042050
nop word [rax + rax]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0x130
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rbp + 0x10]
mov dword [rbp + 0x10], 0x130
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140041fe9
lea rdx, str.FortniteClient_Win64_Shipping.exe
lea rcx, [rbp + 0x3c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x14004211b
lea rdx, [rbp + 0x10]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140041fc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
lea rdx, [rsp + 0x60]
mov dword [0x140052200], eax
lea rcx, [0x14003ee60]
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], eax
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x14004202e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x14004202e
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x140042031
mov rax, rsi
mov ecx, 1
mov qword [0x1400521f0], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x1400521f0], rsi
je 0x140041f80
lea rcx, [0x14004a6b4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140042368
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140042368
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x140052150], rax
test rax, rax
je 0x140042368
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x140052158], rax
test rax, rax
je 0x140042368
mov rcx, qword [0x140052150]
lea rdx, str.NtUserSendInput
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x140042129
mov rcx, qword [0x140052158]
lea rdx, str.NtUserSendInput
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x140042129
lea rcx, str.The_input_was_not_initialized_
call fcn.14001cc40
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x18]
jmp 0x140041ff4
movups xmm0, xmmword [rcx]
mov qword [rsp + 0x260], rdi
mov edi, esi
movups xmmword [0x140052210], xmm0
movsd xmm1, qword [rcx + 0x10]
movsd qword [0x140052220], xmm1
mov eax, dword [rcx + 0x18]
mov dword [0x140052228], eax
movzx eax, word [rcx + 0x1c]
mov word [0x14005222c], ax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x70]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140042269
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x6c]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x70]
lea edx, [r9 + 0x16]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400421af
mov ebx, dword [rbp - 0x6c]
mov edi, 1
jmp 0x1400421b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140042271
cmp dword [rbp - 0x70], esi
jne 0x140042279
lea rcx, [rsp + 0x60]
call fcn.14003f3f0
test eax, eax
jne 0x140042348
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea rcx, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x50], rcx
mov r8, rax
lea rcx, [rbp - 0x60]
xor edx, edx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x140042254
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 ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140042271
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x140042348
mov rcx, qword [0x140052150]
lea rdx, str.CreateWindowInBand
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140052160], rax
test rax, rax
jne 0x1400422bd
mov rcx, qword [0x140052158]
lea rdx, str.CreateWindowInBand
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140052160], rax
test rax, rax
je 0x140042348
mov rcx, qword [0x140052150]
lea rdx, str.NtUserRegisterErrorReportingDialog
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400521f8], rax
test rax, rax
jne 0x14004231d
mov rcx, qword [0x140052158]
lea rdx, str.NtUserRegisterErrorReportingDialog
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400521f8], rax
test rax, rax
jne 0x14004231d
lea rcx, str.The_driver_was_not_initialized_
call fcn.14001cc40
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [0x1400521f8]
call fcn.140040890
mov qword [0x140052208], rax
call fcn.14003f240
call fcn.14003f760
call fcn.140041570
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.The_gui_was_not_initialized_
call fcn.14001cc40
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.The_librarys_was_not_initialized_
call fcn.14001cc40
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3