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

Disassembly:
call fcn.7dd711c7
cmp eax, 0xea
jne 0x7dd800b9
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 0x7ddae7d1
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 0x7dd8002e
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 0x7ddae7cd
mov dword [ebp - 0x21c], ebx
mov ebx, dword [edi + 4]
test ebx, ebx
jbe 0x7ddae7ee
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 0x7dd8012b
cmp dx, 0x62
je 0x7ddae7de
inc dword [ebp - 0x21c]
add ecx, 0x18
cmp dword [ebp - 0x21c], ebx
jb 0x7dd800f6
jmp 0x7ddae7ee
cmp word [eax], 0x5c
jne 0x7dd80115
movzx edx, word [eax + 2]
cmp dx, 0x3f
jne 0x7dd999f7
cmp word [eax + 4], 0x3f
jne 0x7dd80115
cmp word [eax + 6], 0x5c
jne 0x7dd80115
cmp word [eax + 8], 0x56
jne 0x7dd80115
cmp word [eax + 0xa], 0x6f
jne 0x7dd80115
cmp word [eax + 0xc], 0x6c
jne 0x7dd80115
cmp word [eax + 0xe], 0x75
jne 0x7dd80115
cmp word [eax + 0x10], 0x6d
jne 0x7dd80115
cmp word [eax + 0x12], 0x65
jne 0x7dd80115
cmp word [eax + 0x14], 0x7b
jne 0x7dd80115
cmp word [eax + 0x26], 0x2d
jne 0x7dd80115
cmp word [eax + 0x30], 0x2d
jne 0x7dd80115
cmp word [eax + 0x3a], 0x2d
jne 0x7dd80115
cmp word [eax + 0x44], 0x2d
jne 0x7dd80115
cmp word [eax + 0x5e], 0x7d
jne 0x7dd80115
cmp word [ebp - 0x244], 0x60
jne 0x7dd80115
cmp dx, 0x3f
jne 0x7dd80115
mov ecx, dword [ebp + 0x10]
add ecx, ecx
cmp ecx, 0x64
jb 0x7ddae80e
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 0x7dd8034f
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 0x7ddae775
movzx eax, word [ebp - 0x214]
mov ecx, dword [ebp - 0x210]
shr eax, 1
lea eax, [ecx + eax*2 - 2]
cmp word [eax], 0x5c
jne 0x7dd8027c
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 0x7dd8029b
movzx eax, word [ebp - 0x214]
shr eax, 1
cmp word [ecx + eax*2 - 2], 0x3a
je 0x7dd80504
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 0x7dd999cb
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 0x7dd8035f
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 0x7ddae784
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 0x7ddae788
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 0x7ddae79f
push 0xffffffffffffffff
push 0x80
push 3
push 0
push 3
push 0
push 0x7dd804d8
call sub.API_MS_Win_Core_File_L1_1_0.dll_CreateFileW
mov dword [ebp - 0x218], eax
cmp eax, 0xffffffff
je 0x7ddae7ba
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 0x7dd800a6
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 0x7dd8029b
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 0x7dd8034d
cmp dx, 0x5c
je 0x7dd8013f
jmp 0x7dd80115
push 3
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
jmp 0x7dd80350
push 8
jmp 0x7ddae801
push dword [ebp - 0x210]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call esi
jmp 0x7ddae784
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 0x7ddae807
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call esi
jmp 0x7ddae7a7
push edi
push ebx
jmp 0x7ddae7f1
push dword [ebp - 0x218]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
jmp 0x7ddae79f
cmp word [eax + 0x60], 0x5c
je 0x7dd8012b
jmp 0x7dd80115
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 0x7dd80205
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call esi
push 0xce
jmp 0x7ddae801