Function at 0x4d2a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
cmp dword [ebp + 0x20], 5
push ebx
push esi
push edi
mov ebx, 0xc000000d
ja 0x4d6ea
mov edi, dword [ebp + 8]
and dword [ebp + 0x1c], 7
xor eax, eax
xor esi, esi
cmp ax, word [edi]
je 0x4d2d9
jmp 0x4d2d0
inc esi
xor ecx, ecx
cmp cx, word [edi + esi*2]
jne 0x4d2d0
test dword [ebp + 0x24], 0x2000
jne 0x4d5d0
mov eax, dword [sym.imp.ntoskrnl.exe_NtBuildNumber]
mov edx, 0x23f0
cmp word [eax], dx
ja 0x4d47f
cmp esi, 3
jb 0x4d6ea
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x53005c
mov dword [esp + 0x34], 0x730079
mov dword [esp + 0x38], 0x650074
mov dword [esp + 0x3c], 0x52006d
mov dword [esp + 0x40], 0x6f006f
mov dword [esp + 0x44], 0x74
call fcn.0008f1d0
mov dword [esp + 0x14], eax
cmp esi, eax
jbe 0x4d351
push eax
mov edx, ecx
mov eax, edi
call fcn.0008efd0
test eax, eax
je 0x4d36f
mov ecx, 0x3a
cmp cx, word [edi + 2]
jne 0x4d6ea
mov edx, 0x5c
cmp dx, word [edi + 4]
jne 0x4d6ea
mov esi, dword [ebp + 8]
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x1c]
mov eax, esi
mov ebx, 0xc0000001
call fcn.0004d130
cmp al, 1
jne 0x4d6ea
mov ecx, 0x5c
xor edi, edi
cmp cx, word [esi]
jne 0x4d3ea
call fcn.0004cfb0
mov edi, eax
test edi, edi
je 0x4d6ea
xor edx, edx
mov ecx, edi
mov word [edi + 0x206], dx
call fcn.0008f1d0
cmp eax, 0x103
jae 0x4d3e6
call fcn.0008f1d0
mov edx, dword [esp + 0x14]
mov ecx, 0x103
sub ecx, eax
lea eax, [esi + edx*2]
push ecx
push eax
mov eax, edi
call fcn.0008f180
xor ecx, ecx
mov word [edi + 0x206], cx
mov eax, edi
jmp 0x4d3ed
lea eax, [esi + 4]
test eax, eax
je 0x4d466
push eax
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [ebp + 0x14]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
push eax
mov eax, dword [ebp + 0x24]
push ecx
push 0x80
push esi
lea edx, [esp + 0x3c]
push edx
call fcn.0004bfe0
mov ebx, eax
test ebx, ebx
jne 0x4d466
mov eax, dword [ebp + 0x10]
mov ecx, dword [sym.imp.ntoskrnl.exe_IoFileObjectType]
mov edx, dword [ecx]
push eax
push ebx
push edx
or esi, 0x100000
push esi
mov esi, dword [esp + 0x2c]
push ebx
push 0x200
push esi
call dword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov ebx, eax
test ebx, ebx
js 0x4d45e
xor ebx, ebx
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
test edi, edi
je 0x4d6ea
push edi
call fcn.0008b8c0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov eax, 0x3a
cmp ax, word [edi + 2]
jne 0x4d554
mov ecx, 0x5c
cmp cx, word [edi + 4]
jne 0x4d554
push 0x877
call fcn.00049640
push eax
lea edx, [esi + esi + 0x14]
push edx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
test esi, esi
je 0x4d6ea
lea eax, [esi + 8]
mov ecx, edi
mov dword [esi], 0x3f005c
mov dword [esi + 4], 0x5c003f
call fcn.0008f150
push esi
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
push 0x100
xor edi, edi
push edi
push edi
push edi
push edi
push eax
push ecx
lea edx, [esp + 0x3c]
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x14]
push 0x80
push edi
lea eax, [esp + 0x50]
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x5c]
push ecx
push edx
push eax
mov dword [esp + 0x68], 0x18
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], 0x240
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
call dword [sym.imp.ntoskrnl.exe_IoCreateFile]
mov ebx, eax
cmp ebx, edi
jl 0x4d543
xor ebx, ebx
push esi
call fcn.0008b8c0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push edi
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
push 0x100
xor esi, esi
push esi
push esi
push esi
push esi
push eax
push ecx
lea edx, [esp + 0x3c]
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x14]
push 0x80
push esi
lea eax, [esp + 0x50]
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x5c]
push ecx
push edx
push eax
mov dword [esp + 0x68], 0x18
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], 0x240
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call dword [sym.imp.ntoskrnl.exe_IoCreateFile]
mov ebx, eax
cmp ebx, esi
jl 0x4d6ea
xor ebx, ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov dword [esp + 0x10], eax
cmp esi, 3
jbe 0x4d667
push 0x877
call fcn.00049640
push eax
lea ecx, [esi + esi + 2]
push ecx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
test esi, esi
je 0x4d667
mov ecx, edi
call fcn.0008f150
mov edx, esi
call fcn.0008f0a0
test eax, eax
je 0x4d655
lea edx, [esi + 4]
cmp eax, edx
jne 0x4d627
mov ecx, 0x3a
cmp cx, word [esi + 2]
jne 0x4d627
xor edx, edx
mov word [eax + 2], dx
jmp 0x4d62c
xor ecx, ecx
mov word [eax], cx
push 0x20
push 1
push 1
push 0x80
push 0x80
lea edx, [esp + 0x24]
push edx
push 0
push esi
call fcn.0004d2a0
test eax, eax
je 0x4d655
mov dword [esp + 0x10], 0
push 0x877
call fcn.00049640
push eax
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
push 0x100
mov dword [esp + 0x38], eax
xor eax, eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0x20]
push ecx
push edx
mov edx, dword [ebp + 0x14]
push 0x80
push eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x5c]
push ecx
push edx
push eax
mov dword [esp + 0x58], 0x80008
mov dword [esp + 0x68], 0x18
mov dword [esp + 0x74], 0x240
call dword [sym.imp.ntoskrnl.exe_IoCreateFile]
mov ebx, eax
test ebx, ebx
js 0x4d6db
xor ebx, ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4d6ea
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x20