Function at 0x180137f90
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rcx, qword [rcx]
mov rax, qword [rcx]
mov qword [rcx], 0
test rax, rax
je 0x180138315
mov rdi, qword [rax]
mov eax, dword [0x18021ea3c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0xa8], 0
jne 0x180137fdd
call fcn.18007c110
lea rax, [0x180207ec0]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 0
mov eax, dword [0x18021ea3c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movups xmm0, xmmword [rax + 0xb0]
inc qword [rax + 0xb0]
movups xmmword [rsp + 0x40], xmm0
lea rdx, [0x180208090]
lea r8, [0x180138320]
lea rsi, [rsp + 0x20]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180207f00]
lea r8, [0x1801386d0]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180207fc8]
lea r8, [0x1801389f0]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x1802080b8]
lea r8, [0x180138bb0]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180207ed8]
lea r8, [0x180138d70]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180207ff0]
lea r8, [0x1801391b0]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x1802080e0]
lea r8, [0x180139800]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180207fa0]
lea r8, [0x18013a840]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180207f50]
lea r8, [0x18013aca0]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180207f28]
lea r8, [0x18013b300]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180208108]
lea r8, [0x18013c0c0]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180207f78]
lea r8, [0x18013d750]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180208130]
lea r8, [0x18013da30]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180208158]
lea r8, [0x18013e7c0]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180208188]
lea r8, [0x18013f2a0]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x1802081b8]
lea r8, [0x18013f6c0]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x1802081e8]
lea r8, [0x18013f930]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180208018]
lea r8, [0x18013fb40]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180208040]
lea r8, [0x18013ff50]
mov rcx, rsi
call fcn.180138380
lea rdx, [0x180208068]
lea r8, [0x180140140]
mov rcx, rsi
call fcn.180138380
movdqu xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmm2, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rsp + 0x60], xmm1
movdqa xmmword [rsp + 0x50], xmm0
mov rsi, qword [rdi]
mov rbx, qword [rdi + 8]
mov r14, qword [rdi + 0x18]
movups xmmword [rdi + 0x20], xmm2
movdqu xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
test rsi, rsi
je 0x180138301
test rbx, rbx
je 0x180138301
test r14, r14
je 0x1801382cf
movdqa xmm0, xmmword [rsi]
pmovmskb r13d, xmm0
not r13d
lea rdi, [rsi + 0x10]
mov r15, qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, rsi
jmp 0x180138255
test r14, r14
je 0x1801382cf
test r13w, r13w
je 0x180138270
lea eax, [r13 - 1]
and eax, r13d
jmp 0x18013829b
movdqa xmm0, xmmword [rdi]
pmovmskb r13d, xmm0
add r12, 0xfffffffffffffd80
add rdi, 0x10
cmp r13w, 0xffff
je 0x180138270
mov ecx, 0xfffffffe
sub ecx, r13d
not r13d
mov eax, r13d
and eax, ecx
mov ecx, r13d
tzcnt ecx, ecx
mov r13d, eax
dec r14
neg rcx
lea rax, [rcx + rcx*4]
mov r8, qword [r12 + rax*8 - 0x28]
test r8, r8
je 0x180138250
cmp qword [r12 + rax*8 - 0x20], 0
je 0x180138250
mov rcx, qword [0x18021e9c0]
xor edx, edx
call r15
jmp 0x180138250
lea rax, [rbx + 1]
mov ecx, 0x28
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rbx, rax
cmp rbx, 0xffffffffffffffef
je 0x180138301
sub rsi, rax
mov rcx, qword [0x18021e9c0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2