Function at 0x14001ad84
Capabilities:
Parse pe header

Disassembly:
jmp 0x14002ac00
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x528
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xe2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x548]
mov rax, qword [0x140074f80]
xor rax, rbp
mov qword [rbp + 0x4f0], rax
lea rcx, [0x140081100]
call fcn.14001b419
nop
cmp qword [rbp + 0x528], 0
jne 0x14002ac65
xor eax, eax
jmp 0x14002aff7
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
lea rax, [rbp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x108
rep stosb byte [rdi], al
mov r9d, 0x40
lea r8, [rbp + 0x10]
mov rdx, qword [rbp + 0x528]
mov rcx, qword [rbp + 0x520]
call fcn.14001ae97
movzx eax, al
test eax, eax
je 0x14002acee
movzx eax, word [rbp + 0x10]
cmp eax, 0x5a4d
jne 0x14002acee
movsxd rax, dword [rbp + 0x4c]
mov rcx, qword [rbp + 0x528]
add rcx, rax
mov rax, rcx
mov r9d, 0x108
lea r8, [rbp + 0x70]
mov rdx, rax
mov rcx, qword [rbp + 0x520]
call fcn.14001ae97
movzx eax, al
test eax, eax
je 0x14002acee
cmp dword [rbp + 0x70], 0x4550
je 0x14002acf5
xor eax, eax
jmp 0x14002aff7
mov eax, 8
imul rax, rax, 0
mov eax, dword [rbp + rax + 0xf8]
mov dword [rbp + 0x194], eax
mov eax, 8
imul rax, rax, 0
mov eax, dword [rbp + rax + 0xfc]
mov dword [rbp + 0x1b4], eax
cmp dword [rbp + 0x194], 0
je 0x14002ad33
cmp dword [rbp + 0x1b4], 0
jne 0x14002ad3a
xor eax, eax
jmp 0x14002aff7
mov eax, dword [rbp + 0x1b4]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x1d8], rax
mov eax, dword [rbp + 0x1b4]
mov ecx, dword [rbp + 0x194]
mov rdx, qword [rbp + 0x528]
add rdx, rcx
mov rcx, rdx
mov r9d, eax
mov r8, qword [rbp + 0x1d8]
mov rdx, rcx
mov rcx, qword [rbp + 0x520]
call fcn.14001ae97
movzx eax, al
test eax, eax
jne 0x14002adb3
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
xor eax, eax
jmp 0x14002aff7
mov eax, dword [rbp + 0x194]
mov rcx, qword [rbp + 0x1d8]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1d8]
mov eax, dword [rax + 0x20]
add rax, qword [rbp + 0x1f8]
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x1d8]
mov eax, dword [rax + 0x24]
add rax, qword [rbp + 0x1f8]
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x1d8]
mov eax, dword [rax + 0x1c]
add rax, qword [rbp + 0x1f8]
mov qword [rbp + 0x258], rax
mov dword [rbp + 0x274], 0
jmp 0x14002ae2f
mov eax, dword [rbp + 0x274]
inc eax
mov dword [rbp + 0x274], eax
mov rax, qword [rbp + 0x1d8]
mov eax, dword [rax + 0x18]
cmp dword [rbp + 0x274], eax
jae 0x14002afdf
mov eax, dword [rbp + 0x274]
mov rcx, qword [rbp + 0x218]
mov eax, dword [rcx + rax*4]
add rax, qword [rbp + 0x1f8]
mov rdx, rax
lea rcx, [rbp + 0x298]
call fcn.14001a8e3
nop
mov rcx, qword [rbp + 0x530]
call fcn.14001a1f9
mov qword [rbp + 0x4e8], rax
lea rcx, [rbp + 0x298]
call fcn.14001a1f9
mov rcx, qword [rbp + 0x4e8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x14002afcd
mov eax, dword [rbp + 0x274]
mov rcx, qword [rbp + 0x238]
movzx eax, word [rcx + rax*2]
mov word [rbp + 0x2d4], ax
movzx eax, word [rbp + 0x2d4]
mov rcx, qword [rbp + 0x258]
cmp dword [rcx + rax*4], 0x1000
ja 0x14002aef8
mov qword [rbp + 0x498], 0
lea rcx, [rbp + 0x298]
call fcn.14001a3c5
mov rax, qword [rbp + 0x498]
jmp 0x14002aff7
movzx eax, word [rbp + 0x2d4]
mov rcx, qword [rbp + 0x258]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 0x528]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x2f8], rax
mov eax, dword [rbp + 0x194]
mov rcx, qword [rbp + 0x528]
add rcx, rax
mov rax, rcx
cmp qword [rbp + 0x2f8], rax
jb 0x14002af94
mov eax, dword [rbp + 0x194]
mov rcx, qword [rbp + 0x528]
add rcx, rax
mov rax, rcx
mov ecx, dword [rbp + 0x1b4]
add rax, rcx
cmp qword [rbp + 0x2f8], rax
ja 0x14002af94
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov qword [rbp + 0x4b8], 0
lea rcx, [rbp + 0x298]
call fcn.14001a3c5
mov rax, qword [rbp + 0x4b8]
jmp 0x14002aff7
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rax, qword [rbp + 0x2f8]
mov qword [rbp + 0x4d8], rax
lea rcx, [rbp + 0x298]
call fcn.14001a3c5
mov rax, qword [rbp + 0x4d8]
jmp 0x14002aff7
lea rcx, [rbp + 0x298]
call fcn.14001a3c5
nop
jmp 0x14002ae21
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140061970]
call fcn.14001b0a4
mov rax, rdi
mov rcx, qword [rbp + 0x4f0]
xor rcx, rbp
call fcn.14001a997
lea rsp, [rbp + 0x508]
pop rdi
pop rbp
ret