Function at 0x14014d700
Capabilities:
Enumerate pe sections
Inspect section memory permissions
Parse pe header
Resolve function by parsing pe exports
Set console window title

Disassembly:
push rsi
push rdi
sub rsp, 0x398
mov rax, qword [0x1401f1080]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov dword [rsp + 0x120], 0
lea rax, [rsp + 0x1f0]
mov rdi, rax
xor eax, eax
mov ecx, pe_nt_image_headers64
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x24
lea rdx, str.GPX.dll
lea rcx, [rsp + 0x1f0]
call fcn.140162600
nop
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax + 4]
lea rax, [rsp + rax + 0x1f0]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0xa0]
and eax, 6
test eax, eax
je 0x14014d7a7
mov byte [rsp + 0x31], 1
jmp 0x14014d7ac
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x37], al
movzx eax, byte [rsp + 0x37]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14014d80d
lea rcx, str._n_____Failed_to_find_GPX.dll_locally
call fcn.1401454d0
mov ecx, 0x1d4c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rsp + 0x39], 0
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140162530
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140162e30
movzx eax, byte [rsp + 0x39]
jmp 0x14014e483
lea rdx, [rsp + 0x328]
lea rcx, [rsp + 0x1f0]
call fcn.1401627f0
mov rax, qword [rsp + 0x328]
add rax, qword [rsp + 0x330]
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x130]
call fcn.14019e4fc
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x70], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x1f0]
call fcn.140162970
mov rax, qword [rsp + 0x328]
add rax, qword [rsp + 0x330]
mov qword [rsp + 0x140], rax
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x1f0]
call fcn.140162c10
lea rcx, [rsp + 0x1f0]
call fcn.1401624a0
lea rcx, str._n____Manual_mapping_GPX.dll_into_FortniteClient_Win64_Shipping.exe
call fcn.1401454d0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14014d950
lea rcx, str._n____Failed_to_retrieve_DOS_Header
call fcn.1401454d0
mov ecx, 0x1d4c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rsp + 0x3a], 0
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140162530
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
lea rcx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rax], rcx
mov rax, qword [rsp + 0xa8]
lea rcx, vtable.std::ios_base.0
mov qword [rax], rcx
mov rcx, qword [rsp + 0xa8]
call fcn.14017bedc
nop
movzx eax, byte [rsp + 0x3a]
jmp 0x14014e483
mov rax, qword [rsp + 0xb8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0x4550
je 0x14014d9f1
lea rcx, str._n____Failed_to_retrieve_NT_Headers
call fcn.1401454d0
mov ecx, 0x1d4c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rsp + 0x3b], 0
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140162530
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
lea rcx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rax], rcx
mov rax, qword [rsp + 0xb0]
lea rcx, vtable.std::ios_base.0
mov qword [rax], rcx
mov rcx, qword [rsp + 0xb0]
call fcn.14017bedc
nop
movzx eax, byte [rsp + 0x3b]
jmp 0x14014e483
mov rax, qword [rsp + 0x48]
mov r9d, dword [rax + 0x50]
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x48]
lea rcx, str._n_i__TestGPX:_NT:__p__DOS:__p__Size:__d_n
call fcn.1401454d0
call fcn.14014c870
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x14014daa3
lea rcx, str._n____Failed_to_retrieve_ProcessPeb
call fcn.1401454d0
mov ecx, 0x1d4c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rsp + 0x3c], 0
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140162530
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
lea rcx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rax], rcx
mov rax, qword [rsp + 0xc0]
lea rcx, vtable.std::ios_base.0
mov qword [rax], rcx
mov rcx, qword [rsp + 0xc0]
call fcn.14017bedc
nop
movzx eax, byte [rsp + 0x3c]
jmp 0x14014e483
lea rdx, str.FortniteClient_Win64_Shipping.exe
mov rcx, qword [rsp + 0x90]
call fcn.14014cf30
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x14014db42
lea rcx, str._n____Failed_to_retrieve_TargetBaseAddress
call fcn.1401454d0
mov ecx, 0x1d4c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rsp + 0x3d], 0
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140162530
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
lea rcx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rax], rcx
mov rax, qword [rsp + 0xc8]
lea rcx, vtable.std::ios_base.0
mov qword [rax], rcx
mov rcx, qword [rsp + 0xc8]
call fcn.14017bedc
nop
movzx eax, byte [rsp + 0x3d]
jmp 0x14014e483
mov rdx, qword [rsp + 0x88]
lea rcx, str._n___TargetBaseAddress:__p
call fcn.1401454d0
mov rcx, qword [rsp + 0x88]
call fcn.14014ce80
mov qword [0x1401f4fa8], rax
cmp qword [0x1401f4fa8], 0
jne 0x14014db8b
lea rcx, str._ncr3_failed
call fcn.1401454d0
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [0x1401f4fa8]
lea rcx, str._n___cr3:__p
call fcn.1401454d0
lea rcx, str.pause
call fcn.1401a8894
lea rdx, str.DiscordHook64.dll
mov rcx, qword [rsp + 0x90]
call fcn.14014cf30
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
jne 0x14014dc49
lea rcx, str._n____Failed_to_find_DiscordHook64.dll_in_target_process
call fcn.1401454d0
mov ecx, 0x1d4c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rsp + 0x3e], 0
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140162530
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
lea rcx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rax], rcx
mov rax, qword [rsp + 0xd0]
lea rcx, vtable.std::ios_base.0
mov qword [rax], rcx
mov rcx, qword [rsp + 0xd0]
call fcn.14017bedc
nop
movzx eax, byte [rsp + 0x3e]
jmp 0x14014e483
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x90]
lea rcx, str._n___Found_PEB_and_DiscordHook64:__p__p
call fcn.1401454d0
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x50]
add rax, 0x8f
mov qword [rsp + 0x98], rax
mov r8d, 2
mov edx, 0x3000
mov rcx, qword [rsp + 0x98]
call fcn.14014cae0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14014dd01
mov byte [rsp + 0x3f], 1
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140162530
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
lea rcx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rax], rcx
mov rax, qword [rsp + 0xd8]
lea rcx, vtable.std::ios_base.0
mov qword [rax], rcx
mov rcx, qword [rsp + 0xd8]
call fcn.14017bedc
nop
movzx eax, byte [rsp + 0x3f]
jmp 0x14014e483
mov dword [rsp + 0x20], 2
mov r9d, 0x3000
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x58]
lea rcx, str._n_____p__Allocated__d_bytes_with_flag_s___d_and_allocation_protect__d
call fcn.1401454d0
lea rcx, str.pause
call fcn.1401a8894
mov r8d, 4
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
call fcn.14014cd90
mov qword [rsp + 0x148], rax
mov rdx, qword [rsp + 0x148]
lea rcx, str._n____OriginalProtection:__p
call fcn.1401454d0
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
call fcn.14014d450
movzx eax, al
test eax, eax
jne 0x14014ddf6
lea rcx, str._n____Failed_to_find_resolve_imports
call fcn.1401454d0
mov ecx, 0x1d4c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140162530
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
lea rcx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rax], rcx
mov rax, qword [rsp + 0xe0]
lea rcx, vtable.std::ios_base.0
mov qword [rax], rcx
mov rcx, qword [rsp + 0xe0]
call fcn.14017bedc
nop
movzx eax, byte [rsp + 0x40]
jmp 0x14014e483
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call fcn.14014d2b0
movzx eax, al
test eax, eax
jne 0x14014de89
lea rcx, str._n____Failed_to_find_relocate_image
call fcn.1401454d0
mov ecx, 0x1d4c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rsp + 0x41], 0
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140162530
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
lea rcx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rax], rcx
mov rax, qword [rsp + 0xe8]
lea rcx, vtable.std::ios_base.0
mov qword [rax], rcx
mov rcx, qword [rsp + 0xe8]
call fcn.14017bedc
nop
movzx eax, byte [rsp + 0x41]
jmp 0x14014e483
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call fcn.14014d610
movzx eax, al
test eax, eax
jne 0x14014df1c
lea rcx, str._n____Failed_to_find_write_sections
call fcn.1401454d0
mov ecx, 0x1d4c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rsp + 0x42], 0
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140162530
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
lea rcx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rax], rcx
mov rax, qword [rsp + 0xf0]
lea rcx, vtable.std::ios_base.0
mov qword [rax], rcx
mov rcx, qword [rsp + 0xf0]
call fcn.14017bedc
nop
movzx eax, byte [rsp + 0x42]
jmp 0x14014e483
lea rcx, str._n___Imports_fixed__Image_relocated_and_sections_written_
call fcn.1401454d0
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x60], 0
jmp 0x14014df57
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x60], eax
jge 0x14014e102
movsxd rax, dword [rsp + 0x60]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14014df90
jmp 0x14014df4d
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x24]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14014dfa5
jmp 0x14014df4d
mov eax, dword [rsp + 0x50]
and eax, 0x2000000
test eax, eax
je 0x14014dfe7
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x10], 0
je 0x14014dfe7
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
xor edx, edx
call fcn.14014ca00
jmp 0x14014df4d
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0xa4], eax
mov dword [rsp + 0x64], 2
mov eax, dword [rsp + 0x50]
and eax, 0x40000000
test eax, eax
je 0x14014e012
mov byte [rsp + 0x32], 1
jmp 0x14014e017
mov byte [rsp + 0x32], 0
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0x50]
and eax, 0x80000000
test eax, eax
je 0x14014e034
mov byte [rsp + 0x33], 1
jmp 0x14014e039
mov byte [rsp + 0x33], 0
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x50]
and eax, 0x20000000
test eax, eax
je 0x14014e056
mov byte [rsp + 0x34], 1
jmp 0x14014e05b
mov byte [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x35], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14014e089
movzx eax, byte [rsp + 0x36]
test eax, eax
je 0x14014e089
movzx eax, byte [rsp + 0x35]
test eax, eax
je 0x14014e089
mov dword [rsp + 0x64], 0x20
jmp 0x14014e0bf
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14014e0a5
movzx eax, byte [rsp + 0x35]
test eax, eax
je 0x14014e0a5
mov dword [rsp + 0x64], 0x20
jmp 0x14014e0bf
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14014e0bf
movzx eax, byte [rsp + 0x36]
test eax, eax
je 0x14014e0bf
mov dword [rsp + 0x64], 4
movsxd rax, dword [rsp + 0x64]
movsxd rcx, dword [rsp + 0xa4]
mov rdx, qword [rsp + 0x68]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0x58]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x158], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x158]
mov rcx, rax
call fcn.14014cd90
jmp 0x14014df4d
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x78], eax
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x58]
lea rcx, str._n___EntryAddress:__p___p
call fcn.1401454d0
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x50]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov r8d, 4
mov edx, 0x3000
mov rcx, qword [rsp + 0x98]
call fcn.14014cae0
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [0x1401f1cc6], rax
lea rax, [rsp + 0x300]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov dword [rsp + 0x300], 0
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x310], rax
mov dword [rsp + 0x318], 1
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x320], rax
mov r8d, 0x67
lea rdx, [0x1401f1cc0]
mov rcx, qword [rsp + 0x80]
call fcn.14014ca00
mov r8d, 0x28
lea rdx, [rsp + 0x300]
mov rcx, qword [rsp + 0x1e0]
call fcn.14014ca00
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x20
mov edx, 0x1000
mov rcx, qword [rsp + 0x80]
call fcn.14014cd90
mov rdx, qword [rsp + 0x80]
lea rcx, str._n___Shellcode_address:__p__written___attempting_to_swap
call fcn.1401454d0
lea rcx, str.pause
call fcn.1401a8894
mov rax, qword [rsp + 0xf8]
add rax, 0xe5090
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x110]
call fcn.14014ccb0
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
lea rcx, str._n___Swapped_target_function__Original:__p
call fcn.1401454d0
cmp dword [rsp + 0x300], 2
je 0x14014e3c7
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0x1b8]
call fcn.14016c540
lea rcx, [rsp + 0x170]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x300]
lea rcx, [rsp + 0x170]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov r8d, dword [rsp + 0x300]
lea rdx, str.status:__d
lea rcx, [rsp + 0x340]
call fcn.14016c580
lea rcx, [rsp + 0x340]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rax, [rsp + 0x198]
mov qword [rsp + 0x160], rax
lea rdx, str.FortniteClient_Win64_Shipping.exe
mov rcx, qword [rsp + 0x160]
call fcn.140163690
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x168]
call fcn.14014c720
test eax, eax
jne 0x14014e3b7
lea rcx, str._n____Game_crashed_on_DllMain._User_issue.
call fcn.1401454d0
mov byte [rsp + 0x43], 1
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140162530
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
lea rcx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x100]
lea rcx, vtable.std::ios_base.0
mov qword [rax], rcx
mov rcx, qword [rsp + 0x100]
call fcn.14017bedc
nop
movzx eax, byte [rsp + 0x43]
jmp 0x14014e483
mov ecx, 0x19
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14014e28e
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x110]
call fcn.14014ccb0
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x110]
lea rcx, str._n___Reswapped__p_to__p
call fcn.1401454d0
mov edx, 0x8000
mov rcx, qword [rsp + 0x80]
call fcn.14014cbd0
mov rdx, qword [rsp + 0x58]
lea rcx, str._n___Freed_MEMORY__p__in_target_process
call fcn.1401454d0
lea rcx, str._n___Done_n_n_n
call fcn.1401454d0
mov byte [rsp + 0x44], 1
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140162530
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
lea rcx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x118]
lea rcx, vtable.std::ios_base.0
mov qword [rax], rcx
mov rcx, qword [rsp + 0x118]
call fcn.14017bedc
nop
movzx eax, byte [rsp + 0x44]
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.14019dfb0
add rsp, 0x398
pop rdi
pop rsi
ret