Function at 0x140035390
Capabilities:
Accept command line arguments
Create process on windows
Enumerate gui resources
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rbp + 0x250], rax
xor esi, esi
cmp qword [0x140093768], rsi
jne 0x1400354a3
nop word [rax + rax]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0x238
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rbp + 0x10]
mov dword [rbp + 0x10], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003543c
lea rdx, str.FortniteClient_Win64_Shipping.exe
lea rcx, [rbp + 0x3c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rcx, rbx
test eax, eax
je 0x140035564
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140035412
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
lea rdx, [rsp + 0x60]
mov dword [0x1400937b8], eax
lea rcx, [0x140033d50]
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], eax
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x140035481
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x140035481
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x140035484
mov rax, rsi
mov ecx, 1
mov qword [0x140093768], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x140093768], rsi
je 0x1400353d0
lea rcx, str.user32.dll
mov qword [rsp + 0x370], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14003572c
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14003572c
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x140093718], rax
test rax, rax
je 0x14003572c
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x140093760], rax
test rax, rax
je 0x14003572c
mov edi, esi
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 0x14003562c
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 0x140035572
mov ebx, dword [rbp - 0x6c]
mov edi, 1
jmp 0x14003557a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x18]
jmp 0x140035447
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 0x140035634
cmp dword [rbp - 0x70], esi
jne 0x14003563c
lea rcx, [rsp + 0x60]
call fcn.140033260
test eax, eax
jne 0x140035717
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
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_CreateProcessAsUserW]
test eax, eax
je 0x140035617
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 0x140035634
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x140035717
mov rcx, qword [0x140093718]
lea rdx, str.CreateWindowInBand
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140093700], rax
test rax, rax
jne 0x140035680
mov rcx, qword [0x140093760]
lea rdx, str.CreateWindowInBand
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140093700], rax
test rax, rax
je 0x140035717
mov rcx, qword [0x140093718]
lea rdx, str.NtUserRegisterErrorReportingDialog
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400937b0], rax
test rax, rax
jne 0x1400356c0
mov rcx, qword [0x140093760]
lea rdx, str.NtUserRegisterErrorReportingDialog
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400937b0], rax
test rax, rax
je 0x14003572c
lea rcx, [0x1400937b0]
call fcn.14002f450
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rax
mov qword [0x1400937c0], rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140035a80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.140033ba0
call fcn.140033600
call fcn.140034f10
int3
lea rcx, str.problem_gui
call fcn.140001210
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3