Function at 0x41fba0
Capabilities:
Create pipe
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0xc6ef3720
mov dword [ebp - 0x28], 0x9e3779b9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x20], edx
cmp dword [0x840e08], 0xf
jne 0x41fc07
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [ebp - 4], 0
jmp 0x41fc19
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jae 0x41fdb2
mov ecx, dword [ebp - 0x30]
shl ecx, 4
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x30]
shr ecx, 5
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov dword [0x83fa50], 0xe9ea0636
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov dword [0x83fa50], 0
mov eax, dword [ebp - 0x14]
add dword [0x83fa50], eax
mov eax, dword [ebp - 0x1c]
xor eax, dword [0x83fa50]
mov dword [ebp - 0x14], eax
cmp dword [0x840e08], 0x42
jne 0x41fcdc
mov dword [ebp - 0x44], 0
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x78], 0
push 0x30
push 0
lea edx, [ebp - 0x74]
push edx
call fcn.00409eb0
add esp, 0xc
push 0
lea eax, [ebp - 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigW]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
cmp dword [0x840e08], 0x839
jne 0x41fcf9
push 0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
mov edx, dword [ebp - 0xc]
shl edx, 4
mov dword [ebp - 0x1c], edx
cmp dword [0x840e08], 0x78c
jne 0x41fd2b
push 0
call sub.KERNEL32.dll_GetSystemPowerStatus
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 8]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
cmp dword [0x840e08], 0x196
jne 0x41fd50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
mov dword [0x83fa58], 0xcbd61084
mov dword [0x83fa5c], 0xffffffff
mov ecx, dword [ebp - 0xc]
shr ecx, 5
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x14], eax
cmp dword [0x840e08], 0xec6
jne 0x41fd89
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
jmp 0x41fc10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov esp, ebp
pop ebp
ret 8