Function at 0x7dd80240
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
call fcn.7dd711c7
cmp eax, 0xea
jne 0x7dd800e9
mov eax, dword [edi]
mov dword [ebp - 0x220], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call esi
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov ecx, dword fs:[0x18]
push dword [ebp - 0x220]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
test edi, edi
je 0x7ddae7b0
push 0
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x220]
movzx eax, word [ebp - 0x214]
push edi
add eax, 0x18
push eax
push ebx
push 0x6d0008
push dword [ebp - 0x218]
call sub.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x7dd8005e
push dword [ebp - 0x218]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
xor ebx, ebx
push ebx
push dword [eax + 0x18]
call esi
cmp dword [ebp - 0x21c], ebx
je 0x7ddae7ac
mov dword [ebp - 0x21c], ebx
mov ebx, dword [edi + 4]
test ebx, ebx
jbe 0x7ddae7cd
lea ecx, [edi + 8]
mov dx, word [ecx + 4]
mov eax, dword [ecx]
add eax, edi
mov word [ebp - 0x244], dx
cmp dx, 0x60
je 0x7dd8015b
cmp dx, 0x62
je 0x7ddae7bd
inc dword [ebp - 0x21c]
add ecx, 0x18
cmp dword [ebp - 0x21c], ebx
jb 0x7dd80126
jmp 0x7ddae7cd
cmp word [eax], 0x5c
jne 0x7dd80145
movzx edx, word [eax + 2]
cmp dx, 0x3f
jne 0x7dd99a08
cmp word [eax + 4], 0x3f
jne 0x7dd80145
cmp word [eax + 6], 0x5c
jne 0x7dd80145
cmp word [eax + 8], 0x56
jne 0x7dd80145
cmp word [eax + 0xa], 0x6f
jne 0x7dd80145
cmp word [eax + 0xc], 0x6c
jne 0x7dd80145
cmp word [eax + 0xe], 0x75
jne 0x7dd80145
cmp word [eax + 0x10], 0x6d
jne 0x7dd80145
cmp word [eax + 0x12], 0x65
jne 0x7dd80145
cmp word [eax + 0x14], 0x7b
jne 0x7dd80145
cmp word [eax + 0x26], 0x2d
jne 0x7dd80145
cmp word [eax + 0x30], 0x2d
jne 0x7dd80145
cmp word [eax + 0x3a], 0x2d
jne 0x7dd80145
cmp word [eax + 0x44], 0x2d
jne 0x7dd80145
cmp word [eax + 0x5e], 0x7d
jne 0x7dd80145
cmp word [ebp - 0x244], 0x60
jne 0x7dd80145
cmp dx, 0x3f
jne 0x7dd80145
mov ecx, dword [ebp + 0x10]
add ecx, ecx
cmp ecx, 0x64
jb 0x7ddae7ed
mov ebx, dword [ebp - 0x224]
push 0x60
push eax
push ebx
call sub.ntdll.dll_memcpy
add esp, 0xc
push 0x5c
pop eax
mov word [ebx + 2], ax
mov word [ebx + 0x60], ax
xor eax, eax
push edi
mov word [ebx + 0x62], ax
push eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call esi
xor eax, eax
inc eax
pop ebx
jmp 0x7dd8037f
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x7de403ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
xor edi, edi
push edi
mov dword [ebp - 0x224], ecx
push edi
lea ecx, [ebp - 0x214]
push ecx
push eax
call dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
je 0x7ddae754
movzx eax, word [ebp - 0x214]
mov ecx, dword [ebp - 0x210]
shr eax, 1
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0x5c
jne 0x7dd802ac
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x210]
mov eax, 0xfffe
add word [ebp - 0x214], ax
cmp word [ebp - 0x214], 4
jb 0x7dd802cb
movzx eax, word [ebp - 0x214]
shr eax, 1
cmp word [ecx + eax*2 - 2], 0x3a
je 0x7dd80534
push esi
push 0x10
lea eax, [ebp - 0x214]
mov dword [ebp - 0x234], eax
push 3
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x23c]
push eax
push 0x100080
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x23c], 0x18
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x230], 0x40
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
call dword [sym.imp.ntdll.dll_NtOpenFile]
mov esi, eax
cmp esi, edi
jl 0x7dd999dc
push edi
lea eax, [ebp - 0x220]
push eax
push 0x208
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x4d0008
push dword [ebp - 0x218]
call sub.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl
push dword [ebp - 0x218]
mov esi, eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp esi, edi
jne 0x7dd8038f
push dword [ebp - 0x210]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.7dd71442
leave
ret 0xc
mov esi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
push ebx
push dword [ebp - 0x210]
push edi
push dword [eax + 0x18]
call esi
mov eax, dword [ebp - 0x20c]
mov word [ebp - 0x214], ax
add eax, 2
mov word [ebp - 0x212], ax
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov ecx, dword fs:[0x18]
movzx edx, word [ebp - 0x212]
mov eax, dword [eax + 0x2c]
mov ebx, dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push edx
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call ebx
mov dword [ebp - 0x210], eax
cmp eax, edi
je 0x7ddae763
movzx ecx, word [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x20a]
push ecx
push eax
call sub.ntdll.dll_memcpy
movzx eax, word [ebp - 0x214]
mov edx, dword [ebp - 0x210]
shr eax, 1
xor ecx, ecx
add esp, 0xc
mov word [edx + eax*2], cx
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov ecx, dword fs:[0x18]
movzx edx, word [ebp - 0x214]
mov eax, dword [eax + 0x2c]
add edx, 0x18
push edx
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call ebx
mov ebx, eax
cmp ebx, edi
je 0x7ddae767
push 6
xor eax, eax
pop ecx
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [ebx + 0x10], 0x18
mov ax, word [ebp - 0x214]
mov word [ebx + 0x14], ax
movzx eax, word [ebp - 0x214]
push eax
push dword [ebp - 0x210]
lea eax, [ebx + 0x18]
push eax
call sub.ntdll.dll_memcpy
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
add esp, 0xc
push dword [ebp - 0x210]
push 0
push dword [eax + 0x18]
call esi
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
push 0x20
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
test edi, edi
je 0x7ddae77e
push 0xffffffffffffffff
push 0x80
push 3
push 0
push 3
push 0
push 0x7dd80508
call sub.API_MS_Win_Core_File_L1_1_0.dll_CreateFileW
mov dword [ebp - 0x218], eax
cmp eax, 0xffffffff
je 0x7ddae799
push 0
lea ecx, [ebp - 0x220]
push ecx
movzx ecx, word [ebp - 0x214]
push 0x20
push edi
add ecx, 0x18
push ecx
push ebx
push 0x6d0008
push eax
jmp 0x7dd800d6
movzx eax, word [ecx + eax*2 - 4]
push eax
call dword [sym.imp.ntdll.dll_toupper]
mov edx, dword [ebp - 0x210]
pop ecx
movzx ecx, word [ebp - 0x214]
shr ecx, 1
mov word [edx + ecx*2 - 4], ax
jmp 0x7dd802cb
push dword [ebp - 0x210]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push esi
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
push eax
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dd8037d
cmp dx, 0x5c
je 0x7dd8016f
jmp 0x7dd80145
push 3
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
jmp 0x7dd80380
push 8
jmp 0x7ddae7e0
push dword [ebp - 0x210]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call esi
jmp 0x7ddae763
push 8
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push 0
push dword [eax + 0x18]
call esi
jmp 0x7ddae7e6
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call esi
jmp 0x7ddae786
push edi
push ebx
jmp 0x7ddae7d0
push dword [ebp - 0x218]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
jmp 0x7ddae77e
cmp word [eax + 0x60], 0x5c
je 0x7dd8015b
jmp 0x7dd80145
push edi
push 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call esi
push 0x57
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
jmp 0x7dd80235
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call esi
push 0xce
jmp 0x7ddae7e0