Function at 0x4193c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x48c8b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov ebx, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x224], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.004470b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
call fcn.00425809
mov ecx, eax
test ecx, ecx
je 0x419721
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x214], esi
call fcn.00425809
mov ecx, eax
test ecx, ecx
je 0x41972b
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
xor edx, edx
mov edi, eax
mov eax, 0x103
mov dword [ebp - 0x21c], edx
cmp word [ebp + eax*2 - 0x20c], dx
jne 0x4194b7
dec eax
cmp eax, 0xffffffff
jne 0x419462
mov edx, edi
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41948d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
pop edi
jg 0x4194a5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0043ddbb
mov esp, ebp
pop ebp
ret
cmp eax, 0xffffffff
je 0x419472
inc eax
mov dword [ebp - 0x220], eax
cmp edx, eax
je 0x41955b
jmp 0x4194d0
movzx eax, word [ebp + edx*2 - 0x20c]
test ax, ax
je 0x419555
mov dword [ebp - 0x210], eax
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x218], eax
lea ebx, [eax + 1]
test ebx, ebx
js 0x419735
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or ecx, eax
jge 0x419520
push ebx
lea ecx, [ebp - 0x214]
call fcn.00416cf0
mov esi, dword [ebp - 0x214]
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x210]
mov word [esi + eax*2], cx
cmp ebx, dword [esi - 8]
jg 0x419735
inc edx
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
mov dword [ebp - 0x21c], edx
cmp edx, dword [ebp - 0x220]
jne 0x4194d0
mov ebx, dword [ebp - 0x224]
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x214]
cmp eax, ecx
jae 0x41960a
mov eax, dword [ebx]
lea edx, [ebp - 0x214]
cmp eax, edx
ja 0x41960a
mov esi, edx
mov edx, dword [ebx + 8]
sub esi, eax
sar esi, 2
mov dword [ebp - 0x218], esi
cmp ecx, edx
jne 0x4195ef
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x4195ef
mov esi, dword [ebx]
sub ecx, esi
sar ecx, 2
mov eax, 0x3fffffff
sub eax, ecx
cmp eax, 1
jb 0x41973f
inc ecx
sub edx, esi
sar edx, 2
mov dword [ebp - 0x210], ecx
mov ecx, edx
shr ecx, 1
mov eax, 0x3fffffff
sub eax, ecx
cmp eax, edx
jae 0x4195d2
xor edx, edx
jmp 0x4195d4
add edx, ecx
cmp edx, dword [ebp - 0x210]
mov ecx, ebx
cmovb edx, dword [ebp - 0x210]
push edx
call fcn.0040edd0
mov esi, dword [ebp - 0x218]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x218], eax
test eax, eax
je 0x4196e5
mov eax, dword [ebx]
mov esi, dword [eax + esi*4]
sub esi, 0x10
jmp 0x419678
mov edx, dword [ebx + 8]
cmp ecx, edx
jne 0x419668
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x419668
sub ecx, dword [ebx]
mov eax, 0x3fffffff
sar ecx, 2
sub eax, ecx
cmp eax, 1
jb 0x41973f
sub edx, dword [ebx]
inc ecx
sar edx, 2
mov dword [ebp - 0x210], ecx
mov ecx, edx
shr ecx, 1
mov eax, 0x3fffffff
sub eax, ecx
cmp eax, edx
jae 0x419651
xor edx, edx
jmp 0x419653
add edx, ecx
cmp edx, dword [ebp - 0x210]
mov ecx, ebx
cmovb edx, dword [ebp - 0x210]
push edx
call fcn.0040edd0
mov eax, dword [ebx + 4]
mov dword [ebp - 0x218], eax
test eax, eax
je 0x4196e5
add esi, 0xfffffff0
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x419699
cmp ecx, dword [esi]
jne 0x419699
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4196da
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x210], edx
test edx, edx
je 0x419749
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax*2 + 2]
push ecx
lea eax, [esi + 0x10]
push eax
push ecx
lea eax, [edx + 0x10]
push eax
call fcn.0043ddca
mov esi, dword [ebp - 0x210]
add esp, 0x10
mov ecx, dword [ebp - 0x218]
lea eax, [esi + 0x10]
mov dword [ecx], eax
add dword [ebx + 4], 4
push 0
push 0x47c3e0
lea ecx, [ebp - 0x214]
call fcn.00416dd0
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
mov esi, dword [ebp - 0x214]
inc edx
mov dword [ebp - 0x21c], edx
cmp edx, eax
ja 0x419472
jmp 0x4194c3
push 0x80004005
call fcn.00416fc0
push 0x80004005
call fcn.00416fc0
push 0x80070057
call fcn.00416fc0
push str.vector_T__too_long
call fcn.0046b1d5
call fcn.00416e90
int3