Function at 0x1400c3b30
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov r13, r9
mov rdi, r8
mov qword [rbp - 0x18], rdx
mov rsi, rcx
mov rbx, qword [rbp + 0x60]
mov r15, qword [rbp + 0x70]
mov dword [rdx], 0xc00000e5
mov rdx, qword [rcx]
mov r12, qword [rbp + 0x68]
test rdx, rdx
je 0x1400c3ba2
cmp rdx, rsi
je 0x1400c3ba2
cmp qword [rdx + 0x20], r12
jne 0x1400c3b8b
mov eax, dword [rdx + 0x28]
cmp dword [r9], eax
je 0x1400c3b90
mov rdx, qword [rdx]
jmp 0x1400c3b73
test r15, r15
je 0x1400c3cde
lea rax, [rdx + 0x30]
jmp 0x1400c3cdb
xor r14d, r14d
mov rax, qword gs:[0x60]
xor edx, edx
lea r8d, [r14 + 0x50]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
test rax, rax
je 0x1400c3bf3
and qword [rax + 0x10], r14
and qword [rax], r14
and qword [rax + 8], r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
lea rcx, [rax + 0x30]
and qword [rcx + 0x18], r14
mov qword [rcx], rcx
mov qword [rcx + 8], rcx
mov qword [rcx + 0x10], rcx
or dword [rax + 0x28], 0xffffffff
test rax, rax
jne 0x1400c3bff
mov ebx, 0xc0000017
jmp 0x1400c3c62
mov ecx, dword [r13]
mov dword [rax + 0x28], ecx
lea rdx, [rax + 0x30]
cmp qword [rbx + 0x18], r14
je 0x1400c3c5b
mov rcx, qword [rbx]
mov r8, rcx
test rcx, rcx
je 0x1400c3c2f
cmp rcx, rbx
je 0x1400c3c2f
mov qword [rcx + 0x10], rdx
mov rcx, qword [rcx]
cmp rcx, rbx
jne 0x1400c3c20
mov r8, qword [rbx]
mov qword [rdx], r8
mov rcx, qword [rbx + 8]
mov qword [rdx + 8], rcx
mov rcx, qword [rbx]
mov qword [rcx + 8], rdx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdx
mov qword [rbx], rbx
mov qword [rbx + 8], rbx
mov rcx, qword [rbx + 0x18]
mov qword [rdx + 0x18], rcx
and qword [rbx + 0x18], r14
mov r14, rax
xor eax, eax
xor ebx, ebx
test rax, rax
je 0x1400c3ca8
lea rcx, [rax + 0x30]
mov qword [rcx], rcx
mov qword [rcx + 8], rcx
mov qword [rcx + 0x10], rcx
and qword [rcx + 0x18], 0
and qword [rax + 0x48], 0
and qword [rax + 0x40], 0
and qword [rax + 0x10], 0
mov rcx, qword gs:[0x60]
mov r8, rax
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
test ebx, ebx
js 0x1400c3e75
mov rax, qword [rsi + 8]
mov qword [r14 + 8], rax
mov qword [r14], rsi
mov rax, qword [rsi + 8]
mov qword [rax], r14
mov qword [rsi + 8], r14
mov qword [r14 + 0x10], rsi
inc qword [rsi + 0x18]
inc qword [rdi + 0x20]
test r15, r15
je 0x1400c3cde
lea rax, [r14 + 0x30]
mov qword [r15], rax
mov r14, qword [rdi + 0x20]
cmp r14, qword [rdi + 0x28]
jbe 0x1400c3e73
cmp r14, 0xffffffffffffffff
jne 0x1400c3cfb
or rsi, r14
mov qword [rbp - 0x30], rsi
jmp 0x1400c3d20
lea r9, [rbp - 0x30]
mov r8d, 2
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.140004800
mov ebx, dword [rbp - 0x28]
mov rsi, qword [rbp - 0x30]
test ebx, ebx
js 0x1400c3e75
xor ebx, ebx
test ebx, ebx
js 0x1400c3e75
cmp rsi, r14
je 0x1400c3e6d
lea r9, [rbp - 0x20]
lea r8d, [rbx + 5]
mov rdx, rsi
lea rcx, [rbp - 0x24]
call fcn.140004800
mov ebx, dword [rbp - 0x24]
test ebx, ebx
js 0x1400c3e75
mov rcx, rsi
call fcn.1400a4ff4
mov r15, rax
test rax, rax
jne 0x1400c3d6c
mov ebx, 0xc0000017
jmp 0x1400c3e6f
xor r9d, r9d
cmp qword [rdi + 0x18], r9
je 0x1400c3dfb
xor r10d, r10d
mov r8, qword [rdi + 8]
add r8, r10
jmp 0x1400c3de6
xor ecx, ecx
cmp rdx, r8
je 0x1400c3db8
test rdx, rdx
je 0x1400c3db5
cmp qword [rdx + 0x10], r8
jne 0x1400c3db5
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rdx + 8]
mov rax, qword [rdx]
mov qword [rcx], rax
and qword [rdx + 0x10], 0
dec qword [r8 + 0x18]
mov rcx, rdx
xor edx, edx
mov rax, qword [rcx + 0x20]
div rsi
shl rdx, 5
add rdx, r15
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov qword [rcx], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rcx
mov qword [rdx + 8], rcx
mov qword [rcx + 0x10], rdx
inc qword [rdx + 0x18]
mov rdx, qword [r8]
cmp rdx, r8
jne 0x1400c3d85
inc r9
add r10, 0x20
cmp r9, qword [rdi + 0x18]
jne 0x1400c3d7c
mov rcx, qword [rdi + 8]
lea rax, [rdi + 0x30]
cmp rax, rcx
je 0x1400c3e57
test rcx, rcx
je 0x1400c3e57
lea r14, [rcx - 8]
mov rsi, qword [r14]
mov rbx, rsi
shl rbx, 5
add rbx, rcx
test rsi, rsi
je 0x1400c3e35
sub rbx, 0x20
mov rcx, rbx
call fcn.14003a850
sub rsi, 1
jne 0x1400c3e23
mov rcx, qword gs:[0x60]
mov r8, r14
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov rsi, qword [rbp - 0x30]
mov qword [rdi + 8], r15
mov qword [rdi + 0x18], rsi
mov rax, qword [rbp - 0x20]
mov qword [rdi + 0x28], rax
xor ebx, ebx
test ebx, ebx
js 0x1400c3e75
xor ebx, ebx
test ebx, ebx
js 0x1400c3e75
xor ebx, ebx
mov rax, qword [rbp - 0x18]
mov dword [rax], ebx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret