Function at 0x14004f8a0
Capabilities:
Check if file exists
Create process on windows
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1400]
mov eax, 0x1500
call fcn.1400a6370
sub rsp, rax
movaps xmmword [rsp + 0x14f0], xmm6
movaps xmmword [rsp + 0x14e0], xmm7
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0x13d0], rax
mov rbx, rcx
mov r8, rcx
lea rdx, str.wWinMain::_received_lpCmdLine______s
mov rcx, qword [0x140132990]
call fcn.140011f10
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
xor edi, edi
mov qword [rsp + 0x70], rdi
lea r8, [rsp + 0x70]
lea rdx, [0x140101e28]
mov rcx, rbx
call fcn.1400bc9b0
mov rbx, rax
lea rdx, [0x14010a2d8]
mov rcx, rax
call fcn.1400bc088
test eax, eax
jne 0x14004fb57
lea rdx, str.wWinMain::_its_open_switch.
mov rcx, qword [0x140132990]
call fcn.140011f10
mov qword [rsp + 0x78], rdi
lea r8, [rsp + 0x78]
lea rdx, [0x140101e28]
mov rcx, qword [rsp + 0x70]
call fcn.1400bc9b0
test rax, rax
cmove rax, qword [rsp + 0x70]
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x14004f990
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140011160
nop
lea rax, [rbp - 0x80]
mov r9, qword [rbp - 0x80]
mov r10, qword [rbp - 0x68]
cmp r10, 8
cmovae rax, r9
mov r11, qword [rbp - 0x70]
lea rbx, [rax + r11*2]
lea rax, [rbp - 0x80]
cmovae rax, r9
lea r8, [rax + r11*2]
lea rcx, [rbp - 0x80]
cmovae rcx, r9
cmp rcx, r8
je 0x14004fa25
nop dword [rax]
cmp word [rcx], 0x22
je 0x14004f9ef
add rcx, 2
cmp rcx, r8
jne 0x14004f9e0
cmp rcx, r8
je 0x14004fa25
lea rax, [rcx + 2]
cmp rax, r8
je 0x14004fa25
nop dword [rax]
movzx edx, word [rax]
cmp dx, 0x22
je 0x14004fa10
mov word [rcx], dx
add rcx, 2
add rax, 2
cmp rax, r8
jne 0x14004fa00
mov r10, qword [rbp - 0x68]
mov r11, qword [rbp - 0x70]
mov r9, qword [rbp - 0x80]
lea rax, [rbp - 0x80]
cmp r10, 8
cmovae rax, r9
mov rdx, rcx
sub rdx, rax
sar rdx, 1
sub rbx, rcx
sar rbx, 1
mov rax, r11
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
lea rax, [rbp - 0x80]
cmp r10, 8
cmovae rax, r9
lea rcx, [rax + rdx*2]
sub r11, rbx
mov qword [rbp - 0x70], r11
sub r11, rdx
lea r8, [r11*2 + 2]
lea rdx, [rcx + rbx*2]
call fcn.1400a7d40
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.140012240
mov rcx, rax
call fcn.140017b60
test al, al
je 0x14004fabf
lea rdx, str.wWinMain::_Going_to_launch_Windows_App.
mov rcx, qword [0x140132990]
call fcn.140011f10
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.140012240
mov rcx, rax
call fcn.140050720
test al, al
jne 0x14004fb0f
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r8, qword [rbp - 0x80]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rdi
mov r9, qword [rsp + 0x78]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [0x140132990]
cmp rax, 0x20
lea rdx, str.wWinMain::_ShellExecute_success.
ja 0x14004fb09
lea rdx, str.wWinMain::_ShellExecute_Failed.
call fcn.140011f10
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140050143
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fe80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400501ac
jmp 0x14004fe80
lea rdx, str._SetConfig
mov rcx, rbx
call fcn.1400bc088
test eax, eax
jne 0x14004fe8c
lea rdx, str.wWinMain::_its_setConfig_switch.
mov rcx, qword [0x140132990]
call fcn.140011f10
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x140050143
lea rdx, str.FilePath:___s
mov rcx, qword [0x140132990]
call fcn.140011f10
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], reloc.ACTIVEDS.dll_FreeADsMem
mov byte [rbp - 0x80], dil
xor r8d, r8d
lea rdx, [0x1400ff290]
lea rcx, [rbp - 0x80]
call fcn.140006590
nop
mov rbx, qword [rsp + 0x70]
mov dword [rsp + 0x78], edi
xor edx, edx
mov r8d, 0x1400
lea rcx, [rbp - 0x30]
call fcn.1400a83f0
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14004fc05
lea rdx, str.Failed_wWinMain::__GetFileContent_PathFileExists
jmp 0x14004fc7f
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14004fc41
lea rdx, str.Failed_wWinMain::__GetFileContent_CreateFile
jmp 0x14004fc7f
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x14004fc5a
lea rdx, str.Failed_wWinMain::__GetFileContent_GetFileSize
jmp 0x14004fc7f
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x78]
mov r8d, eax
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14004fca3
lea rdx, str.Failed_wWinMain::__GetFileContent_ReadFile
mov rcx, qword [0x140132990]
call fcn.140011f10
lea rdx, str.wWinMain::_GetFileContent___Failed.
mov rcx, qword [0x140132990]
call fcn.140011f10
jmp 0x14004fe46
lea rdx, str.wWinMain::_GetFileContent_Success
mov rcx, qword [0x140132990]
call fcn.140011f10
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14004fcc1
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x80]
call fcn.140006590
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x70]
sub rax, rcx
cmp rax, 0x1b
jb 0x1400501b2
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rax, qword [rbp - 0x80]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x1b
lea r9, str._cmd_:_setConfig____data_:
lea r8, [rbp - 0x80]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140008d30
nop
mov r8d, 1
lea rdx, [0x14010a4f4]
lea rcx, [rsp + 0x50]
call fcn.1400066f0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.ACTIVEDS.dll_FreeADsMem
mov byte [rax], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14004fd97
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fd92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400501b8
call fcn.1400a59a4
movups xmmword [rbp - 0x80], xmm6
movups xmmword [rbp - 0x70], xmm7
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14004fddc
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fdd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400501be
call fcn.1400a59a4
lea rax, vtable.CConfigHandler.0
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdi
movdqa xmm0, xmmword [0x14010c200]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140030350
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14004fe46
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fe40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400501c4
call fcn.1400a59a4
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140050143
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fe80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400501a6
call fcn.1400a59a4
mov al, 1
jmp 0x140050178
lea rdx, [0x14010a638]
mov rcx, rbx
call fcn.1400bc088
test eax, eax
jne 0x14004ff7a
lea rdx, str.wWinMain::_its__RT_switch.
mov rcx, qword [0x140132990]
call fcn.140011f10
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov r8d, FreeADsMem
lea rdx, str.FITeacherSvc
lea rcx, [rbp - 0x80]
call fcn.140011160
lea rcx, [rbp - 0x80]
call fcn.140014080
mov rcx, qword [0x140132990]
test eax, eax
je 0x14004ff67
lea rdx, str.Teachers_Service_Stopped__Now_going_to_start.
call fcn.140011f10
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov r8d, FreeADsMem
lea rdx, str.FITeacherSvc
lea rcx, [rbp - 0x80]
call fcn.140011160
lea rcx, [rbp - 0x80]
call fcn.140014c80
mov rcx, qword [0x140132990]
test eax, eax
je 0x14004ff54
lea rdx, str.Teachers_Service_Started.
call fcn.140011f10
mov al, 1
jmp 0x140050178
lea rdx, str.Teachers_Service_failed_started.
call fcn.140011f10
mov al, 1
jmp 0x140050178
lea rdx, str.Teachers_Service_failed_to_Stop.
call fcn.140011f10
mov al, 1
jmp 0x140050178
lea rdx, [0x14010a818]
mov rcx, rbx
call fcn.1400bc088
test eax, eax
jne 0x140050059
lea rdx, str.wWinMain::_its__RS_switch.
mov rcx, qword [0x140132990]
call fcn.140011f10
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov r8d, FreeADsMem
lea rdx, str.FIStudentSvc
lea rcx, [rbp - 0x80]
call fcn.140011160
lea rcx, [rbp - 0x80]
call fcn.140014080
mov rcx, qword [0x140132990]
test eax, eax
je 0x140050137
lea rdx, str.Students_Service_Stopped__Now_going_to_start.
call fcn.140011f10
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov r8d, FreeADsMem
lea rdx, str.FIStudentSvc
lea rcx, [rbp - 0x80]
call fcn.140011160
lea rcx, [rbp - 0x80]
call fcn.140014c80
mov rcx, qword [0x140132990]
test eax, eax
je 0x140050046
lea rdx, str.Students_Service_Started.
call fcn.140011f10
mov al, 1
jmp 0x140050178
lea rdx, str.Students_Service_failed_started.
call fcn.140011f10
mov al, 1
jmp 0x140050178
lea rdx, [0x14010a860]
mov rcx, rbx
call fcn.1400bc088
test eax, eax
jne 0x1400500d0
lea rdx, str.wWinMain::_its__ST_switch.
mov rcx, qword [0x140132990]
call fcn.140011f10
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov r8d, FreeADsMem
lea rdx, str.FITeacherSvc
lea rcx, [rbp - 0x80]
call fcn.140011160
lea rcx, [rbp - 0x80]
call fcn.140014080
mov rcx, qword [0x140132990]
test eax, eax
je 0x14004ff67
lea rdx, str.Teachers_Service_Stopped.
call fcn.140011f10
mov al, 1
jmp 0x140050178
lea rdx, [0x14010a9f8]
mov rcx, rbx
call fcn.1400bc088
test eax, eax
jne 0x140050147
lea rdx, str.wWinMain::_its__SS_switch.
mov rcx, qword [0x140132990]
call fcn.140011f10
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov r8d, FreeADsMem
lea rdx, str.FIStudentSvc
lea rcx, [rbp - 0x80]
call fcn.140011160
lea rcx, [rbp - 0x80]
call fcn.140014080
mov rcx, qword [0x140132990]
test eax, eax
lea rdx, str.Students_Service_Stopped.
jne 0x14005013e
lea rdx, str.Students_Service_failed_to_Stop.
call fcn.140011f10
mov al, 1
jmp 0x140050178
lea rdx, str._CleanUp
mov rcx, rbx
call fcn.1400bc088
test eax, eax
jne 0x140050176
lea rdx, str.wWinMain::_its__CleanUp_switch.
mov rcx, qword [0x140132990]
call fcn.140011f10
call fcn.14004ba90
mov al, 1
jmp 0x140050178
xor al, al
mov rcx, qword [rbp + 0x13d0]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0x1500]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400b4704
int3
call fcn.1400b4704
nop
call fcn.140003f10
nop
call fcn.1400b4704
nop
call fcn.1400b4704
int3
call fcn.1400b4704
int3