Function at 0x75db81d0
Capabilities:
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 fs:[0x30]
and dword [esp + 8], 0
push ebx
push esi
mov eax, dword [eax + reloc.ntdll.dll_NtClose]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x48], edi
test edi, edi
je 0x75db822f
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x4c], ecx
cmp ecx, reloc.ntdll.dll_NtClose
jne 0x75dc8c63
test eax, eax
je 0x75db822f
test dword [eax + reloc.ntdll.dll_NtClose], 0x400
jne 0x75dc8c63
mov ecx, dword [esp + reloc.ntdll.dll_NtClose]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.75dbdd75
mov esp, ebp
pop ebp
ret 8
xor ebx, ebx
inc ebx
cmp dword [0x75e50a04], 0
jne 0x75dc9071
cmp dword [0x75e50a00], 0
jne 0x75dc8cca
mov eax, dword fs:[0x30]
push 0x18
push 0
push dword [eax + 0x18]
call dword [0x75e221e0]
mov esi, eax
test esi, esi
je 0x75db822f
push esi
call dword [0x75e2199c]
mov ecx, esi
mov edx, 0x75e50a00
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x75dc8cca
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 0x75dc905b
call fcn.75db5ebd
mov esi, eax
test esi, esi
js 0x75dc905d
cmp dword [0x75e50a04], 0
jne 0x75dc8d05
mov esi, 0xc0000001
jmp 0x75dc905d
mov eax, dword fs:[0x30]
mov ecx, dword [eax + reloc.ntdll.dll_NtClose]
test ecx, ecx
je 0x75dc8d35
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 0x75dc8d69
push 0x75e23fb0
push dword [0x75e509fc]
push dword [0x75e509f8]
call dword [0x75e21cd0]
movzx eax, al
jmp 0x75dc8d77
mov dword [0x75e509f8], esi
mov eax, esi
mov dword [0x75e509fc], esi
mov dword [0x75e5099c], eax
lea edi, [esp + 0x18]
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 0x75dc8dc2
push 0x75e23fb0
push dword [0x75e509fc]
push dword [0x75e509f8]
call dword [0x75e21cd0]
test al, al
jne 0x75dc8dc2
mov dword [0x75e50998], esi
jmp 0x75dc903c
lea eax, [esp + 0x50]
mov dword [0x75e50998], ebx
push eax
lea eax, [esp + 0x3c]
mov edi, 0x104
push eax
mov dword [esp + 0x40], edi
call dword [0x75e20d9c]
test eax, eax
js 0x75dc8dec
cmp word [esp + 0x50], si
jne 0x75dc8e05
push edi
lea eax, [esp + 0x54]
mov dword [esp + 0x3c], edi
push eax
push esi
call dword [0x75e213cc]
test eax, eax
je 0x75dc903c
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 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 0x75dc903c
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x75dc903c
mov eax, dword fs:[0x30]
mov edi, dword [eax + 0x18]
test edi, edi
jne 0x75dc8e58
call dword [0x75e212e4]
mov ecx, dword [esp + 0xc]
mov edi, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
test ecx, ecx
je 0x75dc8ee2
lea eax, [esp + 0x30]
mov edx, 0x3ff
push eax
call fcn.75db9942
test eax, eax
jns 0x75dc8e85
mov dword [esp + 0xc], reloc.ntdll.dll_NtClose
jmp 0x75dc8ec5
mov eax, dword [esp + 0x30]
and eax, 0xfffffc00
push eax
push 0
push edi
mov dword [esp + 0x3c], eax
call dword [0x75e21314]
mov dword [esp + 0xc], eax
test eax, eax
je 0x75dc8ebd
push dword [esp + 0x30]
push 0
push eax
call fcn.75dc7439
mov esi, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x2c], esi
jmp 0x75dc8ee2
mov dword [esp + 0xc], reloc.ntdll.dll_NtClose
push 6
xor eax, eax
lea edi, [esp + 0x1c]
pop ecx
rep stosd dword es:[edi], eax
cmp dword [esp + 0xc], eax
jl 0x75dc903c
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
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 0x75dc9044
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], eax
jne 0x75dc9044
mov ecx, dword [esp + 0x28]
cmp ecx, eax
ja 0x75dc9044
lea eax, [esp + 0x34]
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75dc9044
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x34], eax
ja 0x75dc9044
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x28]
push ecx
push 4
pop edx
mov esi, dword [eax + esi]
mov ecx, eax
call fcn.75db9942
test eax, eax
js 0x75dc903c
cmp esi, 0x736b7271
je 0x75dc902c
jmp 0x75dc903c
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75dc903c
cmp dword [esp + 0x3c], edi
ja 0x75dc903c
mov eax, dword [esp + 0x2c]
mov ecx, esi
mov eax, dword [esi + eax]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75dc903c
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
cmp esi, edi
ja 0x75dc903c
lea eax, [esp + 0x40]
mov ecx, esi
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75dc903c
cmp dword [esp + 0x40], edi
ja 0x75dc903c
mov eax, dword [esp + 0x2c]
mov ecx, esi
mov edi, dword [esi + eax]
lea eax, [esp + 0x28]
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75dc903c
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
call fcn.75de1bd5
mov ecx, eax
test ecx, ecx
je 0x75dc903c
mov eax, dword [ecx + reloc.ntdll.dll_NtClose]
and eax, 0xfffffffc
test edi, edi
je 0x75dc9023
or eax, ebx
jmp 0x75dc9026
or eax, 2
mov dword [ecx + reloc.ntdll.dll_NtClose], eax
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
cmp esi, edi
jb 0x75dc8f81
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x75dc9052
push esi
push 0
push edi
call dword [0x75e212e0]
call fcn.75db5f22
mov edi, dword [esp + 0x48]
xor esi, esi
push dword [0x75e50a00]
call dword [0x75e219a8]
test esi, esi
js 0x75db822f
mov edx, edi
call fcn.75de1c00
mov esi, eax
test esi, esi
je 0x75db822f
mov ecx, dword [esp + 0x4c]
cmp ecx, reloc.ntdll.dll_NtClose
jne 0x75dc9093
or edi, ecx
or dword [esp + 0xc], ecx
jmp 0x75dc90cd
xor edx, edx
mov edi, ecx
and edi, 0xff000000
mov eax, ecx
shld edx, edi, 8
and eax, 0xff0000
shl edi, 8
or edi, eax
mov eax, ecx
shld edx, edi, 8
and eax, 0xff00
shl edi, 8
or edi, eax
movzx eax, cl
shld edx, edi, 8
shl edi, 8
or edi, eax
mov dword [esp + 0xc], edx
mov ecx, dword fs:[0x30]
mov ecx, dword [ecx + reloc.ntdll.dll_NtClose]
call fcn.75df306c
test eax, eax
jne 0x75dc90e7
xor ecx, ecx
jmp 0x75dc90ea
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 0x75dc910f
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x75dc9171
mov eax, dword [reloc.ntdll.dll_NtClose]
cmp eax, reloc.ntdll.dll_NtClose
je 0x75dc9122
xor ebx, ebx
test eax, eax
setne bl
jmp 0x75dc9148
mov eax, dword [esi + reloc.ntdll.dll_NtClose]
test al, 1
jne 0x75dc9148
test al, 2
jne 0x75dc9146
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + reloc.ntdll.dll_NtClose]
ja 0x75dc9146
jb 0x75dc9148
cmp edi, dword [esi + reloc.ntdll.dll_NtClose]
jb 0x75dc9148
xor ebx, ebx
mov edi, ebx
mov dword [esp + 0x14], edi
test ebx, ebx
je 0x75dc9171
mov ecx, dword [esi + reloc.ntdll.dll_NtClose]
mov eax, ecx
and al, 0xc
mov dword [esp + 0x14], edi
cmp al, 4
jne 0x75dc9171
or ecx, 8
mov dword [esp + 0x14], ebx
mov dword [esi + reloc.ntdll.dll_NtClose], ecx
cmp dword [0x75e5099c], 0
je 0x75db822f
push 0
push 0
call dword [0x75e21764]
push eax
mov edx, edi
mov ecx, esi
call fcn.75ddfba3
jmp 0x75db822f