Function at 0x140001550
Capabilities:
Access peb ldr_data
Get process filename
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1a8
mov qword [rsp + 0x60], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x18]
lea rcx, [rsp + 0xa0]
mov rdi, rcx
lea rsi, [rax + 0x20]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x50], 0
je 0x1400015fd
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x50]
call fcn.1400018b0
cmp eax, 0x50f6ae05
jne 0x1400015e4
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + rax + 0x20]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
jmp 0x1400015ab
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140001627
xor eax, eax
jmp 0x140001839
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp dword [rax], 0x4550
je 0x140001654
xor eax, eax
jmp 0x140001839
lea rax, [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x120]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x20], 0
jmp 0x1400016f4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jae 0x140001834
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
add rax, 4
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x38]
call fcn.140001850
cmp eax, 0x2a3b0564
jne 0x140001799
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 8], eax
jmp 0x14000182f
mov rcx, qword [rsp + 0x38]
call fcn.140001850
cmp eax, 0xc41c60aa
jne 0x1400017bf
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 0x18], eax
jmp 0x14000182f
mov rcx, qword [rsp + 0x38]
call fcn.140001850
cmp eax, 0x6364c1e0
jne 0x1400017e5
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 0x28], eax
jmp 0x14000182f
mov rcx, qword [rsp + 0x38]
call fcn.140001850
cmp eax, 0x74a90f50
jne 0x14000180b
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 0x38], eax
jmp 0x14000182f
mov rcx, qword [rsp + 0x38]
call fcn.140001850
cmp eax, 0x37350448
jne 0x14000182f
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 0x48], eax
jmp 0x1400016ea
mov eax, 1
add rsp, 0x1a8
pop rdi
pop rsi
ret