Function at 0x430310
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa462
mov eax, dword fs:[0]
push eax
sub esp, 0x3ac
mov eax, dword [0x4d9180]
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.00475800
movzx eax, word [ebp + 8]
push eax
push str.._c:
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0042e160
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 0x430476
call fcn.00438e40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4305a5
push 0x6f
push str.d:jenkins.jenkinsworkspacepay_groupduplicate_file_cleanduplicate_file_mgrduplicate_file_mgr_srcutils.cc
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], al
call fcn.004083d0
push 3
push 0x4b17c0
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.004083d0
mov byte [ebp - 4], 1
call fcn.00438e40
mov edi, eax
lea ecx, [ebp - 0x320]
push 0xa0
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00405850
mov esi, eax
push str.create_driver_file_fail
push esi
mov byte [ebp - 4], 2
call fcn.00406750
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x320]
call fcn.00406960
lea ecx, [ebp - 0x240]
call fcn.004061f0
lea ecx, [ebp - 0x258]
call fcn.004061f0
jmp 0x4305a5
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 0x43059f
call fcn.00438e40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4305a5
push 0x6f
push str.d:jenkins.jenkinsworkspacepay_groupduplicate_file_cleanduplicate_file_mgrduplicate_file_mgr_srcutils.cc
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], al
call fcn.004083d0
push 3
push 0x4b17c0
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.004083d0
mov byte [ebp - 4], 4
call fcn.00438e40
mov edi, eax
lea ecx, [ebp - 0x3b8]
push 0xa7
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00405850
mov esi, eax
push str.device_io_ctrl_IOCTL_STORAGE_GET_DEVICE_NUMBER_fail
push esi
mov byte [ebp - 4], 5
call fcn.00406750
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3b8]
call fcn.00406960
lea ecx, [ebp - 0x270]
call fcn.004061f0
lea ecx, [ebp - 0x288]
call fcn.004061f0
jmp 0x4305a5
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.0043a0f2
mov esp, ebp
pop ebp
ret