Function at 0x140013cf0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x328
mov rax, qword [0x140037010]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov dword [rsp + 0x30], 0
lea rcx, str.user32.dll
call qword [0x1400220c8]
lea rcx, str.win32u.dll
call qword [0x1400220c8]
mov r8, qword [rsp + 0x348]
lea rdx, str.C:WindowsSystem32drivers_
lea rcx, [rsp + 0x178]
call fcn.14001a750
nop
xor r8d, r8d
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x100]
call fcn.14001a880
nop
lea rcx, [rsp + 0x100]
call fcn.140013460
movzx eax, al
test eax, eax
jne 0x140013d95
mov dword [rsp + 0x38], 1
jmp 0x140013d9d
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x34], al
lea rcx, [rsp + 0x100]
call fcn.140012900
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x140013e2b
mov rax, qword [rsp + 0x340]
add rax, 0x40
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x340]
mov rcx, rax
call fcn.140005180
mov rax, qword [rsp + 0x340]
add rax, 0x20
mov rcx, rax
call fcn.140005180
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x178]
call fcn.140002fe0
nop
mov rcx, qword [rsp + 0x348]
call fcn.140002fe0
mov rax, qword [rsp + 0x340]
jmp 0x140014305
mov edx, 0x110
lea rcx, [rsp + 0x200]
call fcn.140002910
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x200]
call fcn.140017840
nop
mov edx, 0x18
lea rcx, [rsp + 0x160]
call fcn.140002910
lea rcx, [rsp + 0x35]
call fcn.140003130
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140016680
lea rcx, [rsp + 0x98]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb8]
lea rcx, [rsp + 0x98]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x130]
call fcn.140016600
lea rcx, [rsp + 0xa8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc8]
lea rcx, [rsp + 0xa8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0xb8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0xc8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rsp + 0x68]
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x160]
call fcn.14001a8d0
nop
lea rcx, [rsp + 0x160]
call fcn.14000fb80
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014025
mov rax, qword [rsp + 0x340]
add rax, 0x40
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x340]
mov rcx, rax
call fcn.140005180
mov rax, qword [rsp + 0x340]
add rax, 0x20
mov rcx, rax
call fcn.140005180
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x160]
call fcn.140017900
nop
lea rcx, [rsp + 0x200]
call fcn.140014350
nop
lea rcx, [rsp + 0x178]
call fcn.140002fe0
nop
mov rcx, qword [rsp + 0x348]
call fcn.140002fe0
mov rax, qword [rsp + 0x340]
jmp 0x140014305
lea rcx, [rsp + 0x160]
call fcn.14000fb80
mov rcx, qword [rsp + 0x40]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0x4550
je 0x1400140df
mov rax, qword [rsp + 0x340]
add rax, 0x40
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x340]
mov rcx, rax
call fcn.140005180
mov rax, qword [rsp + 0x340]
add rax, 0x20
mov rcx, rax
call fcn.140005180
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x160]
call fcn.140017900
nop
lea rcx, [rsp + 0x200]
call fcn.140014350
nop
lea rcx, [rsp + 0x178]
call fcn.140002fe0
nop
mov rcx, qword [rsp + 0x348]
call fcn.140002fe0
mov rax, qword [rsp + 0x340]
jmp 0x140014305
lea rax, [rsp + 0x140]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x350]
mov rcx, qword [rsp + 0x70]
call fcn.140003090
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x160]
call fcn.14000fb80
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x198]
call fcn.140013b60
lea rax, [rsp + 0x198]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140010aa0
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x48]
call fcn.140003130
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x358]
mov rcx, qword [rsp + 0x58]
cmp rax, qword [rcx]
jbe 0x140014210
mov rax, qword [rsp + 0x340]
add rax, 0x40
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x340]
mov rcx, rax
call fcn.140005180
mov rax, qword [rsp + 0x340]
add rax, 0x20
mov rcx, rax
call fcn.140005180
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x160]
call fcn.140017900
nop
lea rcx, [rsp + 0x200]
call fcn.140014350
nop
lea rcx, [rsp + 0x178]
call fcn.140002fe0
nop
mov rcx, qword [rsp + 0x348]
call fcn.140002fe0
mov rax, qword [rsp + 0x340]
jmp 0x140014305
lea rcx, [rsp + 0x1b0]
call fcn.140005180
lea rcx, [rsp + 0x1d0]
call fcn.140005180
nop
lea rax, [rsp + 0x1f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x1b0]
call fcn.140017e70
mov rdx, qword [rsp + 0x348]
lea rcx, [rsp + 0x1d0]
call fcn.140017e70
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
mov dword [rsp + 0x1f8], eax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
mov dword [rsp + 0x1f0], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x1f4], eax
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0x340]
call fcn.140014390
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x1b0]
call fcn.140014320
nop
lea rcx, [rsp + 0x160]
call fcn.140017900
nop
lea rcx, [rsp + 0x200]
call fcn.140014350
nop
lea rcx, [rsp + 0x178]
call fcn.140002fe0
nop
mov rcx, qword [rsp + 0x348]
call fcn.140002fe0
mov rax, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.14001ef90
add rsp, 0x328
pop rdi
pop rsi
ret