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

Disassembly:
mov r11, rsp
push rbp
push r15
sub rsp, 0x258
mov rax, qword [0x14007a040]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov qword [r11 + 0x18], rbx
mov r15, rcx
mov qword [r11 - 0x18], rsi
mov rbp, rdx
mov qword [r11 - 0x20], rdi
mov word [rcx + 0x28], 0
mov rax, qword gs:[0x60]
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r13
xor r13d, r13d
mov qword [r11 - 0x38], r14
mov rcx, qword [rax + 0x18]
mov rdi, qword [rcx + 0x10]
lea rsi, [rcx + 0x10]
lea r14, [rcx + 0x20]
lea r12, [rcx + 0x30]
cmp rdi, rsi
je 0x1400070b6
nop dword [rax]
mov rcx, rbp
call fcn.140008bc0
mov rcx, qword [rdi + 0x60]
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400070ae
mov rdx, qword [rdi + 0x50]
mov rbx, r13
mov ecx, r13d
movzx eax, word [rdx]
test ax, ax
je 0x1400070a0
lea ecx, [rcx + 1]
cmp ax, 0x5c
jne 0x140006fe0
lea rbx, [rdx + rcx*2]
movzx eax, word [rdx + rcx*2]
test ax, ax
jne 0x140006fd3
test rbx, rbx
je 0x1400070a0
mov rcx, rbp
call fcn.140008bc0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400070ae
movzx ecx, word [rbx]
mov r8, r13
mov edx, r13d
test cx, cx
je 0x14000703b
mov rax, rbx
nop
cmp cx, 0x2e
lea edx, [rdx + 1]
movzx ecx, word [rbx + rdx*2]
cmovne rax, r8
mov r8, rax
lea rax, [rbx + rdx*2]
test cx, cx
jne 0x140007020
lea rax, [rsp + 0x20]
mov r10, rbx
sub r10, rax
lea rdx, [rsp + 0x20]
mov ecx, r13d
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 0x140007077
inc ecx
add rdx, 2
cmp ecx, 0x100
jb 0x140007050
jmp 0x14000707d
mov word [rsp + r9 + 0x20], r13w
mov rcx, rbp
mov word [rsp + 0x21e], r13w
call fcn.140008bc0
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400070ae
mov rdi, qword [rdi]
cmp rdi, rsi
jne 0x140006fa0
jmp 0x1400070b6
mov rax, qword [rdi + 0x30]
mov qword [r15 + 0x20], rax
mov rdi, qword [r14]
mov rsi, qword [rsp + 0x250]
cmp rdi, r14
je 0x1400071e6
nop word [rax + rax]
mov rcx, rbp
call fcn.140008bc0
mov rcx, qword [rdi + 0x50]
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400071de
mov rdx, qword [rdi + 0x40]
mov rbx, r13
mov ecx, r13d
movzx eax, word [rdx]
test ax, ax
je 0x1400071d0
lea ecx, [rcx + 1]
cmp ax, 0x5c
jne 0x140007110
lea rbx, [rdx + rcx*2]
movzx eax, word [rdx + rcx*2]
test ax, ax
jne 0x140007103
test rbx, rbx
je 0x1400071d0
mov rcx, rbp
call fcn.140008bc0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400071de
movzx ecx, word [rbx]
mov r8, r13
mov edx, r13d
test cx, cx
je 0x14000716b
mov rax, rbx
nop
cmp cx, 0x2e
lea edx, [rdx + 1]
movzx ecx, word [rbx + rdx*2]
cmovne rax, r8
mov r8, rax
lea rax, [rbx + rdx*2]
test cx, cx
jne 0x140007150
lea rax, [rsp + 0x20]
mov r10, rbx
sub r10, rax
lea rdx, [rsp + 0x20]
mov ecx, r13d
nop
movzx eax, word [rdx + r10]
mov word [rdx], ax
mov eax, ecx
lea r9, [rax + rax]
lea rax, [r9 + rbx]
cmp rax, r8
je 0x1400071a7
inc ecx
add rdx, 2
cmp ecx, 0x100
jb 0x140007180
jmp 0x1400071ad
mov word [rsp + r9 + 0x20], r13w
mov rcx, rbp
mov word [rsp + 0x21e], r13w
call fcn.140008bc0
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400071de
mov rdi, qword [rdi]
cmp rdi, r14
jne 0x1400070d0
jmp 0x1400071e6
mov rax, qword [rdi + 0x20]
mov qword [r15 + 0x20], rax
mov rdi, qword [r12]
mov r14, qword [rsp + 0x230]
cmp rdi, r12
je 0x140007316
nop dword [rax + rax]
mov rcx, rbp
call fcn.140008bc0
mov rcx, qword [rdi + 0x40]
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000730e
mov rdx, qword [rdi + 0x30]
mov rbx, r13
mov eax, r13d
movzx ecx, word [rdx]
test cx, cx
je 0x140007300
lea eax, [rax + 1]
cmp cx, 0x5c
jne 0x140007240
lea rbx, [rdx + rax*2]
movzx ecx, word [rdx + rax*2]
test cx, cx
jne 0x140007233
test rbx, rbx
je 0x140007300
mov rcx, rbp
call fcn.140008bc0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000730e
movzx ecx, word [rbx]
mov r8, r13
mov edx, r13d
test cx, cx
je 0x14000729b
mov rax, rbx
nop
cmp cx, 0x2e
lea edx, [rdx + 1]
movzx ecx, word [rbx + rdx*2]
cmovne rax, r8
mov r8, rax
lea rax, [rbx + rdx*2]
test cx, cx
jne 0x140007280
lea rax, [rsp + 0x20]
mov r10, rbx
sub r10, rax
lea rdx, [rsp + 0x20]
mov ecx, r13d
nop
movzx eax, word [rdx + r10]
mov word [rdx], ax
mov eax, ecx
lea r9, [rax + rax]
lea rax, [r9 + rbx]
cmp rax, r8
je 0x1400072d7
inc ecx
add rdx, 2
cmp ecx, 0x100
jb 0x1400072b0
jmp 0x1400072dd
mov word [rsp + r9 + 0x20], r13w
mov rcx, rbp
mov word [rsp + 0x21e], r13w
call fcn.140008bc0
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000730e
mov rdi, qword [rdi]
cmp rdi, r12
jne 0x140007200
jmp 0x140007316
mov rax, qword [rdi + 0x10]
mov qword [r15 + 0x20], rax
mov rcx, qword [r15 + 0x20]
mov r13, qword [rsp + 0x238]
mov r12, qword [rsp + 0x240]
mov rdi, qword [rsp + 0x248]
mov rbx, qword [rsp + 0x280]
test rcx, rcx
je 0x14000738f
mov eax, 0x5a4d
mov qword [r15], rcx
cmp word [rcx], ax
jne 0x14000738f
movsxd r9, dword [rcx + 0x3c]
add r9, rcx
mov qword [r15 + 8], r9
cmp dword [r9], 0x4550
jne 0x14000738f
mov eax, 0x20b
cmp word [r9 + 0x18], ax
jne 0x14000738f
mov edx, dword [r9 + 0x50]
mov dword [r15 + 0x10], edx
movzx edx, word [r9 + 0x14]
mov r8d, dword [rdx + r9 + 0x24]
mov dword [r15 + 0x14], r8d
mov edx, dword [r9 + 0x28]
mov qword [r15 + 0x18], rdx
mov byte [r15 + 0x28], 1
mov rcx, rbp
call fcn.140008c40
mov rax, r15
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14006dee0
add rsp, 0x258
pop r15
pop rbp
ret