Function at 0x140001720
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword gs:[0x30]
test rax, rax
je 0x14000175a
mov rax, qword [rax + 0x60]
test rax, rax
je 0x14000175a
cmp dword [rax + 0x118], 0xa
je 0x140001761
mov rax, 0xffffffffffffffff
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x250], rbx
mov rcx, qword [rax + 0x20]
mov eax, 0x5a4d
mov rdi, qword [rcx]
mov rsi, qword [rdi + 0x20]
cmp word [rsi], ax
jne 0x1400019d8
movsxd rax, dword [rsi + 0x3c]
cmp dword [rax + rsi], 0x4550
jne 0x1400019d8
mov ebx, dword [rax + rsi + 0x88]
add rbx, rsi
je 0x1400019d8
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x108
call sub.VCRUNTIME140.dll_memset
movabs rax, 0xf5bd373480a6b89b
lea r8, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, rbx
movabs rax, 0x64dc7db288c5015f
mov rcx, rsi
mov qword [rsp + 0x58], rax
movabs rax, 0x858bcb1046fb6a37
mov qword [rsp + 0x40], rax
movabs rax, 0xc6a2fa174e551bcb
mov qword [rsp + 0x70], rax
movabs rax, 0x683158f59618ee0c
mov qword [rbp - 0x78], rax
movabs rax, 0x718cca1f5291f6e7
mov qword [rbp - 0x60], rax
movabs rax, 0x4a063563c4387908
mov qword [rbp - 0x48], rax
movabs rax, 0xf38a8f71af24371f
mov qword [rbp - 0x30], rax
movabs rax, 0xf037c7b73290c159
mov qword [rbp - 0x18], rax
movabs rax, 0x4a06357e3033c3d2
mov qword [rbp], rax
movabs rax, 0xe4672568eef00d8a
mov qword [rbp + 0x18], rax
call section..text
test eax, eax
je 0x140001942
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x50]
mov rdx, rbx
call section..text
test eax, eax
je 0x140001942
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x38]
mov rdx, rbx
call section..text
test eax, eax
je 0x140001942
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x68]
mov rdx, rbx
call section..text
test eax, eax
je 0x140001942
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 0x80]
mov rdx, rbx
call section..text
test eax, eax
je 0x140001942
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 0x68]
mov rdx, rbx
call section..text
test eax, eax
je 0x140001942
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 0x50]
mov rdx, rbx
call section..text
test eax, eax
je 0x140001942
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 0x38]
mov rdx, rbx
call section..text
test eax, eax
je 0x140001942
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 0x20]
mov rdx, rbx
call section..text
test eax, eax
je 0x140001942
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 8]
mov rdx, rbx
call section..text
test eax, eax
je 0x140001942
mov rcx, qword [rdi + 0x20]
lea r8, [rbp + 0x10]
mov rdx, rbx
call section..text
lea rcx, [rsp + 0x20]
call fcn.140001c90
lea r8, [rbp + 0x30]
mov ecx, 2
lea rax, [rsp + 0x20]
nop word [rax + rax]
lea r8, [r8 + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [r8 - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [r8 - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [r8 - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [r8 - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [r8 - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [r8 - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [r8 - 0x20], xmm0
movups xmmword [r8 - 0x10], xmm1
sub rcx, 1
jne 0x140001960
mov rcx, qword [rax]
lea rdx, [rdi - 0x10]
mov qword [r8], rcx
lea rcx, [rbp + 0x30]
call fcn.140001250
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
jmp 0x1400019dd
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x250]
lea r11, [rsp + 0x240]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret