Function at 0x5d3c40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
push esi
mov eax, dword [ebp - 0xa0]
add eax, 0x2a
sub eax, dword [ebp - 0xe4]
sub eax, 0xce
mov ecx, dword [ebp - 8]
shr eax, cl
and eax, 0x93
and eax, dword [ebp - 0x50]
and eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
movzx ecx, word [ebp - 0x18]
add eax, dword [ebp - 0x60]
lea edx, [ecx + eax + 0x4e]
mov byte [ebp - 0x59], dl
movzx eax, byte [ebp - 0xc6]
mov ecx, dword [ebp - 0xcc]
lea edx, [eax + ecx - 0x77]
mov eax, dword [ebp - 0x40]
lea ecx, [edx + eax - 0x76]
movzx edx, byte [ebp - 0x1e]
sub ecx, edx
sub ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x78], ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPagesScatter]
test eax, eax
jne 0x5d3ce4
cmp dword [ebp - 0x50], 0
je 0x5d3ce4
movzx eax, word [ebp - 0x1c]
sub eax, 0x71
sub eax, dword [ebp - 0x84]
or eax, dword [ebp - 0x60]
mov dword [ebp - 0xcc], eax
jmp 0x5d3d15
movzx ecx, byte [ebp - 0x7d]
movzx edx, word [ebp - 0x6c]
sub edx, dword [ebp - 0x60]
sub edx, dword [ebp - 0x64]
sub edx, 0xbd
and ecx, edx
movzx eax, word [ebp - 0xdc]
movzx edx, byte [ebp - 0x1d]
add edx, 0xf7
and eax, edx
or ecx, eax
mov dword [ebp - 0xbc], ecx
mov esi, dword [ebp - 8]
add esi, dword [ebp - 0x28]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
sub esi, eax
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x3c], 0
je 0x5d3d5c
movzx eax, byte [ebp - 0xc5]
cmp dword [ebp - 0xf4], eax
jne 0x5d3d5c
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x38]
movzx edx, byte [ebp - 0x95]
add ecx, edx
or ecx, 0x51
mov word [ebp - 0xb4], cx
jmp 0x5d3d6c
movzx eax, word [ebp - 0x14]
sub eax, 0x88
mov word [ebp - 0xf0], ax
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0xf4]
movzx edx, word [ebp - 0xe8]
lea eax, [ecx + edx + 9]
movzx ecx, word [ebp - 0xe8]
add ecx, dword [ebp - 0x3c]
and eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xe0]
add edx, dword [ebp - 0x38]
movzx eax, word [ebp - 0xe8]
sub eax, dword [ebp - 0x84]
and edx, eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x9c]
lea ecx, [eax + ecx + 0xc8]
sub ecx, dword [ebp - 0x64]
and edx, ecx
mov word [ebp - 0x6c], dx
movzx edx, byte [ebp - 0xc5]
mov eax, dword [ebp - 0xd0]
sub eax, dword [ebp - 0x84]
movzx ecx, word [ebp - 0xdc]
add eax, ecx
and edx, eax
mov dword [ebp - 0xe0], edx
mov edx, dword [ebp - 0x3c]
add edx, 0x14
sub edx, dword [ebp - 4]
movzx eax, byte [ebp - 0xf5]
add edx, eax
mov dword [ebp - 0xf4], edx
movzx ecx, byte [ebp - 0x94]
cmp ecx, 7
je 0x5d3e2a
mov edx, 0xb4
sub edx, dword [ebp - 0xa0]
movzx eax, byte [ebp - 9]
movzx ecx, word [ebp - 0xc0]
sub eax, ecx
or edx, eax
mov dword [ebp - 0x50], edx
jmp 0x5d3e46
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x50]
lea eax, [ecx + eax - 0x135]
xor edx, eax
mov word [ebp - 0x90], dx
mov ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 4]
mov dword [ebp - 0x88], ecx
cmp dword [ebp - 0xf4], 0x31
jne 0x5d3e96
movzx edx, word [ebp - 0x48]
cmp edx, 0x1f
je 0x5d3e96
mov eax, dword [ebp - 4]
add eax, 0xc6
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x84]
movzx edx, word [ebp - 0x1c]
lea edx, [ecx + edx - 0xd1]
movzx ecx, byte [ebp - 0x93]
shr edx, cl
and eax, edx
mov byte [ebp - 0xf5], al
jmp 0x5d3eb1
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x24]
movzx ecx, word [ebp - 0x58]
lea edx, [eax + ecx - 0xd5]
mov word [ebp - 0xa4], dx
mov eax, dword [ebp - 0x64]
and eax, dword [ebp - 0x9c]
mov byte [ebp - 0x92], al
cmp dword [ebp - 0x60], 0x9c
jne 0x5d3ed3
mov cx, word [ebp - 0x14]
mov word [ebp - 0x68], cx
jmp 0x5d3eef
movzx edx, byte [ebp - 0x92]
movzx eax, word [ebp - 0x1c]
sub edx, eax
sub edx, dword [ebp - 0x40]
sub edx, 0xc7
and edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x50], 0xa
jne 0x5d3f0a
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xe0]
lea eax, [edx + ecx + 0x2e]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x40], eax
jmp 0x5d3f3b
mov ecx, 0x73
sub ecx, dword [ebp - 0xbc]
sub ecx, dword [ebp - 0x38]
sub ecx, 0xb4
mov edx, dword [ebp - 0xe0]
add edx, dword [ebp - 0xe4]
movzx eax, byte [ebp - 0x94]
add edx, dword [ebp - 0x24]
add eax, edx
or ecx, eax
mov dword [ebp - 0x10], ecx
mov al, byte [ebp - 0x94]
pop esi
mov esp, ebp
pop ebp
ret 0xc