Function at 0x164f7b7d0
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 0x164f7b821
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 0x164f7b852
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 0x164f7baf0
mov r12, qword [rsp + 0xb0]
lea rdx, [0x1650aa150]
nop word [rax + rax]
cmp word [r8], 0x10
jne 0x164f7bace
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 0x164f7b8f0
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 0x164f7bace
nop dword [rax + rax]
cmp word [r14], 8
jb 0x164f7bab7
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 0x164f7ba98
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp word [r14 + rax*2 + 8], 0
lea rax, [rax + 1]
jne 0x164f7b980
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 0x164f7ba98
nop dword [rax]
movzx ecx, word [rsi]
cmp ecx, 8
jb 0x164f7ba98
mov rax, 0xffffffffffffffff
cmp word [rsi + rax*2 + 8], 0
lea rax, [rax + 1]
jne 0x164f7b9d3
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 0x164f7ba81
cmp word [rbx], 8
jb 0x164f7ba81
lea r8, [rbx + 6]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [r8 + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x164f7ba20
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 0x164f7bb06
movzx eax, word [rbx]
add rax, 3
and rax, 0xfffffffffffffffc
add rbx, rax
cmp rbx, rbp
jb 0x164f7ba06
movzx eax, word [rsi]
add rax, 3
and rax, 0xfffffffffffffffc
add rsi, rax
cmp rsi, r15
jb 0x164f7b9c0
movzx eax, word [r14]
lea rdx, [0x1650aa150]
add rax, 3
and rax, 0xfffffffffffffffc
add r14, rax
cmp r14, r13
jb 0x164f7b930
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 0x164f7b8c0
mov rdx, qword [rsp + 0xa0]
cmp byte [rsp + 0xb8], 0
je 0x164f7bb17
mov byte [rdx], 1
lea rax, [0x1650a825c]
jmp 0x164f7bb21
mov rax, qword [rsp + 0xa0]
mov byte [rax], 1
mov qword [rax + 8], rdi
jmp 0x164f7bb28
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