Function at 0x463d80
Capabilities:
Get storage device properties
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5968cc
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2754
call fcn.0057b6e0
mov eax, dword [0x614b80]
xor eax, esp
mov dword [esp + 0x2750], eax
push ebx
push esi
push edi
mov eax, dword [0x614b80]
xor eax, esp
push eax
lea eax, [esp + 0x2768]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edi
push edi
push str..PhysicalDrive_d
lea eax, [esp + 0x25dc]
push 0x80
push eax
call fcn.00439b20
mov esi, dword [sym.imp.KERNEL32.DLL_CreateFileA]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0x25ec]
push ecx
call esi
mov ebx, eax
mov dword [esp + 0x30], ebx
cmp ebx, 0xffffffff
je 0x464379
mov edi, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
xor eax, eax
push eax
lea edx, [esp + 0x44]
push edx
push 0x200
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x23e0]
push eax
push 0xc
lea ecx, [esp + 0x64]
push ecx
push 0x2d1400
push ebx
call edi
test eax, eax
je 0x46436e
cmp dword [esp + 0x23f0], 8
jne 0x46436e
push 0
lea edx, [esp + 0x44]
push edx
push 0x200
lea eax, [esp + 0x23e0]
push eax
push 0
push 0
push 0x41018
push ebx
call edi
test eax, eax
je 0x46436e
movzx ecx, byte [esp + 0x23d8]
push ecx
push str..Scsi_d:
lea edx, [esp + 0x265c]
push 0x104
push edx
call fcn.0057a981
add esp, 0x10
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x266c]
push eax
call esi
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0xffffffff
je 0x46436a
xor edi, edi
push 0xc6
lea ecx, [esp + 0xe4]
push edi
push ecx
mov dword [esp + 0xe8], edi
call fcn.0057ad60
push 0x7c
lea edx, [esp + 0x70]
push edi
push edx
mov dword [esp + 0x74], edi
call fcn.0057ad60
push 0x803
lea eax, [esp + 0x3c9]
push edi
push eax
mov byte [esp + 0x3d0], 0
call fcn.0057ad60
push 0x81c
lea ecx, [esp + 0xbe0]
push edi
push ecx
mov dword [esp + 0xbe4], edi
call fcn.0057ad60
mov esi, dword [esp + 0x44]
add esp, 0x30
push 0xca
lea edx, [esp + 0xe0]
push edx
push 1
push ebx
mov ecx, esi
call fcn.00499aa0
test eax, eax
jne 0x463f60
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x80
lea eax, [esp + 0x60]
push eax
push 0xa
push ebx
mov ecx, esi
call fcn.00499aa0
test eax, eax
je 0x464363
cmp dword [esp + 0x78], edi
je 0x464363
push 0x820
lea ecx, [esp + 0xbb8]
push ecx
push 0x14
push ebx
mov ecx, esi
call fcn.00499aa0
test eax, eax
je 0x464363
mov ecx, 0x201
lea esi, [esp + 0xbd0]
lea edi, [esp + 0x3ac]
rep movsd dword es:[edi], dword [esi]
mov ecx, str.rcraid
lea eax, [esp + 0xf8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x463fe6
test dl, dl
je 0x463fe2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x463fe6
add eax, 2
add ecx, 2
test dl, dl
jne 0x463fc6
xor eax, eax
jmp 0x463feb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x46403b
mov ebx, dword [esp + 0x9c]
test ebx, ebx
jle 0x46402b
lea edx, [esp + 0x3cc]
movzx ecx, byte [esp + 0x3ac]
cmp eax, ecx
jl 0x464020
lea edi, [edx - 0x1c]
mov ecx, 0x10
lea esi, [esp + 0x3b0]
rep movsd dword es:[edi], dword [esi]
mov byte [edx], al
mov byte [edx + 0x1c], al
inc eax
add edx, 0x40
cmp eax, ebx
jl 0x464001
mov byte [esp + 0x3ac], bl
mov ebx, dword [esp + 0x1c]
jmp 0x46421b
mov edi, dword [esp + 0x7c]
imul edi, dword [esp + 0x78]
imul edi, edi, 0x88
push 4
push 0x1000
add edi, 0xc8
push edi
push 0
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
cmp dword [esp + 0x78], 0
mov esi, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], 0
jle 0x46420d
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edi
push esi
push 0xb
push ebx
mov dword [esi + 0x1c], edx
call fcn.00499aa0
test eax, eax
je 0x4641fa
cmp byte [esi + 0x2b], 0
mov dword [esp + 0x24], 0
jbe 0x4641fa
lea ebx, [esi + 0x9a]
cmp byte [ebx - 0x5a], 0
je 0x4641d3
movzx edi, byte [ebx]
push 0xb8
call fcn.00568473
add esp, 4
mov dword [esp + 0x34], eax
xor esi, esi
mov dword [esp + 0x2770], esi
cmp eax, esi
je 0x464105
movzx ecx, byte [esp + 0x23da]
movzx edx, byte [esp + 0x23d9]
push ecx
movzx ecx, byte [esp + 0x23dc]
push edx
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, eax
call fcn.0049a0c0
mov esi, eax
mov ecx, dword [esp + 0x1c]
fld qword [0x5dcf60]
lea edx, [esp + 0x44]
fstp qword [esp + 0x44]
push edx
lea eax, [esp + 0x13d8]
push eax
push edi
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x2780], 0xffffffff
call fcn.0049b9d0
test eax, eax
je 0x4641c5
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x13d4]
push edx
push esi
call fcn.0049c6c0
fldz
fld qword [esp + 0x44]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x464195
fld qword [0x5dcff0]
fnstcw word [esp + 0x22]
movzx eax, word [esp + 0x22]
fmul st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x34], eax
fmulp st(1)
fldcw word [esp + 0x34]
fistp qword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x94], eax
fldcw word [esp + 0x22]
jmp 0x464197
fstp st(0)
mov dword [esi + 0x28], edi
mov edi, dword [esp + 0x14]
push esi
mov ecx, edi
mov dword [esi + 0x30], 4
mov dword [esi + 0x9c], 8
call fcn.004620e0
test eax, eax
jne 0x4641c9
push esi
mov ecx, edi
call fcn.00462090
jmp 0x4641d3
test esi, esi
je 0x4641d3
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
movzx ecx, byte [esi + 0x2b]
inc eax
add ebx, 0x88
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4640b2
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x78]
mov dword [esp + 0x18], eax
jl 0x46407d
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
xor esi, esi
cmp byte [esp + 0x3ac], 0
mov dword [esp + 0x24], esi
jbe 0x464363
lea edi, [esp + 0x3b0]
mov dword [esp + 0x18], edi
push 0xb8
call fcn.00568473
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x2770], 1
test eax, eax
je 0x464284
movzx edx, byte [esp + 0x23da]
movzx ecx, byte [esp + 0x23d9]
push edx
movzx edx, byte [esp + 0x23dc]
push ecx
push edx
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, eax
call fcn.0049a0c0
mov ebx, eax
jmp 0x464286
xor ebx, ebx
mov eax, dword [ebx + 0x34]
push esi
push str.HDD__d
push 0x200
push eax
mov dword [esp + 0x2780], 0xffffffff
call fcn.00439b20
push 0x200
lea ecx, [esp + 0x1c0]
push 0
push ecx
call fcn.0057ad60
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
add esp, 0x1c
push 0x200
lea edx, [esp + 0x1b0]
push edx
push 0
push 0xec
push edi
push eax
mov ecx, esi
call fcn.00499b80
test eax, eax
je 0x464331
lea ecx, [esp + 0x1ac]
push ecx
push ebx
mov ecx, esi
call fcn.00461ba0
push 0x40
call fcn.00568473
mov esi, edi
mov edi, eax
mov dword [ebx + 0x24], eax
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
add esp, 4
push ebx
mov ecx, esi
mov dword [ebx + 0x9c], 8
call fcn.004620e0
test eax, eax
jne 0x464331
push ebx
mov ecx, esi
call fcn.00462090
jmp 0x46433b
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
movzx ecx, byte [esp + 0x3ac]
inc esi
add edi, 0x40
cmp esi, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], edi
jl 0x46423a
mov ebx, dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, dword [esp + 0x30]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, dword [esp + 0x2c]
inc edi
cmp edi, 0x38
mov dword [esp + 0x2c], edi
jl 0x463dcf
mov eax, 1
mov ecx, dword [esp + 0x2768]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2750]
xor ecx, esp
call fcn.0057943e
mov esp, ebp
pop ebp
ret