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

Disassembly:
push rsi
push rdi
sub rsp, 0x128
cmp qword [0x14002a540], 0
jbe 0x140001bee
mov eax, 1
jmp 0x140002549
call fcn.140003c30
test eax, eax
jne 0x140001bfe
xor eax, eax
jmp 0x140002549
call fcn.140001b00
mov qword [rsp + 0x70], rax
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0xd8], 0
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp dword [rax], 0x4550
jne 0x140001cf6
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xb0]
cmp dword [rcx + rax + 0x8c], 0
jbe 0x140001cf6
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
lea rcx, [0x14002a548]
call fcn.140004c0d
mov rax, qword [0x140036558]
mov qword [rsp + 0x50], rax
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x50]
lea rdx, [0x14002a540]
lea rcx, str.0x_p__SyscallList_n0x_p__Ntdll_base_n0x_p__Ntdll_real_base_n
call fcn.140001060
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140001d51
xor eax, eax
jmp 0x140002549
mov rax, qword [rsp + 0xd0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
cmp dword [rax], 0x4550
je 0x140001d87
xor eax, eax
jmp 0x140002549
mov qword [0x140036560], 1
mov eax, 0x10
imul rax, rax, 0
lea rcx, [0x140036568]
mov rdx, qword [rsp + 0x50]
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rcx + rax + 0x8c]
mov rcx, qword gs:[0x30]
mov rcx, qword [rcx + 0x60]
mov r8d, eax
mov edx, 8
mov rcx, qword [rcx + 0x30]
call fcn.140003b40
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140001df5
xor eax, eax
jmp 0x140002549
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rcx + rax + 0x8c]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x98]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, str.0x_p__pImageExportDirectory_n
call fcn.140001060
mov rdx, qword [rsp + 0x68]
lea rcx, str.0x_p__lpLocalAddress_n
call fcn.140001060
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf8], rax
lea rax, [0x14002a548]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x34], 0
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x3d], 0
lea rcx, str.____Hooked_Ntdll_Syscall_List:_n
call fcn.140001060
mov eax, 0x744e
mov word [rsp + 0x8c], ax
mov eax, 0x775a
mov word [rsp + 0x8e], ax
xor eax, eax
mov word [rsp + 0x48], ax
jmp 0x140001f7d
movzx eax, word [rsp + 0x48]
inc ax
mov word [rsp + 0x48], ax
movzx eax, word [rsp + 0x48]
cmp rax, 4
jae 0x1400024a8
xor eax, eax
mov word [rsp + 0x38], ax
jmp 0x140001fa2
movzx eax, word [rsp + 0x38]
inc ax
mov word [rsp + 0x38], ax
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0x18]
jae 0x14000248c
mov byte [rsp + 0x30], 0
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0xf8]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x100]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0xa0], 0
je 0x1400020b4
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x50], rax
je 0x1400020b4
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
mov ecx, dword [rcx + 0x18]
cmp dword [rax + 0x18], ecx
jne 0x1400020b4
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0xd8]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0xe0]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
cmp qword [rsp + 0x58], rax
je 0x14000209d
mov dword [rsp + 0x88], 1
jmp 0x1400020a8
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0x3d], al
lea rdx, str.RtlAllocateHeap
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1400020d9
mov rax, qword [rsp + 0x58]
mov qword [0x140038570], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax]
movzx ecx, word [rsp + 0x48]
movzx ecx, word [rsp + rcx*2 + 0x8c]
cmp eax, ecx
je 0x1400020fa
jmp 0x140001f95
mov rax, qword [rsp + 0xa8]
add rax, 2
mov rcx, rax
call fcn.140003bc0
mov qword [rsp + 0x40], rax
movabs rax, 0x66c71bd1b0714d3e
cmp qword [rsp + 0x40], rax
jne 0x140002129
jmp 0x140001f95
movabs rax, 0x8ad1c604a65844a5
cmp qword [rsp + 0x40], rax
je 0x1400021a0
movabs rax, 0x7af7191d67000db5
cmp qword [rsp + 0x40], rax
je 0x1400021a0
movabs rax, 0x852e6b87b62c2cf0
cmp qword [rsp + 0x40], rax
je 0x1400021a0
movabs rax, 0xf4ce15c0758b33f
cmp qword [rsp + 0x40], rax
je 0x1400021a0
movabs rax, 0x989246e5a13fcbd9
cmp qword [rsp + 0x40], rax
je 0x1400021a0
movabs rax, 0x8599a0e7f8a94577
cmp qword [rsp + 0x40], rax
je 0x1400021a0
movabs rax, 0xeda779755029a0a
cmp qword [rsp + 0x40], rax
jne 0x1400021a5
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400021f7
movabs rax, 0xdcaa9bf058531500
cmp qword [rsp + 0x40], rax
je 0x1400021f2
movabs rax, 0xb1c15967b96c5e5d
cmp qword [rsp + 0x40], rax
je 0x1400021f2
movabs rax, 0xe6ebb45b4d604b1d
cmp qword [rsp + 0x40], rax
je 0x1400021f2
movabs rax, 0x172ecad8537a0f66
cmp qword [rsp + 0x40], rax
jne 0x1400021f7
mov byte [rsp + 0x30], 1
mov rcx, qword [rsp + 0x58]
call fcn.140003700
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0xffffffffffffffff
jne 0x140002219
jmp 0x140001f95
mov rcx, qword [rsp + 0x58]
call fcn.140003680
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
jne 0x14000223b
jmp 0x140001f95
mov byte [rsp + 0x3c], 0
mov dword [rsp + 0x60], 0
jmp 0x140002254
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
cmp rax, qword [0x14002a540]
jae 0x140002281
mov eax, dword [rsp + 0x60]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x58]
cmp qword [rcx + rax + 8], rdx
jne 0x14000227f
mov byte [rsp + 0x3c], 1
jmp 0x14000224a
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x14000228f
jmp 0x140001f95
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x58]
mov qword [rcx + rax + 8], rdx
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0xc0]
mov qword [rcx + rax], rdx
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0xe8]
mov qword [rcx + rax + 0x10], rdx
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x20], rdx
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x140002328
movzx eax, byte [rsp + 0x3d]
test eax, eax
jne 0x140002328
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
cmp eax, 0xe9
je 0x140002328
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 3]
cmp eax, 0xe9
je 0x140002328
mov byte [rsp + 0x3e], 0
jmp 0x14000232d
mov byte [rsp + 0x3e], 1
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x30
movzx ecx, byte [rsp + 0x3e]
mov rdx, qword [rsp + 0x78]
mov dword [rdx + rax + 0x28], ecx
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x78]
cmp dword [rcx + rax + 0x28], 0
je 0x140002381
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0xc0]
mov edx, dword [rsp + 0x34]
lea rcx, str.______Entries__03lu__SSN__0x_04X__Address__0x_p:__s_n
call fcn.140001060
movabs rax, 0x8ad1c604a65844a5
cmp qword [rsp + 0x40], rax
jne 0x1400023a2
mov edx, dword [rsp + 0x34]
xor ecx, ecx
call fcn.140004bf3
jmp 0x14000246c
movabs rax, 0x7af7191d67000db5
cmp qword [rsp + 0x40], rax
jne 0x1400023c6
mov edx, dword [rsp + 0x34]
mov ecx, 1
call fcn.140004bf3
jmp 0x14000246c
movabs rax, 0x852e6b87b62c2cf0
cmp qword [rsp + 0x40], rax
jne 0x1400023ea
mov edx, dword [rsp + 0x34]
mov ecx, 2
call fcn.140004bf3
jmp 0x14000246c
movabs rax, 0xf4ce15c0758b33f
cmp qword [rsp + 0x40], rax
jne 0x14000240b
mov edx, dword [rsp + 0x34]
mov ecx, 3
call fcn.140004bf3
jmp 0x14000246c
movabs rax, 0x989246e5a13fcbd9
cmp qword [rsp + 0x40], rax
jne 0x14000242c
mov edx, dword [rsp + 0x34]
mov ecx, 4
call fcn.140004bf3
jmp 0x14000246c
movabs rax, 0x8599a0e7f8a94577
cmp qword [rsp + 0x40], rax
jne 0x14000244d
mov edx, dword [rsp + 0x34]
mov ecx, 5
call fcn.140004bf3
jmp 0x14000246c
movabs rax, 0xeda779755029a0a
cmp qword [rsp + 0x40], rax
jne 0x14000246c
mov edx, dword [rsp + 0x34]
mov ecx, 6
call fcn.140004bf3
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x200
jne 0x140002482
jmp 0x14000248c
jmp 0x140001f95
mov eax, dword [rsp + 0x34]
mov qword [0x14002a540], rax
cmp dword [rsp + 0x34], 0x200
jne 0x1400024a3
jmp 0x1400024a8
jmp 0x140001f70
cmp qword [0x14002a540], 7
jae 0x1400024f7
lea rcx, str.______Getting_other_Ntdll_version_n
call fcn.140001060
call fcn.140003f30
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x1400024f7
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0xc8], rax
je 0x1400024f7
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x50], rax
jmp 0x140001d2b
mov rdx, qword [0x14002a540]
lea rcx, str.______Mapped__lld_functions_n
call fcn.140001060
cmp qword [0x14002a540], 0
jbe 0x140002520
lea rcx, [0x140002ff0]
call fcn.140004b5a
cmp qword [0x14002a540], 0
jbe 0x140002537
mov dword [rsp + 0x90], 1
jmp 0x140002542
mov dword [rsp + 0x90], 0
mov eax, dword [rsp + 0x90]
add rsp, 0x128
pop rdi
pop rsi
ret