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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x748
mov eax, dword [ecx]
mov dword [ebp - 0x6fc], 0
mov dword [ebp - 0x6e4], 0
mov dword [ebp - 0x70c], eax
mov edi, dword [eax + 0x23c]
mov dword [ebp - 0x6e0], 0
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x6e8], 1
mov dword [ebp - 0x718], eax
lea eax, [ebp - 0x6fc]
mov dword [ebp - 0x6f0], 0
mov dword [ebp - 0x6ec], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x6f0]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x6e8]
mov dword [esp + 8], eax
mov eax, dword [0x90b650]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 8
mov dword [esp + 0xc], 0xc
mov dword [esp + 4], 0x2d1400
mov dword [esp], edi
mov dword [ebp - 0x710], eax
call eax
sub esp, 0x20
test eax, eax
je case.0x64a6d6.0
mov esi, dword [ebp - 0x6ec]
cmp esi, 8
ja 0x64a608
mov dword [ebp - 0x6f8], 0
lea ebx, [ebp - 0x6f8]
mov dword [esp + 4], 1
mov dword [esp], 0x1000
call fcn.00723880
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ebx
mov esi, eax
mov dword [esp + 0x14], 0x1000
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x700a0
mov dword [esp], edi
mov eax, dword [ebp - 0x710]
call eax
sub esp, 0x20
test eax, eax
je 0x64a400
mov edx, dword [esi + 0x14]
movd xmm1, dword [esi + 0x10]
movd xmm0, dword [esi]
movd xmm3, dword [esi + 0xc]
movd xmm2, edx
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x714], edx
mov eax, dword [ebp - 0x70c]
punpckldq xmm1, xmm2
punpckldq xmm0, xmm3
xor edx, edx
punpcklqdq xmm0, xmm1
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ebx
movups xmmword [eax + 0x54], xmm0
xor eax, eax
cmp dword [ebp - 0x714], 0
jne 0x649ee0
mov ecx, dword [ebp - 0x70c]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], edx
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x70c]
mov dword [ecx + 0x250], eax
mov eax, dword [ebp - 0x70c]
mov ebx, dword [eax + 0x84]
test ebx, ebx
jne 0x64a320
mov eax, dword [ebp - 0x70c]
mov edx, dword [eax + 0xbc]
test edx, edx
je 0x64a1e0
mov dword [ebp - 0x6e8], 0
lea eax, [ebp - 0x6fc]
mov dword [ebp - 0x6e4], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x6f0]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x6e8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 8
mov dword [esp + 0xc], 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0x2d1400
mov eax, dword [ebp - 0x70c]
mov eax, dword [eax + 0x23c]
mov dword [esp], eax
mov eax, dword [ebp - 0x710]
call eax
sub esp, 0x20
test eax, eax
jne 0x64a060
cmp byte [0x900ced], 0
jne 0x64a245
cmp byte [0x905cff], 0
je 0x64a1d0
mov ebx, dword [0x905d14]
mov eax, dword [ebp - 0x70c]
test ebx, ebx
jne 0x649f08
mov eax, dword [eax + 0x248]
test eax, eax
je 0x649eca
lea ebx, [ebp - 0x618]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00723a00
mov dword [esp + 8], 0
mov dword [esp + 4], str.USBSTORDisk
mov dword [esp], ebx
call fcn.005043f0
test al, al
je 0x64a990
mov dword [esp + 4], str.Ven_
mov dword [esp], ebx
call fcn.00723a40
mov dword [ebp - 0x710], eax
mov esi, eax
mov dword [esp + 4], str.Prod_
mov dword [esp], ebx
call fcn.00723a40
mov edi, eax
test esi, esi
je 0x64abe0
test eax, eax
je 0x64aca0
mov dword [esp + 4], 0x5c
mov dword [esp], edi
call fcn.007239f0
mov ebx, eax
mov dword [esp + 4], 0x26
mov eax, dword [ebp - 0x710]
mov dword [esp], eax
call fcn.007239f0
test eax, eax
je 0x649d86
mov byte [eax], 0
mov dword [esp + 4], 0x26
mov dword [esp], edi
call fcn.007239f0
test eax, eax
je 0x649d9d
mov byte [eax], 0
mov dword [esp + 4], 0x26
mov dword [esp], ebx
call fcn.007239f0
test eax, eax
je 0x649db4
mov byte [eax], 0
mov eax, dword [ebp - 0x710]
lea ecx, [eax + 4]
cmp byte [eax + 4], 0
mov dword [ebp - 0x720], ecx
lea ecx, [edi + 5]
mov dword [ebp - 0x724], ecx
lea ecx, [ebx + 1]
mov dword [ebp - 0x728], ecx
je 0x64a6e0
cmp byte [edi + 5], 0
lea esi, [ebp - 0x418]
je 0x64a6e0
mov eax, dword [ebp - 0x728]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x724]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x720]
mov dword [esp + 8], str.usb__s__s__s
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x200
mov dword [esp], esi
call fcn.00723ce0
mov dword [esp + 8], esi
mov dword [esp + 4], str.Linux_style_ID:__s_n
mov dword [esp], 6
call fcn.004fc8f0
mov dword [esp], esi
call fcn.00723840
mov ecx, dword [ebp - 0x70c]
mov dword [ecx + 0x24c], eax
mov eax, dword [ebp - 0x70c]
mov ebx, dword [eax + 0x1d0]
test ebx, ebx
je 0x649eca
mov esi, dword [eax + 0x248]
test esi, esi
je 0x649eca
mov dword [esp], ebx
call fcn.00723a18
mov edx, ebx
add eax, ebx
jmp 0x649e89
add edx, 1
cmp byte [edx - 1], 0x30
jne 0x649eca
cmp eax, edx
jne 0x649e80
mov dword [esp + 4], 0x5c
mov dword [esp], esi
call fcn.007239f0
test eax, eax
je 0x649eca
add eax, 1
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call fcn.007239f0
mov esi, eax
test eax, eax
je 0x649eca
movzx eax, byte [eax + 1]
test al, al
je 0x649eca
cmp al, 0x26
jne 0x64acbf
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
movd eax, xmm2
mov dword [esp], ecx
sar eax, 0x1f
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
movd dword [esp + 8], xmm2
call fcn.007121f8
jmp 0x649bf8
mov ebx, dword [eax + 0x230]
lea eax, [ebp - 0x410]
lea esi, [ebp - 0x418]
mov dword [ebp - 0x418], eax
test ebx, ebx
je 0x64af22
mov dword [esp], ebx
call fcn.00723a18
mov dword [esp], ebx
mov ecx, esi
add eax, ebx
mov dword [esp + 4], eax
call fcn.00638650
mov eax, dword [ebp - 0x418]
mov ebx, dword [0x905d08]
sub esp, 8
mov dword [ebp - 0x710], eax
test ebx, ebx
je 0x64a960
mov edi, dword [ebp - 0x414]
mov edx, 0x905d04
mov dword [ebp - 0x714], edx
mov esi, edi
jmp 0x649f84
mov dword [ebp - 0x714], ebx
mov ebx, ecx
test ebx, ebx
je 0x649fc3
mov edi, dword [ebx + 0x14]
mov eax, esi
mov ecx, dword [ebx + 0x10]
cmp edi, esi
cmovbe eax, edi
test eax, eax
je 0x649faf
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x710]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00723978
test eax, eax
jne 0x649fb3
mov eax, edi
sub eax, esi
mov ecx, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
test eax, eax
jns 0x649f78
mov ebx, edi
test ebx, ebx
jne 0x649f84
mov edx, dword [ebp - 0x714]
mov edi, esi
cmp edx, 0x905d04
je 0x64a960
mov ebx, dword [edx + 0x14]
mov eax, esi
mov ecx, dword [edx + 0x10]
cmp ebx, esi
cmovbe eax, ebx
test eax, eax
je 0x64a008
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x710]
mov dword [esp], eax
call fcn.00723978
mov edx, dword [ebp - 0x714]
test eax, eax
jne 0x64a00c
mov eax, edi
sub eax, ebx
test eax, eax
js 0x64a960
lea ecx, [ebp - 0x410]
cmp dword [ebp - 0x710], ecx
je 0x64a03c
mov eax, dword [ebp - 0x710]
mov dword [ebp - 0x714], edx
mov dword [esp], eax
call fcn.00712028
mov edx, dword [ebp - 0x714]
mov eax, dword [edx + 0x28]
mov dword [esp], eax
call fcn.00723840
mov edi, dword [ebp - 0x70c]
mov dword [edi + 0x248], eax
jmp 0x649ce3
mov ebx, dword [ebp - 0x6ec]
cmp ebx, 8
jbe 0x649caf
mov dword [esp], ebx
call fcn.00712020
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov edi, eax
mov dword [esp], eax
call fcn.00723990
lea eax, [ebp - 0x6fc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x6e8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0x2d1400
mov eax, dword [ebp - 0x70c]
mov eax, dword [eax + 0x23c]
mov dword [esp], eax
mov eax, dword [ebp - 0x710]
call eax
sub esp, 0x20
test eax, eax
je 0x64a1c0
mov eax, dword [edi + 4]
cmp eax, 0xc
jbe 0x64a197
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x64ae85
cmp eax, 0x10
jbe 0x64a197
mov edx, dword [edi + 0x10]
test edx, edx
jne 0x64ae39
cmp eax, 0x18
jbe 0x64a197
mov edx, dword [edi + 0x18]
test edx, edx
je 0x64a197
mov ecx, dword [ebp - 0x6fc]
lea eax, [edi + edx]
sub ecx, edx
cmp ecx, 4
jle 0x64a14f
movzx edx, byte [eax]
test dl, dl
je 0x64a14f
cmp byte [eax + 1], 0
jne 0x64aed1
cmp byte [eax + 2], 0
je 0x64a14f
cmp byte [eax + 3], 0
je 0x64aee7
mov dword [esp], eax
call fcn.00723840
mov ecx, dword [ebp - 0x70c]
mov dword [ecx + 0x1d0], eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.IOCTL_STORAGE_QUERY_PROPERTY_serial___s_n
mov dword [esp], 5
call fcn.004fc8f0
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x70c]
mov eax, dword [eax + 0x1d0]
mov dword [esp], eax
call fcn.00504140
mov eax, dword [ebp - 0x70c]
cmp byte [edi + 0xa], 0
setne byte [eax + 0x6d]
je 0x64a1c0
cmp dword [edi + 0x1c], 7
jne 0x64a1c0
test byte [0x901e9a], 1
je 0x64a1c0
mov byte [eax + 0x6c], 1
lea esi, [esi]
mov dword [esp], edi
call fcn.00712030
jmp 0x649caf
call fcn.006496c0
jmp 0x649cc9
mov esi, dword [eax + 0x90]
test esi, esi
jne 0x64a8a0
mov esi, dword [ebp - 0x70c]
mov dword [esp], esi
call fcn.00639120
mov edx, dword [esi + 0xbc]
test edx, edx
jne 0x64a210
test eax, eax
js 0x64a8f1
nop
mov eax, dword [ebp - 0x70c]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x649c3b
mov eax, dword [ebp - 0x70c]
mov eax, dword [eax + 0x1d0]
test eax, eax
je 0x649c3b
cmp byte [0x900ced], 0
je 0x649cbc
lea eax, [ebp - 0x698]
lea esi, [ebp - 0x418]
mov dword [ebp - 0x698], 0x200
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x2000ffff
mov eax, dword [ebp - 0x70c]
mov eax, dword [eax + 0x244]
mov dword [ebp - 0x710], eax
add eax, 0x22
mov dword [esp + 8], eax
mov dword [esp + 4], str.SYSTEMCurrentControlSetServicesDiskEnum
mov dword [esp], 0x80000002
call dword [0x90b3e4]
sub esp, 0x1c
test eax, eax
jne 0x64a97c
mov edi, dword [ebp - 0x698]
test edi, edi
je 0x64a97c
mov dword [esp + 0xc], esi
mov edi, dword [ebp - 0x70c]
lea ebx, [ebp - 0x618]
mov eax, dword [edi + 0x244]
mov dword [ebp - 0x710], eax
add eax, 0x22
mov dword [esp + 8], eax
mov dword [esp + 4], str._S__S
mov dword [esp], 1
call fcn.004fc8f0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x7ff3d1
mov dword [esp + 4], 0x200
mov dword [esp], ebx
call fcn.00723ce0
mov dword [esp], ebx
call fcn.00723840
mov dword [edi + 0x248], eax
jmp 0x649ce3
mov dword [ebp - 0x618], 0
mov dword [esp + 4], 1
mov dword [esp], 0x1030
call fcn.00723880
mov ebx, eax
test eax, eax
je 0x64a210
mov dword [eax], 0x31
mov eax, 3
mov edx, 1
mov dword [ebx + 8], eax
mov eax, 0x28
mov dword [ebx + 0xc], edx
mov edx, 0x1000
mov dword [ebx + 0x18], eax
lea eax, [ebp - 0x618]
mov dword [ebx + 0x10], 1
mov dword [ebx + 0x1c], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x1030
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x1030
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x2d1400
mov eax, dword [ebp - 0x70c]
mov eax, dword [eax + 0x23c]
mov dword [esp], eax
mov eax, dword [ebp - 0x710]
call eax
sub esp, 0x20
test eax, eax
je 0x64a3d3
mov ecx, dword [ebp - 0x618]
test ecx, ecx
jne 0x64a770
call dword [0x90b6dc]
mov dword [esp + 4], str.NVMe_Identify_ioctl_error__d_n
mov dword [esp + 8], eax
mov dword [esp], 3
call fcn.004fc8f0
mov dword [esp], ebx
call fcn.007238f0
jmp 0x64a210
call dword [0x90b6dc]
mov dword [esp + 4], str.IOCTL_DISK_GET_DRIVE_GEOMETRY_EX_error__d_n
mov dword [esp + 8], eax
mov dword [esp], 5
call fcn.004fc8f0
mov dword [esp + 4], 1
mov dword [esp], 8
call fcn.00723880
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 8
mov dword [esp + 0x10], eax
mov dword [ebp - 0x714], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x7405c
mov dword [esp], edi
mov eax, dword [ebp - 0x710]
call eax
mov edx, dword [ebp - 0x714]
mov dword [ebp - 0x720], 0
sub esp, 0x20
test eax, eax
mov dword [ebp - 0x724], eax
mov dword [ebp - 0x71c], 0
jne 0x64ac50
mov eax, dword [ebp - 0x70c]
mov ecx, dword [eax + 0x88]
test ecx, ecx
jne 0x64ac28
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x1000
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x70000
mov dword [esp], edi
mov eax, dword [ebp - 0x710]
call eax
sub esp, 0x20
test eax, eax
je 0x649c13
mov dword [esp + 4], str.IOCTL_DISK_GET_DRIVE_GEOMETRY_success_n
mov dword [esp], 5
call fcn.004fc8f0
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov ebx, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x72c], eax
mov eax, dword [esi + 0x10]
movd xmm0, edx
movd xmm4, ebx
movd xmm5, ecx
mov dword [ebp - 0x728], edx
mov edx, dword [ebp - 0x70c]
movd xmm1, eax
punpckldq xmm0, xmm5
mov dword [ebp - 0x714], ebx
punpckldq xmm1, xmm4
punpcklqdq xmm0, xmm1
movups xmmword [edx + 0x54], xmm0
mov edx, dword [ebp - 0x724]
test edx, edx
jne 0x64a5cb
mul ebx
mov ebx, edx
mul ecx
imul ebx, ecx
mov dword [ebp - 0x71c], edx
add dword [ebp - 0x71c], ebx
mov ebx, dword [ebp - 0x728]
mov dword [ebp - 0x720], eax
mov eax, dword [ebp - 0x71c]
mov ecx, ebx
mov edx, dword [ebp - 0x720]
imul ecx, eax
mov eax, dword [ebp - 0x72c]
imul eax, edx
add ecx, eax
mov eax, dword [ebp - 0x720]
mul ebx
mov dword [ebp - 0x71c], edx
mov dword [ebp - 0x720], eax
mov eax, dword [ebp - 0x720]
add dword [ebp - 0x71c], ecx
mov ecx, dword [ebp - 0x70c]
mov edx, dword [ebp - 0x71c]
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], edx
mov ecx, dword [ebp - 0x714]
xor eax, eax
xor edx, edx
test ecx, ecx
je 0x649bf8
mov dword [esp + 8], ecx
sar ecx, 0x1f
mov dword [esp + 0xc], ecx
mov eax, dword [ebp - 0x720]
mov edx, dword [ebp - 0x71c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.007121f8
jmp 0x649bf8
mov dword [esp], esi
call fcn.00712020
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov ebx, eax
mov dword [esp], eax
call fcn.00723990
lea eax, [ebp - 0x6fc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x6e8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0x2d1400
mov eax, dword [ebp - 0x70c]
mov eax, dword [eax + 0x23c]
mov dword [esp], eax
mov eax, dword [ebp - 0x710]
call eax
sub esp, 0x20
test eax, eax
je case.0x64a6d6.0
mov eax, dword [ebp - 0x70c]
lea esi, [ebp - 0x418]
mov dword [eax + 0x254], ebx
mov ebx, eax
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0063cea0
mov dword [esp + 0xc], esi
mov eax, dword [ebx + 0x254]
movzx eax, byte [eax + 0x18]
mov dword [esp + 4], str.Bus_type:_0x_x_s_n
mov dword [esp], 5
mov dword [esp + 8], eax
call fcn.004fc8f0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x18], 0x11
ja case.0x64a6d6.0
movzx eax, byte [eax + 0x18]
jmp dword [eax*4 + 0x7ff570]
mov eax, dword [0x905dac]
mov ecx, dword [ebp - 0x718]
mov dword [ebp - 0x6f4], 0x200
mov ebx, dword [eax + 4]
and ecx, 0xffffff
je 0x64adf0
test ebx, ebx
je 0x64adf0
xor edx, edx
mov dword [ebp - 0x718], edi
xor esi, esi
mov edi, edx
jmp 0x64a732
mov ebx, dword [ebx]
test ebx, ebx
je 0x64aad8
cmp esi, ecx
jge 0x64aad8
cmp byte [ebx + 0xd0], 0
jne 0x64a720
mov dword [ebp - 0x714], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], str.USBSTORDISK
mov eax, dword [ebx + 0x248]
mov dword [esp], eax
call fcn.00504460
mov ecx, dword [ebp - 0x714]
cmp al, 1
sbb edi, 0xffffffff
add esi, 1
jmp 0x64a720
cmp dword [ebx], 0x30
jne 0x64a8d8
cmp dword [ebx + 4], 0x30
jne 0x64a8d8
mov dword [esp + 4], str.NVMe_Identify_ioctl_success_n
mov dword [esp], 5
call fcn.004fc8f0
mov dword [esp], 0x1000
call fcn.00723968
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebp - 0x70c]
mov edi, eax
lea esi, [ebx + edx + 8]
mov dword [ecx + 0xc8], eax
mov ecx, 0x400
add eax, 0x18
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x418]
mov dword [esp + 8], 0x28
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00723a30
mov byte [ebp - 0x3f0], 0
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.00504140
mov dword [esp], esi
call fcn.00723840
mov edi, dword [ebp - 0x70c]
mov dword [edi + 0x1c8], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.NVMe_model_s_n
mov dword [esp], 5
call fcn.004fc8f0
mov dword [esp + 8], 0x14
mov eax, dword [edi + 0xc8]
mov dword [ebp - 0x714], eax
add eax, 4
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00723a30
mov byte [ebp - 0x404], 0
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.00504140
mov dword [esp + 8], esi
mov dword [esp + 4], str.NVMe_serial_s_n
mov dword [esp], 5
call fcn.004fc8f0
cmp byte [ebp - 0x418], 0
je 0x64a3f1
mov dword [esp], esi
call fcn.00723840
mov ecx, dword [ebp - 0x70c]
mov dword [ecx + 0x1d0], eax
jmp 0x64a3f1
mov dword [esp], eax
mov esi, eax
call fcn.006398a0
mov ebx, dword [esi + 0x23c]
test ebx, ebx
je 0x64adf7
mov eax, dword [ebp - 0x70c]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
jne 0x64a216
jmp 0x64a1ee
mov dword [esp + 4], str.NVMe_Identify_ioctl_data_descriptor_header_not_valid_n
mov dword [esp], 3
call fcn.004fc8f0
jmp 0x64a3f1
mov dword [esp + 4], 1
lea esi, [ebp - 0x418]
mov dword [esp], 0x200
call fcn.00723880
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov ebx, eax
mov dword [esp + 8], 0xec
movzx eax, byte [ebp - 0x718]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00638f90
test al, al
je 0x64a210
mov dword [esp + 4], 0x200
mov dword [esp], ebx
call fcn.004fafc0
test al, al
je 0x64ae28
test ebx, ebx
jne 0x64a3f1
jmp 0x64a210
lea ecx, [ebp - 0x410]
cmp dword [ebp - 0x710], ecx
je 0x64a97c
mov eax, dword [ebp - 0x710]
mov dword [esp], eax
call fcn.00712028
mov eax, dword [ebp - 0x70c]
mov eax, dword [eax + 0x248]
jmp 0x649ce3
mov dword [esp + 8], 0
mov dword [esp + 4], str.USBSTORDISK
mov dword [esp], ebx
call fcn.005043f0
test al, al
jne 0x649d1d
mov dword [esp + 8], 0
mov dword [esp + 4], str.SCSIDisk
mov dword [esp], ebx
call fcn.005043f0
test al, al
je 0x64ad32
mov eax, dword [ebp - 0x70c]
mov ecx, dword [eax + 0x90]
test ecx, ecx
je 0x649e51
mov edi, dword [ebp - 0x70c]
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x649e51
add eax, 0x36
lea ebx, [ebp - 0x698]
mov dword [esp + 8], 0x28
lea esi, [ebp - 0x6d8]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00506120
mov byte [ebp - 0x670], 0
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.00504140
mov dword [esp + 8], 0x14
mov eax, dword [edi + 0xbc]
mov dword [ebp - 0x710], eax
add eax, 0x14
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00506120
mov byte [ebp - 0x6c4], 0
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.00504140
cmp byte [ebp - 0x698], 0
je 0x649e51
cmp byte [ebp - 0x6d8], 0
je 0x649e51
mov dword [esp + 0x10], esi
lea esi, [ebp - 0x418]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.ata__s__s
mov dword [esp + 4], 0x200
mov dword [esp], esi
call fcn.00723ce0
movzx eax, byte [ebp - 0x418]
mov edx, esi
test al, al
je 0x649e25
cmp al, 0x20
jne 0x64aac4
mov byte [edx], 0x5f
movzx eax, byte [edx + 1]
add edx, 1
test al, al
jne 0x64aabd
jmp 0x649e25
mov edx, edi
mov edi, dword [ebp - 0x718]
lea ebx, [ebp - 0x6d8]
mov dword [esp + 0xc], edx
lea esi, [ebp - 0x418]
mov dword [esp + 8], 0x7ff49c
mov dword [esp + 4], 0xa
mov dword [esp], ebx
call fcn.00638120
lea eax, [ebp - 0x6f4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x2000ffff
mov dword [esp + 8], ebx
mov dword [esp + 4], str.SYSTEMCurrentControlSetServicesUSBSTOREnum
mov dword [esp], 0x80000002
call dword [0x90b3e4]
sub esp, 0x1c
test eax, eax
jne 0x649def
mov eax, dword [ebp - 0x6f4]
test eax, eax
je 0x649def
lea ebx, [ebp - 0x698]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x7ff3d1
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], ebx
call fcn.00723ce0
mov eax, dword [ebp - 0x710]
cmp byte [eax + 4], 0
jne 0x64aba7
mov dword [esp + 4], str.VID_
mov dword [esp], ebx
call fcn.00723a40
test eax, eax
je 0x64aba7
lea ecx, [eax + 4]
mov byte [eax + 8], 0
mov dword [ebp - 0x720], ecx
cmp byte [edi + 5], 0
jne 0x649def
mov dword [esp + 4], str.PID_
mov dword [esp], ebx
call fcn.00723a40
test eax, eax
je 0x649def
lea ecx, [eax + 4]
mov byte [eax + 8], 0
mov dword [ebp - 0x724], ecx
jmp 0x649def
mov dword [esp + 4], str.VEN_
mov dword [esp], ebx
call fcn.00723a40
mov dword [ebp - 0x710], eax
test edi, edi
je 0x64adcf
mov dword [esp + 4], 0x5c
mov dword [esp], edi
call fcn.007239f0
mov edx, dword [ebp - 0x710]
mov ebx, eax
test edx, edx
je 0x649e51
jmp 0x649d69
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x70c]
mov dword [esp], eax
call fcn.0063ac10
test eax, eax
jns 0x649c04
jmp 0x64a4b2
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x720], eax
mov dword [ebp - 0x71c], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], str.IOCTL_DISK_GET_LENGTH_INFO_success:__lld_n
mov dword [esp], 5
call fcn.004fc8f0
mov ecx, dword [ebp - 0x70c]
mov eax, dword [ebp - 0x720]
mov edx, dword [ebp - 0x71c]
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], edx
jmp 0x64a49e
mov dword [esp + 4], str.PROD_
mov dword [esp], ebx
call fcn.00723a40
mov edi, eax
test eax, eax
je 0x649e51
jmp 0x649d57
mov dword [esp + 8], ebx
add esi, 1
mov dword [esp + 4], str.substituting_bogus_serial__s
mov dword [esp], 3
call fcn.004fc8f0
mov edi, dword [ebp - 0x70c]
mov eax, dword [edi + 0x1d0]
mov dword [esp], eax
call fcn.007238f0
mov dword [esp], esi
call fcn.00723840
mov dword [edi + 0x1d0], eax
mov ebx, eax
mov dword [esp + 4], 0x26
mov dword [esp], eax
call fcn.007239f0
test eax, eax
je 0x64ad15
mov byte [eax], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.with__s_n
mov dword [esp], 0xfffffffd
call fcn.004fc8f0
jmp 0x649eca
mov dword [esp + 8], 0
mov dword [esp + 4], str.SCSIDISK
mov dword [esp], ebx
call fcn.005043f0
test al, al
jne 0x64a9d0
jmp 0x649e51
mov eax, dword [ebp - 0x70c]
mov dword [eax + 0x88], 1
jmp case.0x64a6d6.0
mov ecx, dword [ebp - 0x70c]
mov eax, 1
mov edx, 1
mov dword [ecx + 0x8c], eax
mov dword [ecx + 0x90], edx
jmp case.0x64a6d6.0
mov eax, dword [ebp - 0x70c]
mov dword [eax + 0x84], 1
mov dword [eax + 0x7c], 1
mov byte [eax + 0x2c4], 1
mov dword [eax + 0x2c8], 1
jmp case.0x64a6d6.0
mov eax, dword [ebp - 0x70c]
mov dword [eax + 0x80], 1
jmp case.0x64a6d6.0
mov dword [esp + 4], str.PROD_
mov dword [esp], ebx
call fcn.00723a40
mov edi, eax
test eax, eax
jne 0x64abfe
jmp 0x649e51
xor edx, edx
jmp 0x64aae0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edi, dword [ebp - 0x70c]
mov dword [esp], edi
call fcn.0064d010
mov edi, dword [edi + 0x23c]
jmp 0x64a8b8
mov eax, dword [ebp - 0x70c]
mov dword [eax + 0xbc], ebx
jmp 0x64a210
add edx, edi
mov dword [esp], edx
call fcn.00723840
mov esi, dword [ebp - 0x70c]
mov dword [esi + 0x1c8], eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.IOCTL_STORAGE_QUERY_PROPERTY_product___s_n
mov dword [esp], 5
call fcn.004fc8f0
mov dword [esp + 4], 1
mov eax, dword [esi + 0x1c8]
mov dword [esp], eax
call fcn.00504140
mov eax, dword [edi + 4]
jmp 0x64a10e
add edx, edi
mov dword [esp], edx
call fcn.00723840
mov esi, dword [ebp - 0x70c]
mov dword [esi + 0x1c4], eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.IOCTL_STORAGE_QUERY_PROPERTY_vendor___s_n
mov dword [esp], 5
call fcn.004fc8f0
mov dword [esp + 4], 1
mov eax, dword [esi + 0x1c4]
mov dword [esp], eax
call fcn.00504140
mov eax, dword [edi + 4]
jmp 0x64a0fa
cmp dl, 3
jne 0x64a14f
cmp byte [eax + 2], 0
jne 0x64a14f
add eax, 1
lea esi, [ebp - 0x418]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x7ff3d1
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], esi
call fcn.00723ce0
mov dword [esp], esi
call fcn.00723840
mov ecx, dword [ebp - 0x70c]
mov dword [ecx + 0x1d0], eax
jmp 0x64a163
mov dword [esp], str.basic_string:_construction_from_null_is_not_valid
call fcn.00712080
nop