Function at 0x1400028a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400430e0]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, r8
mov r14d, edx
mov rsi, rcx
mov rdx, r8
lea rcx, [rsp + 0x68]
call fcn.140005ec0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ebx, dword [rdx + rax + 0x10]
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x64], edx
lea rcx, [rsp + 0x78]
call fcn.140005c00
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x64], edx
lea r15, vtable.std::ios_base.0
mov qword [rbp + 0x18], r15
lea rcx, [rbp + 0x18]
call fcn.14000ff80
nop
test ebx, 6
jne 0x1400029d6
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000296e
mov rcx, qword [rdi]
call fcn.140017cd4
test eax, eax
je 0x1400029d6
mov ebx, 4
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.ERRO:_Ao_excluir_o_arquivo_existente.
call fcn.140007890
mov rcx, rax
call fcn.140007b70
mov ebx, 8
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x14003bf28]
call fcn.1400182e0
xor al, al
jmp 0x140002c09
movzx edx, r14w
mov r8d, 0xa
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140002a14
lea ebx, [rax + 4]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.ERRO:_Ao_localizar_o_recurso.
jmp 0x14000299a
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
test rax, rax
jne 0x140002a4e
lea ebx, [rax + 4]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.ERRO:_Ao_carregar_o_recurso.
jmp 0x14000299a
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x140002a93
lea ebx, [rax + 4]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.ERRO:_Ao_obter_um_ponteiro_para_os_dados_do_recurso.
jmp 0x14000299a
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x80]
call fcn.140013490
mov r8d, 0x20
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.140004d00
nop
cmp qword [rbp + 0x108], 0
jne 0x140002b23
mov ebx, 4
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.ERRO:_Ao_abrir_o_arquivo_de_destino.
call fcn.140007890
mov rcx, rax
call fcn.140007b70
mov ebx, 8
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x14003bf28]
call fcn.1400182e0
xor bl, bl
jmp 0x140002b89
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.140004ea0
lea rcx, [rbp + 0x88]
call fcn.140006d50
test rax, rax
jne 0x140002b87
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx + 0xc8], 0
cmovne eax, edx
or eax, dword [rbp + rcx + 0x90]
and eax, 0x17
mov dword [rbp + rcx + 0x90], eax
mov edx, dword [rbp + rcx + 0x94]
and edx, eax
jne 0x140002c2f
mov bl, 1
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x80], rax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x88]
call fcn.140005c00
mov rcx, qword [rbp + 0x80]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rdx + 0x80], rax
mov rcx, qword [rbp + 0x80]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rbp + rdx + 0x7c], r8d
mov qword [rbp + 0x128], r15
lea rcx, [rbp + 0x128]
call fcn.14000ff80
nop
movzx eax, bl
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140010d30
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
test dl, 4
je 0x140002c3d
lea rbx, [0x14003be68]
jmp 0x140002c52
test dl, 2
lea rbx, [0x14003be80]
lea rax, [0x14003be98]
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1400013c0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140001d00
lea rdx, [0x140042028]
lea rcx, [rsp + 0x40]
call fcn.1400132b0
int3