Function at 0x140003c00
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x14009d040]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov esi, edx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor r12d, r12d
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14009e520], eax
jle 0x140003cb9
lea rcx, [0x14009e520]
call fcn.14007c510
cmp dword [0x14009e520], 0xffffffff
jne 0x140003cb9
mov qword [0x14009e528], r12
mov qword [0x14009e530], r12
mov ecx, 0x48
call fcn.14007c828
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x14009e528], rax
lea rcx, [0x140082040]
call fcn.14007cb5c
nop
lea rcx, [0x14009e520]
call fcn.14007c4a4
mov rcx, qword [0x14009e528]
mov rax, qword [rcx + 8]
mov rdx, rcx
cmp byte [rax + 0x19], 0
jne 0x140003ce7
nop dword [rax]
cmp dword [rax + 0x20], esi
jge 0x140003cdb
mov rax, qword [rax + 0x10]
jmp 0x140003ce1
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140003cd0
cmp byte [rdx + 0x19], 0
jne 0x140003cf2
cmp esi, dword [rdx + 0x20]
jge 0x140003cf5
mov rdx, rcx
cmp rdx, rcx
je 0x140003d0b
add rdx, 0x28
mov rcx, rdi
call fcn.140012f10
jmp 0x140003f49
mov eax, esi
sar eax, 0x10
lea ecx, [rax*8 + 0x10]
mov rdx, qword [0x14009e320]
add rdx, 0x6739700
add rdx, rcx
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x20], r12
mov r9d, 8
lea r8, [rsp + 0x60]
mov rcx, qword [0x14009e318]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movzx ecx, si
mov rax, qword [rsp + 0x60]
lea r14, [rax + rcx*2]
mov word [rsp + 0x50], r12w
mov qword [rsp + 0x20], r12
mov r9d, 2
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, qword [0x14009e318]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsx ebx, word [rsp + 0x50]
sar ebx, 6
test ebx, ebx
jle 0x140003f29
xor edx, edx
mov r8d, 0x404
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
movsxd rbx, ebx
lea rdx, [r14 + 2]
mov qword [rsp + 0x20], r12
mov r9, rbx
lea r8, [rbp - 0x70]
mov rcx, qword [0x14009e318]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp rbx, 0x404
jae 0x140003f77
mov byte [rbp + rbx - 0x70], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140003df0
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.14001a1f0
nop
mov r14, qword [0x14009e528]
mov rax, qword [r14 + 8]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], r12d
mov rcx, r14
cmp byte [rax + 0x19], 0
jne 0x140003e59
nop word [rax + rax]
mov qword [rsp + 0x38], rax
cmp dword [rax + 0x20], esi
jge 0x140003e45
mov dword [rsp + 0x40], r12d
mov rax, qword [rax + 0x10]
jmp 0x140003e53
mov dword [rsp + 0x40], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140003e30
cmp byte [rcx + 0x19], 0
jne 0x140003e64
cmp esi, dword [rcx + 0x20]
jge 0x140003eda
movabs rax, 0x38e38e38e38e38e
cmp qword [0x14009e530], rax
je 0x140003f7d
lea r15, [0x14009e528]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov ecx, 0x48
call fcn.14007c828
mov rbx, rax
mov qword [rsp + 0x68], rax
mov dword [rax + 0x20], esi
lea rcx, [rax + 0x28]
lea rdx, [rsp + 0x70]
call fcn.140012f10
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov word [rbx + 0x18], 0
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x60], xmm0
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.140022740
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.140012f10
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140003f49
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c460
jmp 0x140003f49
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
xor r8d, r8d
lea rdx, [0x140083ae9]
mov rcx, rdi
call fcn.14001a1f0
mov rax, rdi
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.14007c440
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14007c690
nop
call fcn.140001ef0
nop
int3