Function at 0x1401a8290
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1270
call fcn.1402173b0
sub rsp, rax
mov rax, qword [0x140320740]
xor rax, rsp
mov qword [rsp + 0x1260], rax
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x1a0]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_50
rep stosb byte [rdi], al
mov qword [rsp + 0x70], 0
mov edx, Ordinal_27
mov rcx, qword [rsp + 0x1288]
call fcn.1401a9400
mov rcx, qword [rsp + 0x1288]
call fcn.1401a7540
mov qword [rsp + 0xe8], rax
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x1280]
call fcn.1401a11a0
mov qword [rsp + 0x48], rax
jmp 0x1401a8340
mov rax, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x1280]
call fcn.1401a10d0
cmp qword [rsp + 0x48], rax
jae 0x1401a882e
mov rax, qword [rsp + 0x1280]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x1a0]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x1280]
call qword [rsp + 0x78]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc000000d
je 0x1401a83a7
cmp dword [rsp + 0x30], 0xc0000022
je 0x1401a83a7
cmp dword [rsp + 0x30], 0xc000010a
jne 0x1401a83ae
jmp 0x1401a882e
cmp dword [rsp + 0x30], 0
je 0x1401a83ba
jmp 0x1401a8325
cmp dword [rsp + 0x1c0], 0x1000
jne 0x1401a83e3
cmp dword [rsp + 0x1c8], 0x1000000
jne 0x1401a83e3
mov rax, qword [rsp + 0x1a8]
cmp qword [rsp + 0x70], rax
jne 0x1401a83e8
jmp 0x1401a8325
lea rax, [rsp + 0x260]
mov rdi, rax
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
lea rax, [rsp + 0xa60]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x1280]
mov rax, qword [rax]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x20], 0x800
mov r9, qword [rsp + 0x58]
mov r8d, 2
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1280]
call qword [rsp + 0x80]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1401a881c
lea rcx, [rsp + 0x1d0]
call fcn.140138e80
nop
lea rax, [rsp + 0x260]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x1280]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x800
lea r8, [rsp + 0x260]
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1280]
call qword [rsp + 0x88]
test eax, eax
je 0x1401a84e3
lea rcx, [rsp + 0x1d0]
call fcn.140139df0
nop
jmp 0x1401a8325
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x3c]
lea rax, [rsp + rax + 0x260]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x1401a8523
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x1401a85ea
lea rax, [rsp + 0x230]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_50
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x50], rax
jmp 0x1401a8561
mov rax, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x230]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x1280]
call fcn.1401a10d0
cmp qword [rsp + 0x50], rax
jae 0x1401a85dd
mov rax, qword [rsp + 0x1280]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x90], rax
lea r8, [rsp + 0x230]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x1280]
call qword [rsp + 0x90]
test eax, eax
jl 0x1401a85b9
cmp dword [rsp + 0x258], 0x1000000
je 0x1401a85d8
mov rax, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x230]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x218], eax
jmp 0x1401a85dd
jmp 0x1401a8546
mov dword [rsp + 0x21c], 3
jmp 0x1401a8655
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x1401a8616
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x218], eax
mov dword [rsp + 0x21c], 0
jmp 0x1401a8655
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x1401a8642
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x218], eax
mov dword [rsp + 0x21c], 1
jmp 0x1401a8655
lea rcx, [rsp + 0x1d0]
call fcn.140139df0
nop
jmp 0x1401a8325
mov rax, qword [rsp + 0x1280]
movzx eax, byte [rax + 0x16]
cmp eax, 1
jne 0x1401a86eb
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 4]
mov edx, eax
mov rcx, qword [rsp + 0xa0]
call fcn.1400da6d0
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x100]
call fcn.1401613b0
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x1f8]
call fcn.140139fe0
lea rcx, [rsp + 0x100]
call fcn.1400da5e0
nop
jmp 0x1401a8759
lea rax, [rsp + 0x180]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xb8]
call fcn.1400da6d0
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x120]
call fcn.1401613b0
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x1f8]
call fcn.140139fe0
lea rcx, [rsp + 0x120]
call fcn.1400da5e0
nop
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x140]
call fcn.1401612c0
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x1d8]
call fcn.140139fe0
lea rcx, [rsp + 0x140]
call fcn.1400da5e0
nop
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x220], 0
mov byte [rsp + 0x228], 0
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0xf0]
call fcn.1401555c0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x1288]
call fcn.1401a65d0
nop
lea rcx, [rsp + 0xf0]
call fcn.1400daa10
nop
lea rcx, [rsp + 0x1d0]
call fcn.140139df0
nop
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x70], rax
jmp 0x1401a8325
mov rax, qword [rsp + 0x1288]
mov rcx, qword [rsp + 0x1260]
xor rcx, rsp
call fcn.1402164b0
add rsp, 0x1270
pop rdi
ret