Function at 0x140001530
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 0x1400015dd
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x50]
call fcn.140001890
cmp eax, 0x50f6ae05
jne 0x1400015c4
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 0x14000158b
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 0x140001607
xor eax, eax
jmp 0x140001819
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 0x140001634
xor eax, eax
jmp 0x140001819
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 0x1400016d4
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 0x140001814
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.140001830
cmp eax, 0x2a3b0564
jne 0x140001779
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 8], eax
jmp 0x14000180f
mov rcx, qword [rsp + 0x38]
call fcn.140001830
cmp eax, 0xc41c60aa
jne 0x14000179f
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 0x18], eax
jmp 0x14000180f
mov rcx, qword [rsp + 0x38]
call fcn.140001830
cmp eax, 0x6364c1e0
jne 0x1400017c5
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 0x28], eax
jmp 0x14000180f
mov rcx, qword [rsp + 0x38]
call fcn.140001830
cmp eax, 0x74a90f50
jne 0x1400017eb
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 0x38], eax
jmp 0x14000180f
mov rcx, qword [rsp + 0x38]
call fcn.140001830
cmp eax, 0x37350448
jne 0x14000180f
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 0x48], eax
jmp 0x1400016ca
mov eax, 1
add rsp, 0x1a8
pop rdi
pop rsi
ret