Function at 0x140001290
Capabilities:
Check if file exists
Create directory
Create process on windows
Delete file
Download url
Get file attributes
Receive data
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
jne 0x1400012ee
lea rdx, str.Failed_to_get_console_window_handle_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001c10
lea eax, [r12 + 1]
jmp 0x1400019a0
lea rcx, str.EGG_NIGGAS_UNLOCKER____
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rdx, str._n__________________________________________________________________n_______________________________________________________n________________________________________________n_______________.__________________________n__________________________________________n_____________________________________________________DLC_Unlocker____n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001c10
mov rcx, rax
call fcn.140002040
lea rdx, str.https:__cdn.discordapp.com_attachments_1193178717510438932_1254433730240446514_jajconator_3000_loader.exe_ex667979f3is66782873hm7db91b67430ef829affb0a236028c602b5226d14a6ccbb96301a58b12512b4ec
lea rcx, [rbp + 0x1f]
call fcn.140001a50
nop
lea rdx, str.C:Downloads_
lea rcx, [rbp - 0x41]
call fcn.140001a50
nop
lea rcx, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rcx, qword [rbp - 0x41]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov r15, qword [rbp - 0x31]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r15
cmp rax, 0x1a
jb 0x1400019d3
lea r14, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae r14, qword [rbp - 0x41]
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x51], xmm1
lea rsi, [r15 + 0x1a]
mov ebx, 7
lea rdi, [rbp - 0x61]
cmp rsi, rbx
jbe 0x14000142f
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x1400013be
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400013ed
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400019cd
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001419
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400019cd
mov rcx, rax
call fcn.140002d50
test rax, rax
je 0x1400018e9
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000142b
test rcx, rcx
je 0x140001428
call fcn.140002d50
mov rdi, rax
jmp 0x14000142b
mov rdi, r12
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x49], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.jajconator_3000_loader.exe]
movups xmmword [rbx + rdi], xmm0
movups xmm1, xmmword [0x1400048e0]
movups xmmword [rbx + rdi + 0x10], xmm1
movups xmm0, xmmword [0x1400048f0]
movups xmmword [rbx + rdi + 0x20], xmm0
mov eax, dword [0x140004900]
mov dword [rbx + rdi + 0x30], eax
mov word [rdi + rsi*2], r12w
lea rdx, str.Wait...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001e20
lea rcx, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, 1
cmp eax, 0xffffffff
je 0x1400014e0
test al, 0x10
jne 0x1400014e0
lea rcx, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400014e0
lea rdx, str.Failed_to_delete_existing_file.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001c10
jmp 0x140001596
lea r8, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae r8, qword [rbp - 0x61]
lea rdx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 8
cmovae rdx, qword [rbp + 0x1f]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ebx, eax
test eax, eax
js 0x140001578
lea rdx, str._Done_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001e20
mov rcx, rax
lea rdx, [0x140002000]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea r8, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae r8, qword [rbp - 0x61]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x1400015a6
lea rdx, str.Done_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001c10
jmp 0x140001596
lea rdx, str._Failed_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001c10
mov rcx, rax
mov edx, ebx
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___long_int____ptr64]
lea rdx, [0x140001de0]
mov rcx, 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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.https:__cdn.discordapp.com_attachments_1254416311665037342_1254416367113998346_Assembly_CSharp.dll_ex667969c7is66781847hm26b5fc6d4abb414e5635096666d87e6e6d0fd07c866393d6da2fc84c65a81f82
lea rcx, [rbp - 1]
call fcn.140001a50
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x69], 7
mov word [rsp + 0x38], r12w
lea rdx, str.Enter_games_managed_path:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001e20
mov rcx, rax
call fcn.1400021f0
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const___ptr64]
movzx r8d, ax
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140002930
mov rsi, qword [rbp - 0x71]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
sub rax, rsi
cmp rax, 0x14
jb 0x14000165f
lea rax, [rsi + 0x14]
mov qword [rbp - 0x71], rax
lea rbx, [rsp + 0x38]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x38]
lea rcx, [rbx + rsi*2]
mov r8d, 0x28
lea rdx, str.Assembly_CSharp.dll
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rsi*2 + 0x28], r12w
jmp 0x140001677
mov qword [rsp + 0x20], 0x14
mov edx, 0x14
lea rcx, [rsp + 0x38]
call fcn.1400026f0
lea rdx, str.https:__discord.gg_aXDgehrYsD
lea rcx, [rbp - 0x21]
call fcn.140001a50
nop
lea r8, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae r8, qword [rbp - 0x21]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x1400017b2
lea rcx, [rsp + 0x38]
cmp qword [rbp - 0x69], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000170b
test al, 0x10
jne 0x14000170b
lea rcx, [rsp + 0x38]
cmp qword [rbp - 0x69], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000170b
lea rdx, str.Failed_to_delete_existing_file.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001c10
jmp 0x1400017a1
lea r8, [rsp + 0x38]
cmp qword [rbp - 0x69], 8
cmovae r8, qword [rsp + 0x38]
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ebx, eax
test eax, eax
js 0x140001783
lea rdx, str.File_downloaded_to:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001e20
lea rdx, [rsp + 0x38]
cmp qword [rbp - 0x69], 8
cmovae rdx, qword [rsp + 0x38]
mov r8, qword [rbp - 0x71]
mov rcx, rax
call fcn.140002ae0
mov rcx, rax
lea rdx, [0x140002000]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov edi, r12d
jmp 0x1400017b2
lea rdx, str.Failed_to_download_file._HRESULT:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001c10
mov rcx, rax
mov edx, ebx
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___long_int____ptr64]
lea rdx, [0x140001de0]
mov rcx, 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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x1400017f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d8c
movdqa xmm0, xmmword [0x140004bc0]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r12w
mov rdx, qword [rbp - 0x69]
cmp rdx, 8
jb 0x14000184b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001846
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001846
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d8c
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x69], 7
mov word [rsp + 0x38], r12w
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x1400018a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000189b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000189b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d8c
movdqa xmm0, xmmword [0x140004bc0]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], r12w
mov rdx, qword [rbp - 0x49]
cmp rdx, 8
jb 0x1400018f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d8c
movdqa xmm0, xmmword [0x140004bc0]
movdqu xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x61], r12w
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x14000194a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001945
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001945
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d8c
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], r12w
mov rdx, qword [rbp + 0x37]
cmp rdx, 8
jb 0x14000199e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001999
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001999
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d8c
mov eax, edi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140002d30
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140001110
nop
call fcn.1400011b0
int3