Function at 0x109efa30
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x5e7c
call fcn.10a2a170
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push 0x10b0e6dc
push 0x80000002
call dword [0x10b46ea0]
test eax, eax
je 0x109efa64
or eax, 0xffffffff
add esp, 0x5e7c
ret
push ebx
push ebp
push esi
mov esi, 0x41
push edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], esi
lea ebp, [esp + 0xae0]
mov ebx, dword [0x10b46e74]
push esi
lea ecx, [esp + 0x40]
push 0x10b0e5d8
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x40]
push edx
call dword [0x10b46d64]
cmp eax, 5
jne 0x109efe68
push esi
lea eax, [esp + 0x80]
mov edi, 0x100
push 0x10b0e6cc
push eax
mov byte [esp + 0x4e], 0
mov dword [esp + 0x28], edi
call ebx
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0xbc]
lea eax, [esp + 0x18]
push ecx
push edx
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x88]
push 0
push ecx
push edx
mov dword [esp + 0x30], 3
call dword [0x10b46ed8]
test eax, eax
jne 0x109efe68
mov esi, dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
jle 0x109efb28
mov eax, ecx
add ecx, 2
cdq
sub eax, edx
mov dl, byte [esp + ecx + 0xba]
sar eax, 1
cmp ecx, esi
mov byte [esp + eax + 0x1bc], dl
jl 0x109efb0c
mov eax, dword [esp + 0x14]
lea ecx, [ebp - 0x124]
push eax
push 0x10b0e6c8
push ecx
call ebx
mov dl, byte [esp + 0x1cc]
add esp, 0xc
cmp dl, 0x23
lea eax, [esp + 0x1c0]
lea ecx, [ebp - 0x120]
je 0x109efb63
mov byte [ecx], dl
mov dl, byte [eax + 1]
inc ecx
inc eax
cmp dl, 0x23
jne 0x109efb57
inc eax
mov byte [ecx], 0
lea esi, [ebp - 0x100]
mov cl, byte [eax]
mov edx, esi
cmp cl, 0x23
je 0x109efb82
mov byte [edx], cl
mov cl, byte [eax + 1]
inc edx
inc eax
cmp cl, 0x23
jne 0x109efb76
mov cl, byte [eax + 1]
inc eax
mov byte [edx], 0
cmp cl, 0x23
mov edx, ebp
je 0x109efb9c
mov byte [edx], cl
mov cl, byte [eax + 1]
inc edx
inc eax
cmp cl, 0x23
jne 0x109efb90
push ebp
lea eax, [ebp - 0x120]
push esi
push eax
lea edx, [esp + 0x5c8]
push 0x10b0e6a0
push edx
call ebx
add esp, 0x14
lea eax, [esp + 0x24]
lea ecx, [esp + 0x5bc]
mov dword [esp + 0x18], 1
push eax
push 0x20019
push 0
push ecx
push 0x80000002
mov dword [esp + 0x30], edi
call dword [0x10b46ea0]
test eax, eax
jne 0x109efc3a
lea edx, [esp + 0x1c]
lea eax, [esp + 0xbc]
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0x10b0e690
push edx
mov dword [esp + 0x30], 3
call dword [0x10b46ed8]
test eax, eax
jne 0x109efc2f
lea eax, [esp + 0xbc]
lea ecx, [ebp + 0x100]
push eax
push 0x10b0e68c
push ecx
call ebx
add esp, 0xc
mov edx, dword [esp + 0x24]
push edx
call dword [0x10b46ed0]
push 0
push 0
push 3
push 0
push 3
lea eax, [esp + 0x50]
push 0x80000000
push eax
call dword [0x10b46c3c]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
je 0x109efe68
mov ecx, 0x264
xor eax, eax
mov edi, 0x10b36664
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
xor edi, edi
xor ecx, ecx
push edi
push edx
push 0x990
push 0x10b36664
lea eax, [esp + 0x40]
mov dword [esp + 0x40], ecx
push 0xc
push eax
mov dword [esp + 0x4c], ecx
push 0x2d1400
push esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call dword [0x10b46d5c]
test eax, eax
jne 0x109efcbe
push esi
jmp 0x109efe62
mov eax, dword [0x10b36670]
cmp eax, edi
jne 0x109efd13
lea esi, [ebp + 0x200]
push 0x10b36694
push 0x10b0e684
push esi
mov dword [0x10b36670], 0x30
call ebx
mov ecx, dword [0x10b36670]
lea edi, [ebp + 0x209]
lea edx, [ecx + 0x10b3666c]
push edx
push 0x10b0e67c
push edi
call ebx
mov eax, dword [0x10b36670]
lea ebx, [ebp + 0x21a]
lea ecx, [eax + 0x10b3667c]
push ecx
jmp 0x109efd55
lea edx, [eax + 0x10b36664]
lea esi, [ebp + 0x200]
push edx
push 0x10b0e684
push esi
call ebx
mov eax, dword [0x10b36674]
lea edi, [ebp + 0x209]
lea ecx, [eax + 0x10b36664]
push ecx
push 0x10b0e67c
push edi
call ebx
mov edx, dword [0x10b36678]
lea ebx, [ebp + 0x21a]
lea eax, [edx + 0x10b36664]
push eax
push 0x10b0e674
push ebx
call dword [0x10b46e74]
add esp, 0x24
push 8
push esi
mov esi, dword [esp + 0x5e98]
lea ecx, [esi + 0x50]
push ecx
call fcn.109ef9f0
add esp, 0xc
test eax, eax
je 0x109efd88
mov edx, dword [esp + 0x10]
push edx
jmp 0x109efe62
push 0x10
lea eax, [esi + 0x60]
push edi
push eax
call fcn.109ef9f0
add esp, 0xc
test eax, eax
je 0x109efda5
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x109efe62
push 4
lea edx, [esi + 0x74]
push ebx
push edx
call fcn.109ef9f0
add esp, 0xc
test eax, eax
jne 0x109efe5d
mov al, byte [esp + 0x1bc]
lea edi, [esp + 0x1bc]
cmp al, 0x7b
je 0x109efdd6
mov al, byte [edi + 1]
inc edi
cmp al, 0x7b
jne 0x109efdce
push 3
lea ebx, [ebp - 0x120]
push 0x10b0e670
push ebx
call fcn.109ef9f0
add esp, 0xc
test eax, eax
jne 0x109efe10
push 5
lea ecx, [esi + 0x40]
push 0x10b0e668
push ecx
call fcn.109ef9f0
add esp, 0xc
test eax, eax
jne 0x109efd7e
sub edi, 4
jmp 0x109efe27
push 4
push 0x10b0e660
push ebx
call fcn.109ef9f0
add esp, 0xc
test eax, eax
jne 0x109efe5d
sub edi, 3
mov eax, dword [esi]
movsx edx, byte [edi]
shr eax, 8
movsx ecx, al
sub edx, 0x30
cmp edx, ecx
jne 0x109efe55
mov eax, dword [esp + 0x20]
mov cl, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
mov byte [eax + esi + 0x10], cl
inc eax
push edx
mov dword [esp + 0x24], eax
call dword [0x10b46c30]
add ebp, 0x343
jmp 0x109efe68
mov eax, dword [esp + 0x10]
push eax
call dword [0x10b46c30]
mov esi, dword [esp + 0x14]
inc esi
cmp esi, 0x5a
mov dword [esp + 0x14], esi
jle 0x109efa80
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
test ecx, ecx
pop ebx
jne 0x109efea5
mov ecx, dword [esp + 0x5e80]
mov byte [ecx + 0x10], 0x3f
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x10b46ed0]
xor eax, eax
add esp, 0x5e7c
ret
cmp ecx, 2
jl 0x109efec0
mov eax, dword [esp + 0x5e80]
dec ecx
mov dl, byte [eax + ecx + 0x10]
mov byte [eax + ecx + 0x11], dl
jne 0x109efeaa
mov byte [eax + 0x10], 0x3f
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x10b46ed0]
xor eax, eax
add esp, 0x5e7c
ret