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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x75e50140]
xor eax, esp
mov dword [esp + reloc.ntdll.dll_NtClose], eax
mov eax, dword [ebp + 8]
and dword [esp + 0xc], 0
mov dword [esp + 0x40], eax
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov ecx, dword [eax + reloc.ntdll.dll_NtClose]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
and eax, edi
cmp eax, reloc.ntdll.dll_NtClose
jne 0x75de0e0c
test ecx, ecx
je 0x75de12f1
test dword [ecx + reloc.ntdll.dll_NtClose], 0x400
je 0x75de12f1
mov ecx, dword [0x75e50a04]
xor ebx, ebx
inc ebx
test ecx, ecx
jne 0x75de121e
cmp dword [0x75e50a00], ecx
jne 0x75de0e72
mov eax, dword fs:[0x30]
push 0x18
push ecx
push dword [eax + 0x18]
call dword [0x75e221e0]
mov esi, eax
test esi, esi
je 0x75de12f1
push esi
call dword [0x75e2199c]
mov ecx, esi
mov edx, 0x75e50a00
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x75de0e72
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 0x75de1202
call fcn.75db5ebd
mov esi, eax
test esi, esi
js 0x75de1204
cmp dword [0x75e50a04], 0
jne 0x75de0ead
mov esi, 0xc0000001
jmp 0x75de1204
mov eax, dword fs:[0x30]
mov ecx, dword [eax + reloc.ntdll.dll_NtClose]
test ecx, ecx
je 0x75de0edd
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 0x75de0f11
push 0x75e23fb0
push dword [0x75e509fc]
push dword [0x75e509f8]
call dword [0x75e21cd0]
movzx eax, al
jmp 0x75de0f1f
mov dword [0x75e509f8], esi
mov eax, esi
mov dword [0x75e509fc], esi
mov dword [0x75e5099c], eax
lea edi, [esp + 0x1c]
mov eax, dword [0x75e50a04]
mov dword [esp + 0x48], 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 0x75de0f6a
push 0x75e23fb0
push dword [0x75e509fc]
push dword [0x75e509f8]
call dword [0x75e21cd0]
test al, al
jne 0x75de0f6a
mov dword [0x75e50998], esi
jmp 0x75de11e4
lea eax, [esp + 0x50]
mov dword [0x75e50998], ebx
push eax
lea eax, [esp + 0x40]
mov edi, 0x104
push eax
mov dword [esp + 0x44], edi
call dword [0x75e20d9c]
test eax, eax
js 0x75de0f94
cmp word [esp + 0x50], si
jne 0x75de0fad
push edi
lea eax, [esp + 0x54]
mov dword [esp + 0x40], edi
push eax
push esi
call dword [0x75e213cc]
test eax, eax
je 0x75de11e4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
push esi
push esi
push 8
lea eax, [esp + 0x60]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsQuirks
push 0x80000001
call dword [0x75e21914]
test eax, eax
jne 0x75de11e4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x75de11e4
mov eax, dword fs:[0x30]
mov edi, dword [eax + 0x18]
test edi, edi
jne 0x75de1000
call dword [0x75e212e4]
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
test ecx, ecx
je 0x75de108a
lea eax, [esp + 0x34]
mov edx, 0x3ff
push eax
call fcn.75db9942
test eax, eax
jns 0x75de102d
mov dword [esp + 0x10], reloc.ntdll.dll_NtClose
jmp 0x75de106d
mov eax, dword [esp + 0x34]
and eax, 0xfffffc00
push eax
push 0
push edi
mov dword [esp + 0x40], eax
call dword [0x75e21314]
mov dword [esp + 0x10], eax
test eax, eax
je 0x75de1065
push dword [esp + 0x34]
push 0
push eax
call fcn.75dc7439
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x30], esi
jmp 0x75de108a
mov dword [esp + 0x10], reloc.ntdll.dll_NtClose
push 6
xor eax, eax
lea edi, [esp + 0x20]
pop ecx
rep stosd dword es:[edi], eax
cmp dword [esp + 0x10], eax
jl 0x75de11e4
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 8
lea eax, [esp + 0x60]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsQuirks
push 0x80000001
call dword [0x75e21914]
test eax, eax
jne 0x75de11ec
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jne 0x75de11ec
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
ja 0x75de11ec
lea eax, [esp + 0x38]
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de11ec
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x38], eax
ja 0x75de11ec
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push ecx
push 4
pop edx
mov esi, dword [eax + esi]
mov ecx, eax
call fcn.75db9942
test eax, eax
js 0x75de11e4
cmp esi, 0x736b7271
jne 0x75de11e4
jmp 0x75de11d4
lea eax, [esp + 0x40]
mov ecx, esi
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de11e4
cmp dword [esp + 0x40], edi
ja 0x75de11e4
mov eax, dword [esp + 0x30]
mov ecx, esi
mov eax, dword [esi + eax]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de11e4
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
cmp esi, edi
ja 0x75de11e4
lea eax, [esp + 0x44]
mov ecx, esi
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de11e4
cmp dword [esp + 0x44], edi
ja 0x75de11e4
mov eax, dword [esp + 0x30]
mov ecx, esi
mov edi, dword [esi + eax]
lea eax, [esp + 0x2c]
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de11e4
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
call fcn.75de1bd5
mov ecx, eax
test ecx, ecx
je 0x75de11e4
mov eax, dword [ecx + reloc.ntdll.dll_NtClose]
and eax, 0xfffffffc
test edi, edi
je 0x75de11cb
or eax, ebx
jmp 0x75de11ce
or eax, 2
mov dword [ecx + reloc.ntdll.dll_NtClose], eax
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
cmp esi, edi
jb 0x75de1129
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x75de11fa
push esi
push 0
push edi
call dword [0x75e212e0]
call fcn.75db5f22
mov edi, dword [ebp + 0x10]
xor esi, esi
push dword [0x75e50a00]
call dword [0x75e219a8]
test esi, esi
js 0x75de12f1
mov ecx, dword [0x75e50a04]
mov edx, dword [esp + 0x4c]
call fcn.75de1bd5
mov esi, eax
test esi, esi
je 0x75de12f1
mov ecx, dword fs:[0x30]
mov ecx, dword [ecx + reloc.ntdll.dll_NtClose]
call fcn.75df306c
test eax, eax
jne 0x75de124b
xor ecx, ecx
jmp 0x75de124e
mov ecx, dword [eax + 0x20]
mov eax, ebx
xor edx, edx
call fcn.75dc73e5
mov ecx, eax
xor eax, eax
and ecx, dword [esi + reloc.ntdll.dll_NtClose]
and eax, dword [esi + reloc.ntdll.dll_NtClose]
or ecx, eax
jne 0x75de1273
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x75de12d4
mov eax, dword [reloc.ntdll.dll_NtClose]
cmp eax, reloc.ntdll.dll_NtClose
je 0x75de1286
xor ebx, ebx
test eax, eax
setne bl
jmp 0x75de12ab
mov eax, dword [esi + reloc.ntdll.dll_NtClose]
test al, 1
jne 0x75de12ab
test al, 2
jne 0x75de12a9
cmp edi, dword [esi + reloc.ntdll.dll_NtClose]
ja 0x75de12a9
jb 0x75de12ab
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + reloc.ntdll.dll_NtClose]
jb 0x75de12ab
xor ebx, ebx
mov edi, ebx
mov dword [esp + 0x18], edi
test ebx, ebx
je 0x75de12d4
mov ecx, dword [esi + reloc.ntdll.dll_NtClose]
mov eax, ecx
and al, 0xc
mov dword [esp + 0x18], edi
cmp al, 4
jne 0x75de12d4
or ecx, 8
mov dword [esp + 0x18], ebx
mov dword [esi + reloc.ntdll.dll_NtClose], ecx
cmp dword [0x75e5099c], 0
je 0x75de12f1
push 0
push 0
call dword [0x75e21764]
push eax
mov edx, edi
mov ecx, esi
call fcn.75ddfba3
mov ecx, dword [esp + reloc.ntdll.dll_NtClose]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.75dbdd75
mov esp, ebp
pop ebp
ret 0xc