Function at 0x1800f9760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1802a5100]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r12d, r12d
lea rax, str.Loading_Custom_Textures
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], 0x17
lea r13, str.C:UsersNGxD_TVDesktopGTA_ModdingNGxD_TV___Mod_Menu_srcguiGUI.cpp
mov qword [rbp - 0x21], r13
mov dword [rbp - 0x19], 0xcd
lea rax, str.Cheat::GUI::LoadTextureFile
mov qword [rbp - 0x11], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rbp - 0x21]
movaps xmmword [rbp + 7], xmm1
movsd xmm0, qword [rbp - 0x11]
movsd qword [rbp + 0x17], xmm0
lea r9, [rbp - 0x39]
mov r8d, 2
lea rdx, [rbp + 7]
mov rcx, qword [0x1802c8140]
call fcn.1800b6e20
cmp byte [0x1802c4c1d], r12b
jne 0x1800f996e
lea rdx, [0x1802c7e50]
lea rcx, [rbp + 7]
call fcn.1800779d0
mov rdi, rax
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1800f9827
mov rcx, qword [rax]
call fcn.18011ccd0
mov rbx, rax
mov rcx, rdi
call fcn.1800771b0
mov rcx, rbx
call fcn.180118340
lea r8, str.CHEAT_DATA
mov edx, 0x8c
mov rcx, qword [0x1802c4b58]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x1800f9a5c
mov rdx, rax
mov rcx, qword [0x1802c4b58]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1800f9a5c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
mov rdx, rbx
mov rcx, qword [0x1802c4b58]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea rdx, [0x1802c7e50]
lea rcx, [rbp + 7]
call fcn.1800779d0
mov rdi, rax
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1800f98bb
mov rcx, qword [rax]
call fcn.18011ccd0
mov rbx, rax
mov rcx, rdi
call fcn.1800771b0
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor edx, edx
mov r8d, 4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x1800f9a5c
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
test rax, rax
je 0x1800f9a5c
mov r8, rsi
mov rdx, r15
mov rcx, rax
call fcn.18013ad10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [0x1802c7e50]
cmp qword [0x1802c7e68], 0xf
cmova rax, qword [0x1802c7e50]
mov qword [rbp - 0x39], rax
mov rax, qword [0x1802c7e60]
mov qword [rbp - 0x31], rax
call fcn.18010a100
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
lea r8, [rbp - 0x39]
mov edx, eax
lea rcx, [rbp + 7]
call fcn.1800786b0
nop
lea rcx, [rbp + 7]
call fcn.18007d620
movzx ebx, al
lea rcx, [rbp + 7]
call fcn.180079ec0
test bl, bl
je 0x1800f9a5c
mov rsi, qword [0x1802c7b68]
lea rdx, [0x1802c7e50]
lea rcx, [rbp - 0x21]
call fcn.1800779d0
mov rdi, rax
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1800f99f6
mov rcx, qword [rax]
call fcn.18011ccd0
mov rbx, rax
mov rcx, rdi
call fcn.1800771b0
mov byte [rsp + 0x20], 0
lea r9, str.Textures.ytd
mov r8b, 1
mov rdx, rbx
lea rcx, [rbp - 0x29]
call rsi
mov dword [0x1802bf898], r12d
movabs rax, 0xdfa2ef8e04127dd5
mov qword [0x1802c8230], rax
lea rax, str.Textures
mov qword [0x1802bf960], rax
mov qword [0x1802bf968], r12
mov dword [0x1802bf888], 2
call fcn.1801072e0
jmp 0x1800f9ac8
xor edx, edx
lea rcx, str.rFailed_to_load_Texture_file
call fcn.1800e0440
lea rax, str.Failed_to_load_Texture_file__missing
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], 0x24
mov qword [rbp - 0x21], r13
mov dword [rbp - 0x19], 0xfc
lea rax, str.Cheat::GUI::LoadTextureFile
mov qword [rbp - 0x11], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rbp - 0x21]
movaps xmmword [rbp + 7], xmm1
movsd xmm0, qword [rbp - 0x11]
movsd qword [rbp + 0x17], xmm0
lea r9, [rbp - 0x39]
mov r8d, 4
lea rdx, [rbp + 7]
mov rcx, qword [0x1802c8140]
call fcn.1800b6e20
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.18010c6a0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret