Function at 0x115a0c0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x5e84
call fcn.0115cb30
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push 0x1545864
push 0x80000002
call dword [int.0155794e]
test eax, eax
je 0x115a0f4
or eax, 0xffffffff
add esp, 0x5e84
ret
push ebx
push ebp
lea eax, [esp + 0x9c0]
push esi
neg eax
push edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0x41
lea ebx, [esp + 0xae8]
mov dword [esp + 0x24], eax
lea esp, [esp]
mov ecx, dword [esp + 0x14]
mov edi, dword [fcn.0155785a]
push ecx
lea edx, [esp + 0x48]
push 0x154587c
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x48]
push eax
call dword [fcn.015576ee]
cmp eax, 5
jne 0x115a585
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x88]
push 0x154584c
push edx
mov byte [esp + 0x56], 0
mov dword [esp + 0x2c], 0x100
call edi
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x24]
push edx
push 0
lea eax, [esp + 0x94]
push eax
push ecx
mov dword [esp + 0x34], 3
call dword [fcn.01557952]
test eax, eax
jne 0x115a585
mov esi, dword [esp + 0x20]
xor ecx, ecx
test esi, esi
jle 0x115a1cf
mov eax, ecx
cdq
sub eax, edx
mov dl, byte [esp + ecx + 0xc4]
sar eax, 1
add ecx, 2
cmp ecx, esi
mov byte [esp + eax + 0x1c4], dl
jl 0x115a1b3
mov eax, dword [esp + 0x14]
push eax
lea ecx, [ebx - 0x124]
push 0x1545860
push ecx
call edi
mov dl, byte [esp + 0x1d4]
add esp, 0xc
cmp dl, 0x23
lea eax, [esp + 0x1c8]
lea ecx, [ebx - 0x120]
je 0x115a20c
mov edi, edi
mov byte [ecx], dl
mov dl, byte [eax + 1]
inc ecx
inc eax
cmp dl, 0x23
jne 0x115a200
inc eax
mov byte [ecx], 0
mov cl, byte [eax]
cmp cl, 0x23
lea esi, [ebx - 0x100]
mov edx, esi
je 0x115a22c
nop
mov byte [edx], cl
mov cl, byte [eax + 1]
inc edx
inc eax
cmp cl, 0x23
jne 0x115a220
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x23
mov byte [edx], 0
mov edx, ebx
je 0x115a24c
lea ebx, [ebx]
mov byte [edx], cl
mov cl, byte [eax + 1]
inc edx
inc eax
cmp cl, 0x23
jne 0x115a240
push ebx
push esi
mov esi, dword [fcn.0155785a]
lea eax, [ebx - 0x120]
push eax
lea edx, [esp + 0x5d0]
push 0x15459bc
push edx
call esi
add esp, 0x14
lea eax, [esp + 0x30]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x5d0]
push ecx
push 0x80000002
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0x100
call dword [int.0155794e]
test eax, eax
jne 0x115a2f4
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x15459ac
push edx
mov dword [esp + 0x34], 3
call dword [fcn.01557952]
test eax, eax
jne 0x115a2e9
lea eax, [esp + 0xc4]
push eax
lea ecx, [ebx + 0x100]
push 0x154585c
push ecx
call esi
add esp, 0xc
mov edx, dword [esp + 0x30]
push edx
call dword [fcn.01557946]
push 0
push 0
push 3
push 0
push 3
push 0x80000000
lea eax, [esp + 0x5c]
push eax
call dword [fcn.0155765a]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
je 0x115a585
xor ebp, ebp
push ebp
lea edx, [esp + 0x38]
push edx
push 0x990
push 0x1421e48
xor eax, eax
mov ecx, 0x264
mov edi, 0x1421e48
rep stosd dword es:[edi], eax
push 0xc
xor ecx, ecx
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
push 0x2d1400
push esi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
call dword [fcn.0155783a]
test eax, eax
jne 0x115a374
push esi
jmp 0x115a57f
mov eax, dword [0x1421e54]
cmp eax, ebp
mov ebp, dword [fcn.0155785a]
lea esi, [ebx + 0x200]
jne 0x115a3c9
push 0x1421e78
push 0x1545844
push esi
mov dword [0x1421e54], 0x30
call ebp
mov ecx, dword [0x1421e54]
lea edx, [ecx + 0x1421e50]
push edx
lea edi, [ebx + 0x209]
push 0x154583c
push edi
call ebp
mov eax, dword [0x1421e54]
lea ecx, [eax + 0x1421e60]
push ecx
jmp 0x115a3ff
lea edx, [eax + 0x1421e48]
push edx
push 0x1545844
push esi
call ebp
mov eax, dword [0x1421e58]
lea ecx, [eax + 0x1421e48]
push ecx
lea edi, [ebx + 0x209]
push 0x154583c
push edi
call ebp
mov edx, dword [0x1421e5c]
lea eax, [edx + 0x1421e48]
push eax
lea ebp, [ebx + 0x21a]
push 0x1545834
push ebp
call dword [fcn.0155785a]
mov eax, dword [esp + 0x5ebc]
add eax, 0x50
add esp, 0x24
mov dword [esp + 0x10], 0
sub esi, eax
mov cl, byte [eax]
mov dl, byte [esi + eax]
inc eax
cmp cl, dl
jne 0x115a511
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, 8
mov dword [esp + 0x10], ecx
jl 0x115a428
mov eax, dword [esp + 0x5e98]
add eax, 0x60
xor esi, esi
sub edi, eax
mov cl, byte [eax]
mov dl, byte [edi + eax]
inc eax
cmp cl, dl
jne 0x115a511
inc esi
cmp esi, 0x10
jl 0x115a452
mov eax, dword [esp + 0x5e98]
add eax, 0x74
xor esi, esi
sub ebp, eax
mov cl, byte [eax]
mov dl, byte [eax + ebp]
inc eax
cmp cl, dl
jne 0x115a511
inc esi
cmp esi, 4
jl 0x115a474
cmp byte [esp + 0x1c4], 0x7b
lea eax, [esp + 0x1c4]
mov dword [esp + 0x10], eax
je 0x115a4ad
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x7b
jne 0x115a4a0
mov dword [esp + 0x10], eax
lea esi, [ebx - 0x120]
xor edi, edi
jmp 0x115a4c0
mov ebp, dword [esp + 0x24]
mov cl, byte [esi]
mov dl, byte [esi + ebp + 0x15459a8]
inc esi
cmp cl, dl
jne 0x115a518
inc edi
cmp edi, 3
jl 0x115a4c0
mov eax, dword [esp + 0x5e98]
add eax, 0x40
mov esi, 0x15459a0
xor edi, edi
sub esi, eax
jmp 0x115a4f0
mov cl, byte [eax]
mov dl, byte [esi + eax]
inc eax
cmp cl, dl
jne 0x115a511
inc edi
cmp edi, 5
jl 0x115a4f0
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
sub eax, 4
mov dword [esp + 0x10], eax
jmp 0x115a537
mov eax, dword [esp + 0x18]
push eax
jmp 0x115a57f
lea esi, [ebx - 0x120]
xor edi, edi
mov cl, byte [esi]
mov dl, byte [esi + ebp + 0x1545998]
inc esi
cmp cl, dl
jne 0x115a57a
inc edi
cmp edi, 4
jl 0x115a520
sub eax, 3
movsx eax, byte [eax]
mov esi, dword [esp + 0x5e98]
movsx ecx, byte [esi + 1]
sub eax, 0x30
cmp eax, ecx
jne 0x115a568
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x14]
mov byte [eax + esi + 0x10], dl
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
push eax
call dword [fcn.01557632]
sub ebp, 0x343
mov dword [esp + 0x24], ebp
add ebx, 0x343
jmp 0x115a585
mov ecx, dword [esp + 0x18]
push ecx
call dword [fcn.01557632]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x5a
mov dword [esp + 0x14], eax
jle 0x115a120
mov ecx, dword [esp + 0x28]
test ecx, ecx
pop edi
pop esi
pop ebp
pop ebx
jne 0x115a5c2
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x5e88]
push ecx
mov byte [edx + 0x10], 0x3f
call dword [fcn.01557946]
xor eax, eax
add esp, 0x5e84
ret
cmp ecx, 2
jl 0x115a5e6
jmp 0x115a5d0
dec ecx
mov eax, dword [esp + 0x5e88]
mov dl, byte [eax + ecx + 0x10]
mov byte [eax + ecx + 0x11], dl
jne 0x115a5d0
mov byte [eax + 0x10], 0x3f
mov ecx, dword [esp + 0x1c]
push ecx
call dword [fcn.01557946]
xor eax, eax
add esp, 0x5e84
ret