Function at 0x420000
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2842
mov eax, dword fs:[0]
push eax
sub esp, 0x3ac
mov eax, dword [0x4d03b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
or ebx, 0xffffffff
push 0
push eax
call fcn.004781a0
movzx eax, word [ebp + 8]
push eax
push str.._c:
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00417080
add esp, 0x1c
lea eax, [ebp - 0x218]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, ebx
jne 0x420166
call fcn.004311b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x420295
push 0x5b
push str.d:jenkins.jenkinsworkspacepay_group_file_system_file_system_file_system_src_fs_utils.cc
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], al
call fcn.0040cc10
push 3
push 0x4aa8e8
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
call fcn.0040cc10
mov byte [ebp - 4], 1
call fcn.004311b0
mov edi, eax
lea ecx, [ebp - 0x320]
push 0xc8
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00406090
mov esi, eax
push str.create_driver_file_fail
push esi
mov byte [ebp - 4], 2
call fcn.00407530
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x320]
call fcn.00407a00
lea ecx, [ebp - 0x240]
call fcn.00406bc0
lea ecx, [ebp - 0x258]
call fcn.00406bc0
jmp 0x420295
push 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x220], 0
push ecx
push 0xc
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x21c], 0
push ecx
push 0
push 0
push 0x2d1080
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x228], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x42028f
call fcn.004311b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x420295
push 0x5b
push str.d:jenkins.jenkinsworkspacepay_group_file_system_file_system_file_system_src_fs_utils.cc
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], al
call fcn.0040cc10
push 3
push 0x4aa8e8
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], 3
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], 0
call fcn.0040cc10
mov byte [ebp - 4], 4
call fcn.004311b0
mov edi, eax
lea ecx, [ebp - 0x3b8]
push 0xcf
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00406090
mov esi, eax
push str.device_io_ctrl_IOCTL_STORAGE_GET_DEVICE_NUMBER_fail
push esi
mov byte [ebp - 4], 5
call fcn.00407530
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3b8]
call fcn.00407a00
lea ecx, [ebp - 0x270]
call fcn.00406bc0
lea ecx, [ebp - 0x288]
call fcn.00406bc0
jmp 0x420295
mov ebx, dword [ebp - 0x224]
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00456178
mov esp, ebp
pop ebp
ret