Function at 0x1800c7b90
Capabilities:
Extract resource via kernel32 functions

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, 0xb0
mov rax, qword [0x1802940c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r12d, r12d
lea rdx, str.Loading_Textures
lea rcx, [0x1802b1fc0]
call fcn.18007d500
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.180079f10
movzx edx, al
mov rcx, rbx
call fcn.18007dcc0
mov rcx, rbx
call fcn.18007add0
cmp byte [0x1802b39bf], r12b
jne 0x1800c7d71
lea rdx, [0x1802b6be8]
lea rcx, [rbp + 0x17]
call fcn.1800795a0
mov rdi, rax
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1800c7c2d
mov rcx, qword [rax]
call fcn.1801089e4
mov rbx, rax
mov rcx, rdi
call fcn.180079a20
mov rcx, rbx
call fcn.180110340
lea r8, str.CHEAT_DATA
mov edx, 0x8c
mov rcx, qword [0x1802b38f8]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x1800c7e56
mov rdx, rax
mov rcx, qword [0x1802b38f8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1800c7e56
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
mov rdx, rbx
mov rcx, qword [0x1802b38f8]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea rdx, [0x1802b6be8]
lea rcx, [rbp + 0x17]
call fcn.1800795a0
mov rdi, rax
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1800c7cc1
mov rcx, qword [rax]
call fcn.1801089e4
mov rbx, rax
mov rcx, rdi
call fcn.180079a20
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
lea r8d, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x1800c7e56
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
test rax, rax
je 0x1800c7e56
mov r8, rsi
mov rdx, r15
mov rcx, rax
call fcn.18012f400
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]
mov rdi, qword [0x1802b6bf8]
lea rbx, [0x1802b6be8]
cmp qword [0x1802b6c00], 0xf
cmova rbx, qword [0x1802b6be8]
call fcn.1800ffa78
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rdi
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp + 0x17]
call fcn.18007b7f0
nop
lea rcx, [rbp + 0x17]
call fcn.18007bfa0
movzx ebx, al
lea rcx, [rbp + 0x17]
call fcn.18007d240
test bl, bl
je 0x1800c7e56
mov rsi, qword [0x1802b6a08]
lea rdx, [0x1802b6be8]
lea rcx, [rbp - 0x11]
call fcn.1800795a0
mov rdi, rax
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1800c7df0
mov rcx, qword [rax]
call fcn.1801089e4
mov rbx, rax
mov rcx, rdi
call fcn.180079a20
mov byte [rsp + 0x20], 0
lea r9, str.Textures.ytd
mov r8b, 1
mov rdx, rbx
lea rcx, [rbp - 0x19]
call rsi
mov dword [0x1802ae878], r12d
movabs rax, 0xdfa2ef8e04127dd5
mov qword [0x1802b70a0], rax
lea rax, str.Textures
mov qword [0x1802ae940], rax
mov qword [0x1802ae948], r12
mov dword [0x1802ae868], 2
call fcn.1800fc370
jmp 0x1800c7ec7
lea rcx, str.rFailed_to_load_Texture
call fcn.1800ad800
lea rax, str.Failed_to_load_Texture
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], 0x16
lea rax, str.E:menuGTA_VmenuSmoking_Menu_srcguiGUI.cpp
mov qword [rbp - 0x11], rax
mov dword [rbp - 9], 0xe8
lea rax, str.Cheat::GUI::LoadTextureFile
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rbp - 0x11]
movaps xmmword [rbp + 0x17], xmm1
movsd xmm0, qword [rbp - 1]
movsd qword [rbp + 0x27], xmm0
lea r9, [rbp - 0x29]
mov r8d, 4
lea rdx, [rbp + 0x17]
mov rcx, qword [0x1802b6fa8]
call fcn.1800c7520
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180101410
lea r11, [rsp + 0xb0]
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