Function at 0x140006dc0
Capabilities:
Access peb ldr_data
Get ntdll base address
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x250
mov rax, qword [0x140078080]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov word [rcx + 0x28], 0
lea r13, [rsp + 0x28]
mov rax, qword gs:[0x60]
mov r12, rcx
xor ebx, ebx
mov qword [rsp + 0x20], 3
mov rdi, rdx
mov ebp, ebx
mov rcx, qword [rax + 0x18]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rcx + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rcx + 0x30]
mov qword [rsp + 0x38], rax
nop
mov r15, qword [r13]
mov r14, qword [r15]
cmp r14, r15
je 0x140006f67
mov rsi, r14
mov rdx, rdi
sub rsi, rbp
cmp qword [rdi + 0x18], 7
jbe 0x140006e53
mov rdx, qword [rdi]
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140006f5e
mov rdx, qword [rsi + 0x50]
xor eax, eax
movzx ecx, word [rdx]
test cx, cx
je 0x140006f52
lea eax, [rax + 1]
cmp cx, 0x5c
jne 0x140006e84
lea rbx, [rdx + rax*2]
movzx ecx, word [rdx + rax*2]
test cx, cx
jne 0x140006e77
test rbx, rbx
je 0x140006f52
cmp qword [rdi + 0x18], 7
mov rdx, rdi
jbe 0x140006ea3
mov rdx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140006f5c
movzx edx, word [rbx]
xor r11d, r11d
mov r8d, r11d
mov ecx, r11d
test dx, dx
je 0x140006eeb
mov rax, rbx
nop dword [rax + rax]
cmp dx, 0x2e
lea ecx, [rcx + 1]
movzx edx, word [rbx + rcx*2]
cmovne rax, r8
mov r8, rax
lea rax, [rbx + rcx*2]
test dx, dx
jne 0x140006ed0
lea rax, [rsp + 0x40]
mov r10, rbx
sub r10, rax
lea rdx, [rsp + 0x40]
mov ecx, r11d
nop
movzx eax, word [r10 + rdx]
mov word [rdx], ax
mov eax, ecx
lea r9, [rax + rax]
lea rax, [r9 + rbx]
cmp rax, r8
je 0x140006f27
inc ecx
add rdx, 2
cmp ecx, 0x100
jb 0x140006f00
jmp 0x140006f2d
mov word [rsp + r9 + 0x40], r11w
cmp qword [rdi + 0x18], 7
mov rdx, rdi
mov word [rsp + 0x23e], r11w
jbe 0x140006f43
mov rdx, qword [rdi]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140006f5c
mov r14, qword [r14]
xor ebx, ebx
jmp 0x140006e37
xor ebx, ebx
mov rax, qword [rsi + 0x30]
mov qword [r12 + 0x20], rax
add r13, 8
add rbp, 0x10
sub qword [rsp + 0x20], 1
jne 0x140006e30
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x140006fd5
mov ecx, 0x5a4d
mov qword [r12], rax
cmp word [rax], cx
jne 0x140006fd5
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
mov qword [r12 + 8], rdx
cmp dword [rdx], 0x4550
jne 0x140006fd5
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x140006fd5
mov eax, dword [rdx + 0x50]
mov dword [r12 + 0x10], eax
movzx eax, word [rdx + 0x14]
mov ecx, dword [rax + rdx + 0x24]
mov dword [r12 + 0x14], ecx
mov eax, dword [rdx + 0x28]
mov qword [r12 + 0x18], rax
mov byte [r12 + 0x28], 1
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x140007010
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000700b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000704d
mov rcx, r8
call fcn.14006b4e0
mov qword [rdi + 0x10], rbx
mov rax, r12
mov qword [rdi + 0x18], 7
mov word [rdi], bx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14006b4c0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x250
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]
int3