Function at 0x666bf0
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d922a
mov eax, dword fs:[0]
push eax
mov eax, 0x30cc
call fcn.005eced0
mov eax, dword [0x747040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3084], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30b4], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0x10000
mov word [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x84], 0
test edi, edi
je 0x667696
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
cmp byte [esi + 0x2c], 0
jne 0x666db8
mov ecx, dword [edi + 0x20]
cmp ecx, 0xffffffff
jne 0x666db1
lea ecx, [edi + 0x38]
call fcn.00695b70
mov edx, 0x710938
cmp dword [eax + 0x10], 6
cmovae edx, dword [eax + 0xc]
movzx ecx, byte [edx + 4]
movzx eax, byte [edx + 5]
shl ecx, 8
add eax, ecx
xor ecx, ecx
cmp ecx, eax
sbb ecx, ecx
and ecx, eax
mov dword [edi + 0x20], ecx
mov dword [esi + 0x28], ecx
mov byte [esi + 0x2c], 1
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x666dc6
mov ecx, 0x710938
jmp 0x666dde
push dword [edi + 0x10]
push 0x43464632
push edi
call eax
add esp, 0xc
mov ecx, 0x710938
test eax, eax
cmovne ecx, eax
push ecx
mov ecx, esi
call fcn.00662620
mov ecx, eax
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x666e00
mov eax, dword [ecx]
mov eax, dword [ecx]
test eax, eax
je 0x666e00
mov eax, 1
lock xadd dword [ecx], eax
mov dword [esi + 0x24], ecx
mov ecx, esi
mov byte [esi + 0x1c], 0
call fcn.006c7b20
mov eax, dword [esi + 0x30]
cmp dword [eax + 0x10], 5
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x309c], edi
jb 0x6674c9
cmp edi, 0x710938
je 0x6674c9
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 4]
movzx edx, byte [edi + 2]
shl ecx, 8
add edx, edi
add ecx, eax
mov dword [ebp - 0x30ac], edx
mov dword [ebp - 0x30a8], ecx
lea ecx, [ebp - 0x30b0]
push esi
mov dword [ebp - 0x30a4], 0
call fcn.006604d0
test al, al
je 0x6674c9
lea eax, [ebp - 0x30b0]
push eax
lea ecx, [ebp - 0x3078]
call fcn.00667900
lea eax, [ebp - 0x3078]
lea ecx, [esi + 0x34]
mov dword [ebp - 0x3094], eax
call fcn.006a5050
lea eax, [esi + 0x34]
push eax
lea ecx, [ebp - 0x3094]
call fcn.006a7210
test al, al
je 0x6674c9
movzx edx, byte [edi + 3]
movzx ecx, byte [edi + 2]
movzx eax, byte [edi + 4]
add ecx, edi
shl edx, 8
add ecx, edx
add eax, ecx
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x4c]
lea ecx, [eax + edi]
test eax, eax
jne 0x666ed1
mov ecx, 0x710938
mov eax, dword [esi + 0x44]
mov dword [esi + 0x58], ecx
test eax, eax
je 0x666edf
add eax, edi
jmp 0x666ee4
mov eax, 0x710938
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x666ef2
add eax, edi
jmp 0x666ef7
mov eax, 0x710938
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x50]
test eax, eax
je 0x666f05
add eax, edi
jmp 0x666f0a
mov eax, 0x710938
mov dword [esi + 0x64], eax
cmp ecx, 0x710938
je 0x666f23
push esi
call fcn.006bf5e0
test al, al
je 0x6674c9
mov ecx, dword [esi + 0x5c]
cmp ecx, 0x710938
je 0x6674c9
push esi
call fcn.006b97f0
test al, al
je 0x6674c9
mov ecx, dword [esi + 0x54]
cmp ecx, 0x710938
je 0x6674c9
push esi
call fcn.006b97f0
test al, al
je 0x6674c9
mov ecx, dword [esi + 0x60]
cmp ecx, 0x710938
je 0x6674c9
push esi
call fcn.006b97f0
test al, al
je 0x6674c9
mov edi, dword [esi + 0x64]
cmp edi, 0x710938
je 0x666f9e
mov ecx, dword [esi + 0x60]
call fcn.0066c270
push eax
push esi
mov ecx, edi
call fcn.006bf530
test al, al
je 0x6674c9
mov ecx, dword [esi + 0x5c]
call fcn.0066c270
mov dword [esi + 0x84], eax
cmp eax, dword [esi + 0x28]
jne 0x6674c9
mov ecx, dword [esi + 0x60]
call fcn.0066c270
xor ecx, ecx
mov dword [esi + 0x68], eax
test eax, eax
push ecx
cmovs eax, ecx
lea ecx, [esi + 0x78]
push eax
mov dword [ebp - 0x3080], eax
call fcn.00674670
test al, al
je 0x6674c9
mov eax, dword [esi + 0x7c]
mov edx, dword [ebp - 0x3080]
cmp edx, eax
jbe 0x667031
nop dword [eax]
lea ecx, [eax*8]
xorps xmm0, xmm0
sub ecx, eax
mov eax, dword [esi + 0x80]
movups xmmword [eax + ecx*4], xmm0
movq qword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x18], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov eax, dword [esi + 0x7c]
inc eax
mov dword [esi + 0x7c], eax
cmp eax, edx
jb 0x666ff0
jmp 0x667042
jae 0x667042
push edx
lea ecx, [esi + 0x78]
call fcn.006c7840
mov edx, dword [ebp - 0x3080]
xor edi, edi
mov dword [esi + 0x7c], edx
mov dword [ebp - 0x3090], edi
cmp dword [esi + 0x68], edi
jbe 0x667696
mov dword [ebp - 0x3080], edi
mov dword [ebp - 0x3088], str.OUT_OF_RANGE
mov ecx, dword [esi + 0x60]
lea eax, [ebp - 0x30c8]
push edi
push eax
call fcn.0066c160
mov ecx, dword [ebp - 0x30c0]
cmp ecx, 0xffffffff
jae 0x6674c9
mov edx, dword [ebp - 0x30c4]
mov eax, edx
mov edi, dword [esi + 4]
sub eax, edi
cmp eax, dword [esi + 0xc]
ja 0x6670b0
mov eax, dword [esi + 8]
sub eax, edx
cmp eax, ecx
jb 0x6670b0
sub dword [esi + 0x10], ecx
cmp dword [esi + 0x10], 0
mov byte [ebp - 0x3079], 1
jg 0x6670b7
mov byte [ebp - 0x3079], 0
cmp byte [ebp - 0x3079], 0
mov eax, 0x7199a0
cmove eax, dword [ebp - 0x3088]
push eax
push dword [esi + 8]
lea eax, [edx + ecx]
push edi
push ecx
push eax
mov eax, dword [esi]
push edx
push str.check_range___p.._p____u_bytes__in___p.._p______s
push 0
inc eax
push eax
push 1
push 0
push edx
push str.SANITIZE
call fcn.0040b8a0
add esp, 0x34
cmp byte [ebp - 0x3079], 0
je 0x6674c9
xorps xmm0, xmm0
mov byte [ebp - 0x2048], 0
movups xmmword [ebp - 0x2058], xmm0
xor eax, eax
mov dword [ebp - 0x2044], 0
movups xmm0, xmmword [ebp - 0x30c8]
mov ecx, 0x402
lea edi, [ebp - 0x2040]
rep stosd dword es:[edi], eax
movups xmmword [ebp - 0x2058], xmm0
mov dword [ebp - 0x204c], eax
lea ecx, [esi + 0x6c]
lea eax, [ebp - 0x2058]
mov dword [ebp - 0x3098], eax
call fcn.006b4a30
movups xmm0, xmmword [0x710938]
mov edi, eax
mov eax, dword [0x710950]
mov dword [0x74b308], eax
movups xmmword [0x74b2f0], xmm0
movq xmm0, qword [0x710948]
movq qword [0x74b300], xmm0
cmp edi, 0x74b2f0
je 0x6674c9
push edi
lea ecx, [ebp - 0x3098]
mov dword [edi], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
call fcn.006a6dd0
test al, al
je 0x6674c9
mov eax, dword [edi + 0x10]
test eax, eax
je 0x6671dc
mov ecx, dword [ebp - 0x309c]
add ecx, eax
jmp 0x6671e1
mov ecx, 0x710938
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x308c], ecx
mov dword [ebp - 0x3084], edx
mov dword [ebp - 0x30d4], ecx
mov dword [ebp - 0x30d0], edx
mov dword [ebp - 0x30cc], 0
cmp edx, 0xffffffff
jae 0x6674c9
mov edi, dword [esi + 4]
mov eax, ecx
sub eax, edi
cmp eax, dword [esi + 0xc]
ja 0x667234
mov eax, dword [esi + 8]
sub eax, ecx
cmp eax, edx
jb 0x667234
sub dword [esi + 0x10], edx
cmp dword [esi + 0x10], 0
mov byte [ebp - 0x3079], 1
jg 0x66723b
mov byte [ebp - 0x3079], 0
cmp byte [ebp - 0x3079], 0
mov eax, 0x7199a0
cmove eax, dword [ebp - 0x3088]
push eax
push dword [esi + 8]
lea eax, [edx + ecx]
push edi
push edx
push eax
mov eax, dword [esi]
push ecx
push str.check_range___p.._p____u_bytes__in___p.._p______s
push 0
inc eax
push eax
push 1
push 0
push ecx
push str.SANITIZE
call fcn.0040b8a0
add esp, 0x34
cmp byte [ebp - 0x3079], 0
je 0x6674c9
xorps xmm0, xmm0
mov byte [ebp - 0x1028], 0
xor eax, eax
mov dword [ebp - 0x1024], 0
movups xmmword [ebp - 0x1038], xmm0
mov ecx, 0x402
lea edi, [ebp - 0x1020]
movups xmm0, xmmword [ebp - 0x30d8]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x3090]
mov ecx, dword [ebp - 0x3080]
movups xmmword [ebp - 0x1038], xmm0
mov dword [ebp - 0x102c], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x1038]
mov dword [ebp - 0x30a0], eax
cmp edi, dword [esi + 0x7c]
jb 0x667313
movups xmm0, xmmword [0x710938]
mov eax, dword [0x710950]
mov dword [0x74b308], eax
mov eax, 0x74b2f0
movups xmmword [0x74b2f0], xmm0
movq xmm0, qword [0x710948]
movq qword [0x74b300], xmm0
jmp 0x66731b
mov eax, dword [esi + 0x80]
add eax, ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0x710938
mov dword [eax + 0x18], 0
cmp edi, dword [esi + 0x7c]
jb 0x66737f
movups xmm0, xmmword [0x710938]
mov eax, dword [0x710950]
mov dword [0x74b308], eax
mov eax, 0x74b2f0
movups xmmword [0x74b2f0], xmm0
movq xmm0, qword [0x710948]
movq qword [0x74b300], xmm0
jmp 0x667387
mov eax, dword [esi + 0x80]
add eax, ecx
push eax
lea ecx, [ebp - 0x30a0]
call fcn.006a6fa0
test al, al
je 0x6674c9
cmp dword [ebp - 0x3084], 0
mov ecx, 0x710938
movq xmm0, qword [0x710948]
cmova ecx, dword [ebp - 0x308c]
movups xmm1, xmmword [0x710938]
mov edx, dword [ebp - 0x3080]
cmp edi, dword [esi + 0x7c]
jb 0x6673e8
mov eax, dword [0x710950]
mov dword [0x74b308], eax
mov eax, 0x74b2f0
movups xmmword [0x74b2f0], xmm1
movq qword [0x74b300], xmm0
jmp 0x6673f0
mov eax, dword [esi + 0x80]
add eax, edx
mov eax, dword [eax + 0x10]
test eax, eax
je 0x6673fb
add ecx, eax
jmp 0x667400
mov ecx, 0x710938
cmp edi, dword [esi + 0x7c]
jb 0x667425
mov eax, dword [0x710950]
mov dword [0x74b308], eax
mov eax, 0x74b2f0
movups xmmword [0x74b2f0], xmm1
movq qword [0x74b300], xmm0
jmp 0x66742d
mov eax, dword [esi + 0x80]
add eax, edx
mov dword [eax + 0x14], ecx
mov ecx, dword [0x710950]
movq xmm0, qword [0x710948]
movups xmm1, xmmword [0x710938]
cmp edi, dword [esi + 0x7c]
jb 0x667466
movups xmmword [0x74b2f0], xmm1
mov eax, 0x74b2f0
mov dword [0x74b308], ecx
movq qword [0x74b300], xmm0
jmp 0x66746e
mov eax, dword [esi + 0x80]
add eax, edx
cmp dword [eax + 0x14], 0x710938
je 0x6674ad
cmp edi, dword [esi + 0x7c]
jb 0x667498
mov dword [0x74b308], ecx
mov ecx, 0x74b2f0
movups xmmword [0x74b2f0], xmm1
movq qword [0x74b300], xmm0
jmp 0x6674a0
mov ecx, dword [esi + 0x80]
add ecx, edx
mov ecx, dword [ecx + 0x14]
push esi
call fcn.006b97f0
test al, al
je 0x6674c9
add dword [ebp - 0x3080], 0x1c
inc edi
mov dword [ebp - 0x3090], edi
cmp edi, dword [esi + 0x68]
jb 0x667066
jmp 0x667696
push dword [esi + 0x20]
mov eax, dword [esi + 4]
push dword [esi + 8]
push eax
push str.end___p.._p___u_edit_requests
push 0xffffffffffffffff
push 0
push 1
push 0
push eax
push str.SANITIZE
call fcn.0040b8a0
mov edi, dword [esi + 0x24]
add esp, 0x28
test edi, edi
je 0x667567
mov eax, dword [edi]
mov eax, dword [edi]
test eax, eax
je 0x667567
or eax, 0xffffffff
lock xadd dword [edi], eax
cmp eax, 1
jne 0x667567
mov dword [edi], 0xffff2153
mov eax, dword [edi + 8]
mov dword [ebp - 0x3084], eax
nop
test eax, eax
je 0x667539
mov ecx, eax
call fcn.0068bf90
push dword [ebp - 0x3084]
call fcn.005c69b0
add esp, 4
mov dword [edi + 8], 0
mov eax, dword [edi + 0x1c]
mov byte [ebp - 4], 4
test eax, eax
je 0x66755a
push dword [edi + 0x18]
call eax
add esp, 4
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
push edi
mov byte [ebp - 4], 3
call fcn.005c69b0
add esp, 4
mov dword [esi + 0x24], 0
lea eax, [esi + 0x40]
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
cmp dword [esi + 0x38], 0
je 0x6675a0
push dword [eax]
mov dword [esi + 0x3c], 0
call fcn.005c69b0
add esp, 4
lea eax, [esi + 0x40]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [eax], 0
cmp dword [esi + 0x6c], 0
je 0x6675cf
push 0
lea ecx, [esi + 0x6c]
call fcn.006c7840
push dword [esi + 0x74]
call fcn.005c69b0
add esp, 4
mov dword [esi + 0x70], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x74], 0
cmp dword [esi + 0x78], 0
je 0x667602
push 0
lea ecx, [esi + 0x78]
call fcn.006c7840
push dword [esi + 0x80]
call fcn.005c69b0
add esp, 4
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
mov edi, dword [esi + 0x30]
test edi, edi
je 0x66768f
mov eax, dword [edi]
mov eax, dword [edi]
test eax, eax
je 0x66768f
or eax, 0xffffffff
lock xadd dword [edi], eax
cmp eax, 1
jne 0x66768f
mov dword [edi], 0xffff2153
mov eax, dword [edi + 8]
mov dword [ebp - 0x3084], eax
nop
test eax, eax
je 0x667665
mov ecx, eax
call fcn.0068bf90
push dword [ebp - 0x3084]
call fcn.005c69b0
add esp, 4
mov dword [edi + 8], 0
mov eax, dword [edi + 0x1c]
mov byte [ebp - 4], 5
test eax, eax
je 0x667686
push dword [edi + 0x18]
call eax
add esp, 4
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
push edi
call fcn.005c69b0
add esp, 4
mov dword [esi + 0x30], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005abeeb
mov esp, ebp
pop ebp
ret 4