Function at 0x404320
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ede0
push 0x40a812
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov esi, dword [sym.imp.ntoskrnl.exe_RtlAssert]
cmp dword [ebp + 8], ebx
jne 0x404368
push ebx
push 0x51e
push str..SystemOperator.cpp
push str.Parameter___NULL
call esi
cmp dword [ebp + 0xc], ebx
jne 0x40437f
push ebx
push 0x51f
push str..SystemOperator.cpp
push str.UnicodeString___NULL
call esi
mov edi, dword [ebp + 0x10]
cmp edi, ebx
jne 0x404398
push ebx
push 0x520
push str..SystemOperator.cpp
push str.uItem___NULL
call esi
mov dword [edi], ebx
mov edi, dword [ebp + 8]
call fcn.004040c0
mov dword [ebp - 0x24], eax
cmp eax, ebx
jbe 0x404571
lea edi, [eax*8]
push 0x504d4554
push edi
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x4044d0
push edi
push 0
push esi
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
push 0x4e4a424f
push 0x1000
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ebx, eax
mov dword [ebp - 0x20], 0x1000
test ebx, ebx
je 0x4044d0
mov dword [ebp + 0xc], 0
cmp dword [ebp - 0x24], 0
jbe 0x4044ba
lea edi, [esi + 4]
mov esi, dword [ebp + 8]
add esi, 0xc
lea ecx, [ecx]
lea ecx, [ebp - 0x20]
push ecx
movzx edx, word [esi]
push edx
call fcn.00404140
mov dword [ebp - 0x1c], eax
test eax, eax
jge 0x404458
cmp dword [0x410048], 4
jg 0x40444f
push eax
movzx eax, word [esi]
push eax
push str.Failed_to_Get_the_Partition_Symbolic_Name_String_PartitionName_wc__Status0x_08x._n
call sub.ntoskrnl.exe_DbgPrint
add esp, 0xc
mov dword [ebp - 0x20], 0x1000
jmp 0x404486
mov ecx, 0x1000
mov word [edi - 2], cx
mov dx, word [ebp - 0x20]
mov word [edi - 4], dx
mov dword [edi], ebx
push 0x4e4a424f
push ecx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ebx, eax
mov dword [ebp - 0x20], 0x1000
test ebx, ebx
je 0x40449a
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
add esi, 2
add edi, 8
cmp eax, dword [ebp - 0x24]
jb 0x404420
jmp 0x4044b7
cmp dword [0x410048], 4
jg 0x4044b0
push str.Failed_to_allocate_the_Buffer_to_store_the_Symbolic_name._n
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov dword [ebp - 0x1c], 0xc00000a0
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
cmp dword [ebp + 0xc], eax
jne 0x4044d7
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ebp - 0x1c], 0
jmp 0x4044d7
mov dword [ebp - 0x1c], 0xc00000a0
test ebx, ebx
je 0x4044e7
push 0x4e4a424f
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp dword [ebp - 0x1c], 0
jge 0x40458e
test esi, esi
je 0x40458e
xor edi, edi
or ebx, 0xffffffff
mov dword [ebp + 0xc], edi
cmp edi, dword [ebp - 0x24]
jae 0x404563
mov eax, dword [esi + edi*8 + 4]
test eax, eax
je 0x404560
mov dword [ebp - 4], 0
push 0x4e4a424f
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov dword [ebp - 4], ebx
inc edi
jmp 0x4044fe
inc edi
jmp 0x4044fe
push 0x504d4554
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x40458e
cmp dword [0x410048], 4
jg 0x404587
push str.You_must_be_input_one_partition_name._n
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov dword [ebp - 0x1c], 0xc000000d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc