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

Disassembly:
jmp 0x14000a500
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x190
lea rdi, [rsp + 0x30]
mov ecx, 0x58
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a0]
mov rax, qword [0x140030240]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rax], 0
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000a579
lea rcx, str._error__Corrupted_magic_value_in_DOS_header_n
call fcn.1400015f5
jmp 0x14000af15
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x14000a5b3
lea rcx, str._error__Corrupted_signature_value_in_NT_header_n
call fcn.1400015f5
jmp 0x14000af15
mov rax, qword [rsp + 0x38]
add rax, 0x108
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 4]
cmp eax, 0x8664
je 0x14000a602
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 4]
cmp eax, 0x14c
jne 0x14000a5f1
lea rcx, str._error__Tried_to_open_a_32_bit_executable_n
call fcn.1400015f5
jmp 0x14000a5fd
lea rcx, str._error__Unsupported_machine_type_n
call fcn.1400015f5
jmp 0x14000af15
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14000a623
lea rcx, str._error__Corrupted_magic_value_in_optional_header_n
call fcn.1400015f5
jmp 0x14000af15
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x54]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
mov word [rsp + 0x5c], ax
movzx eax, word [rsp + 0x5c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
lea rcx, str._info__hdr_image_base:0x_llx_n____________size_of_image:0x_lx_n____________entry_point_RVA:0x_lx_n____________size_of_headers:_lu_n____________num_of_sections:_i_n
call fcn.1400015f5
mov eax, dword [rsp + 0x50]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call fcn.140001bd6
mov qword [0x1400306f0], rax
cmp qword [0x1400306f0], 0
jne 0x14000a6be
jmp 0x14000af15
mov eax, dword [rsp + 0x58]
mov r8d, eax
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [0x1400306f0]
call sub.VCRUNTIME140D.dll_memcpy
mov dword [rsp + 0x60], 0
jmp 0x14000a6ed
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
movzx eax, word [rsp + 0x5c]
cmp dword [rsp + 0x60], eax
jge 0x14000a799
movsxd rax, dword [rsp + 0x60]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [0x1400306f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
movsxd rax, dword [rsp + 0x60]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 0x10]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jbe 0x14000a773
mov eax, dword [rsp + 0x70]
movsxd rcx, dword [rsp + 0x60]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0x1a8]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x68]
call sub.VCRUNTIME140D.dll_memcpy
jmp 0x14000a794
movsxd rax, dword [rsp + 0x60]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 8]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x68]
call sub.VCRUNTIME140D.dll_memset
jmp 0x14000a6e3
lea rcx, str._info__Handle_Import_Table_n
call fcn.1400015f5
mov rax, qword [rsp + 0x38]
add rax, 0x88
mov qword [rsp + 0x78], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax]
mov rcx, qword [0x1400306f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], 0
jmp 0x14000a7f8
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + rax], 0
je 0x14000aa80
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [0x1400306f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140001af0
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x90]
lea rcx, str._info__Module_Name:__s_n
call fcn.1400015f5
cmp qword [rsp + 0x98], 0
jne 0x14000a890
mov rdx, qword [rsp + 0x90]
lea rcx, str._error__Import_Module_could_not_be_found__s__continue..._n
call fcn.1400015f5
jmp 0x14000a7e8
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax]
mov rcx, qword [0x1400306f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x10]
mov rcx, qword [0x1400306f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xb0], 0
jmp 0x14000a906
mov eax, dword [rsp + 0xb0]
inc eax
mov dword [rsp + 0xb0], eax
movsxd rax, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
cmp qword [rcx + rax*8], 0
je 0x14000aa7b
movsxd rax, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0xc0], rax
movabs rax, 0x8000000000000000
mov rcx, qword [rsp + 0xc0]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x14000a9e5
mov rax, qword [rsp + 0xc0]
mov rcx, qword [0x1400306f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
add rax, 2
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
lea rcx, str._info__Import__s_n
call fcn.1400015f5
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call fcn.1400015b4
nop
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x98]
call fcn.140001708
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0xd8]
call fcn.140001212
jmp 0x14000aa36
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rsp + 0xc0]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, str._info__Import_by_ordinal__llu_directly_n
call fcn.1400015f5
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x98]
call fcn.140001609
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x14000aa5a
mov rdx, qword [rsp + 0x90]
lea rcx, str._error__Function_could_not_be_found_in_module__s_n
call fcn.1400015f5
jmp 0x14000a8f6
movsxd rax, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb8]
mov qword [rcx + rax*8], rdx
jmp 0x14000a8f6
jmp 0x14000a7e8
mov r8, qword [0x1400306f0]
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + 0x30]
lea rcx, str._info__Handle_Relocations__0x_llx____0x_llx__n
call fcn.1400015f5
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x30]
mov rcx, qword [0x1400306f0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x108], rax
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x78]
cmp dword [rcx + rax], 0
je 0x14000ad0c
cmp qword [rsp + 0x108], 0
je 0x14000ad0c
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax]
mov rcx, qword [0x1400306f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
cmp dword [rax], 0
je 0x14000ad0c
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x118], eax
mov rax, qword [rsp + 0x110]
add rax, 8
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x128], 0
jmp 0x14000ab69
mov eax, dword [rsp + 0x128]
inc eax
mov dword [rsp + 0x128], eax
mov eax, dword [rsp + 0x118]
cmp dword [rsp + 0x128], eax
jae 0x14000ace6
mov eax, dword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
movzx eax, word [rcx + rax*2]
sar eax, 0xc
mov dword [rsp + 0x12c], eax
mov eax, dword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
movzx eax, word [rcx + rax*2]
and eax, 0xfff
mov dword [rsp + 0x130], eax
mov rax, qword [rsp + 0x110]
mov eax, dword [rax]
mov rcx, qword [0x1400306f0]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x130]
add rax, rcx
mov qword [rsp + 0x138], rax
cmp dword [rsp + 0x12c], 0
jne 0x14000abf7
jmp 0x14000ab59
cmp dword [rsp + 0x12c], 1
jne 0x14000ac2e
mov rax, qword [rsp + 0x108]
shr rax, 0x10
mov rcx, qword [rsp + 0x138]
movzx ecx, word [rcx]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x138]
mov word [rcx], ax
jmp 0x14000ace1
cmp dword [rsp + 0x12c], 2
jne 0x14000ac64
mov rax, qword [rsp + 0x108]
and rax, 0xffff
mov rcx, qword [rsp + 0x138]
movzx ecx, word [rcx]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x138]
mov word [rcx], ax
jmp 0x14000ace1
cmp dword [rsp + 0x12c], 3
jne 0x14000ac8c
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
add rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
jmp 0x14000ace1
cmp dword [rsp + 0x12c], 4
jne 0x14000aca4
lea rcx, str._error__Encountered_IMAGE_REL_BASED_HIGHADJ_n
call fcn.1400015f5
jmp 0x14000ace1
cmp dword [rsp + 0x12c], 0xa
jne 0x14000acce
mov rax, qword [rsp + 0x138]
mov rax, qword [rax]
add rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x138]
mov qword [rcx], rax
jmp 0x14000ace1
mov edx, dword [rsp + 0x12c]
lea rcx, str._error__Encountered_unexpected_relocation_type__i_n
call fcn.1400015f5
jmp 0x14000ab59
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
jmp 0x14000ab07
mov eax, dword [rsp + 0x58]
lea r9, [rsp + 0x144]
mov r8d, 2
mov edx, eax
mov rcx, qword [0x1400306f0]
call fcn.1400016b3
mov dword [rsp + 0x154], 0
jmp 0x14000ad49
mov eax, dword [rsp + 0x154]
inc eax
mov dword [rsp + 0x154], eax
movzx eax, word [rsp + 0x5c]
cmp dword [rsp + 0x154], eax
jge 0x14000aec0
movsxd rax, dword [rsp + 0x154]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [0x1400306f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x158], rax
movsxd rax, dword [rsp + 0x154]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x160], eax
movsxd rax, dword [rsp + 0x154]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x168], rax
movsxd rax, dword [rsp + 0x154]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x170], rax
lea rdx, str..tls
mov rcx, qword [rsp + 0x170]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x14000ae09
mov rax, qword [rsp + 0x168]
mov eax, dword [rax + 0x10]
mov qword [0x140030708], rax
mov eax, dword [rsp + 0x160]
and eax, 0x20000000
test eax, eax
je 0x14000ae51
mov eax, dword [rsp + 0x160]
and eax, 0x80000000
test eax, eax
je 0x14000ae36
mov dword [rsp + 0x180], 0x40
jmp 0x14000ae41
mov dword [rsp + 0x180], 0x20
mov eax, dword [rsp + 0x180]
mov dword [rsp + 0x164], eax
jmp 0x14000ae87
mov eax, dword [rsp + 0x160]
and eax, 0x80000000
test eax, eax
je 0x14000ae6e
mov dword [rsp + 0x184], 4
jmp 0x14000ae79
mov dword [rsp + 0x184], 2
mov eax, dword [rsp + 0x184]
mov dword [rsp + 0x164], eax
movsxd rax, dword [rsp + 0x154]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 8]
lea r9, [rsp + 0x144]
mov r8d, dword [rsp + 0x164]
mov edx, eax
mov rcx, qword [rsp + 0x158]
call fcn.1400016b3
jmp 0x14000ad39
mov eax, dword [rsp + 0x54]
mov rcx, qword [0x1400306f0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1a0]
mov qword [rcx], rax
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0x78]
cmp dword [rcx + rax], 0
je 0x14000af15
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax]
mov rcx, qword [0x1400306f0]
add rcx, rax
mov rax, rcx
mov qword [0x1400306f8], rax
mov rax, qword [rsp + 0x1a0]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1400266d0]
call fcn.140001a3c
mov rax, rdi
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140001622
add rsp, 0x190
pop rdi
ret