Function at 0x1403d7378
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140486010]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov r13d, r9d
mov r12, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x10], rdx
movabs r15, 0xcea3a5fedebea983
mov qword [rbp + 0x200], r15
movabs r14, 0x1014adebb08fbab0
mov qword [rbp + 0x208], r14
movabs rax, 0xaa8d97cdacdbdaf6
mov qword [rbp + 0x40], rax
movabs rbx, 0x1014adebb08fd6dc
mov qword [rbp + 0x48], rbx
movups xmm0, xmmword [rbp + 0x40]
pxor xmm0, xmmword [rbp + 0x200]
movdqa xmmword [rbp + 0x40], xmm0
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x200], r15
mov qword [rbp + 0x208], r14
movabs rax, 0xaa8dd0ccedd0c0f4
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rbx
movups xmm0, xmmword [rbp + 0x40]
pxor xmm0, xmmword [rbp + 0x200]
movdqa xmmword [rbp + 0x40], xmm0
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], r14
movabs rax, 0x96ac8d4cc7d031c5
mov qword [rbp + 0x90], rax
movabs rax, 0x9b9b9d19c7519ba
mov qword [rbp + 0x98], rax
movabs rax, 0xa1c7cb9789e293c0
mov qword [rbp + 0x40], rax
movabs rax, 0x7560de92e3d3c9c7
mov qword [rbp + 0x48], rax
movabs rax, 0xe0c5ff289be202a8
mov qword [rbp + 0x50], rax
movabs rax, 0x9b9b9d1c0066bdf
mov qword [rbp + 0x58], rax
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [rbp + 0x200], xmm0
movups xmm1, xmmword [rbp + 0x50]
movups xmmword [rbp + 0x210], xmm1
vmovdqu ymm0, ymmword [rbp + 0x200]
vpxor ymm1, ymm0, ymmword [rbp + 0x80]
vmovdqa ymmword [rbp + 0x200], ymm1
lea rax, [rbp + 0x200]
or r14, 0xffffffffffffffff
mov rcx, r14
vzeroupper
xor r15d, r15d
inc rcx
cmp byte [rax + rcx], r15b
jne 0x1403d74fb
mov rdx, qword [rsi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x1403d7c71
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1403d752b
mov rax, qword [rsi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x200]
lea rcx, [rbp + 0x20]
call fcn.1403ddf54
nop
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x200]
call fcn.1403dd55c
nop
lea rcx, [rbp + 0x200]
cmp qword [rbp + 0x218], 8
cmovae rcx, qword [rbp + 0x200]
or r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x80]
call fcn.140425f40
mov ecx, eax
test eax, eax
jne 0x1403d75ca
mov eax, dword [rbp + 0x90]
bt eax, 0xa
jae 0x1403d75bf
cmp dword [rbp + 0x94], 0xa000000c
jne 0x1403d75ac
lea eax, [rcx + 4]
jmp 0x1403d75e6
cmp dword [rbp + 0x94], 0xa0000003
jne 0x1403d75bf
mov eax, 0xa
jmp 0x1403d75e6
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x1403d75e6
sub eax, 2
je 0x1403d75e1
sub eax, 1
je 0x1403d75e1
sub eax, 0x32
je 0x1403d75e1
cmp eax, 0x46
mov eax, r15d
jne 0x1403d75e6
mov eax, 1
mov dword [rbp + 0x40], ecx
lea rdx, [0x140486058]
mov qword [rbp + 0x48], rdx
movaps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x40], xmm0
test eax, eax
je 0x1403d76d7
cmp eax, 1
sete bl
lea rcx, [rbp + 0x200]
call fcn.1403dc790
test bl, bl
je 0x1403d76e6
xorps xmm0, xmm0
movups xmmword [rdi + 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rdi], xmm1
mov qword [rdi + 0x10], r15
mov ebx, 0xf
mov qword [rdi + 0x18], rbx
mov byte [rdi], r15b
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], r15
mov qword [rdi + 0x38], rbx
mov byte [rdi + 0x20], r15b
mov r14d, 0x1000
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x1403d7689
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, r14
jb 0x1403d7684
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1403d7be3
call fcn.140426914
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], rbx
mov byte [rbp + 0x20], r15b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1403d76cb
inc rdx
mov rcx, qword [rsi]
cmp rdx, r14
jb 0x1403d76c6
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x1403d7c6a
mov rcx, rax
call fcn.140426914
mov qword [rsi + 0x10], r15
mov byte [rsi], r15b
jmp 0x1403d7c39
mov bl, 1
test ecx, ecx
jne 0x1403d7c77
jmp 0x1403d760b
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xf0]
call main
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0xf0]
call fcn.1403dc410
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x200], r15
mov word [rbp + 0x208], 1
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x138]
mov qword [rbp + 0x40], rax
test rax, rax
sete byte [rbp + 0x48]
mov byte [rbp + 0x49], r15b
movaps xmm0, xmmword [rbp + 0x200]
movdqa xmmword [rbp + 0x200], xmm0
movaps xmm1, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x40], xmm1
lea r8, [rbp + 0x200]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x60]
call fcn.1403dd650
nop
mov eax, 0x5a4d
mov rcx, qword [rbp + 0x60]
xorps xmm0, xmm0
cmp word [rcx], ax
je 0x1403d78cf
movups xmmword [rdi + 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rdi], xmm1
mov ebx, 0xf
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], rbx
mov byte [rdi], r15b
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], r15
mov qword [rdi + 0x38], rbx
mov byte [rdi + 0x20], r15b
mov r14d, 0x1000
mov rdx, qword [rbp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, r14
jb 0x1403d77e4
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1403d7b44
call fcn.140426914
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r15
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xf0], rax
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xec], edx
lea rcx, [rbp + 0x100]
call fcn.1403dc3a4
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x1403d7885
inc rdx
mov rcx, qword [rbp + 0x20]
cmp rdx, r14
mov rax, rcx
jb 0x1403d7880
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1403d7be3
call fcn.140426914
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], rbx
mov byte [rbp + 0x20], r15b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1403d76cb
inc rdx
mov rcx, qword [rsi]
cmp rdx, r14
jb 0x1403d76c6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1403d7c6a
mov rcx, r8
jmp 0x1403d76c6
movsxd r15, dword [rcx + 0x3c]
add r15, rcx
cmp dword [r15], 0x4550
je 0x1403d78e7
xor r15d, r15d
jmp 0x1403d778c
movups xmmword [rbp + 0x80], xmm0
and qword [rbp + 0x90], 0
and qword [rbp + 0x98], 0
inc r14
cmp byte [r12 + r14], 0
jne 0x1403d78fe
mov r8, r14
mov rdx, r12
lea rcx, [rbp + 0x80]
call fcn.1403dda00
lea r8, [rbp + 0x80]
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x40]
call fcn.1403d7244
mov r12, qword [rbp + 0x40]
xorps xmm0, xmm0
cmp r13, r12
jbe 0x1403d797e
movups xmmword [rdi + 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rdi], xmm1
xor r15d, r15d
mov qword [rdi + 0x10], r15
lea ebx, [r15 + 0xf]
mov qword [rdi + 0x18], rbx
mov byte [rdi], r15b
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], r15
mov qword [rdi + 0x38], rbx
mov byte [rdi + 0x20], r15b
mov r14d, 0x1000
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x1403d77f5
jmp 0x1403d77bc
movups xmmword [rbp + 0xa0], xmm0
movdqa xmm2, xmmword [0x14047d720]
movdqu xmmword [rbp + 0xb0], xmm2
xor r13d, r13d
mov byte [rbp + 0xa0], r13b
movups xmmword [rbp + 0xc0], xmm0
movdqa xmm1, xmm2
movdqu xmmword [rbp + 0xd0], xmm2
mov byte [rbp + 0xc0], r13b
movups xmmword [rbp + 0xe0], xmm0
mov r14, qword [rbp + 0x30]
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae r9, qword [rbp + 0x20]
psrldq xmm2, 8
movq rax, xmm2
cmp r14, rax
ja 0x1403d7a0f
lea rbx, [rbp + 0xa0]
cmp rax, 0x10
cmovae rbx, qword [rbp + 0xa0]
mov qword [rbp + 0xb0], r14
mov r8, r14
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], r13b
jmp 0x1403d7a1e
mov rdx, r14
lea rcx, [rbp + 0xa0]
call fcn.1403ddb24
lea rax, [rbp + 0xc0]
cmp rax, rsi
je 0x1403d7a85
mov r14, qword [rsi + 0x10]
mov r9, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1403d7a3b
mov r9, qword [rsi]
cmp r14, qword [rbp + 0xd8]
ja 0x1403d7a76
lea rbx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rbx, qword [rbp + 0xc0]
mov qword [rbp + 0xd0], r14
mov r8, r14
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], r13b
jmp 0x1403d7a85
mov rdx, r14
lea rcx, [rbp + 0xc0]
call fcn.1403ddb24
movzx ecx, word [r15 + 6]
mov dword [rbp + 0xe8], ecx
mov rax, qword [rbp + 0x48]
mov dword [rbp + 0xe0], eax
mov dword [rbp + 0xe4], r12d
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0xb0]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x14047d720]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], r13b
movups xmm0, xmmword [rbp + 0xc0]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rbp + 0xd0]
movups xmmword [rdi + 0x30], xmm1
movdqa xmm0, xmmword [0x14047d720]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], r13b
mov dword [rdi + 0x40], eax
mov dword [rdi + 0x44], r12d
mov dword [rdi + 0x48], ecx
lea rcx, [rbp + 0xa0]
call fcn.1403d7cf4
nop
mov r14d, 0x1000
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x1403d7b5c
mov rdx, qword [rbp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, r14
jb 0x1403d7b4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1403d7b4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140426914
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r13
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xf0], rax
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xec], edx
lea rcx, [rbp + 0x100]
call fcn.1403dc3a4
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x1403d7bef
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, r14
jb 0x1403d7bea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1403d7bea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140426914
mov qword [rbp + 0x30], r13
mov ebx, 0xf
mov qword [rbp + 0x38], rbx
mov byte [rbp + 0x20], r13b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1403d7c32
inc rdx
mov rcx, qword [rsi]
cmp rdx, r14
jb 0x1403d7c2d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1403d7c6a
mov rcx, r8
call fcn.140426914
mov qword [rsi + 0x10], r13
mov byte [rsi], r13b
mov qword [rsi + 0x18], rbx
mov rax, rdi
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140426620
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1403d54f0
nop
lea r8, [rbp + 0x200]
lea rdx, [rbp + 0x40]
lea rcx, str.exists
call fcn.1403d638c
int3