Function at 0x18004c360
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x330
mov r8, qword [0x180096dc0]
xor r15d, r15d
movabs rax, 0xdbf06daf303fac65
cmp r8, rax
mov r14, rcx
mov dword [rsp + 0x378], r15d
cmove r8, r15
mov qword [0x180096dc0], r8
test r8, r8
je 0x18004c3fa
nop word [rax + rax]
mov edx, r15d
mov rcx, r15
lea rax, [r8 + 0x10]
nop word [rax + rax]
cmp dword [rax], 0xab8630b1
je 0x18004c3e5
inc rcx
inc edx
add rax, 0x28
cmp rcx, 0x10
jl 0x18004c3c0
mov r8, qword [r8 + 0x280]
test r8, r8
jne 0x18004c3b0
jmp 0x18004c3fa
movsxd rax, edx
lea rcx, [rax + rax*4]
mov rax, qword [r8 + rcx*8 + 0x20]
test rax, rax
jne 0x18004ca07
mov r8, qword [0x180096db8]
mov r12, qword [0x180096dc8]
movabs rbx, 0xd79a16697bb981ec
cmp r8, rbx
movabs rdi, 0x594bc20e3837fae1
mov r13d, 0xf
cmove r8, r15
mov qword [0x180096db8], r8
cmp r12, rdi
jne 0x18004c70b
test r8, r8
je 0x18004c477
nop
mov edx, r15d
mov rcx, r15
lea rax, [r8 + 0x10]
nop word [rax + rax]
cmp dword [rax], 0x6e729370
je 0x18004c557
inc rcx
inc edx
add rax, 0x20
cmp rcx, 0x10
jl 0x18004c450
mov r8, qword [r8 + 0x200]
test r8, r8
jne 0x18004c440
mov rax, qword gs:[0x30]
mov r12, r15
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov rbx, qword [rax + 0x10]
mov rdi, qword [rax + 0x18]
nop word [rax + rax]
mov r9, qword [rbx + 0x60]
mov r10d, r15d
mov edx, r15d
cmp r15w, word [rbx + 0x58]
ja 0x18004c4ec
lea rax, [rsp + 0xb0]
mov r8, r9
lea rcx, [rsp + 0xb0]
sub r8, rax
nop word [rax + rax]
movzx eax, word [r8 + rcx]
mov word [rcx], ax
cmp r15w, ax
je 0x18004c4ec
movzx eax, word [rbx + 0x58]
inc edx
add rcx, 2
cmp edx, eax
jle 0x18004c4d0
mov r8d, r15d
cmp r15w, word [rbx + 0x58]
jae 0x18004c52a
lea rdx, [rsp + 0x1b0]
nop
movzx ecx, byte [r9]
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x18004c50e
add cl, 0xe0
mov byte [rdx], cl
test cl, cl
je 0x18004c52a
movzx eax, word [rbx + 0x58]
inc r8d
inc r10d
add r9, 2
inc rdx
cmp r8d, eax
jl 0x18004c500
lea rcx, [rsp + 0x1b0]
mov edx, r10d
call fcn.180065760
xor eax, 0xe427ce1
cmp eax, 0x6e729370
je 0x18004c568
cmp rbx, rdi
je 0x18004c6f7
mov rbx, qword [rbx]
jmp 0x18004c4a0
movsxd rax, edx
shl rax, 5
mov r12, qword [rax + r8 + 0x18]
jmp 0x18004c70b
mov r12, qword [rbx + 0x30]
test r12, r12
je 0x18004c6f7
cmp byte [0x1800970f1], r15b
je 0x18004c58a
mov qword [0x180096dc8], r12
jmp 0x18004c6f7
mov rdi, qword [0x180096db8]
test rdi, rdi
jne 0x18004c613
mov ecx, 0x208
mov byte [0x1800970f1], 1
call fcn.1800472c0
mov rdi, rax
test rax, rax
je 0x18004c5ea
mov esi, r13d
lea rbx, [rax + 0x18]
nop word [rax + rax]
lea rcx, [rbx - 0x18]
xor edx, edx
call fcn.180041a90
mov dword [rbx - 8], r15d
mov qword [rbx], r15
add rbx, 0x20
dec esi
jns 0x18004c5c0
mov qword [rdi + 0x200], r15
mov qword [0x180096db8], rdi
jmp 0x18004c5f4
mov rdi, r15
mov qword [0x180096db8], r15
mov edx, 0xc489c0d7
mov ecx, 0x6e729370
call fcn.180049ad0
mov byte [0x1800970f1], r15b
mov qword [0x180096db0], rax
jmp 0x18004c62f
mov rax, qword [rdi + 0x200]
test rax, rax
je 0x18004c62f
nop
mov rdi, rax
mov rax, qword [rax + 0x200]
test rax, rax
jne 0x18004c620
mov edx, r15d
mov rcx, r15
lea rax, [rdi + 0x10]
nop dword [rax]
cmp dword [rax], r15d
je 0x18004c6d2
inc rcx
inc edx
add rax, 0x20
cmp rcx, 0x10
jl 0x18004c640
mov ecx, 0x208
call fcn.1800472c0
mov rsi, rax
test rax, rax
je 0x18004c6ab
mov qword [rsp + 0x370], rbp
lea rbx, [rax + 0x18]
mov ebp, r13d
nop dword [rax]
lea rcx, [rbx - 0x18]
xor edx, edx
call fcn.180041a90
mov dword [rbx - 8], r15d
mov qword [rbx], r15
add rbx, 0x20
dec ebp
jns 0x18004c680
mov rbp, qword [rsp + 0x370]
mov qword [rsi + 0x200], r15
jmp 0x18004c6ae
mov rsi, r15
lea rdx, [rsp + 0xb0]
mov rcx, rsi
mov qword [rsi + 0x18], r12
call fcn.180042fa0
mov dword [rsi + 0x10], 0x6e729370
mov qword [rdi + 0x200], rsi
jmp 0x18004c6f7
movsxd rbx, edx
lea rdx, [rsp + 0xb0]
shl rbx, 5
add rbx, rdi
mov rcx, rbx
mov qword [rbx + 0x18], r12
call fcn.180042fa0
mov dword [rbx + 0x10], 0x6e729370
movabs rbx, 0xd79a16697bb981ec
movabs rdi, 0x594bc20e3837fae1
test r12, r12
jne 0x18004c9f5
mov ecx, 0x6e729370
call fcn.1800497d0
test al, al
je 0x18004ca34
mov r8, qword [0x180096db8]
mov r12, qword [0x180096dc8]
cmp r8, rbx
cmove r8, r15
mov qword [0x180096db8], r8
cmp r12, rdi
jne 0x18004c9f0
test r8, r8
je 0x18004c787
mov edx, r15d
mov rcx, r15
lea rax, [r8 + 0x10]
nop word [rax + rax]
cmp dword [rax], 0x6e729370
je 0x18004c864
inc rcx
inc edx
add rax, 0x20
cmp rcx, 0x10
jl 0x18004c760
mov r8, qword [r8 + 0x200]
test r8, r8
jne 0x18004c750
mov rax, qword gs:[0x30]
mov r12, r15
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov rbx, qword [rax + 0x10]
mov rdi, qword [rax + 0x18]
nop word [rax + rax]
mov r9, qword [rbx + 0x60]
mov r10d, r15d
mov edx, r15d
cmp r15w, word [rbx + 0x58]
ja 0x18004c7fc
lea rax, [rsp + 0x230]
mov r8, r9
lea rcx, [rsp + 0x230]
sub r8, rax
nop word [rax + rax]
movzx eax, word [r8 + rcx]
mov word [rcx], ax
cmp r15w, ax
je 0x18004c7fc
movzx eax, word [rbx + 0x58]
inc edx
add rcx, 2
cmp edx, eax
jle 0x18004c7e0
mov r8d, r15d
cmp r15w, word [rbx + 0x58]
jae 0x18004c83a
lea rdx, [rsp + 0x30]
nop dword [rax + rax]
movzx ecx, byte [r9]
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x18004c81e
add cl, 0xe0
mov byte [rdx], cl
test cl, cl
je 0x18004c83a
movzx eax, word [rbx + 0x58]
inc r8d
inc r10d
add r9, 2
inc rdx
cmp r8d, eax
jl 0x18004c810
lea rcx, [rsp + 0x30]
mov edx, r10d
call fcn.180065760
xor eax, 0xe427ce1
cmp eax, 0x6e729370
je 0x18004c875
cmp rbx, rdi
je 0x18004c9f0
mov rbx, qword [rbx]
jmp 0x18004c7b0
movsxd rax, edx
shl rax, 5
mov r12, qword [rax + r8 + 0x18]
jmp 0x18004c9f0
mov r12, qword [rbx + 0x30]
test r12, r12
je 0x18004ca34
cmp byte [0x1800970f1], r15b
je 0x18004c897
mov qword [0x180096dc8], r12
jmp 0x18004c9f0
mov rdi, qword [0x180096db8]
test rdi, rdi
jne 0x18004c916
mov ecx, 0x208
mov byte [0x1800970f1], 1
call fcn.1800472c0
mov rdi, rax
test rax, rax
je 0x18004c8ed
mov esi, r13d
lea rbx, [rax + 0x18]
lea rcx, [rbx - 0x18]
xor edx, edx
call fcn.180041a90
mov dword [rbx - 8], r15d
mov qword [rbx], r15
add rbx, 0x20
dec esi
jns 0x18004c8c3
mov qword [rdi + 0x200], r15
mov qword [0x180096db8], rdi
jmp 0x18004c8f7
mov rdi, r15
mov qword [0x180096db8], r15
mov edx, 0xc489c0d7
mov ecx, 0x6e729370
call fcn.180049ad0
mov byte [0x1800970f1], r15b
mov qword [0x180096db0], rax
jmp 0x18004c93f
mov rax, qword [rdi + 0x200]
test rax, rax
je 0x18004c93f
nop word [rax + rax]
mov rdi, rax
mov rax, qword [rax + 0x200]
test rax, rax
jne 0x18004c930
mov r8d, r15d
mov rdx, r15
lea rax, [rdi + 0x10]
nop dword [rax]
cmp dword [rax], r15d
je 0x18004c9cb
inc rdx
inc r8d
add rax, 0x20
cmp rdx, 0x10
jl 0x18004c950
mov ecx, 0x208
call fcn.1800472c0
mov rsi, rax
test rax, rax
je 0x18004c9a4
lea rbx, [rax + 0x18]
nop dword [rax + rax]
lea rcx, [rbx - 0x18]
xor edx, edx
call fcn.180041a90
mov dword [rbx - 8], r15d
mov qword [rbx], r15
add rbx, 0x20
dec r13d
jns 0x18004c980
mov qword [rsi + 0x200], r15
jmp 0x18004c9a7
mov rsi, r15
lea rdx, [rsp + 0x230]
mov rcx, rsi
mov qword [rsi + 0x18], r12
call fcn.180042fa0
mov dword [rsi + 0x10], 0x6e729370
mov qword [rdi + 0x200], rsi
jmp 0x18004c9f0
movsxd rbx, r8d
lea rdx, [rsp + 0x230]
shl rbx, 5
add rbx, rdi
mov rcx, rbx
mov qword [rbx + 0x18], r12
call fcn.180042fa0
mov dword [rbx + 0x10], 0x6e729370
test r12, r12
je 0x18004ca34
mov edx, 0xab8630b1
mov rcx, r12
call fcn.180048a60
test rax, rax
je 0x18004ca34
lea rcx, [rsp + 0x378]
mov r9d, 4
lea r8, [rsp + 0x380]
mov qword [rsp + 0x20], rcx
lea edx, [r9 + 0x14]
mov rcx, r14
call rax
test eax, eax
jns 0x18004ca34
or eax, 0xffffffff
jmp 0x18004ca3b
mov eax, dword [rsp + 0x380]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret