Function at 0x1400651c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
sub rsp, 0x98
mov r11, qword [rax + 0x10]
mov rdx, rcx
mov byte [rcx], 0
mov qword [rcx + 8], 0
movsxd rcx, dword [r11 + 0x3c]
cmp dword [rcx + r11 + 0x84], 2
ja 0x140065211
lea rax, str.There_is_no_resource_section_in_module
mov qword [rdx + 8], rax
mov rax, rdx
add rsp, 0x98
ret
mov r10d, dword [rcx + r11 + 0x98]
add r10, r11
cmp dword [rcx + r11 + 0x9c], 0
mov qword [rsp + 0x40], r10
jne 0x140065242
lea rax, str.Resource_section_is_empty
mov qword [rdx + 8], rax
mov rax, rdx
add rsp, 0x98
ret
movzx r9d, word [r10 + 0xe]
lea r8, [r10 + 8]
movzx eax, word [r10 + 0xc]
mov qword [rsp + 0x90], rbx
add r9d, eax
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], r12
lea r8, [r8 + r9*8]
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x30], r9d
je 0x1400654e0
mov r12, qword [rsp + 0xb0]
lea rdx, [0x14020ad10]
nop word [rax + rax]
cmp word [r8], 0x10
jne 0x1400654be
mov eax, dword [r8 + 4]
btr eax, 0x1f
mov ecx, dword [rax + r10 + 0x14]
btr ecx, 0x1f
mov eax, dword [rcx + r10 + 0x14]
mov ecx, dword [rax + r10]
mov rax, 0xffffffffffffffff
add rcx, r11
nop
cmp word [rcx + rax*2 + 8], 0
lea rax, [rax + 1]
jne 0x1400652e0
movzx r14d, word [rcx + 2]
lea rax, [rax*2 + 0xb]
movzx r13d, word [rcx]
add r14, 3
and rax, 0xfffffffffffffffc
and r14, 0xfffffffffffffffc
add rax, rcx
add r13, rcx
add r14, rax
cmp r14, r13
jae 0x1400654be
nop dword [rax + rax]
cmp word [r14], 8
jb 0x1400654a7
mov r9d, 0xffffffff
mov dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x20], rdx
lea r8, [r14 + 6]
lea edx, [r9 + 2]
lea ecx, [rdx + 0x7e]
call qword [sym.imp.KERNEL32.dll_CompareStringW]
xor edx, edx
cmp eax, 2
lea ecx, [rax - 2]
cmovne edx, ecx
test edx, edx
jne 0x140065488
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp word [r14 + rax*2 + 8], 0
lea rax, [rax + 1]
jne 0x140065370
movzx esi, word [r14 + 2]
lea rax, [rax*2 + 0xb]
movzx r15d, word [r14]
add rsi, 3
and rax, 0xfffffffffffffffc
and rsi, 0xfffffffffffffffc
add rax, r14
add r15, r14
add rsi, rax
cmp rsi, r15
jae 0x140065488
nop dword [rax]
movzx ecx, word [rsi]
cmp ecx, 8
jb 0x140065488
mov rax, 0xffffffffffffffff
cmp word [rsi + rax*2 + 8], 0
lea rax, [rax + 1]
jne 0x1400653c3
movzx ebx, word [rsi + 2]
lea rax, [rax*2 + 0xb]
add rbx, 3
lea rbp, [rsi + rcx]
and rax, 0xfffffffffffffffc
and rbx, 0xfffffffffffffffc
add rax, rsi
add rbx, rax
cmp rbx, rbp
jae 0x140065471
cmp word [rbx], 8
jb 0x140065471
lea r8, [rbx + 6]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [r8 + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140065410
mov edx, 1
mov dword [rsp + 0x28], 0xffffffff
lea rdi, [rax*2 + 0xb]
mov qword [rsp + 0x20], r12
and rdi, 0xfffffffffffffffc
add rdi, rbx
lea ecx, [rdx + 0x7e]
lea r9d, [rdx - 2]
call qword [sym.imp.KERNEL32.dll_CompareStringW]
xor edx, edx
cmp eax, 2
lea ecx, [rax - 2]
cmovne edx, ecx
test edx, edx
je 0x1400654f6
movzx eax, word [rbx]
add rax, 3
and rax, 0xfffffffffffffffc
add rbx, rax
cmp rbx, rbp
jb 0x1400653f6
movzx eax, word [rsi]
add rax, 3
and rax, 0xfffffffffffffffc
add rsi, rax
cmp rsi, r15
jb 0x1400653b0
movzx eax, word [r14]
lea rdx, [0x14020ad10]
add rax, 3
and rax, 0xfffffffffffffffc
add r14, rax
cmp r14, r13
jb 0x140065320
mov r11, qword [rsp + 0xa8]
mov r10, qword [rsp + 0x40]
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
dec r9d
sub r8, 8
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x38], r8
test r9d, r9d
jne 0x1400652b0
mov rdx, qword [rsp + 0xa0]
cmp byte [rsp + 0xb8], 0
je 0x140065507
mov byte [rdx], 1
lea rax, [0x140205128]
jmp 0x140065511
mov rax, qword [rsp + 0xa0]
mov byte [rax], 1
mov qword [rax + 8], rdi
jmp 0x140065518
mov byte [rdx], 0
lea rax, str.Unable_to_determine_product_identifier_from_resources_
mov qword [rdx + 8], rax
mov rax, rdx
mov r14, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x58]
add rsp, 0x98
ret