Function at 0x14001641c
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1d8
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x28], rax
call fcn.14000e2e0
mov dword [rsp + 0x9c], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x14001643c
call fcn.14000e344
mov dword [rsp + 0xa0], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x140016454
call fcn.14000e310
mov dword [rsp + 0xa4], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x14001646c
call fcn.14000e280
mov dword [rsp + 0xa8], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x140016484
call fcn.14000e2e0
mov dword [rsp + 0x48], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x14001649c
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400164d1
xor eax, eax
jmp 0x1400167f8
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4550
je 0x1400164fe
xor eax, eax
jmp 0x1400167f8
call fcn.14000e2e0
mov dword [rsp + 0x4c], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x1400164fe
call fcn.14000e344
mov dword [rsp + 0x50], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x140016513
call fcn.14000e310
mov dword [rsp + 0x54], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x140016528
call fcn.14000e280
mov dword [rsp + 0x58], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x14001653d
call fcn.14000e2e0
mov dword [rsp + 0x5c], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x140016552
lea rax, [rsp + 0xe0]
mov rcx, qword [rsp + 0x40]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, pe_nt_image_headers64
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x150]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
call fcn.14000e2e0
mov dword [rsp + 0x60], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x1400165f3
call fcn.14000e344
mov dword [rsp + 0x64], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x140016608
call fcn.14000e310
mov dword [rsp + 0x68], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x14001661d
call fcn.14000e280
mov dword [rsp + 0x6c], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x140016632
call fcn.14000e2e0
mov dword [rsp + 0x70], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x140016647
mov dword [rsp + 0x20], 0
jmp 0x140016670
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jae 0x14001677e
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xb8]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
call fcn.14000e2e0
mov dword [rsp + 0x74], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x1400166d2
call fcn.14000e344
mov dword [rsp + 0x78], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x1400166e7
call fcn.14000e310
mov dword [rsp + 0x7c], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x1400166fc
call fcn.14000e280
mov dword [rsp + 0x80], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x140016711
call fcn.14000e2e0
mov dword [rsp + 0x84], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x140016729
mov rax, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0xc8]
sub rcx, rax
mov dl, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140016766
inc rax
test dl, dl
jne 0x140016754
xor eax, eax
jmp 0x14001676b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140016779
mov rax, qword [rsp + 0xd0]
jmp 0x1400167f8
jmp 0x140016666
call fcn.14000e2e0
mov dword [rsp + 0x88], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x14001677e
call fcn.14000e344
mov dword [rsp + 0x8c], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x140016796
call fcn.14000e310
mov dword [rsp + 0x90], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x1400167ae
call fcn.14000e280
mov dword [rsp + 0x94], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x1400167c6
call fcn.14000e2e0
mov dword [rsp + 0x98], eax
call fcn.140016050
nop
xor eax, eax
test eax, eax
jne 0x1400167de
xor eax, eax
add rsp, 0x1d8
pop rdi
pop rsi
ret