Function at 0x75ddfe6c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x75e50140]
xor eax, esp
mov dword [esp + reloc.ntdll.dll_NtClose], eax
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
mov dword [esp + 0x40], edx
push esi
push edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
cmp dword [0x75e50a04], ebx
jne 0x75de02a6
cmp dword [0x75e50a00], ebx
jne 0x75ddff0a
mov eax, dword fs:[0x30]
push 0x18
push ebx
push dword [eax + 0x18]
call dword [0x75e221e0]
mov esi, eax
test esi, esi
jne 0x75ddfeda
mov esi, 0xc000009a
jmp 0x75de0297
push esi
call dword [0x75e2199c]
mov ecx, esi
mov edx, 0x75e50a00
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x75ddff0a
push esi
call dword [0x75e219a0]
mov eax, dword fs:[0x30]
push esi
push ebx
push dword [eax + 0x18]
call dword [0x75e221d0]
push dword [0x75e50a00]
call dword [0x75e219a4]
cmp dword [0x75e50a04], ebx
jne 0x75de0285
call fcn.75db5ebd
mov esi, eax
test esi, esi
js 0x75de0287
cmp dword [0x75e50a04], ebx
jne 0x75ddff43
mov esi, 0xc0000001
jmp 0x75de0287
mov eax, dword fs:[0x30]
mov ecx, dword [eax + reloc.ntdll.dll_NtClose]
test ecx, ecx
je 0x75ddff73
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 ebx
push ebx
push 0x75e23fc0
call dword [0x75e21cd4]
mov esi, 0x75e23fb0
test eax, eax
js 0x75ddffa6
push esi
push dword [0x75e509fc]
push dword [0x75e509f8]
call dword [0x75e21cd0]
movzx eax, al
jmp 0x75ddffb4
mov dword [0x75e509f8], ebx
mov eax, ebx
mov dword [0x75e509fc], ebx
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], bl
jne 0x75ddfffa
push esi
push dword [0x75e509fc]
push dword [0x75e509f8]
call dword [0x75e21cd0]
test al, al
jne 0x75ddfffa
mov dword [0x75e50998], ebx
jmp 0x75de0269
lea eax, [esp + 0x58]
mov dword [0x75e50998], 1
push eax
lea eax, [esp + 0x40]
mov esi, 0x104
push eax
mov dword [esp + 0x44], esi
call dword [0x75e20d9c]
test eax, eax
js 0x75de0028
cmp word [esp + 0x58], bx
jne 0x75de0041
push esi
lea eax, [esp + 0x5c]
mov dword [esp + 0x40], esi
push eax
push ebx
call dword [0x75e213cc]
test eax, eax
je 0x75de0269
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push ebx
push ebx
push 8
lea eax, [esp + 0x68]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsQuirks
push 0x80000001
call dword [0x75e21914]
test eax, eax
jne 0x75de0269
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x75de0269
mov eax, dword fs:[0x30]
mov edi, dword [eax + 0x18]
test edi, edi
jne 0x75de0094
call dword [0x75e212e4]
mov ecx, dword [esp + 0xc]
mov edi, eax
xor esi, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
test ecx, ecx
je 0x75de011c
lea eax, [esp + 0x38]
mov edx, 0x3ff
push eax
call fcn.75db9942
test eax, eax
jns 0x75de00c0
mov ebx, 0x8000000b
jmp 0x75de00fd
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 + 0xc], eax
test eax, eax
je 0x75de00f8
push dword [esp + 0x38]
push 0
push eax
call fcn.75dc7439
mov esi, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x2c], esi
jmp 0x75de011c
mov ebx, 0x8007000e
push 6
xor eax, eax
lea edi, [esp + 0x1c]
pop ecx
rep stosd dword es:[edi], eax
test ebx, ebx
js 0x75de0269
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
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 + 0x68]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsQuirks
push 0x80000001
call dword [0x75e21914]
test eax, eax
jne 0x75de0271
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], eax
jne 0x75de0271
cmp ebx, eax
ja 0x75de0271
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de0271
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x4c], eax
ja 0x75de0271
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de0269
cmp dword [ebx + esi], reloc.ntdll.dll_NtClose
jne 0x75de0269
jmp 0x75de0259
lea eax, [esp + 0x50]
mov ecx, esi
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de0269
cmp dword [esp + 0x50], edi
ja 0x75de0269
mov eax, dword [esp + 0x2c]
mov ecx, esi
mov ebx, dword [esi + eax]
lea eax, [esp + 0x28]
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de0269
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
cmp esi, edi
ja 0x75de0269
lea eax, [esp + 0x54]
mov ecx, esi
push eax
push 4
pop edx
call fcn.75db9942
test eax, eax
js 0x75de0269
cmp dword [esp + 0x54], edi
ja 0x75de0269
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 0x75de0269
mov ecx, dword [esp + 0x44]
mov edx, ebx
call fcn.75de1bd5
mov ecx, eax
test ecx, ecx
je 0x75de0269
mov eax, dword [ecx + reloc.ntdll.dll_NtClose]
and eax, 0xfffffffc
test edi, edi
je 0x75de0250
or eax, 1
jmp 0x75de0253
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 0x75de01b3
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
xor ebx, ebx
test esi, esi
je 0x75de0280
push esi
push ebx
push edi
call dword [0x75e212e0]
call fcn.75db5f22
mov esi, ebx
push dword [0x75e50a00]
call dword [0x75e219a8]
test esi, esi
jns 0x75de02a2
or esi, 0x10000000
jmp 0x75de03fe
mov eax, dword [esp + 0x14]
mov esi, ebx
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x75de0325
mov edi, dword [ebp + 0xc]
jmp 0x75de02b8
mov eax, dword [esp + 0x14]
mov edx, dword [eax + esi*8]
mov ecx, dword [0x75e50a04]
call fcn.75de1bd5
mov dword [esp + 0x30], eax
test eax, eax
je 0x75de0349
mov edx, dword [ebp + 0x10]
xor ecx, ecx
and edx, dword [eax + reloc.ntdll.dll_NtClose]
and ecx, dword [eax + reloc.ntdll.dll_NtClose]
or edx, ecx
je 0x75de0314
mov eax, dword [reloc.ntdll.dll_NtClose]
cmp eax, reloc.ntdll.dll_NtClose
je 0x75de02f6
xor ecx, ecx
test eax, eax
setne cl
jmp 0x75de0316
mov ecx, dword [esp + 0x30]
cmp edi, dword [ecx + reloc.ntdll.dll_NtClose]
ja 0x75de0314
jb 0x75de030f
mov eax, dword [ebp + 8]
cmp eax, dword [ecx + reloc.ntdll.dll_NtClose]
jae 0x75de0314
xor ecx, ecx
inc ecx
jmp 0x75de0316
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*8 + 4]
inc esi
mov byte [eax], cl
cmp esi, ebx
jb 0x75de02b4
movzx ecx, word [0x7ffe026a]
mov eax, ecx
test ax, ax
je 0x75de0367
cmp eax, 5
je 0x75de0360
cmp eax, 9
je 0x75de0359
cmp ecx, 0xc
jne 0x75de0353
mov edi, 0xaa64
jmp 0x75de036c
mov esi, 0x80070490
jmp 0x75de03fe
mov edi, dword [esp + 0x48]
jmp 0x75de036c
mov edi, 0x8664
jmp 0x75de036c
mov edi, 0x1c0
jmp 0x75de036c
mov edi, 0x14c
push 0
push edi
push dword [ebp + 0xc]
lea edx, [esp + 0x50]
push dword [ebp + 8]
lea ecx, [esp + 0x44]
push dword [esp + 0x50]
call fcn.75e0e00f
mov ebx, dword [esp + 0x34]
mov esi, eax
test esi, esi
jns 0x75de0398
or esi, 0x10000000
jmp 0x75de03e8
test ebx, ebx
je 0x75de03b2
push dword [ebp + 0x18]
mov edx, edi
mov ecx, ebx
push dword [esp + 0x18]
call fcn.75ddfa02
mov esi, eax
test esi, esi
js 0x75de03e8
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x75de03e6
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
add esi, 4
push dword [esp + 0x48]
mov eax, dword [esi]
mov ecx, ebx
push dword [esp + 0x44]
push 0
movzx edx, byte [eax]
call fcn.75ddfba3
lea esi, [esi + 8]
sub edi, 1
jne 0x75de03c4
mov ebx, dword [esp + 0x34]
xor esi, esi
test ebx, ebx
je 0x75de03fe
mov eax, dword fs:[0x30]
push ebx
push 0
push dword [eax + 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 0x14