Function at 0x1400020b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x2e0
mov rax, qword [0x140010008]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rsi, rcx
mov qword [rsp + 0x20], rcx
xor edi, edi
lea edx, [rdi + 0x65]
xor ecx, ecx
lea r8d, [rdi + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140002142
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.FindResource_fail:
mov ebx, eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001300
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400014d0]
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]
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
jmp 0x14000240d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140002161
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.LoadResource_fail:
jmp 0x140002109
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test rax, rax
jne 0x140002181
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.LockResource_fail:
jmp 0x140002109
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x1400021a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.SizeofResource_fail:
jmp 0x140002109
mov rcx, qword [r12]
mov qword [rsp + 0x20], rcx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov rbx, rdi
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x80808081
imul r8d
add edx, r8d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r8d, ecx
mov byte [rsp + rbx + 0x150], r8b
inc rbx
cmp rbx, 0x80
jl 0x1400021b4
xorps xmm0, xmm0
mov ebp, dword [rsp + 0x24]
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov r14, rdi
test rbp, rbp
je 0x14000226e
cmp rbp, 0x1000
jb 0x14000223e
lea rcx, [rbp + 0x27]
cmp rcx, rbp
jbe 0x14000243c
call fcn.14000c8a8
test rax, rax
je 0x140002237
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140002249
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.14000c8a8
mov r14, rax
mov r15, r14
mov qword [rsp + 0x30], r14
lea rbx, [r14 + rbp]
mov qword [rsp + 0x40], rbx
mov r8, rbp
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x38], rbx
jmp 0x140002273
mov r15, qword [rsp + 0x30]
lea rdx, [r12 + 8]
mov r8, rbp
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov ebx, edi
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x1d0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov edx, edi
nop
mov ecx, edx
mov byte [rsp + rcx + 0x50], dl
mov eax, edx
and eax, 0x7f
movzx eax, byte [rsp + rax + 0x150]
mov byte [rsp + rcx + 0x1d0], al
inc edx
cmp edx, 0x100
jl 0x1400022b0
mov rdx, rdi
mov r9d, pe_nt_image_headers64
nop dword [rax]
movzx r8d, byte [rsp + rdx + 0x50]
movzx eax, byte [rsp + rdx + 0x1d0]
add ebx, eax
add ebx, r8d
and ebx, 0x800000ff
jge 0x140002305
dec ebx
or ebx, 0xffffff00
inc ebx
movsxd rax, ebx
lea rcx, [rsp + 0x50]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rsp + rdx + 0x50], al
mov byte [rcx], r8b
inc rdx
sub r9, 1
jne 0x1400022e0
mov edx, edi
mov r8d, edi
cmp dword [rsp + 0x24], edi
jbe 0x14000239b
nop
inc edx
and edx, 0x800000ff
jge 0x140002344
dec edx
or edx, 0xffffff00
inc edx
movsxd rax, edx
lea r9, [rsp + 0x50]
add r9, rax
movzx r10d, byte [r9]
add r8d, r10d
and r8d, 0x800000ff
jge 0x14000236c
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rax, r8d
lea rcx, [rsp + 0x50]
add rcx, rax
movzx eax, byte [rcx]
mov byte [r9], al
mov byte [rcx], r10b
movzx ecx, byte [r9]
add rcx, r10
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x50]
xor byte [r14], cl
inc r14
sub rbp, 1
jne 0x140002330
mov rbp, qword [rsp + 0x38]
mov rbx, rbp
sub rbx, r15
lea rdx, str.size:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001300
mov rcx, rax
mov rdx, rbx
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x1400014d0]
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 word [rax + rax]
movzx edx, byte [rdi + r15]
lea rcx, str.0x_x
call fcn.140001010
inc rdi
cmp rdi, 0x100
jl 0x1400023e0
mov qword [rsi], r15
mov qword [rsi + 8], rbp
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
mov rax, rsi
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.14000c880
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140002010
int3