Function at 0x14000ddd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa8]
sub rsp, 0x1a8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400dc010]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rsi, r9
mov r12d, r8d
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x48], rcx
mov qword [rbp + 0x60], rdx
mov qword [rbp + 0x68], r9
xor r13d, r13d
mov dword [rsp + 0x30], r13d
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x1400a89e0]
movdqu xmmword [rbp + 0x80], xmm1
mov word [rbp + 0x70], r13w
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x14000e193
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r15], rax
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x38]
call fcn.14000e220
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [r15]
sub rdi, 0x18
lea rbx, [r13 - 1]
cmp rcx, rdi
je 0x14000ded6
cmp dword [rdi + 0x10], r13d
jl 0x14000dec9
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14000dec9
call fcn.14000d070
mov r13, rax
mov eax, ebx
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x14000debd
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
lea rax, [r13 + 0x18]
mov qword [r15], rax
xor r13d, r13d
jmp 0x14000ded6
mov r8d, dword [rdx - 0x10]
mov rcx, r15
call fcn.14000d160
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000def4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [r15]
nop word [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14000df00
mov r8, rbx
lea rcx, [rbp + 0x70]
call fcn.14000e6a0
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x14000df23
mov r9, qword [rsi]
mov rdx, qword [rsi + 0x10]
mov rcx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x88]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x14000df6f
lea rdi, [rcx + rdx]
mov qword [rbp + 0x80], rdi
lea rbx, [rbp + 0x70]
cmp r8, 8
cmovae rbx, qword [rbp + 0x70]
lea r8, [rdx + rdx]
lea rcx, [rbx + rcx*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r13w
jmp 0x14000df7d
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x70]
call fcn.14000e830
mov r8, r14
cmp qword [r14 + 0x18], 8
jb 0x14000df8a
mov r8, qword [r14]
movzx edx, r12w
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rdx, qword [rbp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000e4e0
nop
mov r8d, ebx
mov rdx, rdi
lea rcx, [rsp + 0x50]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x58]
call fcn.14000cab0
test rax, rax
jne 0x14000e018
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rax, [rbp - 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.14000b6d0
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x14000e0b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e0ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e0ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069214
movdqa xmm0, xmmword [0x1400a89e0]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], r13w
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x14000e104
mov rcx, qword [r14]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000e0ff
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000e185
mov rcx, r8
call fcn.140069214
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14000e14f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000e14a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000e18c
mov rcx, r8
call fcn.140069214
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov rax, r15
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400691f0
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x80004005
call fcn.14000dd90
int3