Function at 0x18007d190
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r14, rcx
mov qword [rsp + 0x50], rcx
xor r8d, r8d
mov byte [rax - 0x78], r8b
mov rax, qword gs:[0x60]
mov r13d, 0x800
test dword [rax + 0xbc], r13d
jne 0x1800c41fa
xor eax, eax
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
cmp qword [0x18015d750], r8
jne 0x1800c4233
mov rcx, qword gs:[0x60]
mov edx, 8
mov r8d, 0x2a0
mov rcx, qword [rcx + 0x30]
call sym.ntdll.dll_RtlAllocateHeap
mov qword [0x18015d750], rax
xor r8d, r8d
test rax, rax
je 0x18007d1d8
test r14, r14
je 0x1800c4254
cmp dword [r14 + 0x10], 0xddeeddee
je 0x18007d1d8
test dword [r14 + 0x74], 0x1000000
jne 0x18007d1d8
test r14, r14
je 0x1800c42b0
mov edx, dword [rsp + 0xa8]
or edx, dword [r14 + 0x74]
test edx, 0x61000000
setne cl
bt edx, 0x1c
setae al
test al, cl
je 0x1800c4297
mov r9, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xb0]
mov rcx, r14
call fcn.1800ffcb8
mov esi, eax
jmp 0x1800c445c
test dl, 1
jne 0x1800c42b0
mov rcx, qword [r14 + 0x160]
call sym.ntdll.dll_RtlEnterCriticalSection
mov byte [rsp + 0x20], 1
xor r8d, r8d
mov esi, r8d
mov dword [rsp + 0x24], r8d
mov edx, r8d
mov dword [rsp + 0x28], edx
mov eax, 0x21
mov rdi, qword [rsp + 0xb8]
cmp word [rdi], ax
jne 0x1800c42eb
lea r15, [rdi + 2]
add rdi, 2
mov qword [rsp + 0xb8], rdi
test ax, ax
je 0x1800c42ee
movzx eax, word [rdi]
jmp 0x1800c42d5
mov r15, r8
mov rax, rdi
mov qword [rsp + 0x30], rax
movzx ecx, word [rax]
test cx, cx
jne 0x1800c435c
test edx, edx
je 0x1800c4459
mov rcx, r14
call fcn.1800ebc28
mov rbx, rax
mov qword [rsp + 0x38], rax
xor r8d, r8d
test rax, rax
je 0x1800c4459
lea r12d, [r8 + 0x17]
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0x40], r12
movzx esi, word [rax + 0x10]
mov dword [rsp + 0x24], esi
test esi, esi
jne 0x1800c437a
test r15, r15
je 0x1800c4356
lea rcx, [rax + 0x14]
mov r8, r15
lea edx, [rsi + 0x2e]
call fcn.1800377c0
xor r8d, r8d
add rbx, 0x48
jmp 0x1800c439b
add rax, 2
mov qword [rsp + 0x30], rax
test cx, cx
je 0x1800c436f
movzx ecx, word [rax]
jmp 0x1800c435c
inc edx
mov dword [rsp + 0x28], edx
jmp 0x1800c42f6
cmp esi, r13d
jne 0x1800c43a8
lea rcx, [rax + 0x14]
lea r8, str.GlobalTags
mov edx, 0x2e
call fcn.1800377c0
add rbx, 0x48
xor r8d, r8d
mov qword [rsp + 0x38], rbx
movzx esi, word [rbx + 0x10]
mov dword [rsp + 0x24], esi
mov r13, qword [rsp + 0xb0]
test r13, r13
je 0x1800c43e1
or r15, 0xffffffffffffffff
inc r15
cmp word [r13 + r15*2], r8w
jne 0x1800c43b9
test r15, r15
je 0x1800c43e1
cmp r15, 0x13
jae 0x1800c43e1
sub r12, r15
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0x40], r12
jmp 0x1800c43e7
mov r15, r8
mov r13, r8
mov qword [rsp + 0x30], rdi
cmp word [rdi], r8w
je 0x1800c4459
lea r12, [rbx + 0x14]
mov qword [rsp + 0x48], r12
test r13, r13
je 0x1800c441f
mov rdx, qword [rsp + 0xa0]
add rdx, rdx
mov r8, r13
mov rcx, r12
call fcn.1800377c0
lea r12, [r12 + r15*2]
mov qword [rsp + 0x48], r12
mov rdx, qword [rsp + 0xa0]
sub rdx, r15
add rdx, rdx
mov r8, rdi
mov rcx, r12
call fcn.1800377c0
xor r8d, r8d
movzx eax, word [rdi]
add rdi, 2
mov qword [rsp + 0x30], rdi
test ax, ax
je 0x1800c444e
jmp 0x1800c443b
add rbx, 0x48
mov qword [rsp + 0x38], rbx
jmp 0x1800c43ec
shl esi, 0x12
cmp byte [rsp + 0x20], 0
je 0x1800c446f
mov rcx, qword [r14 + 0x160]
call sym.ntdll.dll_RtlLeaveCriticalSection
mov eax, esi
jmp 0x18007d1da