Function at 0x75db5bf0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x75e50140]
xor eax, esp
mov dword [esp + reloc.ntdll.dll_NtClose], eax
mov ecx, dword [0x75e50a04]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x40], esi
push edi
test ecx, ecx
je 0x75db5d53
movzx edx, si
shr esi, 0x10
cmp si, word [ecx + 2]
jae 0x75db5eb0
movzx esi, si
add esi, esi
cmp dx, word [ecx + esi*8 + 8]
jae 0x75db5eb0
mov eax, edx
imul eax, eax, 0x22c
add eax, dword [ecx + esi*8 + 0x10]
lea esi, [eax + ecx]
test esi, esi
je 0x75db5eb0
mov eax, dword fs:[0x30]
mov eax, dword [eax + reloc.ntdll.dll_NtClose]
test eax, eax
je 0x75dc7bf7
add eax, 0x7e0
je 0x75dc7bf7
cmp dword [eax + 0x30], 0
je 0x75dc7bf7
mov ecx, dword [eax + 0x20]
mov eax, dword fs:[0x30]
mov eax, dword [eax + reloc.ntdll.dll_NtClose]
test eax, eax
je 0x75dc7bfe
add eax, 0x7e0
je 0x75dc7bfe
cmp dword [eax + 0x30], 0
je 0x75dc7bfe
mov edi, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
mov eax, 1
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 0x75db5d4f
mov ecx, dword [reloc.ntdll.dll_NtClose]
cmp ecx, reloc.ntdll.dll_NtClose
jne 0x75dc7c07
mov eax, dword [esi + reloc.ntdll.dll_NtClose]
test al, 1
jne 0x75dc7c13
test al, 2
jne 0x75db5d4b
cmp ebx, dword [esi + reloc.ntdll.dll_NtClose]
ja 0x75db5d4b
jb 0x75db5d07
cmp edi, dword [esi + reloc.ntdll.dll_NtClose]
jae 0x75db5d4b
mov eax, 1
mov ecx, esi
mov edx, 0x228
mov edi, eax
test eax, eax
je 0x75db5d25
mov ebx, dword [edx + ecx]
test bl, 4
jne 0x75dc7c1d
cmp dword [0x75e5099c], 0
jne 0x75dc7c33
mov eax, edi
mov ecx, dword [esp + reloc.ntdll.dll_NtClose]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.75dbdd75
mov esp, ebp
pop ebp
ret 4
xor eax, eax
jmp 0x75db5d0c
xor edi, edi
jmp 0x75db5d25
cmp dword [0x75e50a00], 0
jne 0x75db5d95
mov eax, dword fs:[0x30]
push 0x18
push 0
push dword [eax + 0x18]
call dword [0x75e221e0]
mov edi, eax
test edi, edi
je 0x75db5eb0
push edi
call dword [0x75e2199c]
mov ecx, edi
mov edx, 0x75e50a00
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x75dc78e0
push dword [0x75e50a00]
call dword [0x75e219a4]
cmp dword [0x75e50a04], 0
jne 0x75db5eac
call fcn.75db5ebd
mov edi, eax
test edi, edi
js 0x75db5e91
cmp dword [0x75e50a04], 0
je 0x75dc78fe
mov eax, dword fs:[0x30]
mov ecx, dword [eax + reloc.ntdll.dll_NtClose]
test ecx, ecx
je 0x75db5dfa
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
push 0
push 0
push 0x75e23fc0
call dword [0x75e21cd4]
test eax, eax
js 0x75dc7908
push 0x75e23fb0
push dword [0x75e509fc]
push dword [0x75e509f8]
call dword [0x75e21cd0]
movzx eax, al
mov dword [0x75e5099c], eax
lea edi, [esp + 0x14]
mov eax, dword [0x75e50a04]
mov ecx, 6
mov dword [esp + 0x30], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword fs:[0x30]
cmp byte [eax + 2], 0
jne 0x75dc7923
push 0x75e23fb0
push dword [0x75e509fc]
push dword [0x75e509f8]
call dword [0x75e21cd0]
test al, al
jne 0x75dc7923
mov dword [0x75e50998], 0
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
jmp 0x75dc7bdf
push dword [0x75e50a00]
call dword [0x75e219a8]
test edi, edi
js 0x75db5eb0
mov ecx, dword [0x75e50a04]
jmp 0x75db5c24
xor edi, edi
jmp 0x75db5e91
xor eax, eax
jmp 0x75db5d34
push edi
call dword [0x75e219a0]
mov eax, dword fs:[0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [0x75e221d0]
jmp 0x75db5d95
mov edi, 0xc0000001
jmp 0x75db5e91
mov dword [0x75e509f8], 0
xor eax, eax
mov dword [0x75e509fc], 0
jmp 0x75db5e30
lea eax, [esp + 0x48]
mov dword [0x75e50998], 1
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x104
push eax
call dword [0x75e20d9c]
test eax, eax
js 0x75dc7951
cmp word [esp + 0x48], 0
jne 0x75dc7973
push 0x104
lea eax, [esp + 0x4c]
mov dword [esp + 0x38], 0x104
push eax
push 0
call dword [0x75e213cc]
test eax, eax
je 0x75db5e84
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
push 0
push 8
lea eax, [esp + 0x58]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsQuirks
push 0x80000001
call dword [0x75e21914]
test eax, eax
jne 0x75db5e84
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x75db5e84
mov eax, dword fs:[0x30]
mov ebx, dword [eax + 0x18]
test ebx, ebx
jne 0x75dc79cc
call dword [0x75e212e4]
mov ecx, dword [esp + 0xc]
mov ebx, eax
xor edi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edi
test ecx, ecx
je 0x75dc7a5e
lea eax, [esp + 0x2c]
mov edx, 0x3ff
push eax
call fcn.75db9942
test eax, eax
jns 0x75dc79ff
mov dword [esp + 0xc], reloc.ntdll.dll_NtClose
jmp 0x75dc7a3f
mov eax, dword [esp + 0x2c]
and eax, 0xfffffc00
push eax
push 0
push ebx
mov dword [esp + 0x38], eax
call dword [0x75e21314]
mov dword [esp + 0xc], eax
test eax, eax
je 0x75dc7a37
push dword [esp + 0x2c]
push 0
push eax
call fcn.75dc7439
mov edi, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x28], edi
jmp 0x75dc7a5e
mov dword [esp + 0xc], reloc.ntdll.dll_NtClose
xor eax, eax
lea edi, [esp + 0x14]
mov ecx, 6
rep stosd dword es:[edi], eax
cmp dword [esp + 0xc], eax
jl 0x75db5e84
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 8
lea eax, [esp + 0x58]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsQuirks
push 0x80000001
call dword [0x75e21914]
test eax, eax
jne 0x75dc7bdf
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], eax
jne 0x75dc7bdf
mov ecx, dword [esp + 0x24]
cmp ecx, eax
ja 0x75dc7bdf
lea eax, [esp + 0x38]
mov edx, 4
push eax
call fcn.75db9942
test eax, eax
js 0x75dc7bdf
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x38], eax
ja 0x75dc7bdf
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
push ecx
mov edx, 4
mov ecx, eax
mov edi, dword [eax + edi]
call fcn.75db9942
test eax, eax
js 0x75db5e84
cmp edi, 0x736b7271
jne 0x75db5e84
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
cmp edi, ebx
jae 0x75db5e84
mov esi, dword [esp + 0x30]
ja 0x75dc7bd6
lea eax, [esp + 0x3c]
mov edx, 4
push eax
mov ecx, edi
call fcn.75db9942
test eax, eax
js 0x75dc7bd6
cmp dword [esp + 0x3c], ebx
ja 0x75dc7bd6
mov eax, dword [esp + 0x28]
mov edx, 4
mov ecx, edi
mov eax, dword [edi + eax]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
call fcn.75db9942
test eax, eax
js 0x75dc7bd6
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
cmp edi, ebx
ja 0x75dc7bd6
lea eax, [esp + 0x40]
mov edx, 4
push eax
mov ecx, edi
call fcn.75db9942
test eax, eax
js 0x75dc7bd6
cmp dword [esp + 0x40], ebx
ja 0x75dc7bd6
mov eax, dword [esp + 0x28]
mov edx, 4
mov ecx, edi
mov ebx, dword [edi + eax]
lea eax, [esp + 0x24]
push eax
call fcn.75db9942
test eax, eax
js 0x75dc7bd6
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.75de1bd5
test eax, eax
je 0x75dc7bd6
mov ecx, dword [eax + reloc.ntdll.dll_NtClose]
and ecx, 0xfffffffc
test ebx, ebx
je 0x75dc7bbd
or ecx, 1
jmp 0x75dc7bc0
or ecx, 2
mov dword [eax + reloc.ntdll.dll_NtClose], ecx
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
cmp edi, ebx
jb 0x75dc7b16
mov esi, dword [esp + 0x44]
jmp 0x75db5e84
test edi, edi
je 0x75dc7bed
push edi
push 0
push ebx
call dword [0x75e212e0]
call fcn.75db5f22
jmp 0x75db5eac
xor ecx, ecx
jmp 0x75db5c87
xor edi, edi
xor ebx, ebx
jmp 0x75db5cb6
xor eax, eax
test ecx, ecx
setne al
jmp 0x75db5d0c
mov eax, 1
jmp 0x75db5d0c
mov edi, eax
test bl, 8
jne 0x75db5d25
or ebx, 8
mov dword [edx + ecx], ebx
jmp 0x75db5d25
push 0
push 0
call dword [0x75e21764]
push eax
mov edx, edi
mov ecx, esi
call fcn.75ddfba3
jmp 0x75db5d32