Function at 0x140006e90
Capabilities:
Access peb ldr_data
Get kernel32 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 [0x140069040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov word [rcx + 0x28], 0
mov r12, rcx
mov rax, qword gs:[0x60]
mov rdi, rdx
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
xor eax, eax
mov dword [rsp + 0x20], eax
mov r13d, eax
nop word [rax + rax]
mov r15, qword [rsp + r13*8 + 0x28]
mov r14, qword [r15]
cmp r14, r15
je 0x140007049
mov rbp, r13
shl rbp, 4
nop dword [rax + rax]
mov rsi, r14
mov rdx, rdi
sub rsi, rbp
cmp qword [rdi + 0x18], 7
jbe 0x140006f33
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 0x140007040
mov rdx, qword [rsi + 0x50]
xor r8d, r8d
mov ebx, r8d
mov ecx, r8d
movzx eax, word [rdx]
test ax, ax
je 0x140007032
nop
lea ecx, [rcx + 1]
cmp ax, 0x5c
jne 0x140006f6d
lea rbx, [rdx + rcx*2]
movzx eax, word [rdx + rcx*2]
test ax, ax
jne 0x140006f60
test rbx, rbx
je 0x140007032
cmp qword [rdi + 0x18], 7
mov rdx, rdi
jbe 0x140006f8c
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 0x140007040
movzx edx, word [rbx]
xor r11d, r11d
mov r8d, r11d
mov ecx, r11d
test dx, dx
je 0x140006fcc
mov rax, rbx
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 0x140006fb1
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 0x140007007
inc ecx
add rdx, 2
cmp ecx, 0x100
jb 0x140006fe0
jmp 0x14000700d
mov word [rsp + r9 + 0x40], r11w
cmp qword [rdi + 0x18], 7
mov rdx, rdi
mov word [rsp + 0x23e], r11w
jbe 0x140007023
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 0x140007040
mov r14, qword [r14]
cmp r14, r15
jne 0x140006f20
jmp 0x140007049
mov rax, qword [rsi + 0x30]
mov qword [r12 + 0x20], rax
lea rbp, [r13 + 1]
mov r15, qword [rsp + rbp*8 + 0x28]
mov r14, qword [r15]
cmp r14, r15
je 0x140007199
shl rbp, 4
nop dword [rax]
nop word [rax + rax]
mov rsi, r14
mov rdx, rdi
sub rsi, rbp
cmp qword [rdi + 0x18], 7
jbe 0x140007083
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 0x140007190
mov rdx, qword [rsi + 0x50]
xor r8d, r8d
mov ebx, r8d
mov ecx, r8d
movzx eax, word [rdx]
test ax, ax
je 0x140007182
nop
lea ecx, [rcx + 1]
cmp ax, 0x5c
jne 0x1400070bd
lea rbx, [rdx + rcx*2]
movzx eax, word [rdx + rcx*2]
test ax, ax
jne 0x1400070b0
test rbx, rbx
je 0x140007182
cmp qword [rdi + 0x18], 7
mov rdx, rdi
jbe 0x1400070dc
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 0x140007190
movzx edx, word [rbx]
xor r11d, r11d
mov r8d, r11d
mov ecx, r11d
test dx, dx
je 0x14000711c
mov rax, rbx
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 0x140007101
lea rax, [rsp + 0x40]
mov r10, rbx
sub r10, rax
lea rdx, [rsp + 0x40]
mov ecx, r11d
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 0x140007157
inc ecx
add rdx, 2
cmp ecx, 0x100
jb 0x140007130
jmp 0x14000715d
mov word [rsp + r9 + 0x40], r11w
cmp qword [rdi + 0x18], 7
mov rdx, rdi
mov word [rsp + 0x23e], r11w
jbe 0x140007173
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 0x140007190
mov r14, qword [r14]
cmp r14, r15
jne 0x140007070
jmp 0x140007199
mov rax, qword [rsi + 0x30]
mov qword [r12 + 0x20], rax
lea rbp, [r13 + 2]
mov r15, qword [rsp + rbp*8 + 0x28]
mov r14, qword [r15]
cmp r14, r15
je 0x1400072e9
shl rbp, 4
nop dword [rax]
nop word [rax + rax]
mov rsi, r14
mov rdx, rdi
sub rsi, rbp
cmp qword [rdi + 0x18], 7
jbe 0x1400071d3
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 0x1400072e0
mov rdx, qword [rsi + 0x50]
xor eax, eax
mov ebx, eax
movzx ecx, word [rdx]
test cx, cx
je 0x1400072d2
nop dword [rax]
lea eax, [rax + 1]
cmp cx, 0x5c
jne 0x14000720d
lea rbx, [rdx + rax*2]
movzx ecx, word [rdx + rax*2]
test cx, cx
jne 0x140007200
test rbx, rbx
je 0x1400072d2
cmp qword [rdi + 0x18], 7
mov rdx, rdi
jbe 0x14000722c
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 0x1400072e0
movzx edx, word [rbx]
xor r11d, r11d
mov r8d, r11d
mov ecx, r11d
test dx, dx
je 0x14000726c
mov rax, rbx
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 0x140007251
lea rax, [rsp + 0x40]
mov r10, rbx
sub r10, rax
lea rdx, [rsp + 0x40]
mov ecx, r11d
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 0x1400072a7
inc ecx
add rdx, 2
cmp ecx, 0x100
jb 0x140007280
jmp 0x1400072ad
mov word [rsp + r9 + 0x40], r11w
cmp qword [rdi + 0x18], 7
mov rdx, rdi
mov word [rsp + 0x23e], r11w
jbe 0x1400072c3
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 0x1400072e0
mov r14, qword [r14]
cmp r14, r15
jne 0x1400071c0
jmp 0x1400072e9
mov rax, qword [rsi + 0x30]
mov qword [r12 + 0x20], rax
mov eax, dword [rsp + 0x20]
add r13, 3
add eax, 3
mov dword [rsp + 0x20], eax
cmp eax, 3
jl 0x140006f00
mov rcx, qword [r12 + 0x20]
test rcx, rcx
je 0x14000735b
mov eax, 0x5a4d
mov qword [r12], rcx
cmp word [rcx], ax
jne 0x14000735b
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
mov qword [r12 + 8], rdx
cmp dword [rdx], 0x4550
jne 0x14000735b
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14000735b
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 0x140007396
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140007391
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400073d5
mov rcx, r8
call fcn.1400594f0
xor eax, eax
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rax
mov word [rdi], ax
mov rax, r12
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400594d0
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