Function at 0x75de1470
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x75e50140]
xor eax, esp
mov dword [esp + reloc.ntdll.dll_NtClose], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ecx
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x54], esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
cmp ebx, reloc.ntdll.dll_NtClose
jne 0x75de14ca
push eax
call sym.KERNEL32.dll_QuirkIsEnabledWorker
mov dword [esi], eax
jmp 0x75de1b35
push ecx
lea eax, [esp + 0x18]
push eax
push ebx
call dword [0x75e20e74]
mov esi, eax
test esi, esi
je 0x75de14f1
jle 0x75de1b37
movzx esi, si
or esi, 0x80070000
jmp 0x75de1b37
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + reloc.ntdll.dll_NtClose]
mov eax, esi
mov edi, dword [ecx + reloc.ntdll.dll_NtClose]
or eax, edi
je 0x75de167a
push dword [ecx + 0x1188]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [0x75e221e0]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x75de1536
mov esi, 0x8007000e
mov edi, eax
jmp 0x75de1b37
lea eax, [esp + 0x48]
push eax
call dword [0x75e21764]
push eax
call dword [0x75e21b98]
test eax, eax
jne 0x75de155c
call dword [0x75e210b4]
mov edi, dword [esp + 0xc]
mov esi, eax
test esi, esi
jmp 0x75de14dd
lea eax, [esp + 0x4c]
push eax
push ebx
call dword [0x75e21b98]
test eax, eax
je 0x75de154c
cmp dword [esp + 0x48], 0
je 0x75de15aa
cmp dword [esp + 0x4c], 0
jne 0x75de15aa
mov eax, dword [esp + 0x14]
push 0
push 0
push dword [eax + 0x1188]
push dword [esp + 0x18]
push edi
push esi
push ebx
call dword [0x75e21ce0]
mov edi, dword [esp + 0xc]
mov esi, eax
test esi, esi
jns 0x75de15cf
or esi, 0x10000000
jmp 0x75de1b37
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
push 0
push dword [eax + 0x1188]
push edi
push esi
push ebx
call dword [0x75e21538]
test eax, eax
jne 0x75de15cf
call dword [0x75e210b4]
jmp 0x75de1556
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.75de1bd5
mov esi, eax
test esi, esi
jne 0x75de15ea
mov esi, 0x80070490
jmp 0x75de1b37
mov ecx, dword [esp + 0x14]
call fcn.75df306c
test eax, eax
jne 0x75de15fb
xor edi, edi
jmp 0x75de15fe
mov edi, dword [eax + 0x20]
call fcn.75df3053
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
inc ebx
mov eax, ebx
xor edx, edx
mov ecx, edi
call fcn.75dc73e5
and eax, dword [esi + reloc.ntdll.dll_NtClose]
xor ecx, ecx
and ecx, dword [esi + reloc.ntdll.dll_NtClose]
or eax, ecx
je 0x75de1b18
mov eax, dword [reloc.ntdll.dll_NtClose]
cmp eax, reloc.ntdll.dll_NtClose
je 0x75de1645
xor ebx, ebx
test eax, eax
setne bl
jmp 0x75de1b1a
mov eax, dword [esi + reloc.ntdll.dll_NtClose]
test al, 1
jne 0x75de1b1a
test al, 2
jne 0x75de1b18
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + reloc.ntdll.dll_NtClose]
ja 0x75de1b18
jb 0x75de1b1a
mov eax, dword [esp + 0x10]
jmp 0x75de1b10
mov ecx, dword [0x75e50a04]
xor ebx, ebx
inc ebx
test ecx, ecx
jne 0x75de1a98
cmp dword [0x75e50a00], ecx
jne 0x75de16e6
mov eax, dword fs:[0x30]
push 0x18
push ecx
push dword [eax + 0x18]
call dword [0x75e221e0]
mov esi, eax
test esi, esi
jne 0x75de16b5
mov esi, 0xc000009a
jmp 0x75de1a83
push esi
call dword [0x75e2199c]
mov ecx, esi
mov edx, 0x75e50a00
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x75de16e6
push esi
call dword [0x75e219a0]
mov eax, dword fs:[0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [0x75e221d0]
push dword [0x75e50a00]
call dword [0x75e219a4]
cmp dword [0x75e50a04], 0
jne 0x75de1a71
call fcn.75db5ebd
mov esi, eax
test esi, esi
js 0x75de1a73
cmp dword [0x75e50a04], 0
jne 0x75de1721
mov esi, 0xc0000001
jmp 0x75de1a73
mov eax, dword fs:[0x30]
mov ecx, dword [eax + reloc.ntdll.dll_NtClose]
test ecx, ecx
je 0x75de1751
mov eax, dword [0x75e50a04]
mov eax, dword [eax + 4]
mov dword [ecx + reloc.ntdll.dll_NtClose], eax
mov eax, dword [0x75e50a04]
cdq
mov dword [ecx + reloc.ntdll.dll_NtClose], eax
mov dword [ecx + reloc.ntdll.dll_NtClose], edx
push 0x75e509f8
xor esi, esi
push esi
push esi
push 0x75e23fc0
call dword [0x75e21cd4]
test eax, eax
js 0x75de1785
push 0x75e23fb0
push dword [0x75e509fc]
push dword [0x75e509f8]
call dword [0x75e21cd0]
movzx eax, al
jmp 0x75de1793
mov dword [0x75e509f8], esi
mov eax, esi
mov dword [0x75e509fc], esi
mov dword [0x75e5099c], eax
lea edi, [esp + 0x20]
mov eax, dword [0x75e50a04]
mov dword [esp + 0x44], eax
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword fs:[0x30]
cmp byte [eax + 2], 0
jne 0x75de17de
push 0x75e23fb0
push dword [0x75e509fc]
push dword [0x75e509f8]
call dword [0x75e21cd0]
test al, al
jne 0x75de17de
mov dword [0x75e50998], esi
jmp 0x75de1a56
lea eax, [esp + 0x60]
mov dword [0x75e50998], ebx
push eax
lea eax, [esp + 0x54]
mov edi, 0x104
push eax
mov dword [esp + 0x58], edi
call dword [0x75e20d9c]
test eax, eax
js 0x75de1808
cmp word [esp + 0x60], si
jne 0x75de1821
push edi
lea eax, [esp + 0x64]
mov dword [esp + 0x54], edi
push eax
push esi
call dword [0x75e213cc]
test eax, eax
je 0x75de1a56
lea eax, [esp + 0x18]
mov dword [esp + 0x18], esi
push eax
push esi
push esi
push 8
lea eax, [esp + 0x70]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsQuirks
push 0x80000001
call dword [0x75e21914]
test eax, eax
jne 0x75de1a56
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x75de1a56
mov eax, dword fs:[0x30]
mov edi, dword [eax + 0x18]
test edi, edi
jne 0x75de1874
call dword [0x75e212e4]
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
test ecx, ecx
je 0x75de18fe
lea eax, [esp + 0x38]
mov edx, 0x3ff
push eax
call fcn.75db9942
test eax, eax
jns 0x75de18a1
mov dword [esp + 0x10], reloc.ntdll.dll_NtClose
jmp 0x75de18e1
mov eax, dword [esp + 0x38]
and eax, 0xfffffc00
push eax
push 0
push edi
mov dword [esp + 0x44], eax
call dword [0x75e21314]
mov dword [esp + 0x10], eax
test eax, eax
je 0x75de18d9
push dword [esp + 0x38]
push 0
push eax
call fcn.75dc7439
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x34], esi
jmp 0x75de18fe
mov dword [esp + 0x10], reloc.ntdll.dll_NtClose
push 6
xor eax, eax
lea edi, [esp + 0x24]
pop ecx
rep stosd dword es:[edi], eax
cmp dword [esp + 0x10], eax
jl 0x75de1a56
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push esi
push 0
push 8
lea eax, [esp + 0x70]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsQuirks
push 0x80000001
call dword [0x75e21914]
test eax, eax
jne 0x75de1a5e
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x18], eax
jne 0x75de1a5e
mov ecx, dword [esp + 0x30]
cmp ecx, eax
ja 0x75de1a5e
lea eax, [esp + 0x3c]
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de1a5e
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x3c], eax
ja 0x75de1a5e
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
push 4
pop edx
mov esi, dword [eax + esi]
mov ecx, eax
call fcn.75db9942
test eax, eax
js 0x75de1a56
cmp esi, 0x736b7271
jne 0x75de1a56
jmp 0x75de1a46
lea eax, [esp + 0x54]
mov ecx, esi
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de1a56
cmp dword [esp + 0x54], edi
ja 0x75de1a56
mov eax, dword [esp + 0x34]
mov ecx, esi
mov eax, dword [esi + eax]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de1a56
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
cmp esi, edi
ja 0x75de1a56
lea eax, [esp + 0x40]
mov ecx, esi
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de1a56
cmp dword [esp + 0x40], edi
ja 0x75de1a56
mov eax, dword [esp + 0x34]
mov ecx, esi
mov edi, dword [esi + eax]
lea eax, [esp + 0x30]
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de1a56
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
call fcn.75de1bd5
test eax, eax
je 0x75de1a56
mov ecx, dword [eax + reloc.ntdll.dll_NtClose]
and ecx, 0xfffffffc
test edi, edi
je 0x75de1a3d
or ecx, ebx
jmp 0x75de1a40
or ecx, 2
mov dword [eax + reloc.ntdll.dll_NtClose], ecx
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
cmp esi, edi
jb 0x75de199d
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x75de1a6c
push esi
push 0
push edi
call dword [0x75e212e0]
call fcn.75db5f22
xor esi, esi
push dword [0x75e50a00]
call dword [0x75e219a8]
test esi, esi
jns 0x75de1a92
or esi, 0x10000000
mov edi, dword [esp + 0xc]
jmp 0x75de1b37
mov ecx, dword [0x75e50a04]
mov edx, dword [esp + 0x1c]
call fcn.75de1bd5
mov esi, eax
test esi, esi
jne 0x75de1aae
mov esi, 0x80070490
jmp 0x75de1a89
mov ecx, dword [esp + 0x14]
call fcn.75df306c
test eax, eax
jne 0x75de1abf
xor edi, edi
jmp 0x75de1ac2
mov edi, dword [eax + 0x20]
mov ecx, dword [esp + 0x14]
call fcn.75df3053
mov dword [esp + 0x40], eax
mov ecx, edi
mov dword [esp + 0x44], edx
mov eax, ebx
xor edx, edx
call fcn.75dc73e5
and eax, dword [esi + reloc.ntdll.dll_NtClose]
xor ecx, ecx
and ecx, dword [esi + reloc.ntdll.dll_NtClose]
or eax, ecx
je 0x75de1b18
mov eax, dword [reloc.ntdll.dll_NtClose]
cmp eax, reloc.ntdll.dll_NtClose
jne 0x75de1639
mov eax, dword [esp + 0x44]
cmp eax, dword [esi + reloc.ntdll.dll_NtClose]
ja 0x75de1b18
jb 0x75de1b1a
mov eax, dword [esp + 0x40]
cmp eax, dword [esi + reloc.ntdll.dll_NtClose]
jb 0x75de1b1a
xor ebx, ebx
mov eax, dword [esp + 0x58]
mov edx, ebx
push 0
push 0
push dword [esp + 0x64]
mov ecx, esi
mov dword [eax], ebx
call fcn.75ddfba3
mov edi, dword [esp + 0xc]
xor esi, esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x75de1b46
push ecx
call dword [0x75e20e78]
mov ecx, dword fs:[0x30]
push edi
push 0
push dword [ecx + 0x18]
call dword [0x75e221d0]
mov ecx, dword [esp + reloc.ntdll.dll_NtClose]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.75dbdd75
mov esp, ebp
pop ebp
ret 0xc